mayak-common-library 0.0.219 → 0.0.220

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 { FC, PropsWithChildren, ReactNode, 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';
@@ -123,15 +123,12 @@ interface IAnyLevelBlock {
123
123
  }
124
124
  declare function AnyLevelBlock({ block1, block2, classes, }: IAnyLevelBlock): react_jsx_runtime.JSX.Element;
125
125
 
126
- interface IAnyQuestionsBlock {
126
+ interface AnyQuestionsBlockProps {
127
127
  worker?: IWorker$1;
128
128
  classes?: string;
129
129
  title?: string;
130
- formatPhone: string;
131
- placeholderPhone: string;
132
- codePhone: string;
133
130
  }
134
- declare function AnyQuestionsBlock({ worker, classes, title, formatPhone, placeholderPhone, codePhone, }: IAnyQuestionsBlock): react_jsx_runtime.JSX.Element;
131
+ declare const AnyQuestionsBlock: FC<PropsWithChildren & AnyQuestionsBlockProps>;
135
132
 
136
133
  interface IArticleContent {
137
134
  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 { FC, PropsWithChildren, ReactNode, 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';
@@ -123,15 +123,12 @@ interface IAnyLevelBlock {
123
123
  }
124
124
  declare function AnyLevelBlock({ block1, block2, classes, }: IAnyLevelBlock): react_jsx_runtime.JSX.Element;
125
125
 
126
- interface IAnyQuestionsBlock {
126
+ interface AnyQuestionsBlockProps {
127
127
  worker?: IWorker$1;
128
128
  classes?: string;
129
129
  title?: string;
130
- formatPhone: string;
131
- placeholderPhone: string;
132
- codePhone: string;
133
130
  }
134
- declare function AnyQuestionsBlock({ worker, classes, title, formatPhone, placeholderPhone, codePhone, }: IAnyQuestionsBlock): react_jsx_runtime.JSX.Element;
131
+ declare const AnyQuestionsBlock: FC<PropsWithChildren & AnyQuestionsBlockProps>;
135
132
 
136
133
  interface IArticleContent {
137
134
  title?: string;