magneto365.ui 2.55.2 → 2.56.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/cjs/css/magneto.ui.lib.min.css +1 -1
- package/dist/cjs/index.js +1014 -884
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/UI/molecules/AlertJobStatus/AlertJobStatus.component.d.ts +7 -0
- package/dist/cjs/types/components/UI/molecules/AlertJobStatus/AlertJobStatus.interface.d.ts +41 -0
- package/dist/cjs/types/components/UI/molecules/AlertJobStatus/children/AlertJobStatusContainer/AlertJobStatusContainer.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/molecules/AlertJobStatus/children/AlertJobStatusContainer/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/molecules/AlertJobStatus/children/AlertJobStatusIcon/AlertJobStatusIcon.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/molecules/AlertJobStatus/children/AlertJobStatusIcon/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/molecules/AlertJobStatus/index.d.ts +4 -0
- package/dist/cjs/types/components/UI/molecules/SimilarCard/SimilarCard.component.d.ts +7 -0
- package/dist/cjs/types/components/UI/molecules/SimilarCard/SimilarCard.interface.d.ts +128 -0
- package/dist/cjs/types/components/UI/molecules/SimilarCard/children/SimilarCardLogo/SimilarCardLogo.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/molecules/SimilarCard/children/SimilarCardLogo/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/molecules/SimilarCard/children/SimlarCardIcon/SimilarCardIcon.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/molecules/SimilarCard/children/SimlarCardIcon/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/molecules/SimilarCard/index.d.ts +4 -0
- package/dist/cjs/types/components/UI/molecules/index.d.ts +2 -0
- package/dist/cjs/types/components/UI/organism/JobSuggestedDrawer/JobSuggestedDrawer.component.d.ts +11 -0
- package/dist/cjs/types/components/UI/organism/JobSuggestedDrawer/JobSuggestedDrawer.interface.d.ts +90 -0
- package/dist/cjs/types/components/UI/organism/JobSuggestedDrawer/children/JobSuggestedHeader/JobSuggestedHeader.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/organism/JobSuggestedDrawer/children/JobSuggestedHeader/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/organism/JobSuggestedDrawer/children/JobSuggestedSimilarJobs/JobSuggestedSimilarJobs.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/organism/JobSuggestedDrawer/children/JobSuggestedSimilarJobs/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/organism/JobSuggestedDrawer/index.d.ts +4 -0
- package/dist/cjs/types/components/UI/organism/index.d.ts +1 -0
- package/dist/cjs/types/constants/stories/alertJob.constants.d.ts +3 -0
- package/dist/cjs/types/constants/stories/index.d.ts +3 -0
- package/dist/cjs/types/constants/stories/jobSuggestedDrawer.constants.d.ts +3 -0
- package/dist/cjs/types/constants/stories/similarCard.constants.d.ts +7 -0
- package/dist/cjs/types/utils/text/textAdapter.util.d.ts +3 -0
- package/dist/esm/css/magneto.ui.lib.min.css +1 -1
- package/dist/esm/index.js +1006 -885
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/UI/molecules/AlertJobStatus/AlertJobStatus.component.d.ts +7 -0
- package/dist/esm/types/components/UI/molecules/AlertJobStatus/AlertJobStatus.interface.d.ts +41 -0
- package/dist/esm/types/components/UI/molecules/AlertJobStatus/children/AlertJobStatusContainer/AlertJobStatusContainer.component.d.ts +3 -0
- package/dist/esm/types/components/UI/molecules/AlertJobStatus/children/AlertJobStatusContainer/index.d.ts +1 -0
- package/dist/esm/types/components/UI/molecules/AlertJobStatus/children/AlertJobStatusIcon/AlertJobStatusIcon.component.d.ts +3 -0
- package/dist/esm/types/components/UI/molecules/AlertJobStatus/children/AlertJobStatusIcon/index.d.ts +1 -0
- package/dist/esm/types/components/UI/molecules/AlertJobStatus/index.d.ts +4 -0
- package/dist/esm/types/components/UI/molecules/SimilarCard/SimilarCard.component.d.ts +7 -0
- package/dist/esm/types/components/UI/molecules/SimilarCard/SimilarCard.interface.d.ts +128 -0
- package/dist/esm/types/components/UI/molecules/SimilarCard/children/SimilarCardLogo/SimilarCardLogo.component.d.ts +3 -0
- package/dist/esm/types/components/UI/molecules/SimilarCard/children/SimilarCardLogo/index.d.ts +1 -0
- package/dist/esm/types/components/UI/molecules/SimilarCard/children/SimlarCardIcon/SimilarCardIcon.component.d.ts +3 -0
- package/dist/esm/types/components/UI/molecules/SimilarCard/children/SimlarCardIcon/index.d.ts +1 -0
- package/dist/esm/types/components/UI/molecules/SimilarCard/index.d.ts +4 -0
- package/dist/esm/types/components/UI/molecules/index.d.ts +2 -0
- package/dist/esm/types/components/UI/organism/JobSuggestedDrawer/JobSuggestedDrawer.component.d.ts +11 -0
- package/dist/esm/types/components/UI/organism/JobSuggestedDrawer/JobSuggestedDrawer.interface.d.ts +90 -0
- package/dist/esm/types/components/UI/organism/JobSuggestedDrawer/children/JobSuggestedHeader/JobSuggestedHeader.component.d.ts +3 -0
- package/dist/esm/types/components/UI/organism/JobSuggestedDrawer/children/JobSuggestedHeader/index.d.ts +1 -0
- package/dist/esm/types/components/UI/organism/JobSuggestedDrawer/children/JobSuggestedSimilarJobs/JobSuggestedSimilarJobs.component.d.ts +3 -0
- package/dist/esm/types/components/UI/organism/JobSuggestedDrawer/children/JobSuggestedSimilarJobs/index.d.ts +1 -0
- package/dist/esm/types/components/UI/organism/JobSuggestedDrawer/index.d.ts +4 -0
- package/dist/esm/types/components/UI/organism/index.d.ts +1 -0
- package/dist/esm/types/constants/stories/alertJob.constants.d.ts +3 -0
- package/dist/esm/types/constants/stories/index.d.ts +3 -0
- package/dist/esm/types/constants/stories/jobSuggestedDrawer.constants.d.ts +3 -0
- package/dist/esm/types/constants/stories/similarCard.constants.d.ts +7 -0
- package/dist/esm/types/utils/text/textAdapter.util.d.ts +3 -0
- package/dist/index.d.ts +324 -3
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IAlertJobStatus } from './AlertJobStatus.interface';
|
|
3
|
+
export declare const AlertJobStatus: React.FC<IAlertJobStatus> & {
|
|
4
|
+
Container: React.FC<IAlertJobStatus.Container>;
|
|
5
|
+
Icon: React.FC<IAlertJobStatus.Icon>;
|
|
6
|
+
Text: React.FC<import("../../atoms/Text/Text.interface").IText>;
|
|
7
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface IAlertJobStatus {
|
|
3
|
+
/**
|
|
4
|
+
* React children to be rendered inside the component.
|
|
5
|
+
*/
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Additional class names for custom styling.
|
|
9
|
+
*/
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare namespace IAlertJobStatus {
|
|
13
|
+
interface Container {
|
|
14
|
+
/**
|
|
15
|
+
* React children to be rendered inside the container.
|
|
16
|
+
*/
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
/**
|
|
19
|
+
* Additional class names for custom styling.
|
|
20
|
+
*/
|
|
21
|
+
className?: string;
|
|
22
|
+
}
|
|
23
|
+
interface Icon {
|
|
24
|
+
/**
|
|
25
|
+
* Additional class names for custom styling.
|
|
26
|
+
*/
|
|
27
|
+
className?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Here is the icon component
|
|
30
|
+
*/
|
|
31
|
+
src?: string | null;
|
|
32
|
+
/**
|
|
33
|
+
* You can change the size of the icon by adding a numeric value here
|
|
34
|
+
*/
|
|
35
|
+
size?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Text alt in the img element
|
|
38
|
+
*/
|
|
39
|
+
alt?: string | null;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AlertJobStatusContainer.component';
|
package/dist/cjs/types/components/UI/molecules/AlertJobStatus/children/AlertJobStatusIcon/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AlertJobStatusIcon.component';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ISimilarCard } from './SimilarCard.interface';
|
|
3
|
+
export declare const SimilarCard: React.FC<ISimilarCard> & {
|
|
4
|
+
Text: React.FC<import("../../atoms/Text/Text.interface").IText>;
|
|
5
|
+
Logo: React.FC<ISimilarCard.Logo>;
|
|
6
|
+
Icon: React.FC<ISimilarCard.Icon>;
|
|
7
|
+
};
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ICustomText } from '@components/UI/atoms/Text/Text.interface';
|
|
3
|
+
export interface ISimilarCard {
|
|
4
|
+
/**
|
|
5
|
+
* this property sets the url title
|
|
6
|
+
*/
|
|
7
|
+
title?: string;
|
|
8
|
+
/**
|
|
9
|
+
* this property sets custom styles
|
|
10
|
+
*/
|
|
11
|
+
className?: string;
|
|
12
|
+
/**
|
|
13
|
+
* this property sets the url link
|
|
14
|
+
*/
|
|
15
|
+
jobUrlSlug?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface ISimilarCardData {
|
|
18
|
+
/**
|
|
19
|
+
* unique identifier for the job or card.
|
|
20
|
+
*/
|
|
21
|
+
id?: number | null;
|
|
22
|
+
/**
|
|
23
|
+
* title of the job or offer. Required.
|
|
24
|
+
*/
|
|
25
|
+
title: string;
|
|
26
|
+
/**
|
|
27
|
+
* salary for the job. Can be a string or null.
|
|
28
|
+
*/
|
|
29
|
+
salary: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* indicates if agreement is required for the job. Optional, can be boolean or null.
|
|
32
|
+
*/
|
|
33
|
+
toAgree: boolean | null;
|
|
34
|
+
/**
|
|
35
|
+
* list of cities where the job is available. Required.
|
|
36
|
+
*/
|
|
37
|
+
cities: string[];
|
|
38
|
+
/**
|
|
39
|
+
* URL slug for the job.
|
|
40
|
+
*/
|
|
41
|
+
jobUrlSlug: string;
|
|
42
|
+
/**
|
|
43
|
+
* required experience for the job.
|
|
44
|
+
*/
|
|
45
|
+
experience: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* URL for the company logo.
|
|
48
|
+
*/
|
|
49
|
+
companyLogo: string | null;
|
|
50
|
+
/**
|
|
51
|
+
* company name.
|
|
52
|
+
*/
|
|
53
|
+
companyName?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
* type of contract for the job.
|
|
56
|
+
*/
|
|
57
|
+
contractType?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* determines if the company logo should be hidden.
|
|
60
|
+
*/
|
|
61
|
+
hideLogo?: boolean;
|
|
62
|
+
}
|
|
63
|
+
export declare namespace ISimilarCard {
|
|
64
|
+
interface Container {
|
|
65
|
+
/**
|
|
66
|
+
* this property sets the alt text when source cant be loaded
|
|
67
|
+
*/
|
|
68
|
+
title: string;
|
|
69
|
+
/**
|
|
70
|
+
* this property sets the url link
|
|
71
|
+
*/
|
|
72
|
+
jobUrlSlug: string;
|
|
73
|
+
/**
|
|
74
|
+
* this property sets custom styles
|
|
75
|
+
*/
|
|
76
|
+
className?: string;
|
|
77
|
+
/**
|
|
78
|
+
* this property sets children elements
|
|
79
|
+
*/
|
|
80
|
+
children?: React.ReactNode;
|
|
81
|
+
}
|
|
82
|
+
interface Logo {
|
|
83
|
+
/**
|
|
84
|
+
* this property sets the logo source file
|
|
85
|
+
*/
|
|
86
|
+
src?: string;
|
|
87
|
+
/**
|
|
88
|
+
* this property sets custom styles
|
|
89
|
+
*/
|
|
90
|
+
className?: string;
|
|
91
|
+
/**
|
|
92
|
+
* this property sets the alt text when source cant be loaded
|
|
93
|
+
*/
|
|
94
|
+
alt?: string;
|
|
95
|
+
/**
|
|
96
|
+
* this property sets if should hide logo
|
|
97
|
+
*/
|
|
98
|
+
hideLogo?: boolean;
|
|
99
|
+
}
|
|
100
|
+
interface Text {
|
|
101
|
+
/**
|
|
102
|
+
* If the text must show more than one line, use customText instead text
|
|
103
|
+
* */
|
|
104
|
+
customText?: ICustomText[];
|
|
105
|
+
/**
|
|
106
|
+
* this property sets custom styles
|
|
107
|
+
*/
|
|
108
|
+
className?: string;
|
|
109
|
+
}
|
|
110
|
+
interface Icon {
|
|
111
|
+
/**
|
|
112
|
+
* this property sets the icon source file
|
|
113
|
+
*/
|
|
114
|
+
src?: string;
|
|
115
|
+
/**
|
|
116
|
+
* this property sets custom styles
|
|
117
|
+
*/
|
|
118
|
+
className?: string;
|
|
119
|
+
/**
|
|
120
|
+
* this property sets the alt text when source cant be loaded
|
|
121
|
+
*/
|
|
122
|
+
alt?: string;
|
|
123
|
+
/**
|
|
124
|
+
* this property set the icon show the source when there is a mobile resolution
|
|
125
|
+
*/
|
|
126
|
+
showIconMobile?: boolean;
|
|
127
|
+
}
|
|
128
|
+
}
|
package/dist/cjs/types/components/UI/molecules/SimilarCard/children/SimilarCardLogo/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SimilarCardLogo.component';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SimilarCardIcon.component';
|
package/dist/cjs/types/components/UI/organism/JobSuggestedDrawer/JobSuggestedDrawer.component.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IJobSuggestedDrawer } from './JobSuggestedDrawer.interface';
|
|
3
|
+
export declare const JobSuggestedDrawer: React.FC<IJobSuggestedDrawer> & {
|
|
4
|
+
Header: React.FC<IJobSuggestedDrawer.Header>;
|
|
5
|
+
Alert: React.FC<import("@components/UI/molecules/AlertJobStatus").IAlertJobStatus> & {
|
|
6
|
+
Container: React.FC<import("@components/UI/molecules/AlertJobStatus").IAlertJobStatus.Container>;
|
|
7
|
+
Icon: React.FC<import("@components/UI/molecules/AlertJobStatus").IAlertJobStatus.Icon>;
|
|
8
|
+
Text: React.FC<import("../../atoms/Text/Text.interface").IText>;
|
|
9
|
+
};
|
|
10
|
+
SimilarJobs: React.FC<IJobSuggestedDrawer.SimilarJobCards>;
|
|
11
|
+
};
|
package/dist/cjs/types/components/UI/organism/JobSuggestedDrawer/JobSuggestedDrawer.interface.d.ts
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ICustomText } from '@components/UI/atoms/Text/Text.interface';
|
|
3
|
+
import { ISimilarCardData } from '@components/UI/molecules/SimilarCard';
|
|
4
|
+
import { IJobCompanyLogo, IJobHeader } from '@components/UI/atoms';
|
|
5
|
+
export interface IJobSuggestedDrawer {
|
|
6
|
+
/**
|
|
7
|
+
* Management the loading status jobs ui
|
|
8
|
+
*/
|
|
9
|
+
isLoading?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* React children to be rendered inside the component.
|
|
12
|
+
*/
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
/**
|
|
15
|
+
* Additional class names for custom styling.
|
|
16
|
+
*/
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace IJobSuggestedDrawer {
|
|
20
|
+
interface SimilarJobCards {
|
|
21
|
+
/**
|
|
22
|
+
* This is the title in the top
|
|
23
|
+
*/
|
|
24
|
+
sectionTitle: string;
|
|
25
|
+
/**
|
|
26
|
+
* This property hide the image
|
|
27
|
+
*/
|
|
28
|
+
hideLogo?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* These are similar jobs cards values
|
|
31
|
+
*/
|
|
32
|
+
similarJobsCard: ISimilarCardData[];
|
|
33
|
+
/**
|
|
34
|
+
* Additional class names for custom styling.
|
|
35
|
+
*/
|
|
36
|
+
className?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The tag or keyword associated with the search item.
|
|
39
|
+
*/
|
|
40
|
+
tag: string;
|
|
41
|
+
/**
|
|
42
|
+
* The custom href to the anchor tag
|
|
43
|
+
*/
|
|
44
|
+
url: string;
|
|
45
|
+
/**
|
|
46
|
+
* This property sets the max cards to show
|
|
47
|
+
*/
|
|
48
|
+
maxItemsToShow?: number;
|
|
49
|
+
/**
|
|
50
|
+
* This property shows the default anchor text when the cards are empty
|
|
51
|
+
*/
|
|
52
|
+
notItemsDefaultAnchor?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* This property shows the default anchor text when the cards are empty
|
|
55
|
+
*/
|
|
56
|
+
tagDefaultAnchor?: string;
|
|
57
|
+
/**
|
|
58
|
+
* This property shows the default anchor text when the cards are empty
|
|
59
|
+
*/
|
|
60
|
+
urlDefaultAnchor?: string;
|
|
61
|
+
}
|
|
62
|
+
interface AlertJob {
|
|
63
|
+
/**
|
|
64
|
+
* React children to be rendered inside the component.
|
|
65
|
+
*/
|
|
66
|
+
children?: React.ReactNode;
|
|
67
|
+
/**
|
|
68
|
+
* Additional class names for custom styling.
|
|
69
|
+
*/
|
|
70
|
+
className?: string;
|
|
71
|
+
/**
|
|
72
|
+
* This is the custom text
|
|
73
|
+
*/
|
|
74
|
+
customText?: ICustomText[];
|
|
75
|
+
}
|
|
76
|
+
interface Header {
|
|
77
|
+
/**
|
|
78
|
+
* Props for the company logo in the job company header.
|
|
79
|
+
*/
|
|
80
|
+
jobCompanyLogoProps: IJobCompanyLogo;
|
|
81
|
+
/**
|
|
82
|
+
* Props for the header of the job listing in the job company header.
|
|
83
|
+
*/
|
|
84
|
+
jobHeaderProps: IJobHeader;
|
|
85
|
+
/**
|
|
86
|
+
* Additional class names for custom styling.
|
|
87
|
+
*/
|
|
88
|
+
className?: string;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './JobSuggestedHeader.component';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './JobSuggestedSimilarJobs.component';
|
|
@@ -19,3 +19,6 @@ export * from './sortBar.constants';
|
|
|
19
19
|
export * from './typeTitleJobDetail.constant';
|
|
20
20
|
export * from './vacancies.constants';
|
|
21
21
|
export * from './megaMenu.constants';
|
|
22
|
+
export * from './alertJob.constants';
|
|
23
|
+
export * from './similarCard.constants';
|
|
24
|
+
export * from './jobSuggestedDrawer.constants';
|