magneto365.ui 2.61.0 → 2.61.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.
Files changed (27) hide show
  1. package/dist/assets/1f6f5cbde2c0ff31.svg +3 -0
  2. package/dist/cjs/css/magneto.ui.lib.min.css +1 -1
  3. package/dist/cjs/index.js +87 -80
  4. package/dist/cjs/index.js.map +1 -1
  5. package/dist/cjs/types/components/UI/atoms/Text/Text.component.d.ts +1 -1
  6. package/dist/cjs/types/components/UI/atoms/Text/index.d.ts +1 -1
  7. package/dist/cjs/types/components/UI/atoms/index.d.ts +1 -0
  8. package/dist/cjs/types/components/UI/molecules/Alert/Alert.interface.d.ts +1 -1
  9. package/dist/cjs/types/components/UI/organism/HeaderAnalyst/HeaderAnalyst.component.d.ts +2 -2
  10. package/dist/cjs/types/components/UI/organism/HeaderAnalyst/HeaderAnalyst.interface.d.ts +7 -3
  11. package/dist/cjs/types/components/UI/template/AnalystTemplate/AnalystTemplate.interface.d.ts +2 -2
  12. package/dist/cjs/types/constants/icons.constants.d.ts +5 -4
  13. package/dist/cjs/types/constants/stories/analyst.constants.d.ts +2 -2
  14. package/dist/esm/css/magneto.ui.lib.min.css +1 -1
  15. package/dist/esm/index.js +87 -81
  16. package/dist/esm/index.js.map +1 -1
  17. package/dist/esm/types/components/UI/atoms/Text/Text.component.d.ts +1 -1
  18. package/dist/esm/types/components/UI/atoms/Text/index.d.ts +1 -1
  19. package/dist/esm/types/components/UI/atoms/index.d.ts +1 -0
  20. package/dist/esm/types/components/UI/molecules/Alert/Alert.interface.d.ts +1 -1
  21. package/dist/esm/types/components/UI/organism/HeaderAnalyst/HeaderAnalyst.component.d.ts +2 -2
  22. package/dist/esm/types/components/UI/organism/HeaderAnalyst/HeaderAnalyst.interface.d.ts +7 -3
  23. package/dist/esm/types/components/UI/template/AnalystTemplate/AnalystTemplate.interface.d.ts +2 -2
  24. package/dist/esm/types/constants/icons.constants.d.ts +5 -4
  25. package/dist/esm/types/constants/stories/analyst.constants.d.ts +2 -2
  26. package/dist/index.d.ts +44 -38
  27. package/package.json +1 -1
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
2
  import { IText } from './Text.interface';
3
- export declare const Text: React.FC<IText>;
3
+ export declare const TextCustom: React.FC<IText>;
@@ -1 +1 @@
1
- export { Text } from './Text.component';
1
+ export { TextCustom } from './Text.component';
@@ -32,6 +32,7 @@ export * from './SearchItem';
32
32
  export * from './ShareButton';
33
33
  export * from './Skill';
34
34
  export * from './Switch';
35
+ export * from './Text';
35
36
  export * from './Tag';
36
37
  export * from './ToggleButton';
37
38
  export * from './UserMenuButtonAnalyst';
