mayak-common-library-payload 0.1.58 → 0.1.60

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
@@ -143,7 +143,7 @@ declare const AnyQuestionsBlock: FC<PropsWithChildren & AnyQuestionsBlockProps>;
143
143
  interface ArticleContentProps {
144
144
  title?: string;
145
145
  content?: ReactNode;
146
- imageUrl?: string;
146
+ imageUrl?: string | null;
147
147
  date?: string | null;
148
148
  className?: string;
149
149
  contactComponent?: ReactNode;
@@ -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
  }
@@ -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
@@ -143,7 +143,7 @@ declare const AnyQuestionsBlock: FC<PropsWithChildren & AnyQuestionsBlockProps>;
143
143
  interface ArticleContentProps {
144
144
  title?: string;
145
145
  content?: ReactNode;
146
- imageUrl?: string;
146
+ imageUrl?: string | null;
147
147
  date?: string | null;
148
148
  className?: string;
149
149
  contactComponent?: ReactNode;
@@ -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
  }
@@ -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mayak-common-library-payload",
3
- "version": "0.1.58",
3
+ "version": "0.1.60",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",