magneto365.ui 2.61.1 → 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 (24) hide show
  1. package/dist/cjs/css/magneto.ui.lib.min.css +1 -1
  2. package/dist/cjs/index.js +75 -71
  3. package/dist/cjs/index.js.map +1 -1
  4. package/dist/cjs/types/components/UI/atoms/Text/Text.component.d.ts +1 -1
  5. package/dist/cjs/types/components/UI/atoms/Text/index.d.ts +1 -1
  6. package/dist/cjs/types/components/UI/atoms/index.d.ts +1 -0
  7. package/dist/cjs/types/components/UI/molecules/Alert/Alert.interface.d.ts +1 -1
  8. package/dist/cjs/types/components/UI/organism/HeaderAnalyst/HeaderAnalyst.component.d.ts +2 -2
  9. package/dist/cjs/types/components/UI/organism/HeaderAnalyst/HeaderAnalyst.interface.d.ts +7 -3
  10. package/dist/cjs/types/components/UI/template/AnalystTemplate/AnalystTemplate.interface.d.ts +2 -2
  11. package/dist/cjs/types/constants/stories/analyst.constants.d.ts +2 -2
  12. package/dist/esm/css/magneto.ui.lib.min.css +1 -1
  13. package/dist/esm/index.js +75 -72
  14. package/dist/esm/index.js.map +1 -1
  15. package/dist/esm/types/components/UI/atoms/Text/Text.component.d.ts +1 -1
  16. package/dist/esm/types/components/UI/atoms/Text/index.d.ts +1 -1
  17. package/dist/esm/types/components/UI/atoms/index.d.ts +1 -0
  18. package/dist/esm/types/components/UI/molecules/Alert/Alert.interface.d.ts +1 -1
  19. package/dist/esm/types/components/UI/organism/HeaderAnalyst/HeaderAnalyst.component.d.ts +2 -2
  20. package/dist/esm/types/components/UI/organism/HeaderAnalyst/HeaderAnalyst.interface.d.ts +7 -3
  21. package/dist/esm/types/components/UI/template/AnalystTemplate/AnalystTemplate.interface.d.ts +2 -2
  22. package/dist/esm/types/constants/stories/analyst.constants.d.ts +2 -2
  23. package/dist/index.d.ts +44 -38
  24. 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
  */
@@ -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'>;