mayak-common-library-payload 0.1.59 → 0.1.61

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
@@ -151,7 +151,7 @@ interface ArticleContentProps {
151
151
  declare function ArticleContent({ title, content, imageUrl, date, className, contactComponent, }: ArticleContentProps): react_jsx_runtime.JSX.Element;
152
152
 
153
153
  interface IArticle {
154
- imageUrl?: string;
154
+ imageUrl?: string | null;
155
155
  title?: string | null;
156
156
  text?: string | null;
157
157
  }
@@ -170,11 +170,11 @@ interface IArticlesFull {
170
170
  declare function ArticlesFull({ title, className, totalArticles, }: IArticlesFull): react_jsx_runtime.JSX.Element;
171
171
 
172
172
  interface BannerBlockProps {
173
- videoLink?: string;
173
+ videoLink?: string | null;
174
174
  title?: string | null;
175
175
  subTitle?: ReactNode;
176
176
  className?: string;
177
- imgLink?: string;
177
+ imgLink?: string | null;
178
178
  view?: 'column' | 'row';
179
179
  }
180
180
  declare const BannerBlock: FC<PropsWithChildren & BannerBlockProps>;
@@ -338,9 +338,9 @@ interface IContactUsBlock {
338
338
  className?: string;
339
339
  phone: string;
340
340
  manager: {
341
- name: string;
342
- imageUrl: string;
343
- position: string;
341
+ name?: string;
342
+ imageUrl?: string | null;
343
+ position?: string;
344
344
  };
345
345
  }
346
346
  declare function ContactUsBlock({ className, phone, manager, }: IContactUsBlock): react_jsx_runtime.JSX.Element;
package/dist/index.d.ts CHANGED
@@ -151,7 +151,7 @@ interface ArticleContentProps {
151
151
  declare function ArticleContent({ title, content, imageUrl, date, className, contactComponent, }: ArticleContentProps): react_jsx_runtime.JSX.Element;
152
152
 
153
153
  interface IArticle {
154
- imageUrl?: string;
154
+ imageUrl?: string | null;
155
155
  title?: string | null;
156
156
  text?: string | null;
157
157
  }
@@ -170,11 +170,11 @@ interface IArticlesFull {
170
170
  declare function ArticlesFull({ title, className, totalArticles, }: IArticlesFull): react_jsx_runtime.JSX.Element;
171
171
 
172
172
  interface BannerBlockProps {
173
- videoLink?: string;
173
+ videoLink?: string | null;
174
174
  title?: string | null;
175
175
  subTitle?: ReactNode;
176
176
  className?: string;
177
- imgLink?: string;
177
+ imgLink?: string | null;
178
178
  view?: 'column' | 'row';
179
179
  }
180
180
  declare const BannerBlock: FC<PropsWithChildren & BannerBlockProps>;
@@ -338,9 +338,9 @@ interface IContactUsBlock {
338
338
  className?: string;
339
339
  phone: string;
340
340
  manager: {
341
- name: string;
342
- imageUrl: string;
343
- position: string;
341
+ name?: string;
342
+ imageUrl?: string | null;
343
+ position?: string;
344
344
  };
345
345
  }
346
346
  declare function ContactUsBlock({ className, phone, manager, }: IContactUsBlock): react_jsx_runtime.JSX.Element;