dfh-ui-library 1.13.7 → 1.13.8
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/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/ArrowDropDown/ArrowDropDown.d.ts +2 -0
- package/dist/cjs/types/components/NavBar/NavBar.d.ts +1 -1
- package/dist/cjs/types/index.d.ts +1 -1
- package/dist/cjs/types/shared/models/components/common.model.d.ts +8 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/ArrowDropDown/ArrowDropDown.d.ts +2 -0
- package/dist/esm/types/components/NavBar/NavBar.d.ts +1 -1
- package/dist/esm/types/index.d.ts +1 -1
- package/dist/esm/types/shared/models/components/common.model.d.ts +8 -2
- package/dist/index.d.ts +10 -4
- package/package.json +1 -1
@@ -1,9 +1,11 @@
|
|
1
1
|
import React from "react";
|
2
|
+
import { AccountPopoverMenuItem } from "../../shared/models/components/common.model";
|
2
3
|
interface ArrowDropdownProps {
|
3
4
|
username?: string;
|
4
5
|
themeColor?: string;
|
5
6
|
handleLogout?: () => void;
|
6
7
|
userImage?: string;
|
8
|
+
accountPopoverMenuItems?: AccountPopoverMenuItem[];
|
7
9
|
}
|
8
10
|
declare const ArrowDropdown: React.FC<ArrowDropdownProps>;
|
9
11
|
export default ArrowDropdown;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import React from "react";
|
2
2
|
import { TabNavigationProps } from "../../shared/models/components/common.model";
|
3
|
-
declare const NavBar: ({ navigationData, additionalClasses, navItemClick,
|
3
|
+
declare const NavBar: ({ navigationData, additionalClasses, navItemClick, userImage, username, themeColor, accountPopoverMenuItems }: TabNavigationProps) => React.JSX.Element;
|
4
4
|
export default NavBar;
|
@@ -2,7 +2,7 @@ import "./index.css";
|
|
2
2
|
export * from "./components";
|
3
3
|
export * from "./hooks";
|
4
4
|
export { VariantTypes, BorderType, LogoProps, } from "./shared/models/components/base.model";
|
5
|
-
export { DropdownSearchProps, ClickedAction, TimelineEventProps, ListMasterDataProps, BtnOptionDropdown, BADGETYPE, OptionProps, NoteItemProps, NoteChildrenProps, NoteProps, UrgentDataProps, MessageProps, InputType, BadgeColorVariant, ISolutionvalues, } from "./shared/models/components/common.model";
|
5
|
+
export { DropdownSearchProps, ClickedAction, TimelineEventProps, ListMasterDataProps, BtnOptionDropdown, BADGETYPE, OptionProps, NoteItemProps, NoteChildrenProps, NoteProps, UrgentDataProps, MessageProps, InputType, BadgeColorVariant, ISolutionvalues, AccountPopoverMenuItem } from "./shared/models/components/common.model";
|
6
6
|
export { ColumnDef, SortingState } from "@tanstack/react-table";
|
7
7
|
export { usePagination } from "./hooks/usePagination";
|
8
8
|
export { useSorting } from "./hooks/useSorting";
|
@@ -96,14 +96,20 @@ export interface FileNameProps {
|
|
96
96
|
name: string;
|
97
97
|
ext: string;
|
98
98
|
}
|
99
|
+
export interface AccountPopoverMenuItem {
|
100
|
+
label: string;
|
101
|
+
onClick: () => void;
|
102
|
+
isVisible: boolean;
|
103
|
+
isDisabled?: boolean;
|
104
|
+
additionalClasses?: string;
|
105
|
+
}
|
99
106
|
export interface TabNavigationProps extends AdditionalClassesProp {
|
100
107
|
navigationData: any[];
|
101
108
|
navItemClick?: (url?: string) => void;
|
102
|
-
isEnableLogout?: boolean;
|
103
|
-
handleLogout?: () => void;
|
104
109
|
userImage?: string;
|
105
110
|
username?: string;
|
106
111
|
themeColor?: string;
|
112
|
+
accountPopoverMenuItems?: AccountPopoverMenuItem[];
|
107
113
|
}
|
108
114
|
export interface TabNavItemProps {
|
109
115
|
isActive: boolean;
|