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.
- package/dist/Global/index.d.ts +6 -1
- package/dist/Layouts/index.d.ts +4 -2
- package/dist/Misc/atoms/Tag.d.ts +1 -0
- package/dist/Pages/atoms/PageTitle.d.ts +1 -0
- package/dist/Pages/molecules/PageHeader.d.ts +3 -0
- package/dist/index.js +273 -213
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +273 -213
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/Global/index.d.ts
CHANGED
|
@@ -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?:
|
|
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
|
}
|
package/dist/Layouts/index.d.ts
CHANGED
|
@@ -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
|
|
8
|
+
href?: string;
|
|
9
|
+
onClick?: () => void;
|
|
9
10
|
}
|
|
10
11
|
export interface IUtilityHeaderLinkBack {
|
|
11
12
|
show?: boolean;
|
|
12
|
-
link
|
|
13
|
+
link?: string;
|
|
13
14
|
label?: string;
|
|
15
|
+
onClick?: () => void;
|
|
14
16
|
}
|
|
15
17
|
export interface IUtilityHeaderLinkShare {
|
|
16
18
|
show?: boolean;
|
package/dist/Misc/atoms/Tag.d.ts
CHANGED
|
@@ -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;
|