mayak-common-library 0.0.219 → 0.0.221

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
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
- import { FC, ReactNode, PropsWithChildren, MouseEventHandler, MouseEvent, ReactElement } from 'react';
3
+ import { ReactNode, FC, PropsWithChildren, MouseEventHandler, MouseEvent, ReactElement } from 'react';
4
4
  import { TypographyProps } from '@mui/material/Typography/Typography';
5
5
  import * as zustand from 'zustand';
6
6
  import { StateCreator } from 'zustand';
@@ -75,8 +75,9 @@ interface IAboutCompanyMain {
75
75
  workerCeo?: IWorker$1;
76
76
  classes?: string;
77
77
  site?: Site;
78
+ actionButton?: ReactNode;
78
79
  }
79
- declare function AboutCompanyMain({ title, text1, text2, box, workerCeo, classes, site, }: IAboutCompanyMain): react_jsx_runtime.JSX.Element;
80
+ declare function AboutCompanyMain({ title, text1, text2, box, workerCeo, classes, site, actionButton, }: IAboutCompanyMain): react_jsx_runtime.JSX.Element;
80
81
 
81
82
  interface IBox {
82
83
  title?: string;
@@ -93,6 +94,7 @@ interface IAboutUsFirstBlockProps {
93
94
  text3?: string;
94
95
  textWithBorder?: string;
95
96
  box?: IBox;
97
+ actionButton?: ReactNode;
96
98
  }
97
99
  declare function AboutUsFirstBlock({ classes, box, text1, text2, text3, textWithBorder, title, }: IAboutUsFirstBlockProps): react_jsx_runtime.JSX.Element;
98
100
 
@@ -123,15 +125,12 @@ interface IAnyLevelBlock {
123
125
  }
124
126
  declare function AnyLevelBlock({ block1, block2, classes, }: IAnyLevelBlock): react_jsx_runtime.JSX.Element;
125
127
 
126
- interface IAnyQuestionsBlock {
128
+ interface AnyQuestionsBlockProps {
127
129
  worker?: IWorker$1;
128
130
  classes?: string;
129
131
  title?: string;
130
- formatPhone: string;
131
- placeholderPhone: string;
132
- codePhone: string;
133
132
  }
134
- declare function AnyQuestionsBlock({ worker, classes, title, formatPhone, placeholderPhone, codePhone, }: IAnyQuestionsBlock): react_jsx_runtime.JSX.Element;
133
+ declare const AnyQuestionsBlock: FC<PropsWithChildren & AnyQuestionsBlockProps>;
135
134
 
136
135
  interface IArticleContent {
137
136
  title?: string;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
- import { FC, ReactNode, PropsWithChildren, MouseEventHandler, MouseEvent, ReactElement } from 'react';
3
+ import { ReactNode, FC, PropsWithChildren, MouseEventHandler, MouseEvent, ReactElement } from 'react';
4
4
  import { TypographyProps } from '@mui/material/Typography/Typography';
5
5
  import * as zustand from 'zustand';
6
6
  import { StateCreator } from 'zustand';
@@ -75,8 +75,9 @@ interface IAboutCompanyMain {
75
75
  workerCeo?: IWorker$1;
76
76
  classes?: string;
77
77
  site?: Site;
78
+ actionButton?: ReactNode;
78
79
  }
79
- declare function AboutCompanyMain({ title, text1, text2, box, workerCeo, classes, site, }: IAboutCompanyMain): react_jsx_runtime.JSX.Element;
80
+ declare function AboutCompanyMain({ title, text1, text2, box, workerCeo, classes, site, actionButton, }: IAboutCompanyMain): react_jsx_runtime.JSX.Element;
80
81
 
81
82
  interface IBox {
82
83
  title?: string;
@@ -93,6 +94,7 @@ interface IAboutUsFirstBlockProps {
93
94
  text3?: string;
94
95
  textWithBorder?: string;
95
96
  box?: IBox;
97
+ actionButton?: ReactNode;
96
98
  }
97
99
  declare function AboutUsFirstBlock({ classes, box, text1, text2, text3, textWithBorder, title, }: IAboutUsFirstBlockProps): react_jsx_runtime.JSX.Element;
98
100
 
@@ -123,15 +125,12 @@ interface IAnyLevelBlock {
123
125
  }
124
126
  declare function AnyLevelBlock({ block1, block2, classes, }: IAnyLevelBlock): react_jsx_runtime.JSX.Element;
125
127
 
126
- interface IAnyQuestionsBlock {
128
+ interface AnyQuestionsBlockProps {
127
129
  worker?: IWorker$1;
128
130
  classes?: string;
129
131
  title?: string;
130
- formatPhone: string;
131
- placeholderPhone: string;
132
- codePhone: string;
133
132
  }
134
- declare function AnyQuestionsBlock({ worker, classes, title, formatPhone, placeholderPhone, codePhone, }: IAnyQuestionsBlock): react_jsx_runtime.JSX.Element;
133
+ declare const AnyQuestionsBlock: FC<PropsWithChildren & AnyQuestionsBlockProps>;
135
134
 
136
135
  interface IArticleContent {
137
136
  title?: string;