@radix-ui/react-navigation-menu 1.1.5-rc.9 → 1.2.0-rc.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/dist/index.d.mts +60 -48
- package/dist/index.d.ts +60 -48
- package/dist/index.js +733 -824
- package/dist/index.js.map +7 -1
- package/dist/index.mjs +732 -809
- package/dist/index.mjs.map +7 -1
- package/package.json +15 -16
- package/dist/index.d.ts.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,15 +1,27 @@
|
|
|
1
|
-
import * as React from
|
|
2
|
-
import * as Radix from
|
|
3
|
-
import { Primitive } from
|
|
4
|
-
import { DismissableLayer } from
|
|
5
|
-
import * as VisuallyHiddenPrimitive from
|
|
6
|
-
import { Scope } from
|
|
7
|
-
|
|
8
|
-
type
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
type
|
|
12
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as Radix from '@radix-ui/react-primitive';
|
|
3
|
+
import { Primitive } from '@radix-ui/react-primitive';
|
|
4
|
+
import { DismissableLayer } from '@radix-ui/react-dismissable-layer';
|
|
5
|
+
import * as VisuallyHiddenPrimitive from '@radix-ui/react-visually-hidden';
|
|
6
|
+
import { Scope as Scope$1 } from '@radix-ui/react-context';
|
|
7
|
+
|
|
8
|
+
declare type Scope<C = any> = {
|
|
9
|
+
[scopeName: string]: React.Context<C>[];
|
|
10
|
+
} | undefined;
|
|
11
|
+
declare type ScopeHook = (scope: Scope) => {
|
|
12
|
+
[__scopeProp: string]: Scope;
|
|
13
|
+
};
|
|
14
|
+
interface CreateScope {
|
|
15
|
+
scopeName: string;
|
|
16
|
+
(): ScopeHook;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
declare type Orientation = 'vertical' | 'horizontal';
|
|
20
|
+
declare type Direction = 'ltr' | 'rtl';
|
|
21
|
+
declare const createNavigationMenuScope: CreateScope;
|
|
22
|
+
declare type NavigationMenuElement = React.ElementRef<typeof Primitive.nav>;
|
|
23
|
+
declare type PrimitiveNavProps = Radix.ComponentPropsWithoutRef<typeof Primitive.nav>;
|
|
24
|
+
interface NavigationMenuProps extends Omit<NavigationMenuProviderProps, keyof NavigationMenuProviderPrivateProps>, PrimitiveNavProps {
|
|
13
25
|
value?: string;
|
|
14
26
|
defaultValue?: string;
|
|
15
27
|
onValueChange?: (value: string) => void;
|
|
@@ -26,18 +38,18 @@ export interface NavigationMenuProps extends Omit<NavigationMenuProviderProps, k
|
|
|
26
38
|
*/
|
|
27
39
|
skipDelayDuration?: number;
|
|
28
40
|
}
|
|
29
|
-
|
|
30
|
-
type PrimitiveDivProps = Radix.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
31
|
-
|
|
41
|
+
declare const NavigationMenu: React.ForwardRefExoticComponent<NavigationMenuProps & React.RefAttributes<HTMLElement>>;
|
|
42
|
+
declare type PrimitiveDivProps = Radix.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
43
|
+
interface NavigationMenuSubProps extends Omit<NavigationMenuProviderProps, keyof NavigationMenuProviderPrivateProps>, PrimitiveDivProps {
|
|
32
44
|
value?: string;
|
|
33
45
|
defaultValue?: string;
|
|
34
46
|
onValueChange?: (value: string) => void;
|
|
35
47
|
orientation?: Orientation;
|
|
36
48
|
}
|
|
37
|
-
|
|
49
|
+
declare const NavigationMenuSub: React.ForwardRefExoticComponent<NavigationMenuSubProps & React.RefAttributes<HTMLDivElement>>;
|
|
38
50
|
interface NavigationMenuProviderPrivateProps {
|
|
39
51
|
isRootMenu: boolean;
|
|
40
|
-
scope: Scope;
|
|
52
|
+
scope: Scope$1;
|
|
41
53
|
children: React.ReactNode;
|
|
42
54
|
orientation: Orientation;
|
|
43
55
|
dir: Direction;
|
|
@@ -52,46 +64,46 @@ interface NavigationMenuProviderPrivateProps {
|
|
|
52
64
|
}
|
|
53
65
|
interface NavigationMenuProviderProps extends NavigationMenuProviderPrivateProps {
|
|
54
66
|
}
|
|
55
|
-
type PrimitiveUnorderedListProps = Radix.ComponentPropsWithoutRef<typeof Primitive.ul>;
|
|
56
|
-
|
|
67
|
+
declare type PrimitiveUnorderedListProps = Radix.ComponentPropsWithoutRef<typeof Primitive.ul>;
|
|
68
|
+
interface NavigationMenuListProps extends PrimitiveUnorderedListProps {
|
|
57
69
|
}
|
|
58
|
-
|
|
59
|
-
type FocusProxyElement = React.ElementRef<typeof VisuallyHiddenPrimitive.Root>;
|
|
60
|
-
type PrimitiveListItemProps = Radix.ComponentPropsWithoutRef<typeof Primitive.li>;
|
|
61
|
-
|
|
70
|
+
declare const NavigationMenuList: React.ForwardRefExoticComponent<NavigationMenuListProps & React.RefAttributes<HTMLUListElement>>;
|
|
71
|
+
declare type FocusProxyElement = React.ElementRef<typeof VisuallyHiddenPrimitive.Root>;
|
|
72
|
+
declare type PrimitiveListItemProps = Radix.ComponentPropsWithoutRef<typeof Primitive.li>;
|
|
73
|
+
interface NavigationMenuItemProps extends PrimitiveListItemProps {
|
|
62
74
|
value?: string;
|
|
63
75
|
}
|
|
64
|
-
|
|
65
|
-
type NavigationMenuTriggerElement = React.ElementRef<typeof Primitive.button>;
|
|
66
|
-
type PrimitiveButtonProps = Radix.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
67
|
-
|
|
76
|
+
declare const NavigationMenuItem: React.ForwardRefExoticComponent<NavigationMenuItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
77
|
+
declare type NavigationMenuTriggerElement = React.ElementRef<typeof Primitive.button>;
|
|
78
|
+
declare type PrimitiveButtonProps = Radix.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
79
|
+
interface NavigationMenuTriggerProps extends PrimitiveButtonProps {
|
|
68
80
|
}
|
|
69
|
-
|
|
70
|
-
type PrimitiveLinkProps = Radix.ComponentPropsWithoutRef<typeof Primitive.a>;
|
|
71
|
-
|
|
81
|
+
declare const NavigationMenuTrigger: React.ForwardRefExoticComponent<NavigationMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
82
|
+
declare type PrimitiveLinkProps = Radix.ComponentPropsWithoutRef<typeof Primitive.a>;
|
|
83
|
+
interface NavigationMenuLinkProps extends Omit<PrimitiveLinkProps, 'onSelect'> {
|
|
72
84
|
active?: boolean;
|
|
73
85
|
onSelect?: (event: Event) => void;
|
|
74
86
|
}
|
|
75
|
-
|
|
76
|
-
|
|
87
|
+
declare const NavigationMenuLink: React.ForwardRefExoticComponent<NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
88
|
+
interface NavigationMenuIndicatorProps extends NavigationMenuIndicatorImplProps {
|
|
77
89
|
/**
|
|
78
90
|
* Used to force mounting when more control is needed. Useful when
|
|
79
91
|
* controlling animation with React animation libraries.
|
|
80
92
|
*/
|
|
81
93
|
forceMount?: true;
|
|
82
94
|
}
|
|
83
|
-
|
|
95
|
+
declare const NavigationMenuIndicator: React.ForwardRefExoticComponent<NavigationMenuIndicatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
84
96
|
interface NavigationMenuIndicatorImplProps extends PrimitiveDivProps {
|
|
85
97
|
}
|
|
86
|
-
|
|
98
|
+
interface NavigationMenuContentProps extends Omit<NavigationMenuContentImplProps, keyof NavigationMenuContentImplPrivateProps> {
|
|
87
99
|
/**
|
|
88
100
|
* Used to force mounting when more control is needed. Useful when
|
|
89
101
|
* controlling animation with React animation libraries.
|
|
90
102
|
*/
|
|
91
103
|
forceMount?: true;
|
|
92
104
|
}
|
|
93
|
-
|
|
94
|
-
type DismissableLayerProps = Radix.ComponentPropsWithoutRef<typeof DismissableLayer>;
|
|
105
|
+
declare const NavigationMenuContent: React.ForwardRefExoticComponent<NavigationMenuContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
106
|
+
declare type DismissableLayerProps = Radix.ComponentPropsWithoutRef<typeof DismissableLayer>;
|
|
95
107
|
interface NavigationMenuContentImplPrivateProps {
|
|
96
108
|
value: string;
|
|
97
109
|
triggerRef: React.RefObject<NavigationMenuTriggerElement>;
|
|
@@ -102,24 +114,24 @@ interface NavigationMenuContentImplPrivateProps {
|
|
|
102
114
|
}
|
|
103
115
|
interface NavigationMenuContentImplProps extends Omit<DismissableLayerProps, 'onDismiss' | 'disableOutsidePointerEvents'>, NavigationMenuContentImplPrivateProps {
|
|
104
116
|
}
|
|
105
|
-
|
|
117
|
+
interface NavigationMenuViewportProps extends Omit<NavigationMenuViewportImplProps, 'children' | 'activeContentValue'> {
|
|
106
118
|
/**
|
|
107
119
|
* Used to force mounting when more control is needed. Useful when
|
|
108
120
|
* controlling animation with React animation libraries.
|
|
109
121
|
*/
|
|
110
122
|
forceMount?: true;
|
|
111
123
|
}
|
|
112
|
-
|
|
124
|
+
declare const NavigationMenuViewport: React.ForwardRefExoticComponent<NavigationMenuViewportProps & React.RefAttributes<HTMLDivElement>>;
|
|
113
125
|
interface NavigationMenuViewportImplProps extends PrimitiveDivProps {
|
|
114
126
|
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
127
|
+
declare const Root: React.ForwardRefExoticComponent<NavigationMenuProps & React.RefAttributes<HTMLElement>>;
|
|
128
|
+
declare const Sub: React.ForwardRefExoticComponent<NavigationMenuSubProps & React.RefAttributes<HTMLDivElement>>;
|
|
129
|
+
declare const List: React.ForwardRefExoticComponent<NavigationMenuListProps & React.RefAttributes<HTMLUListElement>>;
|
|
130
|
+
declare const Item: React.ForwardRefExoticComponent<NavigationMenuItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
131
|
+
declare const Trigger: React.ForwardRefExoticComponent<NavigationMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
132
|
+
declare const Link: React.ForwardRefExoticComponent<NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
133
|
+
declare const Indicator: React.ForwardRefExoticComponent<NavigationMenuIndicatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
134
|
+
declare const Content: React.ForwardRefExoticComponent<NavigationMenuContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
135
|
+
declare const Viewport: React.ForwardRefExoticComponent<NavigationMenuViewportProps & React.RefAttributes<HTMLDivElement>>;
|
|
124
136
|
|
|
125
|
-
|
|
137
|
+
export { Content, Indicator, Item, Link, List, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuSub, type NavigationMenuSubProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, NavigationMenuViewport, type NavigationMenuViewportProps, Root, Sub, Trigger, Viewport, createNavigationMenuScope };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,27 @@
|
|
|
1
|
-
import * as React from
|
|
2
|
-
import * as Radix from
|
|
3
|
-
import { Primitive } from
|
|
4
|
-
import { DismissableLayer } from
|
|
5
|
-
import * as VisuallyHiddenPrimitive from
|
|
6
|
-
import { Scope } from
|
|
7
|
-
|
|
8
|
-
type
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
type
|
|
12
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as Radix from '@radix-ui/react-primitive';
|
|
3
|
+
import { Primitive } from '@radix-ui/react-primitive';
|
|
4
|
+
import { DismissableLayer } from '@radix-ui/react-dismissable-layer';
|
|
5
|
+
import * as VisuallyHiddenPrimitive from '@radix-ui/react-visually-hidden';
|
|
6
|
+
import { Scope as Scope$1 } from '@radix-ui/react-context';
|
|
7
|
+
|
|
8
|
+
declare type Scope<C = any> = {
|
|
9
|
+
[scopeName: string]: React.Context<C>[];
|
|
10
|
+
} | undefined;
|
|
11
|
+
declare type ScopeHook = (scope: Scope) => {
|
|
12
|
+
[__scopeProp: string]: Scope;
|
|
13
|
+
};
|
|
14
|
+
interface CreateScope {
|
|
15
|
+
scopeName: string;
|
|
16
|
+
(): ScopeHook;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
declare type Orientation = 'vertical' | 'horizontal';
|
|
20
|
+
declare type Direction = 'ltr' | 'rtl';
|
|
21
|
+
declare const createNavigationMenuScope: CreateScope;
|
|
22
|
+
declare type NavigationMenuElement = React.ElementRef<typeof Primitive.nav>;
|
|
23
|
+
declare type PrimitiveNavProps = Radix.ComponentPropsWithoutRef<typeof Primitive.nav>;
|
|
24
|
+
interface NavigationMenuProps extends Omit<NavigationMenuProviderProps, keyof NavigationMenuProviderPrivateProps>, PrimitiveNavProps {
|
|
13
25
|
value?: string;
|
|
14
26
|
defaultValue?: string;
|
|
15
27
|
onValueChange?: (value: string) => void;
|
|
@@ -26,18 +38,18 @@ export interface NavigationMenuProps extends Omit<NavigationMenuProviderProps, k
|
|
|
26
38
|
*/
|
|
27
39
|
skipDelayDuration?: number;
|
|
28
40
|
}
|
|
29
|
-
|
|
30
|
-
type PrimitiveDivProps = Radix.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
31
|
-
|
|
41
|
+
declare const NavigationMenu: React.ForwardRefExoticComponent<NavigationMenuProps & React.RefAttributes<HTMLElement>>;
|
|
42
|
+
declare type PrimitiveDivProps = Radix.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
43
|
+
interface NavigationMenuSubProps extends Omit<NavigationMenuProviderProps, keyof NavigationMenuProviderPrivateProps>, PrimitiveDivProps {
|
|
32
44
|
value?: string;
|
|
33
45
|
defaultValue?: string;
|
|
34
46
|
onValueChange?: (value: string) => void;
|
|
35
47
|
orientation?: Orientation;
|
|
36
48
|
}
|
|
37
|
-
|
|
49
|
+
declare const NavigationMenuSub: React.ForwardRefExoticComponent<NavigationMenuSubProps & React.RefAttributes<HTMLDivElement>>;
|
|
38
50
|
interface NavigationMenuProviderPrivateProps {
|
|
39
51
|
isRootMenu: boolean;
|
|
40
|
-
scope: Scope;
|
|
52
|
+
scope: Scope$1;
|
|
41
53
|
children: React.ReactNode;
|
|
42
54
|
orientation: Orientation;
|
|
43
55
|
dir: Direction;
|
|
@@ -52,46 +64,46 @@ interface NavigationMenuProviderPrivateProps {
|
|
|
52
64
|
}
|
|
53
65
|
interface NavigationMenuProviderProps extends NavigationMenuProviderPrivateProps {
|
|
54
66
|
}
|
|
55
|
-
type PrimitiveUnorderedListProps = Radix.ComponentPropsWithoutRef<typeof Primitive.ul>;
|
|
56
|
-
|
|
67
|
+
declare type PrimitiveUnorderedListProps = Radix.ComponentPropsWithoutRef<typeof Primitive.ul>;
|
|
68
|
+
interface NavigationMenuListProps extends PrimitiveUnorderedListProps {
|
|
57
69
|
}
|
|
58
|
-
|
|
59
|
-
type FocusProxyElement = React.ElementRef<typeof VisuallyHiddenPrimitive.Root>;
|
|
60
|
-
type PrimitiveListItemProps = Radix.ComponentPropsWithoutRef<typeof Primitive.li>;
|
|
61
|
-
|
|
70
|
+
declare const NavigationMenuList: React.ForwardRefExoticComponent<NavigationMenuListProps & React.RefAttributes<HTMLUListElement>>;
|
|
71
|
+
declare type FocusProxyElement = React.ElementRef<typeof VisuallyHiddenPrimitive.Root>;
|
|
72
|
+
declare type PrimitiveListItemProps = Radix.ComponentPropsWithoutRef<typeof Primitive.li>;
|
|
73
|
+
interface NavigationMenuItemProps extends PrimitiveListItemProps {
|
|
62
74
|
value?: string;
|
|
63
75
|
}
|
|
64
|
-
|
|
65
|
-
type NavigationMenuTriggerElement = React.ElementRef<typeof Primitive.button>;
|
|
66
|
-
type PrimitiveButtonProps = Radix.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
67
|
-
|
|
76
|
+
declare const NavigationMenuItem: React.ForwardRefExoticComponent<NavigationMenuItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
77
|
+
declare type NavigationMenuTriggerElement = React.ElementRef<typeof Primitive.button>;
|
|
78
|
+
declare type PrimitiveButtonProps = Radix.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
79
|
+
interface NavigationMenuTriggerProps extends PrimitiveButtonProps {
|
|
68
80
|
}
|
|
69
|
-
|
|
70
|
-
type PrimitiveLinkProps = Radix.ComponentPropsWithoutRef<typeof Primitive.a>;
|
|
71
|
-
|
|
81
|
+
declare const NavigationMenuTrigger: React.ForwardRefExoticComponent<NavigationMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
82
|
+
declare type PrimitiveLinkProps = Radix.ComponentPropsWithoutRef<typeof Primitive.a>;
|
|
83
|
+
interface NavigationMenuLinkProps extends Omit<PrimitiveLinkProps, 'onSelect'> {
|
|
72
84
|
active?: boolean;
|
|
73
85
|
onSelect?: (event: Event) => void;
|
|
74
86
|
}
|
|
75
|
-
|
|
76
|
-
|
|
87
|
+
declare const NavigationMenuLink: React.ForwardRefExoticComponent<NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
88
|
+
interface NavigationMenuIndicatorProps extends NavigationMenuIndicatorImplProps {
|
|
77
89
|
/**
|
|
78
90
|
* Used to force mounting when more control is needed. Useful when
|
|
79
91
|
* controlling animation with React animation libraries.
|
|
80
92
|
*/
|
|
81
93
|
forceMount?: true;
|
|
82
94
|
}
|
|
83
|
-
|
|
95
|
+
declare const NavigationMenuIndicator: React.ForwardRefExoticComponent<NavigationMenuIndicatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
84
96
|
interface NavigationMenuIndicatorImplProps extends PrimitiveDivProps {
|
|
85
97
|
}
|
|
86
|
-
|
|
98
|
+
interface NavigationMenuContentProps extends Omit<NavigationMenuContentImplProps, keyof NavigationMenuContentImplPrivateProps> {
|
|
87
99
|
/**
|
|
88
100
|
* Used to force mounting when more control is needed. Useful when
|
|
89
101
|
* controlling animation with React animation libraries.
|
|
90
102
|
*/
|
|
91
103
|
forceMount?: true;
|
|
92
104
|
}
|
|
93
|
-
|
|
94
|
-
type DismissableLayerProps = Radix.ComponentPropsWithoutRef<typeof DismissableLayer>;
|
|
105
|
+
declare const NavigationMenuContent: React.ForwardRefExoticComponent<NavigationMenuContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
106
|
+
declare type DismissableLayerProps = Radix.ComponentPropsWithoutRef<typeof DismissableLayer>;
|
|
95
107
|
interface NavigationMenuContentImplPrivateProps {
|
|
96
108
|
value: string;
|
|
97
109
|
triggerRef: React.RefObject<NavigationMenuTriggerElement>;
|
|
@@ -102,24 +114,24 @@ interface NavigationMenuContentImplPrivateProps {
|
|
|
102
114
|
}
|
|
103
115
|
interface NavigationMenuContentImplProps extends Omit<DismissableLayerProps, 'onDismiss' | 'disableOutsidePointerEvents'>, NavigationMenuContentImplPrivateProps {
|
|
104
116
|
}
|
|
105
|
-
|
|
117
|
+
interface NavigationMenuViewportProps extends Omit<NavigationMenuViewportImplProps, 'children' | 'activeContentValue'> {
|
|
106
118
|
/**
|
|
107
119
|
* Used to force mounting when more control is needed. Useful when
|
|
108
120
|
* controlling animation with React animation libraries.
|
|
109
121
|
*/
|
|
110
122
|
forceMount?: true;
|
|
111
123
|
}
|
|
112
|
-
|
|
124
|
+
declare const NavigationMenuViewport: React.ForwardRefExoticComponent<NavigationMenuViewportProps & React.RefAttributes<HTMLDivElement>>;
|
|
113
125
|
interface NavigationMenuViewportImplProps extends PrimitiveDivProps {
|
|
114
126
|
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
127
|
+
declare const Root: React.ForwardRefExoticComponent<NavigationMenuProps & React.RefAttributes<HTMLElement>>;
|
|
128
|
+
declare const Sub: React.ForwardRefExoticComponent<NavigationMenuSubProps & React.RefAttributes<HTMLDivElement>>;
|
|
129
|
+
declare const List: React.ForwardRefExoticComponent<NavigationMenuListProps & React.RefAttributes<HTMLUListElement>>;
|
|
130
|
+
declare const Item: React.ForwardRefExoticComponent<NavigationMenuItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
131
|
+
declare const Trigger: React.ForwardRefExoticComponent<NavigationMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
132
|
+
declare const Link: React.ForwardRefExoticComponent<NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
133
|
+
declare const Indicator: React.ForwardRefExoticComponent<NavigationMenuIndicatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
134
|
+
declare const Content: React.ForwardRefExoticComponent<NavigationMenuContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
135
|
+
declare const Viewport: React.ForwardRefExoticComponent<NavigationMenuViewportProps & React.RefAttributes<HTMLDivElement>>;
|
|
124
136
|
|
|
125
|
-
|
|
137
|
+
export { Content, Indicator, Item, Link, List, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuSub, type NavigationMenuSubProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, NavigationMenuViewport, type NavigationMenuViewportProps, Root, Sub, Trigger, Viewport, createNavigationMenuScope };
|