@conboai/storybook.components 0.2.29 → 0.2.31
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/assets/styles/colors.d.ts +1 -0
- package/dist/components/VerticalNavigation/components/Link.d.ts +4 -0
- package/dist/components/VerticalNavigation/components/ListItemLink.d.ts +10 -0
- package/dist/components/VerticalNavigation/components/Router.d.ts +5 -0
- package/dist/components/VerticalNavigation/components/VerticalNavigation.d.ts +14 -0
- package/dist/components/VerticalNavigation/index.d.ts +1 -0
- package/dist/components/VerticalNavigation/styles.d.ts +5 -0
- package/dist/mocks/navigation.d.ts +3 -0
- package/dist/storybook.components.mjs +5713 -5668
- package/package.json +3 -1
- /package/dist/mocks/{MetroMap.d.ts → metroMap.d.ts} +0 -0
|
@@ -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,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,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';
|