magneto365.ui 2.44.0 → 2.45.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.
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const SearchButton: React.FC<any>;
@@ -0,0 +1 @@
1
+ export * from './SearchButton.component';
@@ -3,7 +3,7 @@ export interface ISearchbar {
3
3
  /**
4
4
  * Sets the value for the input in the searchbar
5
5
  */
6
- termValue: any;
6
+ termValue: string;
7
7
  /**
8
8
  * Placeholder text for the searchbar
9
9
  */
@@ -35,6 +35,10 @@ export * from './ListMenuItems';
35
35
  export * from './ListMenuText';
36
36
  export * from './ListSortMenu';
37
37
  export * from './MagnetoResolution';
38
+ export * from './MegaMenuCard';
39
+ export * from './MegaMenuCards';
40
+ export * from './MegaMenuJobsTabs';
41
+ export * from './MegaMenuPopover';
38
42
  export * from './MenuCollapse/children/MenuCollapseChildren.interface';
39
43
  export * from './MenuIcon';
40
44
  export * from './MenuSearch';
@@ -48,6 +52,7 @@ export * from './RightsReservedText';
48
52
  export * from './ScoreLevel';
49
53
  export * from './ScoreLevelStatic';
50
54
  export * from './Searchbar';
55
+ export * from './SearchButton';
51
56
  export * from './SharePopover';
52
57
  export * from './SimilarJobsCard';
53
58
  export * from './SortMenu';
@@ -59,7 +64,3 @@ export * from './Tooltip';
59
64
  export * from './UserMenu';
60
65
  export * from './UserMenuAnalyst';
61
66
  export * from './UserMenuWrapperAnalyst';
62
- export * from './MegaMenuJobsTabs';
63
- export * from './MegaMenuCards';
64
- export * from './MegaMenuCard';
65
- export * from './MegaMenuPopover';
package/dist/index.d.ts CHANGED
@@ -5,9 +5,9 @@ import { IconProps as IconProps$2 } from '@components/UI/atoms/Icon';
5
5
  import { ISaveButton as ISaveButton$1 } from '@components/UI/atoms/SaveButton';
6
6
  import { ICustomText } from '@components/UI/atoms/Text/Text.interface';
7
7
  import { IFilterValue as IFilterValue$1, ISetIsApplied as ISetIsApplied$1, IFilter as IFilter$1, ISearchRenderTypeProps as ISearchRenderTypeProps$1 } from '@components/UI/template/SideFilter';
8
+ import { IMegaMenuLink as IMegaMenuLink$1 } from '@components/UI/template/MegaMenu/MegaMenuContext.interface';
8
9
  import * as _components_UI_molecules from '@components/UI/molecules';
9
10
  import { IDatePicker as IDatePicker$1, IBreadcrumbs as IBreadcrumbs$1, IUserMenuWrapperAnalystProps as IUserMenuWrapperAnalystProps$1, IJobCompanyHeader as IJobCompanyHeader$2, IJobDetailCard as IJobDetailCard$1, IJobSkillsCard as IJobSkillsCard$1, IJobApplyCard as IJobApplyCard$1, IJobFooterCard as IJobFooterCard$1, ICityDetail as ICityDetail$1, TimelineEventStatus as TimelineEventStatus$1, IUserMenuAnalystProps as IUserMenuAnalystProps$1, IFrequentSearch as IFrequentSearch$1, IPaginationProps as IPaginationProps$1, IEmptyResults as IEmptyResults$2, IJobCard as IJobCard$2, ISearchbar as ISearchbar$1 } from '@components/UI/molecules';
10
- import { IMegaMenuLink as IMegaMenuLink$1 } from '@components/UI/template/MegaMenu/MegaMenuContext.interface';
11
11
  import { IMobileDatePicker as IMobileDatePicker$1, IDatePickerComponent as IDatePickerComponent$1, IJobDetailsDrawer as IJobDetailsDrawer$1, IMobileJobDetailsDrawer as IMobileJobDetailsDrawer$1, IHeaderAnalystProps as IHeaderAnalystProps$1, IModalAnalyst as IModalAnalyst$1, INavMenuAnalystRegion as INavMenuAnalystRegion$1 } from '@components/UI/organism';
12
12
  import { IListMenuText as IListMenuText$1 } from '@components/UI/molecules/ListMenuText/ListMenuText.interface';
13
13
  import { IJobCompanyHeader as IJobCompanyHeader$1 } from '@components/UI/molecules/JobCompanyHeader';
@@ -2216,6 +2216,61 @@ interface IMagnetoResolution {
2216
2216
 
2217
2217
  declare const MagnetoResolution: React$1.FC<IMagnetoResolution>;
2218
2218
 
2219
+ interface IMegaMenuCard {
2220
+ /**
2221
+ * This is the main title
2222
+ * */
2223
+ title: string;
2224
+ /**
2225
+ * You can switch between logo and icon
2226
+ * */
2227
+ logo?: string;
2228
+ /**
2229
+ * You can switch between logo and icon
2230
+ * */
2231
+ icon?: string;
2232
+ /**
2233
+ * className for the card component
2234
+ * */
2235
+ className?: string;
2236
+ /**
2237
+ * Amount of quotas
2238
+ * */
2239
+ quotas: number;
2240
+ /**
2241
+ * href uri for redirect when user clicked
2242
+ * */
2243
+ href?: string;
2244
+ /**
2245
+ * Target way to launch the new url
2246
+ * */
2247
+ target?: string;
2248
+ /**
2249
+ * Onclick callback
2250
+ * */
2251
+ onClick: () => void;
2252
+ /**
2253
+ * Show arrow icon
2254
+ * */
2255
+ showRigthArrow?: boolean;
2256
+ }
2257
+
2258
+ declare const MegaMenuCard: React$1.FC<IMegaMenuCard>;
2259
+
2260
+ interface IMegaMenuCards {
2261
+ jobs: IMegaMenuCard[];
2262
+ action?: IMegaMenuLink$1;
2263
+ title?: string;
2264
+ actionTitle?: IMegaMenuLink$1;
2265
+ className?: string;
2266
+ }
2267
+
2268
+ declare const MegaMenuCards: React$1.FC<IMegaMenuCards>;
2269
+
2270
+ declare const MegaMenuJobsTabs: React$1.FC;
2271
+
2272
+ declare const MegaMenuPopover: React$1.FC;
2273
+
2219
2274
  interface IMenuCollapseChildren extends IListMenuText {
2220
2275
  isOpen: boolean;
2221
2276
  onClick: () => void;
@@ -2537,7 +2592,7 @@ interface ISearchbar {
2537
2592
  /**
2538
2593
  * Sets the value for the input in the searchbar
2539
2594
  */
2540
- termValue: any;
2595
+ termValue: string;
2541
2596
  /**
2542
2597
  * Placeholder text for the searchbar
2543
2598
  */
@@ -2561,6 +2616,8 @@ interface ISearchbar {
2561
2616
  */
2562
2617
  declare const Searchbar: React$1.FC<ISearchbar>;
2563
2618
 
2619
+ declare const SearchButton: React$1.FC<any>;
2620
+
2564
2621
  interface ISimilarJobsCard {
2565
2622
  id?: number | null;
2566
2623
  title: string;
@@ -3835,61 +3892,6 @@ interface IUserMenuWrapperAnalystProps extends IUserMenuAnalystProps$1 {
3835
3892
  */
3836
3893
  declare const UserMenuWrapperAnalyst: React$1.FC<IUserMenuWrapperAnalystProps>;
3837
3894
 
3838
- declare const MegaMenuJobsTabs: React$1.FC;
3839
-
3840
- interface IMegaMenuCard {
3841
- /**
3842
- * This is the main title
3843
- * */
3844
- title: string;
3845
- /**
3846
- * You can switch between logo and icon
3847
- * */
3848
- logo?: string;
3849
- /**
3850
- * You can switch between logo and icon
3851
- * */
3852
- icon?: string;
3853
- /**
3854
- * className for the card component
3855
- * */
3856
- className?: string;
3857
- /**
3858
- * Amount of quotas
3859
- * */
3860
- quotas: number;
3861
- /**
3862
- * href uri for redirect when user clicked
3863
- * */
3864
- href?: string;
3865
- /**
3866
- * Target way to launch the new url
3867
- * */
3868
- target?: string;
3869
- /**
3870
- * Onclick callback
3871
- * */
3872
- onClick: () => void;
3873
- /**
3874
- * Show arrow icon
3875
- * */
3876
- showRigthArrow?: boolean;
3877
- }
3878
-
3879
- interface IMegaMenuCards {
3880
- jobs: IMegaMenuCard[];
3881
- action?: IMegaMenuLink$1;
3882
- title?: string;
3883
- actionTitle?: IMegaMenuLink$1;
3884
- className?: string;
3885
- }
3886
-
3887
- declare const MegaMenuCards: React$1.FC<IMegaMenuCards>;
3888
-
3889
- declare const MegaMenuCard: React$1.FC<IMegaMenuCard>;
3890
-
3891
- declare const MegaMenuPopover: React$1.FC;
3892
-
3893
3895
  interface IJobsPage {
3894
3896
  /**
3895
3897
  * Props for the filter bottom header section.
@@ -4431,4 +4433,4 @@ declare const withMegaMenuContainer: <T>(WrappedComponent: React$1.FC<T>) => Rea
4431
4433
  wrapperProps: T;
4432
4434
  }>;
4433
4435
 
4434
- 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, ERadioType, EmptyResult as EmptyResults, 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, 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, IMessage, IMobileDatePicker, IMobileDrawerMenu, IMobileJobDetailsDrawer, IMobileJobDetailsHeader, IMobileSearchbar, IMobileSortMenu, IMoblieDrawer, IModalAnalyst, IModalAnalystProps, IModalAnalystScreen, IModalProps, IMultiRangeSlider, INavMMenuAnalystRegionModal, INavMenuAnalystIcons, INavMenuAnalystOption, INavMenuAnalystProps, INavMenuAnalystQueryString, INavMenuAnalystRegion, INavMenuAnalystRegionModalProps, INavMenuAnalystSection, INavMenuDrawerAnalystProps, IOptionValues, IPaginationProps, IParagraph, IPopover, IRadioCommonProps, IRadioProps, ISaveButton, ISearchItem, ISearchRenderTypeOption, ISearchRenderTypeProps, ISearchbar, 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, 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, SearchItem, Searchbar, Select2, ShareButton, SharePopover, SideFilter, SimilarJobs, SimilarJobsCard, Skill, SortBar, _default as SortMenu, SuggestedJobsPage, Switch, Tab, TabButton, TabButtonElement, Tags as Tag, TextArea, Timeline, TimelineEvent, TimelineEventProps, TimelineEventStatus, ToggleButton, Tooltip, UserMenu, UserMenuAnalyst, UserMenuButtonAnalyst, UserMenuWrapperAnalyst, message, useMediaQuery, withClickOut, withMegaMenuContainer };
4436
+ 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, ERadioType, EmptyResult as EmptyResults, 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, 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, IMessage, IMobileDatePicker, IMobileDrawerMenu, IMobileJobDetailsDrawer, IMobileJobDetailsHeader, IMobileSearchbar, IMobileSortMenu, IMoblieDrawer, IModalAnalyst, IModalAnalystProps, IModalAnalystScreen, IModalProps, IMultiRangeSlider, INavMMenuAnalystRegionModal, INavMenuAnalystIcons, INavMenuAnalystOption, INavMenuAnalystProps, INavMenuAnalystQueryString, INavMenuAnalystRegion, INavMenuAnalystRegionModalProps, INavMenuAnalystSection, INavMenuDrawerAnalystProps, IOptionValues, IPaginationProps, IParagraph, IPopover, IRadioCommonProps, IRadioProps, ISaveButton, ISearchItem, ISearchRenderTypeOption, ISearchRenderTypeProps, ISearchbar, 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, 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, Select2, ShareButton, SharePopover, SideFilter, SimilarJobs, SimilarJobsCard, Skill, SortBar, _default as SortMenu, SuggestedJobsPage, Switch, Tab, TabButton, TabButtonElement, Tags as Tag, TextArea, Timeline, TimelineEvent, TimelineEventProps, TimelineEventStatus, ToggleButton, Tooltip, UserMenu, UserMenuAnalyst, UserMenuButtonAnalyst, UserMenuWrapperAnalyst, message, useMediaQuery, withClickOut, withMegaMenuContainer };
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/W170/talenta.magneto365.ui.git"
6
6
  },
7
- "version": "2.44.0",
7
+ "version": "2.45.0",
8
8
  "description": "Magneto365 UI common components",
9
9
  "scripts": {
10
10
  "lint": "eslint ./src --ext .js,.ts,.jsx,.tsx",