mayak-common-library-payload 0.1.6 → 0.1.7

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
@@ -584,11 +584,11 @@ interface SocialBlockProps {
584
584
  declare const SocialBlock: FC<SocialBlockProps>;
585
585
 
586
586
  interface SocialBlockMainProps {
587
- className?: string;
588
- instagram?: string;
589
- facebook?: string;
590
- youtube?: string;
591
- linkedIn?: string;
587
+ className?: string | null;
588
+ instagram?: string | null;
589
+ facebook?: string | null;
590
+ youtube?: string | null;
591
+ linkedIn?: string | null;
592
592
  }
593
593
  declare const SocialBlockMain: FC<SocialBlockMainProps>;
594
594
 
@@ -1057,14 +1057,14 @@ declare const _default: react.NamedExoticComponent<HeaderContactButtonProps>;
1057
1057
  declare function Footer({ instagram, facebook, youtube, linkedIn, menuItems, mainPhone, site, homePage, }: IFooter): react_jsx_runtime.JSX.Element;
1058
1058
 
1059
1059
  interface IFooter2 {
1060
- instagram?: string;
1061
- city?: string;
1062
- location?: string;
1063
- facebook?: string;
1064
- youtube?: string;
1065
- linkedIn?: string;
1060
+ instagram?: string | null;
1061
+ city?: string | null;
1062
+ location?: string | null;
1063
+ facebook?: string | null;
1064
+ youtube?: string | null;
1065
+ linkedIn?: string | null;
1066
1066
  menuItems: MenuItem[];
1067
- mainPhone?: string;
1067
+ mainPhone?: string | null;
1068
1068
  site: Site;
1069
1069
  homePage: string;
1070
1070
  additionalMenu: {
@@ -1073,7 +1073,7 @@ interface IFooter2 {
1073
1073
  title: string;
1074
1074
  }[];
1075
1075
  };
1076
- oneLogo?: string;
1076
+ oneLogo?: string | null;
1077
1077
  }
1078
1078
  declare function Footer2({ instagram, facebook, youtube, linkedIn, menuItems, mainPhone, site, homePage, additionalMenu, oneLogo, city, location, }: IFooter2): react_jsx_runtime.JSX.Element;
1079
1079
 
@@ -1093,7 +1093,7 @@ interface LogoBlockProps {
1093
1093
  small?: boolean;
1094
1094
  locale: string;
1095
1095
  homePage: string;
1096
- oneLogo?: string;
1096
+ oneLogo?: string | null;
1097
1097
  }
1098
1098
  declare const LogoBlock: FC<LogoBlockProps>;
1099
1099
 
@@ -1156,11 +1156,11 @@ declare const SimpleSelect: FC<PropsWithChildren & SelectProProps>;
1156
1156
  type outLinkType = 'viber' | 'telegram' | 'tel' | 'googleMaps' | 'mail' | 'link' | 'whatsapp';
1157
1157
 
1158
1158
  interface ILinkOut {
1159
- data?: string;
1159
+ data?: string | null;
1160
1160
  type: outLinkType;
1161
1161
  title: string | ReactNode;
1162
1162
  className?: string;
1163
- blank?: boolean;
1163
+ blank?: boolean | null;
1164
1164
  }
1165
1165
  declare function LinkOut({ data, type, title, className, blank, }: ILinkOut): react_jsx_runtime.JSX.Element;
1166
1166
 
package/dist/index.d.ts CHANGED
@@ -584,11 +584,11 @@ interface SocialBlockProps {
584
584
  declare const SocialBlock: FC<SocialBlockProps>;
585
585
 
586
586
  interface SocialBlockMainProps {
587
- className?: string;
588
- instagram?: string;
589
- facebook?: string;
590
- youtube?: string;
591
- linkedIn?: string;
587
+ className?: string | null;
588
+ instagram?: string | null;
589
+ facebook?: string | null;
590
+ youtube?: string | null;
591
+ linkedIn?: string | null;
592
592
  }
593
593
  declare const SocialBlockMain: FC<SocialBlockMainProps>;
594
594
 
@@ -1057,14 +1057,14 @@ declare const _default: react.NamedExoticComponent<HeaderContactButtonProps>;
1057
1057
  declare function Footer({ instagram, facebook, youtube, linkedIn, menuItems, mainPhone, site, homePage, }: IFooter): react_jsx_runtime.JSX.Element;
1058
1058
 
1059
1059
  interface IFooter2 {
1060
- instagram?: string;
1061
- city?: string;
1062
- location?: string;
1063
- facebook?: string;
1064
- youtube?: string;
1065
- linkedIn?: string;
1060
+ instagram?: string | null;
1061
+ city?: string | null;
1062
+ location?: string | null;
1063
+ facebook?: string | null;
1064
+ youtube?: string | null;
1065
+ linkedIn?: string | null;
1066
1066
  menuItems: MenuItem[];
1067
- mainPhone?: string;
1067
+ mainPhone?: string | null;
1068
1068
  site: Site;
1069
1069
  homePage: string;
1070
1070
  additionalMenu: {
@@ -1073,7 +1073,7 @@ interface IFooter2 {
1073
1073
  title: string;
1074
1074
  }[];
1075
1075
  };
1076
- oneLogo?: string;
1076
+ oneLogo?: string | null;
1077
1077
  }
1078
1078
  declare function Footer2({ instagram, facebook, youtube, linkedIn, menuItems, mainPhone, site, homePage, additionalMenu, oneLogo, city, location, }: IFooter2): react_jsx_runtime.JSX.Element;
1079
1079
 
@@ -1093,7 +1093,7 @@ interface LogoBlockProps {
1093
1093
  small?: boolean;
1094
1094
  locale: string;
1095
1095
  homePage: string;
1096
- oneLogo?: string;
1096
+ oneLogo?: string | null;
1097
1097
  }
1098
1098
  declare const LogoBlock: FC<LogoBlockProps>;
1099
1099
 
@@ -1156,11 +1156,11 @@ declare const SimpleSelect: FC<PropsWithChildren & SelectProProps>;
1156
1156
  type outLinkType = 'viber' | 'telegram' | 'tel' | 'googleMaps' | 'mail' | 'link' | 'whatsapp';
1157
1157
 
1158
1158
  interface ILinkOut {
1159
- data?: string;
1159
+ data?: string | null;
1160
1160
  type: outLinkType;
1161
1161
  title: string | ReactNode;
1162
1162
  className?: string;
1163
- blank?: boolean;
1163
+ blank?: boolean | null;
1164
1164
  }
1165
1165
  declare function LinkOut({ data, type, title, className, blank, }: ILinkOut): react_jsx_runtime.JSX.Element;
1166
1166
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mayak-common-library-payload",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",