@conboai/storybook.components 0.2.29 → 0.2.32

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.
@@ -4,6 +4,7 @@ export declare const BG_GRAY_COLOR = "#F5F6FA";
4
4
  export declare const DETAILS_VIEW_BG = "#ECEDEF";
5
5
  export declare const DISABLED_CHECKBOX = "rgba(0, 0, 0, 0.26)";
6
6
  export declare const HOVER_DARK_BLUE_ICON = "#354290";
7
+ export declare const HOVER_NAVIGATION_ITEM = "#E5E9F5";
7
8
  export declare const PASSIVE_BTN_PRIMARY = "#5360AE";
8
9
  export declare const HOVER_BTN_PRIMARY = "#3F4C9A";
9
10
  export declare const ACTIVE_BTN_PRIMARY = "#303D8B";
@@ -0,0 +1,4 @@
1
+ import { LinkProps as RouterLinkProps } from 'react-router-dom';
2
+ import * as React from "react";
3
+ declare const Link: React.ForwardRefExoticComponent<RouterLinkProps & React.RefAttributes<HTMLAnchorElement>>;
4
+ export default Link;
@@ -0,0 +1,10 @@
1
+ import { default as icons } from '../../Svg/icons';
2
+ import * as React from "react";
3
+ interface ListItemLinkProps {
4
+ icon?: keyof typeof icons;
5
+ primary: string;
6
+ to: string;
7
+ isActive?: boolean;
8
+ }
9
+ declare function ListItemLink({ icon, primary, to, isActive }: ListItemLinkProps): React.JSX.Element;
10
+ export default ListItemLink;
@@ -0,0 +1,5 @@
1
+ import * as React from "react";
2
+ declare function Router(props: {
3
+ children?: React.ReactNode;
4
+ }): React.JSX.Element;
5
+ export default Router;
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+ import { default as icons } from '../../Svg/icons';
3
+
4
+ export interface IItem {
5
+ path: string;
6
+ icon: keyof typeof icons;
7
+ label: string;
8
+ isActive: boolean;
9
+ }
10
+ export interface IVerticalNavigationProps {
11
+ list: IItem[];
12
+ }
13
+ declare function VerticalNavigation({ list }: IVerticalNavigationProps): React.JSX.Element;
14
+ export default VerticalNavigation;
@@ -0,0 +1 @@
1
+ export { default as VerticalNavigation } from './components/VerticalNavigation';
@@ -0,0 +1,5 @@
1
+ import { SxProps } from '@mui/material';
2
+
3
+ export declare const paperSx: SxProps;
4
+ export declare const listItemSx: (isActive?: boolean) => SxProps;
5
+ export declare const buttonIconSx: SxProps;
@@ -0,0 +1,3 @@
1
+ import { IItem } from '../components/VerticalNavigation/components/VerticalNavigation';
2
+
3
+ export declare const navigationList: IItem[];