magneto365.ui 2.57.4 → 2.58.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.
- package/dist/assets/4cf4b85aba741f29.svg +11 -0
- package/dist/cjs/css/magneto.ui.lib.min.css +1 -1
- package/dist/cjs/index.js +51 -39
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/UI/atoms/Text/Text.interface.d.ts +2 -1
- package/dist/cjs/types/components/UI/molecules/Actions/Actions.interface.d.ts +4 -0
- package/dist/cjs/types/components/UI/molecules/AlertJobStatus/AlertJobStatus.interface.d.ts +11 -0
- package/dist/cjs/types/components/UI/molecules/JobActions/JobActions.interface.d.ts +5 -0
- package/dist/cjs/types/components/UI/molecules/JobApplyCard/JobApplyCard.interface.d.ts +4 -0
- package/dist/cjs/types/components/UI/molecules/JobCompanyHeader/JobCompanyHeader.interface.d.ts +6 -0
- package/dist/cjs/types/components/UI/organism/JobDetailsDrawer/JobDetailsDrawer.interface.d.ts +9 -0
- package/dist/cjs/types/components/UI/organism/MobileJobDetailsActionsBar/MobileJobDetailsActionsBar.interface.d.ts +4 -0
- package/dist/cjs/types/components/UI/organism/MobileJobDetailsDrawer/MobileJobDetailsDrawer.interface.d.ts +9 -1
- package/dist/cjs/types/constants/icons.constants.d.ts +1 -0
- package/dist/esm/css/magneto.ui.lib.min.css +1 -1
- package/dist/esm/index.js +51 -39
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/UI/atoms/Text/Text.interface.d.ts +2 -1
- package/dist/esm/types/components/UI/molecules/Actions/Actions.interface.d.ts +4 -0
- package/dist/esm/types/components/UI/molecules/AlertJobStatus/AlertJobStatus.interface.d.ts +11 -0
- package/dist/esm/types/components/UI/molecules/JobActions/JobActions.interface.d.ts +5 -0
- package/dist/esm/types/components/UI/molecules/JobApplyCard/JobApplyCard.interface.d.ts +4 -0
- package/dist/esm/types/components/UI/molecules/JobCompanyHeader/JobCompanyHeader.interface.d.ts +6 -0
- package/dist/esm/types/components/UI/organism/JobDetailsDrawer/JobDetailsDrawer.interface.d.ts +9 -0
- package/dist/esm/types/components/UI/organism/MobileJobDetailsActionsBar/MobileJobDetailsActionsBar.interface.d.ts +4 -0
- package/dist/esm/types/components/UI/organism/MobileJobDetailsDrawer/MobileJobDetailsDrawer.interface.d.ts +9 -1
- package/dist/esm/types/constants/icons.constants.d.ts +1 -0
- package/dist/index.d.ts +94 -45
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export interface IText {
|
|
2
3
|
/**
|
|
3
4
|
* This is the main text
|
|
@@ -16,7 +17,7 @@ export interface ICustomText {
|
|
|
16
17
|
/**
|
|
17
18
|
* This is the value to the custom text
|
|
18
19
|
* */
|
|
19
|
-
value: string;
|
|
20
|
+
value: string | React.ReactNode;
|
|
20
21
|
/**
|
|
21
22
|
* This is the custom font weight to text
|
|
22
23
|
* */
|
|
@@ -8,6 +8,11 @@ export interface IAlertJobStatus {
|
|
|
8
8
|
* Additional class names for custom styling.
|
|
9
9
|
*/
|
|
10
10
|
className?: string;
|
|
11
|
+
/**
|
|
12
|
+
* type to background alert 'warning' or 'normal'.
|
|
13
|
+
* default: warning
|
|
14
|
+
*/
|
|
15
|
+
type?: EAlertJobStatusType;
|
|
11
16
|
}
|
|
12
17
|
export declare namespace IAlertJobStatus {
|
|
13
18
|
interface Container {
|
|
@@ -37,5 +42,11 @@ export declare namespace IAlertJobStatus {
|
|
|
37
42
|
* Text alt in the img element
|
|
38
43
|
*/
|
|
39
44
|
alt?: string | null;
|
|
45
|
+
/**
|
|
46
|
+
* type to icon alert 'warning' or 'success'.
|
|
47
|
+
*/
|
|
48
|
+
type?: EAlertJobStatusIcon;
|
|
40
49
|
}
|
|
41
50
|
}
|
|
51
|
+
export declare type EAlertJobStatusType = 'warning' | 'normal';
|
|
52
|
+
export declare type EAlertJobStatusIcon = 'success' | 'warning';
|
package/dist/cjs/types/components/UI/molecules/JobCompanyHeader/JobCompanyHeader.interface.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IJobCompanyLogo, IJobHeader } from '@components/UI/atoms';
|
|
2
|
+
import { IJobsActions } from '@components/UI/molecules/JobActions';
|
|
2
3
|
export interface IJobCompanyHeader {
|
|
3
4
|
/**
|
|
4
5
|
* Props for the company logo in the job company header.
|
|
@@ -8,4 +9,9 @@ export interface IJobCompanyHeader {
|
|
|
8
9
|
* Props for the header of the job listing in the job company header.
|
|
9
10
|
*/
|
|
10
11
|
jobHeaderProps: IJobHeader;
|
|
12
|
+
isApplied?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Props for the actions section associated with the job details.
|
|
15
|
+
*/
|
|
16
|
+
jobActionsProps?: IJobsActions;
|
|
11
17
|
}
|
package/dist/cjs/types/components/UI/organism/JobDetailsDrawer/JobDetailsDrawer.interface.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IAlertJobStatus } from './../../molecules/AlertJobStatus/AlertJobStatus.interface';
|
|
1
2
|
import { IJobSkillsCard } from '../../molecules/JobSkillsCard';
|
|
2
3
|
import { IJobApplyCard } from '../../molecules/JobApplyCard';
|
|
3
4
|
import { IJobFooterCard } from '../../molecules/JobFooterCard';
|
|
@@ -78,4 +79,12 @@ export interface IJobDetailsDrawer {
|
|
|
78
79
|
* Props for the fraud card job.
|
|
79
80
|
*/
|
|
80
81
|
fraudCardJobProps: IFraudCardJob;
|
|
82
|
+
/**
|
|
83
|
+
* Props for show actions buttons or alert
|
|
84
|
+
*/
|
|
85
|
+
isApplied?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Props for show alert when apply
|
|
88
|
+
*/
|
|
89
|
+
alertJobStatusProps?: IAlertJobStatus;
|
|
81
90
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { IJobApplyCard, IJobCompanyHeader, IJobDetailCard, IJobFooterCard, IJobSkillsCard, ICityDetail } from '@components/UI/molecules';
|
|
2
|
+
import { IJobApplyCard, IJobCompanyHeader, IJobDetailCard, IJobFooterCard, IJobSkillsCard, ICityDetail, IAlertJobStatus } from '@components/UI/molecules';
|
|
3
3
|
import { IMobileJobDetailsActionsBar } from '../MobileJobDetailsActionsBar';
|
|
4
4
|
import { IJobVideo } from '@components/UI/molecules/JobVideo';
|
|
5
5
|
import { ISimilarJobs } from '../SimilarJobs/SimilarJobs.interface';
|
|
@@ -88,4 +88,12 @@ export interface IMobileJobDetailsDrawer {
|
|
|
88
88
|
* Props for the fraud card job.
|
|
89
89
|
*/
|
|
90
90
|
fraudCardJobProps: IFraudCardJob;
|
|
91
|
+
/**
|
|
92
|
+
* Props for show actions buttons or alert
|
|
93
|
+
*/
|
|
94
|
+
isApplied?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Props for show alert when apply
|
|
97
|
+
*/
|
|
98
|
+
alertJobStatusProps?: IAlertJobStatus;
|
|
91
99
|
}
|
|
@@ -31,6 +31,7 @@ export { default as BuildingSlashBlackOutline } from '../assets/buildingSlashDar
|
|
|
31
31
|
export { default as BuildingWhite } from '../assets/buildingWhite.svg';
|
|
32
32
|
export { default as Calendar1 } from '../assets/Calendar1.svg';
|
|
33
33
|
export { default as Checked } from '../assets/Checked.svg';
|
|
34
|
+
export { default as Checked2 } from '../assets/Checked2.svg';
|
|
34
35
|
export { default as ClipboardClose } from '../assets/ClipboardClose.svg';
|
|
35
36
|
export { default as Clock } from '../assets/Clock.svg';
|
|
36
37
|
export { default as ClockLine } from '../assets/clock-line.svg';
|