magneto365.ui 2.55.0 → 2.55.2
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 +13 -13
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/UI/molecules/FraudCardJob/FraudCardJob.component.d.ts +3 -3
- package/dist/cjs/types/components/UI/molecules/FraudCardJob/FraudCardJob.interface.d.ts +18 -0
- package/dist/cjs/types/components/UI/molecules/MegaMenuCard/MegaMenuCard.interface.d.ts +1 -1
- package/dist/cjs/types/components/UI/molecules/MegaMenuSideCards/MegaMenuSideCards.interface.d.ts +1 -0
- package/dist/cjs/types/components/UI/organism/JobDetailsDrawer/JobDetailsDrawer.interface.d.ts +3 -2
- package/dist/cjs/types/components/UI/organism/MobileJobDetailsDrawer/MobileJobDetailsDrawer.interface.d.ts +5 -4
- package/dist/cjs/types/constants/icons.constants.d.ts +1 -1
- package/dist/cjs/types/constants/stories/fraudCardJob.constant.d.ts +2 -0
- package/dist/esm/index.js +13 -13
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/UI/molecules/FraudCardJob/FraudCardJob.component.d.ts +3 -3
- package/dist/esm/types/components/UI/molecules/FraudCardJob/FraudCardJob.interface.d.ts +18 -0
- package/dist/esm/types/components/UI/molecules/MegaMenuCard/MegaMenuCard.interface.d.ts +1 -1
- package/dist/esm/types/components/UI/molecules/MegaMenuSideCards/MegaMenuSideCards.interface.d.ts +1 -0
- package/dist/esm/types/components/UI/organism/JobDetailsDrawer/JobDetailsDrawer.interface.d.ts +3 -2
- package/dist/esm/types/components/UI/organism/MobileJobDetailsDrawer/MobileJobDetailsDrawer.interface.d.ts +5 -4
- package/dist/esm/types/constants/icons.constants.d.ts +1 -1
- package/dist/esm/types/constants/stories/fraudCardJob.constant.d.ts +2 -0
- package/dist/index.d.ts +26 -8
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IFraudCardJob } from './FraudCardJob.interface';
|
|
3
|
+
export declare const FraudCardJob: React.FC<IFraudCardJob>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface IFraudCardJob {
|
|
2
|
+
/**
|
|
3
|
+
* This is the text that display in the title of the card
|
|
4
|
+
*/
|
|
5
|
+
title: string;
|
|
6
|
+
/**
|
|
7
|
+
*This is the text that display in the body of the card
|
|
8
|
+
*/
|
|
9
|
+
content: string;
|
|
10
|
+
/**
|
|
11
|
+
* This is the text that display in the report button of the card
|
|
12
|
+
*/
|
|
13
|
+
linkText: string;
|
|
14
|
+
/**
|
|
15
|
+
* This is the link to redirect to the fraud form
|
|
16
|
+
*/
|
|
17
|
+
link: string;
|
|
18
|
+
}
|
package/dist/esm/types/components/UI/organism/JobDetailsDrawer/JobDetailsDrawer.interface.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { ReactNode } from 'react';
|
|
|
8
8
|
import { ISimilarJobs } from '../SimilarJobs/SimilarJobs.interface';
|
|
9
9
|
import { IJobVideo } from '@components/UI/molecules/JobVideo';
|
|
10
10
|
import { ICityDetail } from '../../molecules/CitiesDetailDrawer';
|
|
11
|
+
import { IFraudCardJob } from '../../molecules/FraudCardJob/FraudCardJob.interface';
|
|
11
12
|
export interface IJobDetailsDrawer {
|
|
12
13
|
/**
|
|
13
14
|
* Props for the job company logo and header section.
|
|
@@ -74,7 +75,7 @@ export interface IJobDetailsDrawer {
|
|
|
74
75
|
isRemote: boolean;
|
|
75
76
|
textRemote: string;
|
|
76
77
|
/**
|
|
77
|
-
*
|
|
78
|
+
* Props for the fraud card job.
|
|
78
79
|
*/
|
|
79
|
-
|
|
80
|
+
fraudCardJobProps: IFraudCardJob;
|
|
80
81
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import { IJobApplyCard, IJobCompanyHeader, IJobDetailCard, IJobFooterCard, IJobSkillsCard, ICityDetail } from '@components/UI/molecules';
|
|
2
3
|
import { IMobileJobDetailsActionsBar } from '../MobileJobDetailsActionsBar';
|
|
3
|
-
import { ReactNode } from 'react';
|
|
4
|
-
import { ISimilarJobs } from '../SimilarJobs/SimilarJobs.interface';
|
|
5
4
|
import { IJobVideo } from '@components/UI/molecules/JobVideo';
|
|
5
|
+
import { ISimilarJobs } from '../SimilarJobs/SimilarJobs.interface';
|
|
6
6
|
import { SwipeProps } from '../Swipe/Swipe.interface';
|
|
7
|
+
import { IFraudCardJob } from './../../molecules/FraudCardJob/FraudCardJob.interface';
|
|
7
8
|
export interface IMobileJobDetailsDrawer {
|
|
8
9
|
/**
|
|
9
10
|
* Props for the job company logo and header section.
|
|
@@ -84,7 +85,7 @@ export interface IMobileJobDetailsDrawer {
|
|
|
84
85
|
isRemote: boolean;
|
|
85
86
|
textRemote: string;
|
|
86
87
|
/**
|
|
87
|
-
*
|
|
88
|
+
* Props for the fraud card job.
|
|
88
89
|
*/
|
|
89
|
-
|
|
90
|
+
fraudCardJobProps: IFraudCardJob;
|
|
90
91
|
}
|
|
@@ -33,7 +33,7 @@ export { default as Calendar1 } from '../assets/Calendar1.svg';
|
|
|
33
33
|
export { default as Checked } from '../assets/Checked.svg';
|
|
34
34
|
export { default as ClipboardClose } from '../assets/ClipboardClose.svg';
|
|
35
35
|
export { default as Clock } from '../assets/Clock.svg';
|
|
36
|
-
export { default as ClockLine } from '../assets/clock.svg';
|
|
36
|
+
export { default as ClockLine } from '../assets/clock-line.svg';
|
|
37
37
|
export { default as Close } from '../assets/Close.svg';
|
|
38
38
|
export { default as CloseCircle } from '../assets/closeCircle.svg';
|
|
39
39
|
export { default as CloseCircleRedBold } from '../assets/closeCircleRedBold.svg';
|
package/dist/index.d.ts
CHANGED
|
@@ -1690,9 +1690,26 @@ interface IFilterSearchItem {
|
|
|
1690
1690
|
|
|
1691
1691
|
declare const FilterSearchItem: FC<IFilterSearchItem>;
|
|
1692
1692
|
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1693
|
+
interface IFraudCardJob {
|
|
1694
|
+
/**
|
|
1695
|
+
* This is the text that display in the title of the card
|
|
1696
|
+
*/
|
|
1697
|
+
title: string;
|
|
1698
|
+
/**
|
|
1699
|
+
*This is the text that display in the body of the card
|
|
1700
|
+
*/
|
|
1701
|
+
content: string;
|
|
1702
|
+
/**
|
|
1703
|
+
* This is the text that display in the report button of the card
|
|
1704
|
+
*/
|
|
1705
|
+
linkText: string;
|
|
1706
|
+
/**
|
|
1707
|
+
* This is the link to redirect to the fraud form
|
|
1708
|
+
*/
|
|
1709
|
+
link: string;
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
declare const FraudCardJob: React$1.FC<IFraudCardJob>;
|
|
1696
1713
|
|
|
1697
1714
|
interface IFrequentSearch {
|
|
1698
1715
|
/**
|
|
@@ -2473,7 +2490,7 @@ interface IMegaMenuCard {
|
|
|
2473
2490
|
/**
|
|
2474
2491
|
* Onclick callback
|
|
2475
2492
|
* */
|
|
2476
|
-
onClick
|
|
2493
|
+
onClick?: () => void;
|
|
2477
2494
|
/**
|
|
2478
2495
|
* Show arrow icon
|
|
2479
2496
|
* */
|
|
@@ -2491,6 +2508,7 @@ interface IMegaMenuSideCards {
|
|
|
2491
2508
|
onSelectCard?: (index: number) => void;
|
|
2492
2509
|
action?: IMegaMenuLink$1;
|
|
2493
2510
|
maxCards?: number;
|
|
2511
|
+
initValue?: number;
|
|
2494
2512
|
}
|
|
2495
2513
|
|
|
2496
2514
|
declare const MegaMenuSideCards: React$1.FC<IMegaMenuSideCards>;
|
|
@@ -3328,9 +3346,9 @@ interface IJobDetailsDrawer {
|
|
|
3328
3346
|
isRemote: boolean;
|
|
3329
3347
|
textRemote: string;
|
|
3330
3348
|
/**
|
|
3331
|
-
*
|
|
3349
|
+
* Props for the fraud card job.
|
|
3332
3350
|
*/
|
|
3333
|
-
|
|
3351
|
+
fraudCardJobProps: IFraudCardJob;
|
|
3334
3352
|
}
|
|
3335
3353
|
|
|
3336
3354
|
/**
|
|
@@ -3585,9 +3603,9 @@ interface IMobileJobDetailsDrawer {
|
|
|
3585
3603
|
isRemote: boolean;
|
|
3586
3604
|
textRemote: string;
|
|
3587
3605
|
/**
|
|
3588
|
-
*
|
|
3606
|
+
* Props for the fraud card job.
|
|
3589
3607
|
*/
|
|
3590
|
-
|
|
3608
|
+
fraudCardJobProps: IFraudCardJob;
|
|
3591
3609
|
}
|
|
3592
3610
|
|
|
3593
3611
|
/**
|
package/package.json
CHANGED