mayak-common-library 0.0.220 → 0.0.222
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 +6 -3
- package/dist/index.d.ts +6 -3
- package/dist/index.js +6 -6
- package/dist/index.mjs +6 -6
- package/package.json +1 -1
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, PropsWithChildren,
|
|
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
|
|
|
@@ -943,8 +945,9 @@ interface IHeaderProps {
|
|
|
943
945
|
homePage: string;
|
|
944
946
|
whatsUp?: boolean;
|
|
945
947
|
defLocale: string;
|
|
948
|
+
actionComponent?: ReactNode;
|
|
946
949
|
}
|
|
947
|
-
declare function Header({ menuItems, mainPhone, locales, site, homePage, whatsUp, defLocale, }: IHeaderProps): react_jsx_runtime.JSX.Element;
|
|
950
|
+
declare function Header({ menuItems, mainPhone, locales, site, homePage, whatsUp, defLocale, actionComponent, }: IHeaderProps): react_jsx_runtime.JSX.Element;
|
|
948
951
|
|
|
949
952
|
interface HeaderContactButtonProps {
|
|
950
953
|
onClick: MouseEventHandler<HTMLButtonElement> | undefined;
|
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, PropsWithChildren,
|
|
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
|
|
|
@@ -943,8 +945,9 @@ interface IHeaderProps {
|
|
|
943
945
|
homePage: string;
|
|
944
946
|
whatsUp?: boolean;
|
|
945
947
|
defLocale: string;
|
|
948
|
+
actionComponent?: ReactNode;
|
|
946
949
|
}
|
|
947
|
-
declare function Header({ menuItems, mainPhone, locales, site, homePage, whatsUp, defLocale, }: IHeaderProps): react_jsx_runtime.JSX.Element;
|
|
950
|
+
declare function Header({ menuItems, mainPhone, locales, site, homePage, whatsUp, defLocale, actionComponent, }: IHeaderProps): react_jsx_runtime.JSX.Element;
|
|
948
951
|
|
|
949
952
|
interface HeaderContactButtonProps {
|
|
950
953
|
onClick: MouseEventHandler<HTMLButtonElement> | undefined;
|