@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.
@@ -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,2 @@
1
+ export * from './hamburgerNavigation';
2
+ export * from './sidebarMenu';
@@ -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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@openfin/ui-library",
3
3
  "description": "OpenFin UI Component Library",
4
- "version": "0.19.2-alpha.1687380955",
4
+ "version": "0.19.2-alpha.1687871109",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "repository": "github:openfin/ui-library",