@campxdev/react-blueprint 2.1.8 → 2.1.10
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/types/src/components/Assets/Icons/IconComponents/EmailNewIcon.d.ts +3 -0
- package/dist/cjs/types/src/components/Assets/Icons/IconComponents/NewSmsIcon.d.ts +3 -0
- package/dist/cjs/types/src/components/Assets/Icons/Icons.d.ts +2 -0
- package/dist/cjs/types/src/components/Layout/AppHeader/AppHeader.d.ts +6 -2
- package/dist/cjs/types/src/components/Layout/AppHeader/AppHeaderActions/UserBox.d.ts +6 -4
- package/dist/esm/index.js +2 -2
- package/dist/esm/types/src/components/Assets/Icons/IconComponents/EmailNewIcon.d.ts +3 -0
- package/dist/esm/types/src/components/Assets/Icons/IconComponents/NewSmsIcon.d.ts +3 -0
- package/dist/esm/types/src/components/Assets/Icons/Icons.d.ts +2 -0
- package/dist/esm/types/src/components/Layout/AppHeader/AppHeader.d.ts +6 -2
- package/dist/esm/types/src/components/Layout/AppHeader/AppHeaderActions/UserBox.d.ts +6 -4
- package/dist/index.d.ts +8 -2
- package/package.json +1 -1
|
@@ -69,6 +69,7 @@ export type IconsType = {
|
|
|
69
69
|
DFormsIcon: IconComponent;
|
|
70
70
|
EditIcon: IconComponent;
|
|
71
71
|
EmailIcon: IconComponent;
|
|
72
|
+
EmailNewIcon: IconComponent;
|
|
72
73
|
EnrollxIcon: IconComponent;
|
|
73
74
|
EvaluationIcon: IconComponent;
|
|
74
75
|
ExamConfigurationIcon: IconComponent;
|
|
@@ -172,6 +173,7 @@ export type IconsType = {
|
|
|
172
173
|
WarningFilledIcon: IconComponent;
|
|
173
174
|
WhatsappIcon: IconComponent;
|
|
174
175
|
WorkFlowDocsIcon: IconComponent;
|
|
176
|
+
NewSmsIcon: IconComponent;
|
|
175
177
|
ESSIcon: IconComponent;
|
|
176
178
|
SalaryIcon: IconComponent;
|
|
177
179
|
ExpensesIcon: IconComponent;
|
|
@@ -11,8 +11,12 @@ export type AppHeaderProps = {
|
|
|
11
11
|
collapsed: boolean;
|
|
12
12
|
institutionsData?: any[];
|
|
13
13
|
profileSx?: any;
|
|
14
|
-
onLogoutClick?:
|
|
14
|
+
onLogoutClick?: () => void;
|
|
15
15
|
showActiveDevices?: boolean;
|
|
16
16
|
headerSx?: SxProps;
|
|
17
|
+
onAccountClick?: () => void;
|
|
18
|
+
onActiveDevicesClick?: () => void;
|
|
19
|
+
onChangeInstitutionClick?: () => void;
|
|
20
|
+
onAvatarClick?: () => void;
|
|
17
21
|
};
|
|
18
|
-
export declare const AppHeader: ({ actions, profileActions, profileSx, clientLogoUrl, onLogoutClick, designation, clientName, userFullName, collapsed, institutionsData, showActiveDevices, headerSx, }: AppHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare const AppHeader: ({ actions, profileActions, profileSx, clientLogoUrl, onLogoutClick, designation, clientName, userFullName, collapsed, institutionsData, showActiveDevices, headerSx, onAccountClick, onActiveDevicesClick, onChangeInstitutionClick, onAvatarClick, }: AppHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
export default function UserBox({ fullName, onLogoutClick, designation, actions, profileUrl, profileSx, institutionsData, changePassword, avatar,
|
|
3
|
-
navigationIcon, // Make navigationIcon optional, default to true
|
|
4
|
-
showActiveDevices, }: {
|
|
2
|
+
export default function UserBox({ fullName, onLogoutClick, designation, actions, profileUrl, profileSx, institutionsData, changePassword, avatar, navigationIcon, showActiveDevices, onAccountClick, onActiveDevicesClick, onChangeInstitutionClick, onAvatarClick, }: {
|
|
5
3
|
fullName: string;
|
|
6
4
|
designation?: string;
|
|
7
5
|
institutionsData?: any[];
|
|
8
6
|
actions: ReactNode[];
|
|
9
|
-
onLogoutClick?:
|
|
7
|
+
onLogoutClick?: () => void;
|
|
10
8
|
profileUrl?: string;
|
|
11
9
|
changePassword?: ReactNode;
|
|
12
10
|
profileSx?: any;
|
|
13
11
|
avatar?: boolean;
|
|
14
12
|
navigationIcon?: boolean;
|
|
15
13
|
showActiveDevices?: boolean;
|
|
14
|
+
onAccountClick?: () => void;
|
|
15
|
+
onActiveDevicesClick?: () => void;
|
|
16
|
+
onChangeInstitutionClick?: () => void;
|
|
17
|
+
onAvatarClick?: () => void;
|
|
16
18
|
}): import("react/jsx-runtime").JSX.Element;
|