scorer-ui-kit 2.10.2 → 2.10.4

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.
@@ -61,9 +61,13 @@ export interface IUserDrawerMeta {
61
61
  notes?: string;
62
62
  hasCopyIcon?: boolean;
63
63
  }
64
+ export interface IUserSubmenuItem {
65
+ text: string;
66
+ href: string;
67
+ }
64
68
  export interface ITopBar {
65
69
  hasNotifications?: boolean;
66
- userSubmenu?: any[];
70
+ userSubmenu?: IUserSubmenuItem[];
67
71
  loggedInUser: string;
68
72
  hasLanguage?: boolean;
69
73
  selectedLanguageText?: string;
@@ -115,4 +119,5 @@ export interface ITopBarBadge {
115
119
  linkHref?: string;
116
120
  linkTo?: string;
117
121
  linkText?: string;
122
+ onClick?: () => void;
118
123
  }
@@ -5,12 +5,14 @@ import UtilityHeader from './molecules/UtilityHeader';
5
5
  import SplitLayout from './molecules/SplitLayout';
6
6
  interface IBreadcrumb {
7
7
  text: string;
8
- href: string;
8
+ href?: string;
9
+ onClick?: () => void;
9
10
  }
10
11
  export interface IUtilityHeaderLinkBack {
11
12
  show?: boolean;
12
- link: string;
13
+ link?: string;
13
14
  label?: string;
15
+ onClick?: () => void;
14
16
  }
15
17
  export interface IUtilityHeaderLinkShare {
16
18
  show?: boolean;
@@ -13,6 +13,7 @@ interface OwnProps {
13
13
  linkTo?: string;
14
14
  noBorder?: boolean;
15
15
  tagSize?: TypeTagSize;
16
+ onTagClick?: () => void;
16
17
  }
17
18
  export declare type ITag = OwnProps & IconProps;
18
19
  declare const Tag: React.FC<ITag>;
@@ -8,6 +8,7 @@ interface IProps {
8
8
  updateDocTitle?: boolean;
9
9
  hideAreaInDocTitle?: boolean;
10
10
  areaTitleBottom?: boolean;
11
+ onAreaClick?: () => void;
11
12
  }
12
13
  declare const PageTitle: React.FC<IProps>;
13
14
  export default PageTitle;
@@ -3,6 +3,7 @@ export declare type IHeaderTag = {
3
3
  label: string;
4
4
  linkTo?: string;
5
5
  icon?: string;
6
+ onTagClick?: () => void;
6
7
  };
7
8
  interface IProps {
8
9
  title: string;
@@ -16,6 +17,8 @@ interface IProps {
16
17
  tagList?: IHeaderTag[];
17
18
  areaTitleBottom?: boolean;
18
19
  rightContent?: React.ReactNode | React.FC | ReactElement;
20
+ bottomLeftContent?: React.ReactNode | React.FC | ReactElement;
21
+ onAreaClick?: () => void;
19
22
  }
20
23
  declare const PageHeader: React.FC<IProps>;
21
24
  export default PageHeader;