@openfin/ui-library 0.19.2-alpha.1687380955 → 0.19.2-alpha.1687871109
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/components/controls/ClickableNavigation/clickableNavigation.d.ts +11 -0
- package/dist/components/controls/ClickableNavigation/index.d.ts +1 -0
- package/dist/components/layout/HamburgerNavigation/hamburgerNavigation.d.ts +13 -0
- package/dist/components/layout/HamburgerNavigation/index.d.ts +2 -0
- package/dist/components/layout/HamburgerNavigation/sidebarMenu.d.ts +12 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
export type ClickableNavigationButtonProps = {
|
|
3
|
+
onClick?: () => void;
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
};
|
|
6
|
+
export type ClickableNavigationLinkProps = {
|
|
7
|
+
to?: string;
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
};
|
|
10
|
+
export declare const ClickableNavigationLink: FC<ClickableNavigationLinkProps>;
|
|
11
|
+
export declare const ClickableNavigationButton: FC<ClickableNavigationButtonProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './clickableNavigation';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
export type HamburgerNavigationProps = {
|
|
3
|
+
children: (closeFunction: () => void) => ReactNode;
|
|
4
|
+
document?: Document;
|
|
5
|
+
};
|
|
6
|
+
export type HamburgerIconProps = {
|
|
7
|
+
open?: boolean;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* - Sidebar Menu opens and closes on Hamburger Icon click and when the user selects items from sidebar menu
|
|
11
|
+
*/
|
|
12
|
+
export declare const HamburgerNavigation: FC<HamburgerNavigationProps>;
|
|
13
|
+
export declare const StyledHamburgerIcon: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, HamburgerIconProps, never>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type SidebarMenuProps = {
|
|
3
|
+
open?: boolean;
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
document?: Document;
|
|
6
|
+
};
|
|
7
|
+
export type SidebarMenuContainerProps = {
|
|
8
|
+
open?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare const SidebarMenu: ({ open, children, document }: SidebarMenuProps) => JSX.Element;
|
|
11
|
+
export declare const StyledSidebarMenuContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, SidebarMenuContainerProps, never>;
|
|
12
|
+
export declare const StyledMenuItemContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
package/package.json
CHANGED