scorer-ui-kit 2.7.0 → 2.8.0

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,8 @@
1
+ import React from "react";
2
+ import { IUtilityHeaderLinkBack } from "..";
3
+ interface IUtilityHeaderLinkBackInstance extends IUtilityHeaderLinkBack {
4
+ $iconInGutter: boolean;
5
+ $showDivider: boolean;
6
+ }
7
+ declare const UtilityHeaderBack: React.FC<IUtilityHeaderLinkBackInstance>;
8
+ export default UtilityHeaderBack;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { IUtilityHeaderLinkShare } from "..";
3
+ declare const UtilityHeaderShare: React.FC<IUtilityHeaderLinkShare>;
4
+ export default UtilityHeaderShare;
@@ -7,14 +7,24 @@ interface IBreadcrumb {
7
7
  text: string;
8
8
  href: string;
9
9
  }
10
+ export interface IUtilityHeaderLinkBack {
11
+ show?: boolean;
12
+ link: string;
13
+ label?: string;
14
+ }
15
+ export interface IUtilityHeaderLinkShare {
16
+ show?: boolean;
17
+ link?: string;
18
+ label?: string;
19
+ copiedLabel?: string;
20
+ }
10
21
  export interface IUtilityHeader {
11
22
  $iconInGutter?: boolean;
12
- backLink?: string;
13
23
  showBreadcrumbs?: boolean;
14
- breadcrumbs?: IBreadcrumb[];
15
24
  showHomeIcon?: boolean;
16
- showShareLink?: boolean;
17
- shareLink?: string;
25
+ breadcrumbs?: IBreadcrumb[];
26
+ back?: IUtilityHeaderLinkBack;
27
+ share?: IUtilityHeaderLinkShare;
18
28
  }
19
29
  export interface IHeaderContent {
20
30
  UtilityHeaderOptions?: IUtilityHeader;