magneto365.ui 2.50.3 → 2.51.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.
@@ -1,6 +1,9 @@
1
1
  export * from './Avatar';
2
2
  export * from './BarLoader';
3
3
  export * from './Breadcrumb';
4
+ export * from './Button';
5
+ export * from './ComparativeCounter';
6
+ export * from './Checkbox';
4
7
  export * from './DateDropdown';
5
8
  export * from './DateInput';
6
9
  export * from './Divider';
@@ -15,6 +18,7 @@ export * from './Link';
15
18
  export * from './Loading';
16
19
  export * from './Logo';
17
20
  export * from './MainButton';
21
+ export * from './MegaMenuTab';
18
22
  export * from './MenuDropdown';
19
23
  export * from './MenuItem';
20
24
  export * from './MultiRangeSlider';
@@ -29,6 +33,3 @@ export * from './Switch';
29
33
  export * from './Tag';
30
34
  export * from './ToggleButton';
31
35
  export * from './UserMenuButtonAnalyst';
32
- export * from './ComparativeCounter';
33
- export * from './MegaMenuTab';
34
- export * from './Button';
package/dist/index.d.ts CHANGED
@@ -124,6 +124,89 @@ interface IBreadcrumb {
124
124
  */
125
125
  declare const Breadcrumb: React$1.FC<IBreadcrumb>;
126
126
 
127
+ interface IButton {
128
+ /**
129
+ * Optional text to be displayed on the save button.
130
+ * (Optional property)
131
+ */
132
+ buttonText?: string;
133
+ /**
134
+ * Callback function to be executed when the save button is clicked.
135
+ */
136
+ onClick: () => void;
137
+ /**
138
+ * Button classname
139
+ */
140
+ className?: string;
141
+ /**
142
+ * Specifies whether a hover effect should be added to the button.
143
+ * (Optional property)
144
+ */
145
+ addHover?: boolean;
146
+ /**
147
+ * The title or label associated with the button.
148
+ */
149
+ buttonTitle?: string;
150
+ /**
151
+ * Suffix icon
152
+ */
153
+ suffixIcon?: string;
154
+ /**
155
+ * Preffix icon
156
+ */
157
+ prefixIcon?: string;
158
+ /**
159
+ * Icon size
160
+ */
161
+ iconSize?: number;
162
+ }
163
+
164
+ /**
165
+ * UI Atom Component of Save Button
166
+ */
167
+ declare const Button: React$1.FC<IButton>;
168
+
169
+ interface IComparativeCounter {
170
+ /**
171
+ * this property sets the current counter value
172
+ */
173
+ current: number;
174
+ /**
175
+ * this property sets the max counter value
176
+ */
177
+ max: number;
178
+ }
179
+
180
+ declare const ComparativeCounter: React$1.FC<IComparativeCounter>;
181
+
182
+ interface ICheckbox extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange'> {
183
+ /**
184
+ * event to controll the change value component.
185
+ * @param checked
186
+ * @returns
187
+ */
188
+ onChange?: (checked: boolean) => void;
189
+ /**
190
+ * change UI behavior with this prop.
191
+ */
192
+ type?: 'box' | 'background';
193
+ /**
194
+ * change display behavior for checkbox.
195
+ */
196
+ display?: 'inline' | 'block';
197
+ /**
198
+ * renderProp to create check component.
199
+ * @param props
200
+ * @returns
201
+ */
202
+ renderCheck?: (props: {
203
+ checked: ICheckbox['checked'];
204
+ type: ICheckbox['type'];
205
+ }) => React.ReactNode;
206
+ }
207
+
208
+ declare const Checkbox: React$1.FC<ICheckbox>;
209
+
127
210
  interface IDateDropdown {
128
211
  /**
129
212
  * An array of option values for the dropdown.
@@ -529,6 +612,14 @@ interface IMainButton {
529
612
  */
530
613
  declare const MainButton: React$1.FC<IMainButton>;
531
614
 
615
+ interface IMegaMenuTab {
616
+ label: string;
617
+ url: string;
618
+ selected: boolean;
619
+ }
620
+
621
+ declare const MegaMenuTab: React$1.FC<IMegaMenuTab>;
622
+
532
623
  interface IMenuDropdownProps {
533
624
  /**
534
625
  * Children of the dropdown list
@@ -981,69 +1072,6 @@ interface IUserMenuButtonAnalystProps {
981
1072
  */
982
1073
  declare const UserMenuButtonAnalyst: React$1.FC<IUserMenuButtonAnalystProps>;
983
1074
 
984
- interface IComparativeCounter {
985
- /**
986
- * this property sets the current counter value
987
- */
988
- current: number;
989
- /**
990
- * this property sets the max counter value
991
- */
992
- max: number;
993
- }
994
-
995
- declare const ComparativeCounter: React$1.FC<IComparativeCounter>;
996
-
997
- interface IMegaMenuTab {
998
- label: string;
999
- url: string;
1000
- selected: boolean;
1001
- }
1002
-
1003
- declare const MegaMenuTab: React$1.FC<IMegaMenuTab>;
1004
-
1005
- interface IButton {
1006
- /**
1007
- * Optional text to be displayed on the save button.
1008
- * (Optional property)
1009
- */
1010
- buttonText?: string;
1011
- /**
1012
- * Callback function to be executed when the save button is clicked.
1013
- */
1014
- onClick: () => void;
1015
- /**
1016
- * Button classname
1017
- */
1018
- className?: string;
1019
- /**
1020
- * Specifies whether a hover effect should be added to the button.
1021
- * (Optional property)
1022
- */
1023
- addHover?: boolean;
1024
- /**
1025
- * The title or label associated with the button.
1026
- */
1027
- buttonTitle?: string;
1028
- /**
1029
- * Suffix icon
1030
- */
1031
- suffixIcon?: string;
1032
- /**
1033
- * Preffix icon
1034
- */
1035
- prefixIcon?: string;
1036
- /**
1037
- * Icon size
1038
- */
1039
- iconSize?: number;
1040
- }
1041
-
1042
- /**
1043
- * UI Atom Component of Save Button
1044
- */
1045
- declare const Button: React$1.FC<IButton>;
1046
-
1047
1075
  declare const ShareIcons: {
1048
1076
  Facebook: {
1049
1077
  icon: any;
@@ -4889,4 +4917,4 @@ declare const withMegaMenuContainer: <T>(WrappedComponent: React$1.FC<T>) => Rea
4889
4917
  wrapperProps: T;
4890
4918
  }>;
4891
4919
 
4892
- export { Actions, Alert, AlphabetFilter, 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, FilterActions, 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, IFilterActions, IFilterCard, IFilterHeader, IFilterMenuItem, IFilterRepository, IFilterSearchItem, IFilterValue, IFiltersRef, 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, IMobileDrawer, IMobileDrawerMenu, IMobileJobDetailsDrawer, IMobileJobDetailsHeader, IMobileSearchbar, IMobileSortMenu, 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, IUserTerm, 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, MegaMenuSideCards, 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, UserTermCheck, UserTermContent, UserTermHighlight, UserTermSubTitle, UserTermSubmit, UserTermText, UserTermTitle, UserTermUList, UserTerms, useMediaQuery, withClickOut, withMegaMenuContainer };
4920
+ export { Actions, Alert, AlphabetFilter, AnalystTemplate, Avatar, BarLoader, BrandMenu, BrandsContainer, BrandsMenuMobile, _default$2 as BrandsMenuPopover, Breadcrumb, Breadcrumbs, Button, ButtonElement, Checkbox, CitiesDetailDrawer, ComparativeCounter, ComponentProps, DateDropdown, DateInput, DatePicker, DatePickerResponsiveComponent, Divider, Drawer, DrawerMenu, EAlertType, EExpandableInfoSize, EExpandableInfoVariant, ERadioType, EmptyResult as EmptyResults, ExpandableInfo, FilterActions, FilterCard, FilterContainerMenu, FilterHeader, FilterMenuItem, FilterSearchItem, FlatLoader, Footer, FooterMenuLinks, FrequentSearch, HeaderAnalyst, HeaderDrawerCompany, HeaderDrawerTabs, HeaderTab, HeaderTabItem, HeaderTabs, IActions, IAlert, IAnalystProviderProps, IAnalystTemplateProps, IAvatar, IBreadcrumb, IBreadcrumbs, IBtnPaginationProps, IButton, ICheckbox, ICitiesDetailDrawer, ICityDetail, ICompanyAnalyst, ICreatePaginationProps, ICreatePaginationResult, IDateDropdown, IDateInput, IDateList, IDatePicker, IDatePickerComponent, IDefaultFilter, IDefaultOrder, IDetailList, IDrawer, IDrawerOrganism, IDrawerPortal, IDynamicUrl, IEmptyResults, IExpandableInfoProps, IFieldsAlias, IFilter, IFilterActions, IFilterCard, IFilterHeader, IFilterMenuItem, IFilterRepository, IFilterSearchItem, IFilterValue, IFiltersRef, 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, IMobileDrawer, IMobileDrawerMenu, IMobileJobDetailsDrawer, IMobileJobDetailsHeader, IMobileSearchbar, IMobileSortMenu, 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, IUserTerm, 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, MegaMenuSideCards, 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, UserTermCheck, UserTermContent, UserTermHighlight, UserTermSubTitle, UserTermSubmit, UserTermText, UserTermTitle, UserTermUList, UserTerms, 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.50.3",
7
+ "version": "2.51.0",
8
8
  "description": "Magneto365 UI common components",
9
9
  "scripts": {
10
10
  "lint": "eslint ./src --ext .js,.ts,.jsx,.tsx",