magneto365.ui 2.57.3-alpha → 2.57.4
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/035d90cb55b544da.svg +15 -0
- package/dist/assets/1aba91fa564f11d7.svg +16 -0
- package/dist/assets/3a1c54796cd5e026.svg +17 -0
- package/dist/assets/3e2d04cc8ff5910d.svg +11 -0
- package/dist/assets/58346511fd62e29a.svg +5 -0
- package/dist/assets/8a37a9c7b0fd5027.svg +9 -0
- package/dist/assets/f3929a315218dc82.svg +10 -0
- package/dist/cjs/css/magneto.ui.lib.min.css +1 -1
- package/dist/cjs/index.js +1343 -968
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/UI/atoms/Badge/Badge.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/atoms/Badge/Badge.interface.d.ts +10 -0
- package/dist/cjs/types/components/UI/atoms/Badge/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/atoms/Divider/Divider.interface.d.ts +1 -0
- package/dist/cjs/types/components/UI/atoms/HeaderTab/HeaderTab.interface.d.ts +7 -0
- package/dist/cjs/types/components/UI/atoms/ToggleButton/ToggleButton.interface.d.ts +9 -4
- package/dist/cjs/types/components/UI/atoms/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/molecules/Alert/Alert.interface.d.ts +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/FraudCardJob/FraudCardJob.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/molecules/FraudCardJob/FraudCardJob.interface.d.ts +18 -0
- package/dist/cjs/types/components/UI/molecules/FraudCardJob/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/molecules/MegaMenuCard/MegaMenuCard.interface.d.ts +1 -1
- package/dist/{esm/types/components/UI/atoms → cjs/types/components/UI/molecules}/MegaMenuDrawerItem/MegaMenuDrawerItem.interface.d.ts +5 -4
- package/dist/cjs/types/components/UI/molecules/MegaMenuSideCards/MegaMenuSideCards.interface.d.ts +1 -0
- package/dist/cjs/types/components/UI/molecules/ModalResponsive/ModalResponsive.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/molecules/ModalResponsive/ModalResponsive.interface.d.ts +22 -0
- package/dist/cjs/types/components/UI/molecules/ModalResponsive/index.d.ts +1 -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/ToggleButtonList/ToggleButtonList.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/molecules/ToggleButtonList/ToggleButtonList.interface.d.ts +23 -0
- package/dist/cjs/types/components/UI/molecules/ToggleButtonList/index.d.ts +2 -0
- package/dist/cjs/types/components/UI/molecules/Tooltip/Tooltip.interface.d.ts +7 -0
- package/dist/cjs/types/components/UI/molecules/index.d.ts +8 -2
- package/dist/cjs/types/components/UI/organism/ApplicationSummary/ApplicationSummary.component.d.ts +9 -0
- package/dist/cjs/types/components/UI/organism/ApplicationSummary/ApplicationSummary.interface.d.ts +71 -0
- package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationButton/ApplicationButton.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationButton/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationSection/ApplicationSection.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationSection/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationSubTitle/ApplicationSubTitle.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationSubTitle/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationText/ApplicationText.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationText/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationTitle/ApplicationTitle.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationTitle/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/organism/ApplicationSummary/index.d.ts +5 -0
- package/dist/cjs/types/components/UI/organism/JobDetailsDrawer/JobDetailsDrawer.interface.d.ts +5 -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/MobileJobDetailsDrawer/MobileJobDetailsDrawer.interface.d.ts +7 -2
- package/dist/cjs/types/components/UI/organism/ProcessesCard/ProcessesCard.component.d.ts +11 -0
- package/dist/cjs/types/components/UI/organism/ProcessesCard/ProcessesCard.interface.d.ts +42 -0
- package/dist/cjs/types/components/UI/organism/ProcessesCard/children/ProcessesCardArrow/ProcessesCardArrow.component.d.ts +2 -0
- package/dist/cjs/types/components/UI/organism/ProcessesCard/children/ProcessesCardBrand/ProcessesCardBrand.component.d.ts +2 -0
- package/dist/cjs/types/components/UI/organism/ProcessesCard/children/ProcessesCardIconStatus/ProcessesCardIconStatus.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/organism/ProcessesCard/children/ProcessesCardSection/ProcessesCardSection.component.d.ts +2 -0
- package/dist/cjs/types/components/UI/organism/ProcessesCard/children/ProcessesCardStatus/ProcessesCardStatus.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/organism/ProcessesCard/children/ProcessesCardText/ProcessesCardText.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/organism/ProcessesCard/children/ProcessesCardTitle/ProcessesCardTitle.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/organism/ProcessesCard/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/organism/index.d.ts +3 -0
- package/dist/cjs/types/components/UI/template/MegaMenu/MegaMenuContext.interface.d.ts +1 -0
- package/dist/cjs/types/constants/icons.constants.d.ts +7 -0
- package/dist/cjs/types/constants/stories/alertJob.constants.d.ts +3 -0
- package/dist/cjs/types/constants/stories/fraudCardJob.constant.d.ts +2 -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/constants/stories/toggleButton.constants.d.ts +2 -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 +1324 -969
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/UI/atoms/Badge/Badge.component.d.ts +3 -0
- package/dist/esm/types/components/UI/atoms/Badge/Badge.interface.d.ts +10 -0
- package/dist/esm/types/components/UI/atoms/Badge/index.d.ts +1 -0
- package/dist/esm/types/components/UI/atoms/Divider/Divider.interface.d.ts +1 -0
- package/dist/esm/types/components/UI/atoms/HeaderTab/HeaderTab.interface.d.ts +7 -0
- package/dist/esm/types/components/UI/atoms/ToggleButton/ToggleButton.interface.d.ts +9 -4
- package/dist/esm/types/components/UI/atoms/index.d.ts +1 -0
- package/dist/esm/types/components/UI/molecules/Alert/Alert.interface.d.ts +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/FraudCardJob/FraudCardJob.component.d.ts +3 -0
- package/dist/esm/types/components/UI/molecules/FraudCardJob/FraudCardJob.interface.d.ts +18 -0
- package/dist/esm/types/components/UI/molecules/FraudCardJob/index.d.ts +1 -0
- package/dist/esm/types/components/UI/molecules/MegaMenuCard/MegaMenuCard.interface.d.ts +1 -1
- package/dist/{cjs/types/components/UI/atoms → esm/types/components/UI/molecules}/MegaMenuDrawerItem/MegaMenuDrawerItem.interface.d.ts +5 -4
- package/dist/esm/types/components/UI/molecules/MegaMenuSideCards/MegaMenuSideCards.interface.d.ts +1 -0
- package/dist/esm/types/components/UI/molecules/ModalResponsive/ModalResponsive.component.d.ts +3 -0
- package/dist/esm/types/components/UI/molecules/ModalResponsive/ModalResponsive.interface.d.ts +22 -0
- package/dist/esm/types/components/UI/molecules/ModalResponsive/index.d.ts +1 -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/ToggleButtonList/ToggleButtonList.component.d.ts +3 -0
- package/dist/esm/types/components/UI/molecules/ToggleButtonList/ToggleButtonList.interface.d.ts +23 -0
- package/dist/esm/types/components/UI/molecules/ToggleButtonList/index.d.ts +2 -0
- package/dist/esm/types/components/UI/molecules/Tooltip/Tooltip.interface.d.ts +7 -0
- package/dist/esm/types/components/UI/molecules/index.d.ts +8 -2
- package/dist/esm/types/components/UI/organism/ApplicationSummary/ApplicationSummary.component.d.ts +9 -0
- package/dist/esm/types/components/UI/organism/ApplicationSummary/ApplicationSummary.interface.d.ts +71 -0
- package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationButton/ApplicationButton.component.d.ts +3 -0
- package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationButton/index.d.ts +1 -0
- package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationSection/ApplicationSection.component.d.ts +3 -0
- package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationSection/index.d.ts +1 -0
- package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationSubTitle/ApplicationSubTitle.component.d.ts +3 -0
- package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationSubTitle/index.d.ts +1 -0
- package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationText/ApplicationText.component.d.ts +3 -0
- package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationText/index.d.ts +1 -0
- package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationTitle/ApplicationTitle.component.d.ts +3 -0
- package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationTitle/index.d.ts +1 -0
- package/dist/esm/types/components/UI/organism/ApplicationSummary/index.d.ts +5 -0
- package/dist/esm/types/components/UI/organism/JobDetailsDrawer/JobDetailsDrawer.interface.d.ts +5 -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/MobileJobDetailsDrawer/MobileJobDetailsDrawer.interface.d.ts +7 -2
- package/dist/esm/types/components/UI/organism/ProcessesCard/ProcessesCard.component.d.ts +11 -0
- package/dist/esm/types/components/UI/organism/ProcessesCard/ProcessesCard.interface.d.ts +42 -0
- package/dist/esm/types/components/UI/organism/ProcessesCard/children/ProcessesCardArrow/ProcessesCardArrow.component.d.ts +2 -0
- package/dist/esm/types/components/UI/organism/ProcessesCard/children/ProcessesCardBrand/ProcessesCardBrand.component.d.ts +2 -0
- package/dist/esm/types/components/UI/organism/ProcessesCard/children/ProcessesCardIconStatus/ProcessesCardIconStatus.component.d.ts +3 -0
- package/dist/esm/types/components/UI/organism/ProcessesCard/children/ProcessesCardSection/ProcessesCardSection.component.d.ts +2 -0
- package/dist/esm/types/components/UI/organism/ProcessesCard/children/ProcessesCardStatus/ProcessesCardStatus.component.d.ts +3 -0
- package/dist/esm/types/components/UI/organism/ProcessesCard/children/ProcessesCardText/ProcessesCardText.component.d.ts +3 -0
- package/dist/esm/types/components/UI/organism/ProcessesCard/children/ProcessesCardTitle/ProcessesCardTitle.component.d.ts +3 -0
- package/dist/esm/types/components/UI/organism/ProcessesCard/index.d.ts +1 -0
- package/dist/esm/types/components/UI/organism/index.d.ts +3 -0
- package/dist/esm/types/components/UI/template/MegaMenu/MegaMenuContext.interface.d.ts +1 -0
- package/dist/esm/types/constants/icons.constants.d.ts +7 -0
- package/dist/esm/types/constants/stories/alertJob.constants.d.ts +3 -0
- package/dist/esm/types/constants/stories/fraudCardJob.constant.d.ts +2 -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/constants/stories/toggleButton.constants.d.ts +2 -0
- package/dist/esm/types/utils/text/textAdapter.util.d.ts +3 -0
- package/dist/index.d.ts +640 -27
- package/package.json +1 -1
- /package/dist/cjs/types/components/UI/{atoms → molecules}/MegaMenuDrawerItem/MegaMenuDrawerItem.component.d.ts +0 -0
- /package/dist/cjs/types/components/UI/{atoms → molecules}/MegaMenuDrawerItem/index.d.ts +0 -0
- /package/dist/esm/types/components/UI/{atoms → molecules}/MegaMenuDrawerItem/MegaMenuDrawerItem.component.d.ts +0 -0
- /package/dist/esm/types/components/UI/{atoms → molecules}/MegaMenuDrawerItem/index.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Badge.component';
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
export interface IToggleButtonOnchangeValues {
|
|
2
|
+
name?: string;
|
|
3
|
+
id: string | number;
|
|
4
|
+
}
|
|
1
5
|
export interface IToggleButton {
|
|
2
6
|
/**
|
|
3
7
|
* You can extend the style properties with class names
|
|
@@ -26,8 +30,9 @@ export interface IToggleButton {
|
|
|
26
30
|
/**
|
|
27
31
|
* this function returns the name and id value of the button when clicked on
|
|
28
32
|
*/
|
|
29
|
-
onChange
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
+
onChange?: (value: IToggleButtonOnchangeValues) => void;
|
|
34
|
+
/**
|
|
35
|
+
* this property sets custom Icon
|
|
36
|
+
*/
|
|
37
|
+
customIcon?: string;
|
|
33
38
|
}
|
|
@@ -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,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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './FraudCardJob.component';
|
|
@@ -20,9 +20,10 @@ export interface IMegaMenuDrawerItem {
|
|
|
20
20
|
/**
|
|
21
21
|
* Icon for each option
|
|
22
22
|
*/
|
|
23
|
-
content?:
|
|
24
|
-
child: ReactNode;
|
|
25
|
-
title: string;
|
|
26
|
-
};
|
|
23
|
+
content?: IMegaMenuDrawerItemContent;
|
|
27
24
|
onClickOption?: () => void;
|
|
28
25
|
}
|
|
26
|
+
export interface IMegaMenuDrawerItemContent {
|
|
27
|
+
child: ReactNode;
|
|
28
|
+
title: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface IModalResponsive {
|
|
2
|
+
/**
|
|
3
|
+
* this property open the container
|
|
4
|
+
*/
|
|
5
|
+
open: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* this property close the container
|
|
8
|
+
*/
|
|
9
|
+
onClose: () => void;
|
|
10
|
+
/**
|
|
11
|
+
* this property sets the children elements
|
|
12
|
+
*/
|
|
13
|
+
children: JSX.Element | JSX.Element[];
|
|
14
|
+
/**
|
|
15
|
+
* this property sets customs styles for the modal
|
|
16
|
+
*/
|
|
17
|
+
modalClassName?: string;
|
|
18
|
+
/**
|
|
19
|
+
* this property sets customs styles for the mobile drawer
|
|
20
|
+
*/
|
|
21
|
+
mobileDrawerClassName?: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ModalResponsive.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/molecules/ToggleButtonList/ToggleButtonList.interface.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IToggleButton, IToggleButtonOnchangeValues } from '@components/UI/atoms/ToggleButton/ToggleButton.interface';
|
|
2
|
+
export declare type TToggleButtonList = {
|
|
3
|
+
/**
|
|
4
|
+
* this property sets the list of toggle buttons
|
|
5
|
+
*/
|
|
6
|
+
list: Partial<Pick<IToggleButton, 'id' | 'name' | 'customIcon'>>[];
|
|
7
|
+
/**
|
|
8
|
+
* this property sets the props of toggle buttons
|
|
9
|
+
*/
|
|
10
|
+
toggleButtonProps?: IToggleButton;
|
|
11
|
+
/**
|
|
12
|
+
* this property returns the values of the toggle button selected
|
|
13
|
+
*/
|
|
14
|
+
onChange?: (value: IToggleButtonOnchangeValues | null | number) => void;
|
|
15
|
+
/**
|
|
16
|
+
* this property sets customs className for toggle buttons
|
|
17
|
+
*/
|
|
18
|
+
className?: string;
|
|
19
|
+
/**
|
|
20
|
+
* this property sets the default value or current value of the toggle button
|
|
21
|
+
*/
|
|
22
|
+
currentSelect?: Pick<IToggleButton, 'id' | 'name'>;
|
|
23
|
+
};
|
|
@@ -13,6 +13,13 @@ export interface ITooltipProps {
|
|
|
13
13
|
* the tooltip component must wrap a component
|
|
14
14
|
*/
|
|
15
15
|
children: React.ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* this property set the tooltip width
|
|
18
|
+
*/
|
|
16
19
|
width?: string;
|
|
20
|
+
/**
|
|
21
|
+
* this property set the tooltip visibility
|
|
22
|
+
*/
|
|
23
|
+
visible?: boolean;
|
|
17
24
|
}
|
|
18
25
|
export {};
|
|
@@ -9,9 +9,11 @@ export * from './DatePicker';
|
|
|
9
9
|
export * from './Drawer';
|
|
10
10
|
export * from './EmptyResults';
|
|
11
11
|
export * from './ExpandableInfo';
|
|
12
|
+
export * from './FilterActions';
|
|
12
13
|
export * from './FilterContainerMenu';
|
|
13
14
|
export * from './FilterMenuItem';
|
|
14
15
|
export * from './FilterSearchItem';
|
|
16
|
+
export * from './FraudCardJob';
|
|
15
17
|
export * from './FrequentSearch';
|
|
16
18
|
export * from './HeaderDrawerCompany';
|
|
17
19
|
export * from './HeaderDrawerTabs';
|
|
@@ -39,6 +41,7 @@ export * from './MagnetoResolution';
|
|
|
39
41
|
export * from './MegaMenuCard';
|
|
40
42
|
export * from './MegaMenuJobsTabs';
|
|
41
43
|
export * from './MegaMenuPopover';
|
|
44
|
+
export * from './MegaMenuSideCards';
|
|
42
45
|
export * from './MenuCollapse/children/MenuCollapseChildren.interface';
|
|
43
46
|
export * from './MenuIcon';
|
|
44
47
|
export * from './MenuSearch';
|
|
@@ -47,6 +50,7 @@ export * from './MobileDrawer';
|
|
|
47
50
|
export * from './MobileJobDetailsHeader';
|
|
48
51
|
export * from './MobileSearchbar';
|
|
49
52
|
export * from './Modal';
|
|
53
|
+
export * from './ModalResponsive';
|
|
50
54
|
export * from './Pagination';
|
|
51
55
|
export * from './RightsReservedText';
|
|
52
56
|
export * from './ScoreLevel';
|
|
@@ -60,9 +64,11 @@ export * from './Tab';
|
|
|
60
64
|
export * from './TabButton';
|
|
61
65
|
export * from './TextArea';
|
|
62
66
|
export * from './TimelineEvent';
|
|
67
|
+
export * from './ToggleButtonList';
|
|
63
68
|
export * from './Tooltip';
|
|
64
69
|
export * from './UserMenu';
|
|
65
70
|
export * from './UserMenuAnalyst';
|
|
66
71
|
export * from './UserMenuWrapperAnalyst';
|
|
67
|
-
export * from './
|
|
68
|
-
export * from './
|
|
72
|
+
export * from './AlertJobStatus';
|
|
73
|
+
export * from './SimilarCard';
|
|
74
|
+
export * from './MegaMenuDrawerItem';
|
package/dist/cjs/types/components/UI/organism/ApplicationSummary/ApplicationSummary.component.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IApplicationSummary } from './ApplicationSummary.interface';
|
|
3
|
+
export declare const ApplicationSummary: React.FC<IApplicationSummary> & {
|
|
4
|
+
Section: React.FC<IApplicationSummary.Section>;
|
|
5
|
+
Title: React.FC<IApplicationSummary.Title>;
|
|
6
|
+
SubTitle: React.FC<IApplicationSummary.SubTitle>;
|
|
7
|
+
Button: React.FC<IApplicationSummary.Button>;
|
|
8
|
+
Text: React.FC<IApplicationSummary.Text>;
|
|
9
|
+
};
|
package/dist/cjs/types/components/UI/organism/ApplicationSummary/ApplicationSummary.interface.d.ts
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface IApplicationSummary {
|
|
3
|
+
/**
|
|
4
|
+
* this property sets any component
|
|
5
|
+
*/
|
|
6
|
+
children: JSX.Element | JSX.Element[];
|
|
7
|
+
/**
|
|
8
|
+
* this property opens the ui
|
|
9
|
+
*/
|
|
10
|
+
open: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* this property closes the ui
|
|
13
|
+
*/
|
|
14
|
+
onClose: () => void;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace IApplicationSummary {
|
|
17
|
+
interface Section {
|
|
18
|
+
/**
|
|
19
|
+
* this property sets custom styles
|
|
20
|
+
*/
|
|
21
|
+
className?: string;
|
|
22
|
+
/**
|
|
23
|
+
* this property sets any component
|
|
24
|
+
*/
|
|
25
|
+
children: JSX.Element | JSX.Element[];
|
|
26
|
+
/**
|
|
27
|
+
* this property update to position align the components
|
|
28
|
+
*/
|
|
29
|
+
aligned?: 'start' | 'center' | 'end';
|
|
30
|
+
}
|
|
31
|
+
interface Title {
|
|
32
|
+
/**
|
|
33
|
+
* this property sets custom styles
|
|
34
|
+
*/
|
|
35
|
+
className?: string;
|
|
36
|
+
/**
|
|
37
|
+
* this property sets children elements
|
|
38
|
+
*/
|
|
39
|
+
children?: React.ReactNode;
|
|
40
|
+
}
|
|
41
|
+
interface SubTitle {
|
|
42
|
+
/**
|
|
43
|
+
* this property sets custom styles
|
|
44
|
+
*/
|
|
45
|
+
className?: string;
|
|
46
|
+
/**
|
|
47
|
+
* this property sets children elements
|
|
48
|
+
*/
|
|
49
|
+
children?: React.ReactNode;
|
|
50
|
+
}
|
|
51
|
+
interface Text {
|
|
52
|
+
/**
|
|
53
|
+
* this property sets custom styles
|
|
54
|
+
*/
|
|
55
|
+
className?: string;
|
|
56
|
+
/**
|
|
57
|
+
* this property sets children elements
|
|
58
|
+
*/
|
|
59
|
+
children?: React.ReactNode;
|
|
60
|
+
}
|
|
61
|
+
interface Button extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
62
|
+
/**
|
|
63
|
+
* this property sets custom styles
|
|
64
|
+
*/
|
|
65
|
+
className?: string;
|
|
66
|
+
/**
|
|
67
|
+
* this property sets custom style button
|
|
68
|
+
*/
|
|
69
|
+
variant?: 'primary' | 'secondary';
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ApplicationButton.component';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ApplicationSection.component';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ApplicationSubTitle.component';
|
package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationText/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ApplicationText.component';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ApplicationTitle.component';
|
package/dist/cjs/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.
|
|
@@ -73,4 +74,8 @@ export interface IJobDetailsDrawer {
|
|
|
73
74
|
cities: ICityDetail[];
|
|
74
75
|
isRemote: boolean;
|
|
75
76
|
textRemote: string;
|
|
77
|
+
/**
|
|
78
|
+
* Props for the fraud card job.
|
|
79
|
+
*/
|
|
80
|
+
fraudCardJobProps: IFraudCardJob;
|
|
76
81
|
}
|