mayak-common-library 0.0.428 → 0.0.429
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 +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +6 -6
- package/dist/index.mjs +6 -6
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1134,7 +1134,7 @@ interface IHeaderProps {
|
|
|
1134
1134
|
whatsUp?: boolean;
|
|
1135
1135
|
defLocale: string;
|
|
1136
1136
|
oneLogo?: string;
|
|
1137
|
-
|
|
1137
|
+
onlyGlobalSwitch?: boolean;
|
|
1138
1138
|
}
|
|
1139
1139
|
declare const Header: FC<IHeaderProps & PropsWithChildren>;
|
|
1140
1140
|
|
|
@@ -1166,7 +1166,7 @@ interface IFooter2 {
|
|
|
1166
1166
|
}
|
|
1167
1167
|
declare function Footer2({ instagram, facebook, youtube, linkedIn, menuItems, mainPhone, site, homePage, additionalMenu, oneLogo, }: IFooter2): react_jsx_runtime.JSX.Element;
|
|
1168
1168
|
|
|
1169
|
-
declare function HeaderMob({ menuItems, mainPhone, locales, site, homePage, children,
|
|
1169
|
+
declare function HeaderMob({ menuItems, mainPhone, locales, site, homePage, children, onlyGlobalSwitch, }: IHeaderProps & PropsWithChildren): react_jsx_runtime.JSX.Element;
|
|
1170
1170
|
|
|
1171
1171
|
interface IMainBoxProps {
|
|
1172
1172
|
children: ReactNode;
|
|
@@ -1417,6 +1417,7 @@ declare const LocaleSwitch: FC<LocaleSwitcherProps>;
|
|
|
1417
1417
|
|
|
1418
1418
|
interface SiteSwitcherProps {
|
|
1419
1419
|
currentSite: Site;
|
|
1420
|
+
onlyGlobal?: boolean;
|
|
1420
1421
|
select?: boolean;
|
|
1421
1422
|
}
|
|
1422
1423
|
declare const SiteSwitch: FC<SiteSwitcherProps>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1134,7 +1134,7 @@ interface IHeaderProps {
|
|
|
1134
1134
|
whatsUp?: boolean;
|
|
1135
1135
|
defLocale: string;
|
|
1136
1136
|
oneLogo?: string;
|
|
1137
|
-
|
|
1137
|
+
onlyGlobalSwitch?: boolean;
|
|
1138
1138
|
}
|
|
1139
1139
|
declare const Header: FC<IHeaderProps & PropsWithChildren>;
|
|
1140
1140
|
|
|
@@ -1166,7 +1166,7 @@ interface IFooter2 {
|
|
|
1166
1166
|
}
|
|
1167
1167
|
declare function Footer2({ instagram, facebook, youtube, linkedIn, menuItems, mainPhone, site, homePage, additionalMenu, oneLogo, }: IFooter2): react_jsx_runtime.JSX.Element;
|
|
1168
1168
|
|
|
1169
|
-
declare function HeaderMob({ menuItems, mainPhone, locales, site, homePage, children,
|
|
1169
|
+
declare function HeaderMob({ menuItems, mainPhone, locales, site, homePage, children, onlyGlobalSwitch, }: IHeaderProps & PropsWithChildren): react_jsx_runtime.JSX.Element;
|
|
1170
1170
|
|
|
1171
1171
|
interface IMainBoxProps {
|
|
1172
1172
|
children: ReactNode;
|
|
@@ -1417,6 +1417,7 @@ declare const LocaleSwitch: FC<LocaleSwitcherProps>;
|
|
|
1417
1417
|
|
|
1418
1418
|
interface SiteSwitcherProps {
|
|
1419
1419
|
currentSite: Site;
|
|
1420
|
+
onlyGlobal?: boolean;
|
|
1420
1421
|
select?: boolean;
|
|
1421
1422
|
}
|
|
1422
1423
|
declare const SiteSwitch: FC<SiteSwitcherProps>;
|