mayak-common-library-payload 0.2.24 → 0.2.26
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 +14 -13
- package/dist/index.d.ts +14 -13
- package/dist/index.js +4 -4
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -427,7 +427,7 @@ interface TextBlockProps {
|
|
|
427
427
|
title?: string;
|
|
428
428
|
text?: string;
|
|
429
429
|
}
|
|
430
|
-
declare const TextBlock:
|
|
430
|
+
declare const TextBlock: ({ className, text, title }: TextBlockProps) => react_jsx_runtime.JSX.Element;
|
|
431
431
|
|
|
432
432
|
declare const ThanksBlock: () => react_jsx_runtime.JSX.Element;
|
|
433
433
|
|
|
@@ -510,7 +510,7 @@ interface TextImageTileBlockProps {
|
|
|
510
510
|
actionComponent?: ReactNode;
|
|
511
511
|
turn?: 'right' | 'left' | null;
|
|
512
512
|
}
|
|
513
|
-
declare const TextImageTileBlock:
|
|
513
|
+
declare const TextImageTileBlock: ({ className, actionComponent, turn, content, title, image, }: TextImageTileBlockProps) => react_jsx_runtime.JSX.Element;
|
|
514
514
|
|
|
515
515
|
interface IBoxItem {
|
|
516
516
|
title?: string | null;
|
|
@@ -642,11 +642,11 @@ declare const PageContainer: FC<PropsWithChildren & {
|
|
|
642
642
|
className?: string;
|
|
643
643
|
}>;
|
|
644
644
|
|
|
645
|
-
interface VacancyContainerProps {
|
|
645
|
+
interface VacancyContainerProps extends PropsWithChildren {
|
|
646
646
|
title?: string;
|
|
647
647
|
className?: string;
|
|
648
648
|
}
|
|
649
|
-
declare const VacancyContainer:
|
|
649
|
+
declare const VacancyContainer: ({ className, children, title, }: VacancyContainerProps) => react_jsx_runtime.JSX.Element;
|
|
650
650
|
|
|
651
651
|
interface CardsCatalogProps {
|
|
652
652
|
className?: string;
|
|
@@ -696,7 +696,7 @@ interface HeaderContactButtonProps {
|
|
|
696
696
|
title: string;
|
|
697
697
|
homePage: string;
|
|
698
698
|
}
|
|
699
|
-
declare const _default: react.
|
|
699
|
+
declare const _default: react.MemoExoticComponent<(props: HeaderContactButtonProps) => react_jsx_runtime.JSX.Element>;
|
|
700
700
|
|
|
701
701
|
interface FooterProps {
|
|
702
702
|
instagram?: string | null;
|
|
@@ -713,9 +713,10 @@ interface FooterProps {
|
|
|
713
713
|
}
|
|
714
714
|
declare const Footer: ({ instagram, facebook, youtube, linkedIn, menuItems, mainPhone, site, city, location, bottomText, logoPart, }: FooterProps) => react_jsx_runtime.JSX.Element;
|
|
715
715
|
|
|
716
|
-
|
|
716
|
+
interface HeaderMobProps extends PropsWithChildren {
|
|
717
717
|
locale: string;
|
|
718
|
-
}
|
|
718
|
+
}
|
|
719
|
+
declare const HeaderMob: ({ children, locale }: HeaderMobProps) => react_jsx_runtime.JSX.Element;
|
|
719
720
|
|
|
720
721
|
interface IMainBoxProps {
|
|
721
722
|
children: ReactNode;
|
|
@@ -731,12 +732,12 @@ interface LogoBlockProps {
|
|
|
731
732
|
}
|
|
732
733
|
declare const LogoBlock: ({ className, small, locale, oneLogo, }: LogoBlockProps) => react_jsx_runtime.JSX.Element;
|
|
733
734
|
|
|
734
|
-
interface BadgeProps {
|
|
735
|
+
interface BadgeProps extends PropsWithChildren {
|
|
735
736
|
content?: number;
|
|
736
737
|
className?: string;
|
|
737
738
|
showZero?: boolean;
|
|
738
739
|
}
|
|
739
|
-
declare const Badge:
|
|
740
|
+
declare const Badge: ({ content, children, className, showZero }: BadgeProps) => react_jsx_runtime.JSX.Element;
|
|
740
741
|
|
|
741
742
|
interface CustomCheckboxProps {
|
|
742
743
|
labelProps?: FormControlLabelProps;
|
|
@@ -954,7 +955,7 @@ interface CustomButtonProps extends PropsWithChildren {
|
|
|
954
955
|
onClick?: () => void;
|
|
955
956
|
endIcon?: ReactNode;
|
|
956
957
|
}
|
|
957
|
-
declare const Button:
|
|
958
|
+
declare const Button: (props: CustomButtonProps) => react_jsx_runtime.JSX.Element;
|
|
958
959
|
|
|
959
960
|
interface ButtonDarkProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
960
961
|
title: string;
|
|
@@ -1024,7 +1025,7 @@ interface ToggleButtonsMultipleProps {
|
|
|
1024
1025
|
value?: any;
|
|
1025
1026
|
exclusive?: boolean;
|
|
1026
1027
|
}
|
|
1027
|
-
declare const ToggleButtonsWithLabel:
|
|
1028
|
+
declare const ToggleButtonsWithLabel: (props: ToggleButtonsMultipleProps) => react_jsx_runtime.JSX.Element;
|
|
1028
1029
|
|
|
1029
1030
|
declare const ScrollButton: () => react_jsx_runtime.JSX.Element;
|
|
1030
1031
|
|
|
@@ -1170,7 +1171,7 @@ interface IArea {
|
|
|
1170
1171
|
interface AreaCardProps extends IArea {
|
|
1171
1172
|
className?: string;
|
|
1172
1173
|
}
|
|
1173
|
-
declare const AreaCard:
|
|
1174
|
+
declare const AreaCard: ({ imageUrl, className, title, whiteBottom, }: AreaCardProps) => react_jsx_runtime.JSX.Element;
|
|
1174
1175
|
|
|
1175
1176
|
interface IArticle {
|
|
1176
1177
|
imageUrl?: string | null;
|
|
@@ -1217,7 +1218,7 @@ interface DeveloperCardProps {
|
|
|
1217
1218
|
img?: string;
|
|
1218
1219
|
title?: string;
|
|
1219
1220
|
}
|
|
1220
|
-
declare const DeveloperCard:
|
|
1221
|
+
declare const DeveloperCard: ({ className, title, img }: DeveloperCardProps) => react_jsx_runtime.JSX.Element;
|
|
1221
1222
|
|
|
1222
1223
|
declare const Dialog: _emotion_styled.StyledComponent<_mui_material.DialogProps & _mui_system.MUIStyledCommonProps<_mui_material.Theme>, {}, {}>;
|
|
1223
1224
|
|
package/dist/index.d.ts
CHANGED
|
@@ -427,7 +427,7 @@ interface TextBlockProps {
|
|
|
427
427
|
title?: string;
|
|
428
428
|
text?: string;
|
|
429
429
|
}
|
|
430
|
-
declare const TextBlock:
|
|
430
|
+
declare const TextBlock: ({ className, text, title }: TextBlockProps) => react_jsx_runtime.JSX.Element;
|
|
431
431
|
|
|
432
432
|
declare const ThanksBlock: () => react_jsx_runtime.JSX.Element;
|
|
433
433
|
|
|
@@ -510,7 +510,7 @@ interface TextImageTileBlockProps {
|
|
|
510
510
|
actionComponent?: ReactNode;
|
|
511
511
|
turn?: 'right' | 'left' | null;
|
|
512
512
|
}
|
|
513
|
-
declare const TextImageTileBlock:
|
|
513
|
+
declare const TextImageTileBlock: ({ className, actionComponent, turn, content, title, image, }: TextImageTileBlockProps) => react_jsx_runtime.JSX.Element;
|
|
514
514
|
|
|
515
515
|
interface IBoxItem {
|
|
516
516
|
title?: string | null;
|
|
@@ -642,11 +642,11 @@ declare const PageContainer: FC<PropsWithChildren & {
|
|
|
642
642
|
className?: string;
|
|
643
643
|
}>;
|
|
644
644
|
|
|
645
|
-
interface VacancyContainerProps {
|
|
645
|
+
interface VacancyContainerProps extends PropsWithChildren {
|
|
646
646
|
title?: string;
|
|
647
647
|
className?: string;
|
|
648
648
|
}
|
|
649
|
-
declare const VacancyContainer:
|
|
649
|
+
declare const VacancyContainer: ({ className, children, title, }: VacancyContainerProps) => react_jsx_runtime.JSX.Element;
|
|
650
650
|
|
|
651
651
|
interface CardsCatalogProps {
|
|
652
652
|
className?: string;
|
|
@@ -696,7 +696,7 @@ interface HeaderContactButtonProps {
|
|
|
696
696
|
title: string;
|
|
697
697
|
homePage: string;
|
|
698
698
|
}
|
|
699
|
-
declare const _default: react.
|
|
699
|
+
declare const _default: react.MemoExoticComponent<(props: HeaderContactButtonProps) => react_jsx_runtime.JSX.Element>;
|
|
700
700
|
|
|
701
701
|
interface FooterProps {
|
|
702
702
|
instagram?: string | null;
|
|
@@ -713,9 +713,10 @@ interface FooterProps {
|
|
|
713
713
|
}
|
|
714
714
|
declare const Footer: ({ instagram, facebook, youtube, linkedIn, menuItems, mainPhone, site, city, location, bottomText, logoPart, }: FooterProps) => react_jsx_runtime.JSX.Element;
|
|
715
715
|
|
|
716
|
-
|
|
716
|
+
interface HeaderMobProps extends PropsWithChildren {
|
|
717
717
|
locale: string;
|
|
718
|
-
}
|
|
718
|
+
}
|
|
719
|
+
declare const HeaderMob: ({ children, locale }: HeaderMobProps) => react_jsx_runtime.JSX.Element;
|
|
719
720
|
|
|
720
721
|
interface IMainBoxProps {
|
|
721
722
|
children: ReactNode;
|
|
@@ -731,12 +732,12 @@ interface LogoBlockProps {
|
|
|
731
732
|
}
|
|
732
733
|
declare const LogoBlock: ({ className, small, locale, oneLogo, }: LogoBlockProps) => react_jsx_runtime.JSX.Element;
|
|
733
734
|
|
|
734
|
-
interface BadgeProps {
|
|
735
|
+
interface BadgeProps extends PropsWithChildren {
|
|
735
736
|
content?: number;
|
|
736
737
|
className?: string;
|
|
737
738
|
showZero?: boolean;
|
|
738
739
|
}
|
|
739
|
-
declare const Badge:
|
|
740
|
+
declare const Badge: ({ content, children, className, showZero }: BadgeProps) => react_jsx_runtime.JSX.Element;
|
|
740
741
|
|
|
741
742
|
interface CustomCheckboxProps {
|
|
742
743
|
labelProps?: FormControlLabelProps;
|
|
@@ -954,7 +955,7 @@ interface CustomButtonProps extends PropsWithChildren {
|
|
|
954
955
|
onClick?: () => void;
|
|
955
956
|
endIcon?: ReactNode;
|
|
956
957
|
}
|
|
957
|
-
declare const Button:
|
|
958
|
+
declare const Button: (props: CustomButtonProps) => react_jsx_runtime.JSX.Element;
|
|
958
959
|
|
|
959
960
|
interface ButtonDarkProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
960
961
|
title: string;
|
|
@@ -1024,7 +1025,7 @@ interface ToggleButtonsMultipleProps {
|
|
|
1024
1025
|
value?: any;
|
|
1025
1026
|
exclusive?: boolean;
|
|
1026
1027
|
}
|
|
1027
|
-
declare const ToggleButtonsWithLabel:
|
|
1028
|
+
declare const ToggleButtonsWithLabel: (props: ToggleButtonsMultipleProps) => react_jsx_runtime.JSX.Element;
|
|
1028
1029
|
|
|
1029
1030
|
declare const ScrollButton: () => react_jsx_runtime.JSX.Element;
|
|
1030
1031
|
|
|
@@ -1170,7 +1171,7 @@ interface IArea {
|
|
|
1170
1171
|
interface AreaCardProps extends IArea {
|
|
1171
1172
|
className?: string;
|
|
1172
1173
|
}
|
|
1173
|
-
declare const AreaCard:
|
|
1174
|
+
declare const AreaCard: ({ imageUrl, className, title, whiteBottom, }: AreaCardProps) => react_jsx_runtime.JSX.Element;
|
|
1174
1175
|
|
|
1175
1176
|
interface IArticle {
|
|
1176
1177
|
imageUrl?: string | null;
|
|
@@ -1217,7 +1218,7 @@ interface DeveloperCardProps {
|
|
|
1217
1218
|
img?: string;
|
|
1218
1219
|
title?: string;
|
|
1219
1220
|
}
|
|
1220
|
-
declare const DeveloperCard:
|
|
1221
|
+
declare const DeveloperCard: ({ className, title, img }: DeveloperCardProps) => react_jsx_runtime.JSX.Element;
|
|
1221
1222
|
|
|
1222
1223
|
declare const Dialog: _emotion_styled.StyledComponent<_mui_material.DialogProps & _mui_system.MUIStyledCommonProps<_mui_material.Theme>, {}, {}>;
|
|
1223
1224
|
|