@@ -8,7 +8,7 @@ export interface IAlert {
8
8
  /**
9
9
  * This is the main text in the alert
10
10
  * */
11
- text?: string | React.ReactNode;
11
+ text?: string;
12
12
  /**
13
13
  * This is the custom text in the alert
14
14
  * */
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { IHeaderAnalystProps } from './HeaderAnalyst.interface';
2
+ import { IHeaderAnalyst } from './HeaderAnalyst.interface';
3
3
  /**
4
4
  * Organism UI component of header analyst
5
5
  */
6
- export declare const HeaderAnalyst: React.FC<IHeaderAnalystProps>;
6
+ export declare const HeaderAnalyst: React.FC<IHeaderAnalyst>;
@@ -1,6 +1,6 @@
1
1
  import { IBreadcrumbs, IUserMenuWrapperAnalystProps } from '@components/UI/molecules';
2
2
  import { ILogoComponent, ILinkProps } from '@components/UI/atoms';
3
- export interface IHeaderAnalystProps {
3
+ export interface IHeaderAnalyst {
4
4
  /**
5
5
  * Breadcrumbs props
6
6
  */
@@ -13,10 +13,14 @@ export interface IHeaderAnalystProps {
13
13
  * Function to handle modal visibility from analyst template
14
14
  */
15
15
  handleModal?: (name: string, visible: boolean, data: unknown) => void;
16
+ /**
17
+ * Text to be displayed in the header
18
+ */
19
+ legend?: string;
16
20
  /**
17
21
  * Logo props
18
22
  */
19
- logoProps?: ILogoAnalystProps;
23
+ logoProps?: ILogoAnalyst;
20
24
  /**
21
25
  * Main menu button click handler
22
26
  */
@@ -30,7 +34,7 @@ export interface IHeaderAnalystProps {
30
34
  */
31
35
  userNotificationProps?: ILinkProps;
32
36
  }
33
- export interface ILogoAnalystProps extends ILogoComponent {
37
+ export interface ILogoAnalyst extends ILogoComponent {
34
38
  /**
35
39
  * Link to redirect
36
40
  */
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { IHeaderAnalystProps, IModalAnalyst, INavMenuAnalystRegion } from '@components/UI/organism';
2
+ import { IHeaderAnalyst, IModalAnalyst, INavMenuAnalystRegion } from '@components/UI/organism';
3
3
  import { INavMenuDrawerAnalystProps } from '@components/UI/organism/NavMenuDrawerAnalyst';
4
4
  export interface IAnalystTemplateProps {
5
5
  /**
@@ -21,7 +21,7 @@ export interface IAnalystTemplateProps {
21
21
  /**
22
22
  * Header props
23
23
  */
24
- headerProps: IHeaderAnalystProps;
24
+ headerProps: IHeaderAnalyst;
25
25
  /**
26
26
  * Navigation menu props
27
27
  */
@@ -26,9 +26,9 @@ export { default as BriefcaseBlueBold } from '../assets/briefcaseBlueBold.svg';
26
26
  export { default as BriefcaseWhiteOutline } from '../assets/briefcaseWhiteOutline.svg';
27
27
  export { default as BrifecaseTick } from '../assets/BrifecaseTick.svg';
28
28
  export { default as Broom } from '../assets/Broom.svg';
29
- export { default as Buildings2 } from '../assets/Buildings2.svg';
30
29
  export { default as BuildingSlashBlackOutline } from '../assets/buildingSlashDarkBlueOutline.svg';
31
30
  export { default as BuildingWhite } from '../assets/buildingWhite.svg';
31
+ export { default as Buildings2 } from '../assets/Buildings2.svg';
32
32
  export { default as Calendar1 } from '../assets/Calendar1.svg';
33
33
  export { default as Checked } from '../assets/Checked.svg';
34
34
  export { default as Checked2 } from '../assets/Checked2.svg';
@@ -79,9 +79,9 @@ export { default as IsoLogoMagnetoDark } from '../assets/logoMagnetoDarkMobile.s
79
79
  export { default as Link } from '../assets/Link.svg';
80
80
  export { default as Link1 } from '../assets/Link1.svg';
81
81
  export { default as LinkDark } from '../assets/Link21.svg';
82
- export { default as Linkedin } from '../assets/Linkedin.svg';
83
82
  export { default as LinkedInBlue } from '../assets/Linkedin2.svg';
84
83
  export { default as LinkedInDark } from '../assets/Linkedin1.svg';
84
+ export { default as Linkedin } from '../assets/Linkedin.svg';
85
85
  export { default as LinkedinSolid } from '../assets/LinkedinSolid.svg';
86
86
  export { default as Location } from '../assets/Location.svg';
87
87
  export { default as Lock } from '../assets/Lock.svg';
@@ -95,9 +95,9 @@ export { default as MagicStarBlackOutline } from '../assets/magicStarBlackOutlin
95
95
  export { default as MailDark } from '../assets/Mail1.svg';
96
96
  export { default as MessageQuestion } from '../assets/MessageQuestion.svg';
97
97
  export { default as Messages2BlackOutline } from '../assets/messages2BlackOutline.svg';
98
+ export { default as MinTrabajo } from '../assets/logo-SPE-2024.svg';
98
99
  export { default as MiniArrowGrayDown } from '../assets/miniArrowGrayDown.svg';
99
100
  export { default as MiniArrowGrayUp } from '../assets/miniArrowGrayUp.svg';
100
- export { default as MinTrabajo } from '../assets/logo-SPE-2024.svg';
101
101
  export { default as Mobile } from '../assets/Mobile.svg';
102
102
  export { default as More } from '../assets/More1.svg';
103
103
  export { default as MouseCircleBlackOutline } from '../assets/mouseCircleDarkBlueOutline.svg';
@@ -110,8 +110,10 @@ export { default as ProfileAdd } from '../assets/ProfileAdd.svg';
110
110
  export { default as QuestionCircle } from '../assets/question-cirlce.svg';
111
111
  export { default as RedoDarkBlue } from '../assets/redoDarkBlue.svg';
112
112
  export { default as Refresh } from '../assets/Refresh.svg';
113
+ export { default as SMSBlue } from '../assets/SMS.svg';
113
114
  export { default as SearchIcon } from '../assets/SearchNormal1Gray.svg';
114
115
  export { default as SearchNormal1 } from '../assets/SearchNormal1.svg';
116
+ export { default as Security } from '../assets/security.svg';
115
117
  export { default as Setting2 } from '../assets/Setting2.svg';
116
118
  export { default as Setting4 } from '../assets/Setting4.svg';
117
119
  export { default as SettingBlueBold } from '../assets/settingBlueBold.svg';
@@ -120,7 +122,6 @@ export { default as Share } from '../assets/Share.svg';
120
122
  export { default as ShareBlue } from '../assets/Share1.svg';
121
123
  export { default as ShoppingCartBlueOutline } from '../assets/shoppingCartBlueOutline.svg';
122
124
  export { default as SmallClose } from '../assets/SmallClose.svg';
123
- export { default as SMSBlue } from '../assets/SMS.svg';
124
125
  export { default as SpinnerWhite } from '../assets/SpinnerWhite.svg';
125
126
  export { default as Success } from '../assets/success.svg';
126
127
  export { default as SuggestedJobs } from '../assets/suggested-jobs.svg';
@@ -1,5 +1,5 @@
1
1
  import { IBreadcrumbs, IUserAnalyst, IUserMenuWrapperAnalystProps } from '@components/UI/molecules';
2
- import { IHeaderAnalystProps, INavMenuAnalystProps, IModalAnalystProps } from '@components/UI/organism';
2
+ import { IHeaderAnalyst, INavMenuAnalystProps, IModalAnalystProps } from '@components/UI/organism';
3
3
  import { IMainButton, ILinkProps } from '@components/UI/atoms';
4
4
  import { IAnalystTemplateProps } from '@components/UI/template';
5
5
  export declare const MenuButtonAnalystProps: IMainButton;
@@ -7,7 +7,7 @@ export declare const BreadCrumbAnalystProps: IBreadcrumbs;
7
7
  export declare const UserAnalystProps: IUserAnalyst;
8
8
  export declare const UserNotificationProps: ILinkProps;
9
9
  export declare const UserMenuAnalystProps: IUserMenuWrapperAnalystProps;
10
- export declare const HeaderAnalystProps: IHeaderAnalystProps;
10
+ export declare const HeaderAnalystProps: IHeaderAnalyst;
11
11
  export declare const NavMenuAnalystProps: INavMenuAnalystProps;
12
12
  export declare const ModalAnalystProps: IModalAnalystProps;
13
13
  export declare const AnalystTemplateProps: Omit<IAnalystTemplateProps, 'children'>;