@equisoft/design-elements-react 3.5.1-snapshot.20210913012921 → 3.5.1-snapshot.20210914142937
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/bundle.js +194 -190
- package/dist/components/nav-menu/nav-menu.d.ts +9 -0
- package/package.json +1 -1
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import React, { KeyboardEvent } from 'react';
|
|
2
|
+
import { NavLink, NavLinkProps } from 'react-router-dom';
|
|
2
3
|
import { IconName } from '../icon/icon';
|
|
4
|
+
import { DeviceContextProps } from '../device-context-provider/device-context-provider';
|
|
5
|
+
interface LinkProps {
|
|
6
|
+
$device: DeviceContextProps;
|
|
7
|
+
}
|
|
8
|
+
export declare const ReactRouterNavLink: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, LinkProps & NavLinkProps<unknown>, never>;
|
|
9
|
+
export declare const HtmlLink: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, LinkProps, never>;
|
|
3
10
|
export interface NavMenuOption {
|
|
4
11
|
endIcon?: IconName;
|
|
5
12
|
exact?: boolean;
|
|
6
13
|
href: string;
|
|
14
|
+
isHtmlLink?: boolean;
|
|
7
15
|
label?: string;
|
|
8
16
|
startIcon?: IconName;
|
|
9
17
|
value: string;
|
|
@@ -22,3 +30,4 @@ export interface NavMenuProps {
|
|
|
22
30
|
ordered?: boolean;
|
|
23
31
|
}
|
|
24
32
|
export declare const NavMenu: React.ForwardRefExoticComponent<NavMenuProps & React.RefAttributes<HTMLUListElement>>;
|
|
33
|
+
export {};
|
package/package.json
CHANGED