mayak-common-library-payload 0.1.3 → 0.1.5

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
@@ -45,36 +45,36 @@ type TitlePosition = 'center' | 'left';
45
45
 
46
46
  interface IWorker$2 {
47
47
  imageUrl?: string | null;
48
- description?: string;
49
- firstName?: string;
50
- lastName?: string;
51
- fullName?: string;
52
- position?: string;
53
- instagram?: string;
54
- facebook?: string;
55
- youTube?: string;
56
- linkedIn?: string;
57
- phone?: string;
58
- email?: string;
59
- bgImageSrc?: string;
48
+ description?: string | null;
49
+ firstName?: string | null;
50
+ lastName?: string | null;
51
+ fullName?: string | null;
52
+ position?: string | null;
53
+ instagram?: string | null;
54
+ facebook?: string | null;
55
+ youTube?: string | null;
56
+ linkedIn?: string | null;
57
+ phone?: string | null;
58
+ email?: string | null;
59
+ bgImageSrc?: string | null;
60
60
  }
61
61
  interface INumberText {
62
- number?: number;
63
- text?: string;
62
+ number?: number | null;
63
+ text?: string | null;
64
64
  }
65
65
  interface IBoxItem$6 {
66
- title?: string;
67
- label?: string;
68
- content?: ReactNode;
66
+ title?: string | null;
67
+ label?: string | null;
68
+ description?: ReactNode | null;
69
69
  }
70
70
  interface AboutCompanyMainProps {
71
- title?: string;
71
+ title?: string | null;
72
72
  content: ReactNode;
73
- box?: IBoxItem$6[];
74
- workerCeo?: IWorker$2;
73
+ box?: IBoxItem$6[] | null;
74
+ workerCeo?: IWorker$2 | null;
75
75
  className?: string;
76
76
  site?: Site;
77
- actionButton?: ReactNode;
77
+ actionButton?: ReactNode | null;
78
78
  }
79
79
  declare function AboutCompanyMain({ title, content, box, workerCeo, className, site, actionButton, }: AboutCompanyMainProps): react_jsx_runtime.JSX.Element;
80
80
 
@@ -125,7 +125,7 @@ interface IAnyLevelBlock {
125
125
  declare function AnyLevelBlock({ block1, block2, className, }: IAnyLevelBlock): react_jsx_runtime.JSX.Element;
126
126
 
127
127
  interface AnyQuestionsBlockProps {
128
- worker?: IWorker$2;
128
+ worker?: IWorker$2 | null;
129
129
  className?: string;
130
130
  title?: string;
131
131
  }
@@ -593,16 +593,16 @@ interface SocialBlockMainProps {
593
593
  declare const SocialBlockMain: FC<SocialBlockMainProps>;
594
594
 
595
595
  interface TeamWorkerBlockProps {
596
- image_url?: string;
597
- text?: string;
598
- name?: string;
599
- position?: string;
596
+ image_url?: string | null;
597
+ text?: string | null;
598
+ name?: string | null;
599
+ position?: string | null;
600
600
  social?: {
601
- path?: string;
602
- icon?: ReactNode;
603
- }[];
601
+ path?: string | null;
602
+ icon?: ReactNode | null;
603
+ }[] | null;
604
604
  turn?: 'right' | 'left';
605
- bgSrc?: string;
605
+ bgSrc?: string | null;
606
606
  }
607
607
  declare const TeamWorkerBlock: FC<TeamWorkerBlockProps>;
608
608
 
package/dist/index.d.ts CHANGED
@@ -45,36 +45,36 @@ type TitlePosition = 'center' | 'left';
45
45
 
46
46
  interface IWorker$2 {
47
47
  imageUrl?: string | null;
48
- description?: string;
49
- firstName?: string;
50
- lastName?: string;
51
- fullName?: string;
52
- position?: string;
53
- instagram?: string;
54
- facebook?: string;
55
- youTube?: string;
56
- linkedIn?: string;
57
- phone?: string;
58
- email?: string;
59
- bgImageSrc?: string;
48
+ description?: string | null;
49
+ firstName?: string | null;
50
+ lastName?: string | null;
51
+ fullName?: string | null;
52
+ position?: string | null;
53
+ instagram?: string | null;
54
+ facebook?: string | null;
55
+ youTube?: string | null;
56
+ linkedIn?: string | null;
57
+ phone?: string | null;
58
+ email?: string | null;
59
+ bgImageSrc?: string | null;
60
60
  }
61
61
  interface INumberText {
62
- number?: number;
63
- text?: string;
62
+ number?: number | null;
63
+ text?: string | null;
64
64
  }
65
65
  interface IBoxItem$6 {
66
- title?: string;
67
- label?: string;
68
- content?: ReactNode;
66
+ title?: string | null;
67
+ label?: string | null;
68
+ description?: ReactNode | null;
69
69
  }
70
70
  interface AboutCompanyMainProps {
71
- title?: string;
71
+ title?: string | null;
72
72
  content: ReactNode;
73
- box?: IBoxItem$6[];
74
- workerCeo?: IWorker$2;
73
+ box?: IBoxItem$6[] | null;
74
+ workerCeo?: IWorker$2 | null;
75
75
  className?: string;
76
76
  site?: Site;
77
- actionButton?: ReactNode;
77
+ actionButton?: ReactNode | null;
78
78
  }
79
79
  declare function AboutCompanyMain({ title, content, box, workerCeo, className, site, actionButton, }: AboutCompanyMainProps): react_jsx_runtime.JSX.Element;
80
80
 
@@ -125,7 +125,7 @@ interface IAnyLevelBlock {
125
125
  declare function AnyLevelBlock({ block1, block2, className, }: IAnyLevelBlock): react_jsx_runtime.JSX.Element;
126
126
 
127
127
  interface AnyQuestionsBlockProps {
128
- worker?: IWorker$2;
128
+ worker?: IWorker$2 | null;
129
129
  className?: string;
130
130
  title?: string;
131
131
  }
@@ -593,16 +593,16 @@ interface SocialBlockMainProps {
593
593
  declare const SocialBlockMain: FC<SocialBlockMainProps>;
594
594
 
595
595
  interface TeamWorkerBlockProps {
596
- image_url?: string;
597
- text?: string;
598
- name?: string;
599
- position?: string;
596
+ image_url?: string | null;
597
+ text?: string | null;
598
+ name?: string | null;
599
+ position?: string | null;
600
600
  social?: {
601
- path?: string;
602
- icon?: ReactNode;
603
- }[];
601
+ path?: string | null;
602
+ icon?: ReactNode | null;
603
+ }[] | null;
604
604
  turn?: 'right' | 'left';
605
- bgSrc?: string;
605
+ bgSrc?: string | null;
606
606
  }
607
607
  declare const TeamWorkerBlock: FC<TeamWorkerBlockProps>;
608
608