magneto365.ui 2.47.0 → 2.48.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/assets/216605c9a4ba8eeb.svg +3 -0
- package/dist/assets/53122d74f38b05ed.svg +3 -0
- package/dist/assets/8949e8e4bfb2ef16.svg +3 -0
- package/dist/assets/b7c5dd6900f044db.svg +3 -0
- package/dist/cjs/css/magneto.ui.lib.min.css +1 -1
- package/dist/cjs/index.js +150 -114
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/UI/molecules/Message/Message.component.d.ts +7 -4
- package/dist/cjs/types/components/UI/molecules/Message/Message.interface.d.ts +27 -5
- package/dist/cjs/types/components/UI/molecules/Message/constants/message.constant.d.ts +3 -2
- package/dist/cjs/types/components/UI/molecules/Message/index.d.ts +1 -1
- package/dist/cjs/types/constants/icons.constants.d.ts +4 -0
- package/dist/esm/css/magneto.ui.lib.min.css +1 -1
- package/dist/esm/index.js +151 -114
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/UI/molecules/Message/Message.component.d.ts +7 -4
- package/dist/esm/types/components/UI/molecules/Message/Message.interface.d.ts +27 -5
- package/dist/esm/types/components/UI/molecules/Message/constants/message.constant.d.ts +3 -2
- package/dist/esm/types/components/UI/molecules/Message/index.d.ts +1 -1
- package/dist/esm/types/constants/icons.constants.d.ts +4 -0
- package/dist/index.d.ts +31 -8
- package/package.json +1 -1
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
export declare const
|
|
4
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IMessageProps } from './Message.interface';
|
|
3
|
+
export declare const Component: React.FC<IMessageProps>;
|
|
4
|
+
/**
|
|
5
|
+
* Molecule UI component for Message
|
|
6
|
+
*/
|
|
7
|
+
export declare const Message: React.FC<IMessageProps>;
|
|
@@ -1,4 +1,25 @@
|
|
|
1
|
-
|
|
1
|
+
import { IconProps } from '@components/UI/atoms';
|
|
2
|
+
export interface IMessageProps {
|
|
3
|
+
/**
|
|
4
|
+
* Optional class name
|
|
5
|
+
*/
|
|
6
|
+
className?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Optional description of the message
|
|
9
|
+
*/
|
|
10
|
+
description?: string;
|
|
11
|
+
/**
|
|
12
|
+
* This is the optional duration in milliseconds
|
|
13
|
+
* */
|
|
14
|
+
duration?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Optional props for the icon
|
|
17
|
+
*/
|
|
18
|
+
iconProps?: IconProps;
|
|
19
|
+
/**
|
|
20
|
+
* This is the function to be called when the message is hidden
|
|
21
|
+
*/
|
|
22
|
+
onHide?: (visible: boolean) => void;
|
|
2
23
|
/**
|
|
3
24
|
* This is the main text in the message
|
|
4
25
|
* */
|
|
@@ -6,9 +27,10 @@ export interface IMessage {
|
|
|
6
27
|
/**
|
|
7
28
|
* This is the type of message
|
|
8
29
|
* */
|
|
9
|
-
type?:
|
|
30
|
+
type?: TMessageType;
|
|
10
31
|
/**
|
|
11
|
-
*
|
|
12
|
-
|
|
13
|
-
|
|
32
|
+
* Handles visibility of the message
|
|
33
|
+
*/
|
|
34
|
+
visible?: boolean;
|
|
14
35
|
}
|
|
36
|
+
export declare type TMessageType = 'info' | 'success' | 'warning' | 'error';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const initialState:
|
|
1
|
+
import { IMessageProps } from '../Message.interface';
|
|
2
|
+
export declare const initialState: IMessageProps;
|
|
3
3
|
export declare const iconByType: {
|
|
4
4
|
info: any;
|
|
5
5
|
success: any;
|
|
6
6
|
warning: any;
|
|
7
7
|
error: any;
|
|
8
8
|
};
|
|
9
|
+
export declare const transitionDuration = 300;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Message
|
|
1
|
+
export { Message } from './Message.component';
|
|
2
2
|
export * from './Message.interface';
|
|
@@ -35,6 +35,7 @@ export { default as ClipboardClose } from '../assets/ClipboardClose.svg';
|
|
|
35
35
|
export { default as Clock } from '../assets/Clock.svg';
|
|
36
36
|
export { default as Close } from '../assets/Close.svg';
|
|
37
37
|
export { default as CloseCircle } from '../assets/closeCircle.svg';
|
|
38
|
+
export { default as CloseCircleRedBold } from '../assets/closeCircleRedBold.svg';
|
|
38
39
|
export { default as CoinBlackOutline } from '../assets/coinBlackOutline.svg';
|
|
39
40
|
export { default as Danger } from '../assets/danger.svg';
|
|
40
41
|
export { default as DocTextBlueBold } from '../assets/docTextBlueBold.svg';
|
|
@@ -66,6 +67,7 @@ export { default as HomeWhiteOutline } from '../assets/homeWhiteOutline.svg';
|
|
|
66
67
|
export { default as ImageBlueBold } from '../assets/imageBlueBold.svg';
|
|
67
68
|
export { default as ImageWhiteOutline } from '../assets/imageWhiteOutline.svg';
|
|
68
69
|
export { default as Info } from '../assets/info.svg';
|
|
70
|
+
export { default as InfoCircleBlueBold } from '../assets/infoCircleBlueBold.svg';
|
|
69
71
|
export { default as Instagram } from '../assets/Instagram.svg';
|
|
70
72
|
export { default as InstagramSolid } from '../assets/InstagramSolid.svg';
|
|
71
73
|
export { default as IsoLogoMagneto } from '../assets/favicon-m.svg';
|
|
@@ -121,6 +123,7 @@ export { default as Tag } from '../assets/tag.svg';
|
|
|
121
123
|
export { default as TaskBlueBold } from '../assets/taskBlueBold.svg';
|
|
122
124
|
export { default as TaskSquare } from '../assets/TaskSquare.svg';
|
|
123
125
|
export { default as TaskWhiteOutline } from '../assets/taskWhiteOutline.svg';
|
|
126
|
+
export { default as TickCircleGreenBold } from '../assets/tickCircleGreenBold.svg';
|
|
124
127
|
export { default as Tiktok } from '../assets/Tiktok.svg';
|
|
125
128
|
export { default as TiktokSolid } from '../assets/TiktokSolid.svg';
|
|
126
129
|
export { default as Trash } from '../assets/trash.svg';
|
|
@@ -133,6 +136,7 @@ export { default as UserRoundedGray } from '../assets/userRoundedGray.svg';
|
|
|
133
136
|
export { default as UserSearchBlueBold } from '../assets/userSearchBlueBold.svg';
|
|
134
137
|
export { default as UserSearchWhiteOutline } from '../assets/userSearchWhiteOutline.svg';
|
|
135
138
|
export { default as Warning } from '../assets/warning.svg';
|
|
139
|
+
export { default as WarningYellowBold } from '../assets/warningYellowBold.svg';
|
|
136
140
|
export { default as WhatsAppColor } from '../assets/Whatsapp1.svg';
|
|
137
141
|
export { default as WhatsAppDark } from '../assets/Whatsapp.svg';
|
|
138
142
|
export { default as X } from '../assets/X.svg';
|
package/dist/index.d.ts
CHANGED
|
@@ -2442,7 +2442,27 @@ interface IMenuSearch {
|
|
|
2442
2442
|
|
|
2443
2443
|
declare const MenuSearch: FC<IMenuSearch>;
|
|
2444
2444
|
|
|
2445
|
-
interface
|
|
2445
|
+
interface IMessageProps {
|
|
2446
|
+
/**
|
|
2447
|
+
* Optional class name
|
|
2448
|
+
*/
|
|
2449
|
+
className?: string;
|
|
2450
|
+
/**
|
|
2451
|
+
* Optional description of the message
|
|
2452
|
+
*/
|
|
2453
|
+
description?: string;
|
|
2454
|
+
/**
|
|
2455
|
+
* This is the optional duration in milliseconds
|
|
2456
|
+
* */
|
|
2457
|
+
duration?: number;
|
|
2458
|
+
/**
|
|
2459
|
+
* Optional props for the icon
|
|
2460
|
+
*/
|
|
2461
|
+
iconProps?: IconProps$1;
|
|
2462
|
+
/**
|
|
2463
|
+
* This is the function to be called when the message is hidden
|
|
2464
|
+
*/
|
|
2465
|
+
onHide?: (visible: boolean) => void;
|
|
2446
2466
|
/**
|
|
2447
2467
|
* This is the main text in the message
|
|
2448
2468
|
* */
|
|
@@ -2450,15 +2470,18 @@ interface IMessage {
|
|
|
2450
2470
|
/**
|
|
2451
2471
|
* This is the type of message
|
|
2452
2472
|
* */
|
|
2453
|
-
type?:
|
|
2473
|
+
type?: TMessageType;
|
|
2454
2474
|
/**
|
|
2455
|
-
*
|
|
2456
|
-
|
|
2457
|
-
|
|
2475
|
+
* Handles visibility of the message
|
|
2476
|
+
*/
|
|
2477
|
+
visible?: boolean;
|
|
2458
2478
|
}
|
|
2479
|
+
declare type TMessageType = 'info' | 'success' | 'warning' | 'error';
|
|
2459
2480
|
|
|
2460
|
-
|
|
2461
|
-
|
|
2481
|
+
/**
|
|
2482
|
+
* Molecule UI component for Message
|
|
2483
|
+
*/
|
|
2484
|
+
declare const Message: React$1.FC<IMessageProps>;
|
|
2462
2485
|
|
|
2463
2486
|
interface IMoblieDrawer {
|
|
2464
2487
|
className?: string;
|
|
@@ -4687,4 +4710,4 @@ declare const withMegaMenuContainer: <T>(WrappedComponent: React$1.FC<T>) => Rea
|
|
|
4687
4710
|
wrapperProps: T;
|
|
4688
4711
|
}>;
|
|
4689
4712
|
|
|
4690
|
-
export { Actions, Alert, AnalystTemplate, Avatar, BarLoader, BrandMenu, BrandsContainer, BrandsMenuMobile, _default$2 as BrandsMenuPopover, Breadcrumb, Breadcrumbs, Button, ButtonElement, CitiesDetailDrawer, ComparativeCounter, ComponentProps, DateDropdown, DateInput, DatePicker, DatePickerResponsiveComponent, Divider, Drawer, DrawerMenu, EAlertType, EExpandableInfoSize, EExpandableInfoVariant, ERadioType, EmptyResult as EmptyResults, ExpandableInfo, FilterCard, FilterContainerMenu, FilterHeader, FilterMenuItem, FilterSearchItem, FlatLoader, Footer, FooterMenuLinks, FrequentSearch, HeaderAnalyst, HeaderDrawerCompany, HeaderDrawerTabs, HeaderTab, HeaderTabItem, HeaderTabs, IActions, IAlert, IAnalystProviderProps, IAnalystTemplateProps, IAvatar, IBreadcrumb, IBreadcrumbs, IBtnPaginationProps, IButton, ICitiesDetailDrawer, ICityDetail, ICompanyAnalyst, ICreatePaginationProps, ICreatePaginationResult, IDateDropdown, IDateInput, IDateList, IDatePicker, IDatePickerComponent, IDefaultFilter, IDefaultOrder, IDetailList, IDrawer, IDrawerOrganism, IDrawerPortal, IDynamicUrl, IEmptyResults, IExpandableInfoProps, IFieldsAlias, IFilter, IFilterCard, IFilterHeader, IFilterMenuItem, IFilterRepository, IFilterSearchItem, IFilterValue, IFooterList, IFrequentSearch, IGetOptionsOnSearchProps, IHeaderAnalystProps, IHeaderDrawerCompany, IHeaderDrawerTabs, IHeaderTab, IHeaderTabs, IImage, IJobApplyCard, IJobCard, IJobCompanyHeader, IJobCompanyLogo, IJobDetailCard, IJobDetails, IJobDetailsDrawer, IJobFooterCard, IJobHeader, IJobSkillsCard, IJobVideo, IJobsActions, IJobsPage, ILinkProps, IListIcon, IListIconLink, IListMenuIcons, IListMenuItems, ILoading, ILoginHeader, ILoginJobsHeader, ILoginJobsTemplate, ILogoAnalystProps, ILogoComponent, ILogout, ILogoutHeader, ILogoutJobsHeader, ILogoutJobsTemplate, ILogoutTemplate, IMainButton, IMegaMenu, IMegaMenuCard, IMegaMenuCards, IMegaMenuTab, IMenuCollapseChildren, IMenuDropdownProps, IMenuIcon, IMenuItem, IMenuItems, IMenuSearch, IMenuUser,
|
|
4713
|
+
export { Actions, Alert, AnalystTemplate, Avatar, BarLoader, BrandMenu, BrandsContainer, BrandsMenuMobile, _default$2 as BrandsMenuPopover, Breadcrumb, Breadcrumbs, Button, ButtonElement, CitiesDetailDrawer, ComparativeCounter, ComponentProps, DateDropdown, DateInput, DatePicker, DatePickerResponsiveComponent, Divider, Drawer, DrawerMenu, EAlertType, EExpandableInfoSize, EExpandableInfoVariant, ERadioType, EmptyResult as EmptyResults, ExpandableInfo, FilterCard, FilterContainerMenu, FilterHeader, FilterMenuItem, FilterSearchItem, FlatLoader, Footer, FooterMenuLinks, FrequentSearch, HeaderAnalyst, HeaderDrawerCompany, HeaderDrawerTabs, HeaderTab, HeaderTabItem, HeaderTabs, IActions, IAlert, IAnalystProviderProps, IAnalystTemplateProps, IAvatar, IBreadcrumb, IBreadcrumbs, IBtnPaginationProps, IButton, ICitiesDetailDrawer, ICityDetail, ICompanyAnalyst, ICreatePaginationProps, ICreatePaginationResult, IDateDropdown, IDateInput, IDateList, IDatePicker, IDatePickerComponent, IDefaultFilter, IDefaultOrder, IDetailList, IDrawer, IDrawerOrganism, IDrawerPortal, IDynamicUrl, IEmptyResults, IExpandableInfoProps, IFieldsAlias, IFilter, IFilterCard, IFilterHeader, IFilterMenuItem, IFilterRepository, IFilterSearchItem, IFilterValue, IFooterList, IFrequentSearch, IGetOptionsOnSearchProps, IHeaderAnalystProps, IHeaderDrawerCompany, IHeaderDrawerTabs, IHeaderTab, IHeaderTabs, IImage, IJobApplyCard, IJobCard, IJobCompanyHeader, IJobCompanyLogo, IJobDetailCard, IJobDetails, IJobDetailsDrawer, IJobFooterCard, IJobHeader, IJobSkillsCard, IJobVideo, IJobsActions, IJobsPage, ILinkProps, IListIcon, IListIconLink, IListMenuIcons, IListMenuItems, ILoading, ILoginHeader, ILoginJobsHeader, ILoginJobsTemplate, ILogoAnalystProps, ILogoComponent, ILogout, ILogoutHeader, ILogoutJobsHeader, ILogoutJobsTemplate, ILogoutTemplate, IMainButton, IMegaMenu, IMegaMenuCard, IMegaMenuCards, IMegaMenuTab, IMenuCollapseChildren, IMenuDropdownProps, IMenuIcon, IMenuItem, IMenuItems, IMenuSearch, IMenuUser, IMessageProps, IMobileDatePicker, IMobileDrawerMenu, IMobileJobDetailsDrawer, IMobileJobDetailsHeader, IMobileSearchbar, IMobileSortMenu, IMoblieDrawer, IModalAnalyst, IModalAnalystProps, IModalAnalystScreen, IModalProps, IMultiRangeSlider, INavMMenuAnalystRegionModal, INavMenuAnalystIcons, INavMenuAnalystOption, INavMenuAnalystProps, INavMenuAnalystQueryString, INavMenuAnalystRegion, INavMenuAnalystRegionModalProps, INavMenuAnalystSection, INavMenuDrawerAnalystProps, IOption, IOptionValues, IPaginationProps, IParagraph, IPopover, IRadioCommonProps, IRadioProps, ISaveButton, ISearchItem, ISearchRenderTypeOption, ISearchRenderTypeProps, ISearchbar, ISelect, ISetIsApplied, ISettings, IShareButton, IShareLink, IShareLinksActions, ISharePopover, ISideFilter, ISimilarJobsCard, ISkill, ISortBar, ISortMenu, ISortMenuItem, ISubCompanyAnalyst, ISuggestedJobsPage, ISwitch, ITab, ITabButton, IUnApplyWithChild, IUserAnalyst, IUserMenuAnalystAction, IUserMenuAnalystProps, IUserMenuAnalystQueryString, IUserMenuAnalystSection, IUserMenuButtonAnalystProps, IUserMenuWrapperAnalystProps, IVacancies$1 as IVacancies, IValueSelect, IconItem, IconProps, IlistMenuUserProps, Image, Input, InputPlus, InputSearch, JobActions, JobApplyCard, JobCard, JobCardDesktop, JobCardMobile, JobCompanyHeader, JobCompanyLogo, JobDetailCard, JobDetailContainer, JobDetails, JobDetailsDrawer, JobFooterCard, JobHeader, JobRequirementsElement, JobSkillsCard, JobVideo, JobsPage, Link, LinkElement, LinkType, ListIconLink, ListMenuIcons, ListMenuItems, ListMenuText, ListSortMenu, Loading, LoginHeader, LoginJobsHeader, LoginJobsTemplate, LoginTemplate, LogoComponent, LogoutHeader, LogoutJobsHeader, LogoutJobsTemplate, LogoutTemplate, MagnetoResolution, MagnetoSocialMedia, ContextAppProvider as MagnetoUIProvider, MainButton, MegaMenu, MegaMenuCard, MegaMenuCards, MegaMenuJobsTabs, MegaMenuPopover, MegaMenuTab, MenuDropdown, MenuIcon, MenuItem, MenuItemInfo, MenuSearch, Message, MobileDatePicker, MobileDrawer, MobileDrawerMenu, MobileJobDetailsDrawer, MobileJobDetailsHeader, MobileSearchbar, MobileSortMenu, _default$1 as Modal, ModalAnalyst, MultiRangeSlider, MultipleSelectionEntry, NavMenuAnalyst, NavMenuAnalystRegionModal, NavMenuDrawerAnalyst, OneSelectionEntry, Pagination, Paragraph, Popover, Radio, RightsReservedText, SaveButton, ScoreLevel, ScoreLevelStatic, SearchButton, SearchItem, Searchbar, Select, Select2, ShareButton, SharePopover, SideFilter, SimilarJobs, SimilarJobsCard, Skill, SortBar, _default as SortMenu, SuggestedJobsPage, Switch, TExpandableInfoSize, TExpandableInfoVariant, TMessageType, Tab, TabButton, TabButtonElement, Tags as Tag, TextArea, Timeline, TimelineEvent, TimelineEventProps, TimelineEventStatus, ToggleButton, Tooltip, UserMenu, UserMenuAnalyst, UserMenuButtonAnalyst, UserMenuWrapperAnalyst, useMediaQuery, withClickOut, withMegaMenuContainer };
|
package/package.json
CHANGED