mayak-common-library 0.0.749 → 0.0.751

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/index.d.mts CHANGED
@@ -41,6 +41,7 @@ interface LocaleSwitcherProps {
41
41
  locales: localesProps;
42
42
  homePage: string;
43
43
  defLocale: string;
44
+ select?: boolean;
44
45
  }
45
46
  declare const SITE: {
46
47
  KYIV: string;
@@ -252,7 +253,7 @@ interface BenefitsVacanciesBlockProps {
252
253
  classes?: string;
253
254
  inlineItem?: boolean;
254
255
  }
255
- declare function BenefitsVacanciesBlock({ title, benefits, classes, inlineItem, }: BenefitsVacanciesBlockProps): react_jsx_runtime.JSX.Element;
256
+ declare const BenefitsVacanciesBlock: FC<BenefitsVacanciesBlockProps>;
256
257
 
257
258
  interface IComponentItem {
258
259
  text1?: string;
@@ -1132,18 +1133,11 @@ type Modal = ModalSlice & ModalActions;
1132
1133
  declare const createModalSlice: StateCreator<Modal>;
1133
1134
  declare const useLayoutStore: zustand.UseBoundStore<zustand.StoreApi<Modal>>;
1134
1135
 
1135
- interface IHeaderProps {
1136
- menuItems: MenuItem[];
1137
- mainPhone?: string;
1138
- locales: localesProps;
1139
- site: Site;
1136
+ declare const Header: FC<PropsWithChildren & {
1137
+ locale: string;
1140
1138
  homePage: string;
1141
- whatsUp?: boolean;
1142
- defLocale: string;
1143
1139
  oneLogo?: string;
1144
- onlyGlobalSwitch?: boolean;
1145
- }
1146
- declare const Header: FC<IHeaderProps & PropsWithChildren>;
1140
+ }>;
1147
1141
 
1148
1142
  interface HeaderContactButtonProps {
1149
1143
  onClick: MouseEventHandler<HTMLButtonElement> | undefined;
@@ -1173,7 +1167,10 @@ interface IFooter2 {
1173
1167
  }
1174
1168
  declare function Footer2({ instagram, facebook, youtube, linkedIn, menuItems, mainPhone, site, homePage, additionalMenu, oneLogo, }: IFooter2): react_jsx_runtime.JSX.Element;
1175
1169
 
1176
- declare function HeaderMob({ menuItems, mainPhone, locales, site, homePage, children, onlyGlobalSwitch, }: IHeaderProps & PropsWithChildren): react_jsx_runtime.JSX.Element;
1170
+ declare const HeaderMob: FC<PropsWithChildren & {
1171
+ locale: string;
1172
+ homePage: string;
1173
+ }>;
1177
1174
 
1178
1175
  interface IMainBoxProps {
1179
1176
  children: ReactNode;
@@ -1396,6 +1393,7 @@ interface SelectProProps$1 {
1396
1393
  transparentView?: boolean;
1397
1394
  clickComponentView?: boolean;
1398
1395
  withoutDropdownIcon?: boolean;
1396
+ openOnHover?: boolean;
1399
1397
  }
1400
1398
  declare const Select: FC<PropsWithChildren & SelectProProps$1>;
1401
1399
 
package/dist/index.d.ts CHANGED
@@ -41,6 +41,7 @@ interface LocaleSwitcherProps {
41
41
  locales: localesProps;
42
42
  homePage: string;
43
43
  defLocale: string;
44
+ select?: boolean;
44
45
  }
45
46
  declare const SITE: {
46
47
  KYIV: string;
@@ -252,7 +253,7 @@ interface BenefitsVacanciesBlockProps {
252
253
  classes?: string;
253
254
  inlineItem?: boolean;
254
255
  }
255
- declare function BenefitsVacanciesBlock({ title, benefits, classes, inlineItem, }: BenefitsVacanciesBlockProps): react_jsx_runtime.JSX.Element;
256
+ declare const BenefitsVacanciesBlock: FC<BenefitsVacanciesBlockProps>;
256
257
 
257
258
  interface IComponentItem {
258
259
  text1?: string;
@@ -1132,18 +1133,11 @@ type Modal = ModalSlice & ModalActions;
1132
1133
  declare const createModalSlice: StateCreator<Modal>;
1133
1134
  declare const useLayoutStore: zustand.UseBoundStore<zustand.StoreApi<Modal>>;
1134
1135
 
1135
- interface IHeaderProps {
1136
- menuItems: MenuItem[];
1137
- mainPhone?: string;
1138
- locales: localesProps;
1139
- site: Site;
1136
+ declare const Header: FC<PropsWithChildren & {
1137
+ locale: string;
1140
1138
  homePage: string;
1141
- whatsUp?: boolean;
1142
- defLocale: string;
1143
1139
  oneLogo?: string;
1144
- onlyGlobalSwitch?: boolean;
1145
- }
1146
- declare const Header: FC<IHeaderProps & PropsWithChildren>;
1140
+ }>;
1147
1141
 
1148
1142
  interface HeaderContactButtonProps {
1149
1143
  onClick: MouseEventHandler<HTMLButtonElement> | undefined;
@@ -1173,7 +1167,10 @@ interface IFooter2 {
1173
1167
  }
1174
1168
  declare function Footer2({ instagram, facebook, youtube, linkedIn, menuItems, mainPhone, site, homePage, additionalMenu, oneLogo, }: IFooter2): react_jsx_runtime.JSX.Element;
1175
1169
 
1176
- declare function HeaderMob({ menuItems, mainPhone, locales, site, homePage, children, onlyGlobalSwitch, }: IHeaderProps & PropsWithChildren): react_jsx_runtime.JSX.Element;
1170
+ declare const HeaderMob: FC<PropsWithChildren & {
1171
+ locale: string;
1172
+ homePage: string;
1173
+ }>;
1177
1174
 
1178
1175
  interface IMainBoxProps {
1179
1176
  children: ReactNode;
@@ -1396,6 +1393,7 @@ interface SelectProProps$1 {
1396
1393
  transparentView?: boolean;
1397
1394
  clickComponentView?: boolean;
1398
1395
  withoutDropdownIcon?: boolean;
1396
+ openOnHover?: boolean;
1399
1397
  }
1400
1398
  declare const Select: FC<PropsWithChildren & SelectProProps$1>;
1401
1399