magneto365.ui 2.73.0 → 2.74.1-beta
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/3c9ef5949d25901a.svg +11 -0
- package/dist/assets/3f84ef2fa90fc06b.svg +17 -0
- package/dist/assets/a9f25ebc43dd2922.svg +9 -0
- package/dist/assets/img/2dfcd507fbc46c48.png +0 -0
- package/dist/assets/img/7ac49a1d11655962.png +0 -0
- package/dist/cjs/css/magneto.ui.lib.min.css +1 -1
- package/dist/cjs/index.js +1700 -1319
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/UI/atoms/Popover/Popover.interface.d.ts +2 -0
- package/dist/cjs/types/components/UI/molecules/CompanyCard/CompanyCard.component.d.ts +5 -0
- package/dist/cjs/types/components/UI/molecules/CompanyCard/CompanyCard.interface.d.ts +91 -0
- package/dist/cjs/types/components/UI/molecules/CompanyCard/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/molecules/HorizontalMenu/HorizontalMenu.interface.d.ts +1 -5
- package/dist/cjs/types/components/UI/molecules/ImageCard/ImageCard.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/molecules/ImageCard/ImageCard.interface.d.ts +44 -0
- package/dist/cjs/types/components/UI/molecules/ImageCard/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/molecules/Input/Input.interface.d.ts +4 -0
- package/dist/cjs/types/components/UI/molecules/MegaMenuSearchBar/MegaMenuSearchBar.component.d.ts +4 -0
- package/dist/cjs/types/components/UI/molecules/MegaMenuSearchBar/MegaMenuSearchBar.interface.d.ts +55 -0
- package/dist/cjs/types/components/UI/molecules/MegaMenuSearchBar/SearchBar.component.d.ts +4 -0
- package/dist/cjs/types/components/UI/molecules/MobileSearchbar/MobileSearchbar.interface.d.ts +4 -0
- package/dist/cjs/types/components/UI/molecules/index.d.ts +2 -0
- package/dist/cjs/types/components/UI/organism/Carousel/Carousel.component.d.ts +8 -0
- package/dist/cjs/types/components/UI/organism/Carousel/Carousel.interface.d.ts +135 -0
- package/dist/cjs/types/components/UI/organism/Carousel/children/CarouselButtons/CarouselButtons.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/organism/Carousel/children/CarouselFooter/CarouselFooter.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/organism/Carousel/children/CarouselHeader/CarouselHeader.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/organism/Carousel/children/CarouselItems/CarouselItems.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/organism/Carousel/index.d.ts +2 -0
- package/dist/cjs/types/components/UI/organism/FilterCard/FilterCard.interface.d.ts +12 -0
- package/dist/cjs/types/components/UI/organism/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/template/CandidateProfileTemplate/CandidateProfileTemplate.component.d.ts +2 -1
- package/dist/cjs/types/components/UI/template/CandidateProfileTemplate/CandidateProfileTemplate.interface.d.ts +8 -0
- package/dist/cjs/types/components/UI/template/CandidateProfileTemplate/children/CandidateProfileTemplateHeader/CandidateProfileTemplateHeader.component.d.ts +1 -1
- package/dist/cjs/types/components/UI/template/CandidateProfileTemplate/children/CandidateProfileTemplateHeader/index.d.ts +0 -1
- package/dist/cjs/types/components/UI/template/CandidateProfileTemplate/children/CandidateProfileTemplateMainNav/CandidateProfileTemplateMainNav.component.d.ts +5 -0
- package/dist/cjs/types/components/UI/template/CandidateProfileTemplate/children/CandidateProfileTemplateMainNav/CandidateProfileTemplateMainNav.interface.d.ts +2 -0
- package/dist/cjs/types/components/UI/template/CandidateProfileTemplate/children/CandidateProfileTemplateMainNav/index.d.ts +2 -0
- package/dist/cjs/types/components/UI/template/CandidateProfileTemplate/children/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/template/CandidateProfileTemplate/index.d.ts +1 -1
- package/dist/cjs/types/components/UI/template/MegaMenu/MegaMenuContext.interface.d.ts +5 -1
- package/dist/cjs/types/components/hooks/useCarouselScroll/index.d.ts +11 -0
- package/dist/cjs/types/constants/icons.constants.d.ts +3 -0
- package/dist/cjs/types/constants/img.constants.d.ts +2 -0
- package/dist/cjs/types/constants/stories/carousel.constants.d.ts +42 -0
- package/dist/cjs/types/constants/stories/headers.constants.d.ts +4 -3
- package/dist/cjs/types/constants/stories/index.d.ts +1 -0
- package/dist/cjs/types/constants/stories/sideFilter.constants.d.ts +0 -123
- package/dist/cjs/types/utils/domNode/nodeCount.util.d.ts +3 -0
- package/dist/esm/css/magneto.ui.lib.min.css +1 -1
- package/dist/esm/index.js +1696 -1320
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/UI/atoms/Popover/Popover.interface.d.ts +2 -0
- package/dist/esm/types/components/UI/molecules/CompanyCard/CompanyCard.component.d.ts +5 -0
- package/dist/esm/types/components/UI/molecules/CompanyCard/CompanyCard.interface.d.ts +91 -0
- package/dist/esm/types/components/UI/molecules/CompanyCard/index.d.ts +1 -0
- package/dist/esm/types/components/UI/molecules/HorizontalMenu/HorizontalMenu.interface.d.ts +1 -5
- package/dist/esm/types/components/UI/molecules/ImageCard/ImageCard.component.d.ts +3 -0
- package/dist/esm/types/components/UI/molecules/ImageCard/ImageCard.interface.d.ts +44 -0
- package/dist/esm/types/components/UI/molecules/ImageCard/index.d.ts +1 -0
- package/dist/esm/types/components/UI/molecules/Input/Input.interface.d.ts +4 -0
- package/dist/esm/types/components/UI/molecules/MegaMenuSearchBar/MegaMenuSearchBar.component.d.ts +4 -0
- package/dist/esm/types/components/UI/molecules/MegaMenuSearchBar/MegaMenuSearchBar.interface.d.ts +55 -0
- package/dist/esm/types/components/UI/molecules/MegaMenuSearchBar/SearchBar.component.d.ts +4 -0
- package/dist/esm/types/components/UI/molecules/MobileSearchbar/MobileSearchbar.interface.d.ts +4 -0
- package/dist/esm/types/components/UI/molecules/index.d.ts +2 -0
- package/dist/esm/types/components/UI/organism/Carousel/Carousel.component.d.ts +8 -0
- package/dist/esm/types/components/UI/organism/Carousel/Carousel.interface.d.ts +135 -0
- package/dist/esm/types/components/UI/organism/Carousel/children/CarouselButtons/CarouselButtons.component.d.ts +3 -0
- package/dist/esm/types/components/UI/organism/Carousel/children/CarouselFooter/CarouselFooter.component.d.ts +3 -0
- package/dist/esm/types/components/UI/organism/Carousel/children/CarouselHeader/CarouselHeader.component.d.ts +3 -0
- package/dist/esm/types/components/UI/organism/Carousel/children/CarouselItems/CarouselItems.component.d.ts +3 -0
- package/dist/esm/types/components/UI/organism/Carousel/index.d.ts +2 -0
- package/dist/esm/types/components/UI/organism/FilterCard/FilterCard.interface.d.ts +12 -0
- package/dist/esm/types/components/UI/organism/index.d.ts +1 -0
- package/dist/esm/types/components/UI/template/CandidateProfileTemplate/CandidateProfileTemplate.component.d.ts +2 -1
- package/dist/esm/types/components/UI/template/CandidateProfileTemplate/CandidateProfileTemplate.interface.d.ts +8 -0
- package/dist/esm/types/components/UI/template/CandidateProfileTemplate/children/CandidateProfileTemplateHeader/CandidateProfileTemplateHeader.component.d.ts +1 -1
- package/dist/esm/types/components/UI/template/CandidateProfileTemplate/children/CandidateProfileTemplateHeader/index.d.ts +0 -1
- package/dist/esm/types/components/UI/template/CandidateProfileTemplate/children/CandidateProfileTemplateMainNav/CandidateProfileTemplateMainNav.component.d.ts +5 -0
- package/dist/esm/types/components/UI/template/CandidateProfileTemplate/children/CandidateProfileTemplateMainNav/CandidateProfileTemplateMainNav.interface.d.ts +2 -0
- package/dist/esm/types/components/UI/template/CandidateProfileTemplate/children/CandidateProfileTemplateMainNav/index.d.ts +2 -0
- package/dist/esm/types/components/UI/template/CandidateProfileTemplate/children/index.d.ts +1 -0
- package/dist/esm/types/components/UI/template/CandidateProfileTemplate/index.d.ts +1 -1
- package/dist/esm/types/components/UI/template/MegaMenu/MegaMenuContext.interface.d.ts +5 -1
- package/dist/esm/types/components/hooks/useCarouselScroll/index.d.ts +11 -0
- package/dist/esm/types/constants/icons.constants.d.ts +3 -0
- package/dist/esm/types/constants/img.constants.d.ts +2 -0
- package/dist/esm/types/constants/stories/carousel.constants.d.ts +42 -0
- package/dist/esm/types/constants/stories/headers.constants.d.ts +4 -3
- package/dist/esm/types/constants/stories/index.d.ts +1 -0
- package/dist/esm/types/constants/stories/sideFilter.constants.d.ts +0 -123
- package/dist/esm/types/utils/domNode/nodeCount.util.d.ts +3 -0
- package/dist/index.d.ts +282 -9
- package/package.json +1 -1
- package/dist/cjs/types/components/UI/template/CandidateProfileTemplate/children/CandidateProfileTemplateHeader/CandidateProfileTemplateHeader.interface.d.ts +0 -2
- package/dist/esm/types/components/UI/template/CandidateProfileTemplate/children/CandidateProfileTemplateHeader/CandidateProfileTemplateHeader.interface.d.ts +0 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
declare type PositionY = 'top' | 'bottom';
|
|
2
3
|
declare type PositionX = 'left' | 'center' | 'right';
|
|
3
4
|
export interface IPopover {
|
|
@@ -30,5 +31,6 @@ export interface IPopover {
|
|
|
30
31
|
*/
|
|
31
32
|
staticContent?: boolean;
|
|
32
33
|
className?: string;
|
|
34
|
+
style?: React.CSSProperties;
|
|
33
35
|
}
|
|
34
36
|
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ICompanyCardProps, IWithDescriptionProps, IWithoutDescriptionProps } from './CompanyCard.interface';
|
|
3
|
+
export declare const CompanyCardWithDescription: React.FC<IWithDescriptionProps>;
|
|
4
|
+
export declare const CompanyCardWithoutDescription: React.FC<IWithoutDescriptionProps>;
|
|
5
|
+
export declare const CompanyCard: React.FC<ICompanyCardProps>;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface IBaseCompanyComponentProps {
|
|
3
|
+
/**
|
|
4
|
+
* Logo of the company
|
|
5
|
+
*/
|
|
6
|
+
logo: string;
|
|
7
|
+
/**
|
|
8
|
+
* Name of the company
|
|
9
|
+
*/
|
|
10
|
+
companyName: string;
|
|
11
|
+
/**
|
|
12
|
+
* Link to the company page
|
|
13
|
+
*/
|
|
14
|
+
buttonLink: string;
|
|
15
|
+
/**
|
|
16
|
+
* Class name for the component
|
|
17
|
+
*/
|
|
18
|
+
className?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Type of the company card
|
|
21
|
+
*/
|
|
22
|
+
companyCardType?: 'withDescription' | 'withoutDescription';
|
|
23
|
+
/**
|
|
24
|
+
* Background color of the card
|
|
25
|
+
*/
|
|
26
|
+
backgroundColor?: 'gray' | 'white' | 'transparent';
|
|
27
|
+
}
|
|
28
|
+
export interface IWithDescriptionProps extends IBaseCompanyComponentProps {
|
|
29
|
+
/**
|
|
30
|
+
* Number of job openings
|
|
31
|
+
*/
|
|
32
|
+
jobCount: string;
|
|
33
|
+
/**
|
|
34
|
+
* Description of the company
|
|
35
|
+
*/
|
|
36
|
+
description: string;
|
|
37
|
+
/**
|
|
38
|
+
* Text for the button
|
|
39
|
+
*/
|
|
40
|
+
buttonText: string;
|
|
41
|
+
}
|
|
42
|
+
export interface IWithoutDescriptionProps extends IBaseCompanyComponentProps {
|
|
43
|
+
/**
|
|
44
|
+
* Title of the job opening
|
|
45
|
+
*/
|
|
46
|
+
vacantTitle: string;
|
|
47
|
+
/**
|
|
48
|
+
* Salary for the job opening
|
|
49
|
+
*/
|
|
50
|
+
salary: string;
|
|
51
|
+
}
|
|
52
|
+
export declare type ICompanyCardProps = IWithDescriptionProps | IWithoutDescriptionProps;
|
|
53
|
+
interface IBaseCardProps {
|
|
54
|
+
/**
|
|
55
|
+
* Class name for the component
|
|
56
|
+
*/
|
|
57
|
+
className?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Background color of the card
|
|
60
|
+
*/
|
|
61
|
+
backgroundColor?: 'gray' | 'white' | 'transparent';
|
|
62
|
+
/**
|
|
63
|
+
* Logo of the company
|
|
64
|
+
*/
|
|
65
|
+
logo: string;
|
|
66
|
+
/**
|
|
67
|
+
* Name of the company
|
|
68
|
+
*/
|
|
69
|
+
companyName: string;
|
|
70
|
+
/**
|
|
71
|
+
* Header content to display
|
|
72
|
+
*/
|
|
73
|
+
headerContent: ReactNode;
|
|
74
|
+
}
|
|
75
|
+
export interface IWithDescriptionCardProps extends IBaseCardProps {
|
|
76
|
+
/**
|
|
77
|
+
* Main content to display
|
|
78
|
+
*/
|
|
79
|
+
mainContent: ReactNode;
|
|
80
|
+
/**
|
|
81
|
+
* Footer content to display
|
|
82
|
+
*/
|
|
83
|
+
footerContent: ReactNode;
|
|
84
|
+
}
|
|
85
|
+
export interface IWithoutDescriptionCardProps extends IBaseCardProps {
|
|
86
|
+
/**
|
|
87
|
+
* Link to the company page
|
|
88
|
+
*/
|
|
89
|
+
buttonLink: string;
|
|
90
|
+
}
|
|
91
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './CompanyCard.component';
|
|
@@ -7,15 +7,11 @@ export interface IHorizontalMenu {
|
|
|
7
7
|
/**
|
|
8
8
|
* options of horizontal menu
|
|
9
9
|
*/
|
|
10
|
-
options
|
|
10
|
+
options?: IHorizontalMenuOption[];
|
|
11
11
|
/**
|
|
12
12
|
* onChange of horizontal menu
|
|
13
13
|
*/
|
|
14
14
|
onChange?: (selectedItem: number) => void;
|
|
15
|
-
/**
|
|
16
|
-
* onClick of horizontal menu
|
|
17
|
-
*/
|
|
18
|
-
onClick?: () => void;
|
|
19
15
|
}
|
|
20
16
|
export interface IHorizontalMenuOption {
|
|
21
17
|
/**
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { IconProps } from '@components/UI/atoms';
|
|
2
|
+
export interface ICardImage {
|
|
3
|
+
/**
|
|
4
|
+
* Path to the image to be displayed.
|
|
5
|
+
*/
|
|
6
|
+
imagePath: string;
|
|
7
|
+
/**
|
|
8
|
+
* Title of the image card.
|
|
9
|
+
*/
|
|
10
|
+
title: string;
|
|
11
|
+
/**
|
|
12
|
+
* Additional class names for custom styling.
|
|
13
|
+
*/
|
|
14
|
+
className?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Description of the image card.
|
|
17
|
+
*/
|
|
18
|
+
description?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Alt text for the image.
|
|
21
|
+
*/
|
|
22
|
+
alt?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Custom direct dimensions for the image card.
|
|
25
|
+
*/
|
|
26
|
+
dimensions?: ICardImageStyles;
|
|
27
|
+
/**
|
|
28
|
+
* Icon props to be displayed on the image card.
|
|
29
|
+
*/
|
|
30
|
+
icon?: IconProps & {
|
|
31
|
+
showIcon?: boolean;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
interface ICardImageStyles {
|
|
35
|
+
/**
|
|
36
|
+
* Height of the image card.
|
|
37
|
+
*/
|
|
38
|
+
height?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Width of the image card.
|
|
41
|
+
*/
|
|
42
|
+
width?: string;
|
|
43
|
+
}
|
|
44
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ImageCard.component';
|
package/dist/cjs/types/components/UI/molecules/MegaMenuSearchBar/MegaMenuSearchBar.interface.d.ts
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface IMegaMenuSearchBar {
|
|
3
|
+
location: ISearchBar;
|
|
4
|
+
occupation: ISearchBar;
|
|
5
|
+
}
|
|
6
|
+
export interface ISearchBar {
|
|
7
|
+
/**
|
|
8
|
+
* Sets the value for the input in the searchbar
|
|
9
|
+
*/
|
|
10
|
+
termValue: any;
|
|
11
|
+
/**
|
|
12
|
+
* Placeholder text for the searchbar
|
|
13
|
+
*/
|
|
14
|
+
placeholder: string;
|
|
15
|
+
/**
|
|
16
|
+
* Handler for the input value
|
|
17
|
+
*/
|
|
18
|
+
onSearch: (searchValue: string) => void;
|
|
19
|
+
/**
|
|
20
|
+
* Icon in search input
|
|
21
|
+
*/
|
|
22
|
+
icon?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Action Icon
|
|
25
|
+
*/
|
|
26
|
+
actionIcon?: string;
|
|
27
|
+
/**
|
|
28
|
+
* options
|
|
29
|
+
*/
|
|
30
|
+
options: ISearchOptions[];
|
|
31
|
+
/**
|
|
32
|
+
* sectionTitle
|
|
33
|
+
*/
|
|
34
|
+
sectionTitle?: ISectionTitle;
|
|
35
|
+
/**
|
|
36
|
+
* class name
|
|
37
|
+
*/
|
|
38
|
+
className?: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
onSelectOption?: (option: ISearchOptions) => void;
|
|
43
|
+
}
|
|
44
|
+
export interface ISectionTitle {
|
|
45
|
+
title: string;
|
|
46
|
+
url: string;
|
|
47
|
+
onClick: (event: React.MouseEvent) => void;
|
|
48
|
+
icon?: string;
|
|
49
|
+
}
|
|
50
|
+
export interface ISearchOptions {
|
|
51
|
+
title: string;
|
|
52
|
+
subtitle?: string;
|
|
53
|
+
url: string;
|
|
54
|
+
field?: string;
|
|
55
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ICarousel } from './Carousel.interface';
|
|
3
|
+
export declare const Carousel: React.FC<ICarousel> & {
|
|
4
|
+
Items: React.FC<ICarousel.Items>;
|
|
5
|
+
Header: React.FC<ICarousel.Header>;
|
|
6
|
+
Footer: React.FC<ICarousel.Footer>;
|
|
7
|
+
Button: React.FC<ICarousel.Buttons>;
|
|
8
|
+
};
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface ICarousel {
|
|
3
|
+
/**
|
|
4
|
+
* Render the component children
|
|
5
|
+
*/
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Class names for the components
|
|
9
|
+
*/
|
|
10
|
+
classNamesObject?: {
|
|
11
|
+
/**
|
|
12
|
+
* Base class name for the carousel
|
|
13
|
+
*/
|
|
14
|
+
base?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Class names for the header component
|
|
17
|
+
*/
|
|
18
|
+
headerContainer?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Class names for the header items container
|
|
21
|
+
*/
|
|
22
|
+
headerItem?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Class names for the buttons for the component
|
|
25
|
+
*/
|
|
26
|
+
buttons?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Class names for the items container
|
|
29
|
+
*/
|
|
30
|
+
items?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Class names for the item component
|
|
33
|
+
*/
|
|
34
|
+
item?: string;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Enable auto scroll for the carousel
|
|
38
|
+
*/
|
|
39
|
+
autoScroll?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Interval for auto scroll
|
|
42
|
+
*/
|
|
43
|
+
scrollInterval?: number;
|
|
44
|
+
/**
|
|
45
|
+
* Enable mobile scrollable for the carousel
|
|
46
|
+
*/
|
|
47
|
+
mobileScrollable?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Size of the buttons
|
|
50
|
+
*/
|
|
51
|
+
sizeButtons?: number;
|
|
52
|
+
/**
|
|
53
|
+
* Number of items per section
|
|
54
|
+
*/
|
|
55
|
+
itemsPerSection?: number;
|
|
56
|
+
/**
|
|
57
|
+
* Gap between items
|
|
58
|
+
*/
|
|
59
|
+
gap?: number;
|
|
60
|
+
/**
|
|
61
|
+
* Maximum width of the container
|
|
62
|
+
*/
|
|
63
|
+
maxContainerWidth?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Current index of the carousel, for controlled mode
|
|
66
|
+
*/
|
|
67
|
+
currentIndex?: number;
|
|
68
|
+
/**
|
|
69
|
+
* Callback function to change the slide
|
|
70
|
+
*/
|
|
71
|
+
onChangeSlide?: (newIndex: number) => void;
|
|
72
|
+
}
|
|
73
|
+
export declare namespace ICarousel {
|
|
74
|
+
interface Header {
|
|
75
|
+
/**
|
|
76
|
+
* React children to be rendered inside the container.
|
|
77
|
+
*/
|
|
78
|
+
children?: React.ReactNode;
|
|
79
|
+
/**
|
|
80
|
+
* Additional class names for custom styling.
|
|
81
|
+
*/
|
|
82
|
+
className?: string;
|
|
83
|
+
}
|
|
84
|
+
interface Items {
|
|
85
|
+
/**
|
|
86
|
+
* React children to be rendered inside the container.
|
|
87
|
+
*/
|
|
88
|
+
children?: React.ReactNode;
|
|
89
|
+
/**
|
|
90
|
+
* Additional class names for custom styling.
|
|
91
|
+
*/
|
|
92
|
+
className?: string;
|
|
93
|
+
}
|
|
94
|
+
interface Footer {
|
|
95
|
+
/**
|
|
96
|
+
* React children to be rendered inside the container.
|
|
97
|
+
*/
|
|
98
|
+
children?: React.ReactNode;
|
|
99
|
+
/**
|
|
100
|
+
* Additional class names for custom styling.
|
|
101
|
+
*/
|
|
102
|
+
className?: string;
|
|
103
|
+
}
|
|
104
|
+
interface Buttons {
|
|
105
|
+
/**
|
|
106
|
+
* Buttons to navigate to the previous slide in the carousel
|
|
107
|
+
*/
|
|
108
|
+
onPrevSlide: () => void;
|
|
109
|
+
/**
|
|
110
|
+
* Buttons to navigate to the next slide in the carousel
|
|
111
|
+
*/
|
|
112
|
+
onNextSlide: () => void;
|
|
113
|
+
/**
|
|
114
|
+
* Additional class names for custom styling.
|
|
115
|
+
*/
|
|
116
|
+
className?: string;
|
|
117
|
+
/**
|
|
118
|
+
* Size of the buttons
|
|
119
|
+
*/
|
|
120
|
+
size?: number;
|
|
121
|
+
/**
|
|
122
|
+
* Icons for the buttons
|
|
123
|
+
*/
|
|
124
|
+
icons?: {
|
|
125
|
+
/**
|
|
126
|
+
* Icon for the previous button
|
|
127
|
+
*/
|
|
128
|
+
left: string;
|
|
129
|
+
/**
|
|
130
|
+
* Icon for the next button
|
|
131
|
+
*/
|
|
132
|
+
right: string;
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
}
|
|
@@ -16,4 +16,16 @@ export interface IFilterCard extends IFilter, ISearchRenderTypeProps {
|
|
|
16
16
|
* This is the switch title and indicate if has switch
|
|
17
17
|
*/
|
|
18
18
|
switchText?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Identification Key for each filter card
|
|
21
|
+
*/
|
|
22
|
+
index: number;
|
|
23
|
+
/**
|
|
24
|
+
*Function to bnotify an open filter
|
|
25
|
+
*/
|
|
26
|
+
setCurrentOpenFilter: (index: number) => void;
|
|
27
|
+
/**
|
|
28
|
+
* key to know if a filter has changed
|
|
29
|
+
*/
|
|
30
|
+
showFilters: boolean;
|
|
19
31
|
}
|
|
@@ -6,7 +6,8 @@ import { ICandidateProfileTemplate } from './CandidateProfileTemplate.interface'
|
|
|
6
6
|
export declare const CandidateProfileTemplate: React.FC<ICandidateProfileTemplate> & {
|
|
7
7
|
Provider: React.FC<import("./CandidateProfileTemplate.interface").ICandidateProvider>;
|
|
8
8
|
useCandidateProfile: () => import("./CandidateProfileTemplate.interface").ICandidateTemplateContext;
|
|
9
|
-
Header: React.FC<
|
|
9
|
+
Header: React.FC<{}>;
|
|
10
|
+
MainNav: React.FC<import("../../molecules").IHorizontalMenu>;
|
|
10
11
|
Nav: React.FC<import("./children").TCandidateProfileTemplateNav>;
|
|
11
12
|
Profile: React.FC<import("./children").ICandidateProfileTemplateProfile>;
|
|
12
13
|
Screen: React.FC<any>;
|
|
@@ -56,6 +56,14 @@ export interface ICandidateTemplateContext {
|
|
|
56
56
|
* Function to set the height of bottom navigation
|
|
57
57
|
*/
|
|
58
58
|
setNavHeight: (height: number) => void;
|
|
59
|
+
/**
|
|
60
|
+
* Height of header
|
|
61
|
+
*/
|
|
62
|
+
headerHeight: number;
|
|
63
|
+
/**
|
|
64
|
+
* Function to set the height of header
|
|
65
|
+
*/
|
|
66
|
+
setHeaderHeight: (height: number) => void;
|
|
59
67
|
}
|
|
60
68
|
export interface ICandidateProvider {
|
|
61
69
|
/**
|
|
@@ -2,4 +2,4 @@ import React from 'react';
|
|
|
2
2
|
/**
|
|
3
3
|
* Template UI child component of Candidate Profile.
|
|
4
4
|
*/
|
|
5
|
-
export declare const CandidateProfileTemplateHeader: React.FC<
|
|
5
|
+
export declare const CandidateProfileTemplateHeader: React.FC<{}>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { CandidateProfileTemplate } from './CandidateProfileTemplate.component';
|
|
2
2
|
export * from './CandidateProfileTemplate.interface';
|
|
3
|
-
export type {
|
|
3
|
+
export type { TCandidateProfileTemplateMainNav, TCandidateProfileTemplateNav, ICandidateProfileTemplateProfile } from './children';
|
|
@@ -3,6 +3,8 @@ import { ISearchbar } from '@components/UI/molecules';
|
|
|
3
3
|
import { IPopoverRef } from '@components/UI/molecules/MegaMenuPopover/MegaMenuPopover.interface';
|
|
4
4
|
import { IlistMenuUserProps } from '@components/UI/organism';
|
|
5
5
|
import React, { ReactNode } from 'react';
|
|
6
|
+
import { ISelectOptions } from '@components/UI/organism/Select2/Select2.interface';
|
|
7
|
+
import { IMegaMenuSearchBar } from '@components/UI/molecules/MegaMenuSearchBar/MegaMenuSearchBar.interface';
|
|
6
8
|
export interface IMegaMenuLink {
|
|
7
9
|
label: string;
|
|
8
10
|
url: string;
|
|
@@ -27,7 +29,9 @@ export interface IMegaMenuMainHeader {
|
|
|
27
29
|
signUpText: string;
|
|
28
30
|
onClickSignUp: (event: Event) => Promise<void>;
|
|
29
31
|
};
|
|
30
|
-
|
|
32
|
+
selectCountry?: ISelectOptions<unknown>;
|
|
33
|
+
searchBarProps?: IMegaMenuSearchBar;
|
|
34
|
+
mobileSearchBarProps: ISearchbar;
|
|
31
35
|
homeUrl?: string;
|
|
32
36
|
homeText?: string;
|
|
33
37
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface useCarouselScrollProps {
|
|
2
|
+
totalSections: number;
|
|
3
|
+
autoScroll: boolean;
|
|
4
|
+
scrollInterval: number;
|
|
5
|
+
isDisabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const useCarouselScroll: ({ totalSections, autoScroll, scrollInterval, isDisabled }: useCarouselScrollProps) => {
|
|
8
|
+
currentIndex: number;
|
|
9
|
+
changeSlide: (dir: 1 | -1) => void;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -188,3 +188,6 @@ export { default as WhatsAppDark } from '../assets/Whatsapp.svg';
|
|
|
188
188
|
export { default as X } from '../assets/X.svg';
|
|
189
189
|
export { default as Youtube } from '../assets/Youtube.svg';
|
|
190
190
|
export { default as YoutubeSolid } from '../assets/YoutubeSolid.svg';
|
|
191
|
+
export { default as FilterIcon } from '../assets/filter-search.svg';
|
|
192
|
+
export { default as SortIcon } from '../assets/SortIcon.svg';
|
|
193
|
+
export { default as CurrentLocation } from '../assets/current-location.svg';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export declare const imageCardPrefix = "image-card";
|
|
2
|
+
export declare const companyCardPrefix = "company-card";
|
|
3
|
+
export declare const carouselPrefix = "carousel";
|
|
4
|
+
export declare const imageCardData: {
|
|
5
|
+
alt: string;
|
|
6
|
+
imagePath: any;
|
|
7
|
+
title: string;
|
|
8
|
+
description: string;
|
|
9
|
+
link: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const companyCardData: {
|
|
12
|
+
logo: any;
|
|
13
|
+
jobCount: string;
|
|
14
|
+
companyName: string;
|
|
15
|
+
buttonLink: string;
|
|
16
|
+
vacantTitle: string;
|
|
17
|
+
salary: string;
|
|
18
|
+
companyCardType: string;
|
|
19
|
+
};
|
|
20
|
+
export declare const companyCardDataWithDescription: {
|
|
21
|
+
logo: any;
|
|
22
|
+
description: string;
|
|
23
|
+
companyName: string;
|
|
24
|
+
buttonLink: string;
|
|
25
|
+
buttonText: string;
|
|
26
|
+
companyCardType: string;
|
|
27
|
+
};
|
|
28
|
+
export declare const cityCards: {
|
|
29
|
+
title: string;
|
|
30
|
+
description: string;
|
|
31
|
+
imagePath: any;
|
|
32
|
+
alt: string;
|
|
33
|
+
link: string;
|
|
34
|
+
}[];
|
|
35
|
+
export declare const companyCards: {
|
|
36
|
+
logo: any;
|
|
37
|
+
description: string;
|
|
38
|
+
companyName: string;
|
|
39
|
+
buttonLink: string;
|
|
40
|
+
buttonText: string;
|
|
41
|
+
companyCardType: string;
|
|
42
|
+
}[];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IBreadcrumb, IMainButton, IconProps } from '@components/UI/atoms';
|
|
2
|
-
import { IHeaderTabs, IListMenuIcons, IMenuItems,
|
|
2
|
+
import { IHeaderTabs, IListMenuIcons, IMenuItems, ISearchbar } from '@components/UI/molecules';
|
|
3
3
|
import { IBrands } from '@components/UI/molecules/BrandsContainer/BrandsContainer.interface';
|
|
4
|
+
import { IMegaMenuSearchBar } from '@components/UI/molecules/MegaMenuSearchBar/MegaMenuSearchBar.interface';
|
|
4
5
|
export declare const ourBrandsText = "Nuestras Marcas";
|
|
5
6
|
export declare const brands: IBrands[];
|
|
6
7
|
export declare const breadcrumbProps: IBreadcrumb;
|
|
@@ -81,8 +82,8 @@ export declare const DrawerRightTabStyles: {
|
|
|
81
82
|
export declare const JobsTabsProps: IHeaderTabs;
|
|
82
83
|
export declare const ProcessTabsProps: IHeaderTabs;
|
|
83
84
|
export declare const CurriculumTabProps: IHeaderTabs;
|
|
84
|
-
export declare const SearchbarProps:
|
|
85
|
-
export declare const MobileSearchbarProps:
|
|
85
|
+
export declare const SearchbarProps: IMegaMenuSearchBar;
|
|
86
|
+
export declare const MobileSearchbarProps: ISearchbar;
|
|
86
87
|
export declare const iconPropsBreadCrumb: IconProps;
|
|
87
88
|
export declare const searchMobileProps: IMainButton;
|
|
88
89
|
export declare const closeSearchMobileProps: IMainButton;
|