mayak-common-library-payload 0.1.24 → 0.1.25
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 +21 -34
- package/dist/index.d.ts +21 -34
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- 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 { ReactNode, FC,
|
|
3
|
+
import { PropsWithChildren, ReactNode, FC, MouseEventHandler, ReactElement, ButtonHTMLAttributes, MouseEvent, DetailedHTMLProps, InputHTMLAttributes, TextareaHTMLAttributes } from 'react';
|
|
4
4
|
import * as zustand from 'zustand';
|
|
5
5
|
import { StateCreator } from 'zustand';
|
|
6
6
|
import { CheckboxProps } from '@mui/material/Checkbox';
|
|
@@ -42,7 +42,15 @@ declare const SITE: {
|
|
|
42
42
|
};
|
|
43
43
|
type Site = (typeof SITE)[keyof typeof SITE];
|
|
44
44
|
|
|
45
|
-
interface
|
|
45
|
+
interface HProps extends PropsWithChildren {
|
|
46
|
+
className?: string;
|
|
47
|
+
smallerXs?: boolean;
|
|
48
|
+
leftXs?: boolean;
|
|
49
|
+
bold?: boolean;
|
|
50
|
+
uppercase?: boolean;
|
|
51
|
+
catalog?: boolean;
|
|
52
|
+
}
|
|
53
|
+
interface IWorker$1 {
|
|
46
54
|
imageUrl?: string | null;
|
|
47
55
|
description?: ReactNode | null;
|
|
48
56
|
fullName?: string | null;
|
|
@@ -55,6 +63,7 @@ interface IWorker$2 {
|
|
|
55
63
|
email?: string | null;
|
|
56
64
|
bgImage?: string | null;
|
|
57
65
|
}
|
|
66
|
+
|
|
58
67
|
interface INumberText {
|
|
59
68
|
number?: number | null;
|
|
60
69
|
text?: string | null;
|
|
@@ -68,7 +77,7 @@ interface AboutCompanyMainProps {
|
|
|
68
77
|
title?: string | null;
|
|
69
78
|
content: ReactNode;
|
|
70
79
|
box?: IBoxItem$6[] | null;
|
|
71
|
-
workerCeo?: IWorker$
|
|
80
|
+
workerCeo?: IWorker$1 | null;
|
|
72
81
|
className?: string;
|
|
73
82
|
site?: Site;
|
|
74
83
|
actionButton?: ReactNode | null;
|
|
@@ -120,7 +129,7 @@ interface IAnyLevelBlock {
|
|
|
120
129
|
declare function AnyLevelBlock({ block1, block2, className, }: IAnyLevelBlock): react_jsx_runtime.JSX.Element;
|
|
121
130
|
|
|
122
131
|
interface AnyQuestionsBlockProps {
|
|
123
|
-
worker?: IWorker$
|
|
132
|
+
worker?: IWorker$1 | null;
|
|
124
133
|
className?: string;
|
|
125
134
|
title?: string;
|
|
126
135
|
}
|
|
@@ -271,7 +280,7 @@ interface BlockImagesProps {
|
|
|
271
280
|
}
|
|
272
281
|
declare function BlockImages({ className, images, title, }: BlockImagesProps): react_jsx_runtime.JSX.Element;
|
|
273
282
|
|
|
274
|
-
interface IWorker
|
|
283
|
+
interface IWorker {
|
|
275
284
|
imageUrl?: string | null;
|
|
276
285
|
description?: ReactNode | null;
|
|
277
286
|
firstName?: string | null;
|
|
@@ -288,33 +297,20 @@ interface IWorker$1 {
|
|
|
288
297
|
interface BlockOurTeamProps {
|
|
289
298
|
title?: string | null;
|
|
290
299
|
text?: string | null;
|
|
291
|
-
team?: IWorker
|
|
300
|
+
team?: IWorker[] | null;
|
|
292
301
|
className?: string;
|
|
293
302
|
full?: boolean;
|
|
294
303
|
}
|
|
295
304
|
declare const BlockOurTeam: FC<BlockOurTeamProps>;
|
|
296
305
|
|
|
297
|
-
interface IWorker {
|
|
298
|
-
imageUrl?: string;
|
|
299
|
-
description?: string;
|
|
300
|
-
firstName?: string;
|
|
301
|
-
lastName?: string;
|
|
302
|
-
fullName?: string;
|
|
303
|
-
position?: string;
|
|
304
|
-
instagram?: string;
|
|
305
|
-
facebook?: string;
|
|
306
|
-
youTube?: string;
|
|
307
|
-
linkedIn?: string;
|
|
308
|
-
phone?: string;
|
|
309
|
-
email?: string;
|
|
310
|
-
}
|
|
311
306
|
interface IBlockOurTeam {
|
|
312
307
|
title?: string;
|
|
313
|
-
text?: string;
|
|
314
|
-
|
|
315
|
-
|
|
308
|
+
text?: string | null;
|
|
309
|
+
btnLabel?: string;
|
|
310
|
+
team?: IWorker$1[];
|
|
311
|
+
className?: string | null;
|
|
316
312
|
}
|
|
317
|
-
declare function BlockOurTeamGrid({ team, title, text, className, }: IBlockOurTeam): react_jsx_runtime.JSX.Element | null;
|
|
313
|
+
declare function BlockOurTeamGrid({ team, title, text, className, btnLabel, }: IBlockOurTeam): react_jsx_runtime.JSX.Element | null;
|
|
318
314
|
|
|
319
315
|
interface CallConsultProps {
|
|
320
316
|
className?: string;
|
|
@@ -1460,15 +1456,6 @@ interface IPaginatorSimpleProps {
|
|
|
1460
1456
|
}
|
|
1461
1457
|
declare function PaginatorSimple({ total }: IPaginatorSimpleProps): react_jsx_runtime.JSX.Element;
|
|
1462
1458
|
|
|
1463
|
-
interface HProps extends PropsWithChildren {
|
|
1464
|
-
className?: string;
|
|
1465
|
-
smallerXs?: boolean;
|
|
1466
|
-
leftXs?: boolean;
|
|
1467
|
-
bold?: boolean;
|
|
1468
|
-
uppercase?: boolean;
|
|
1469
|
-
catalog?: boolean;
|
|
1470
|
-
}
|
|
1471
|
-
|
|
1472
1459
|
declare const H1: FC<HProps>;
|
|
1473
1460
|
|
|
1474
1461
|
declare const H2: FC<HProps>;
|
|
@@ -1539,7 +1526,7 @@ interface AreaCardProps extends IArea {
|
|
|
1539
1526
|
declare const AreaCard: FC<AreaCardProps>;
|
|
1540
1527
|
|
|
1541
1528
|
interface IRealtorCard {
|
|
1542
|
-
realtor?: IWorker$
|
|
1529
|
+
realtor?: IWorker$1;
|
|
1543
1530
|
site: Site;
|
|
1544
1531
|
actionComponent?: ReactNode;
|
|
1545
1532
|
}
|
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 { ReactNode, FC,
|
|
3
|
+
import { PropsWithChildren, ReactNode, FC, MouseEventHandler, ReactElement, ButtonHTMLAttributes, MouseEvent, DetailedHTMLProps, InputHTMLAttributes, TextareaHTMLAttributes } from 'react';
|
|
4
4
|
import * as zustand from 'zustand';
|
|
5
5
|
import { StateCreator } from 'zustand';
|
|
6
6
|
import { CheckboxProps } from '@mui/material/Checkbox';
|
|
@@ -42,7 +42,15 @@ declare const SITE: {
|
|
|
42
42
|
};
|
|
43
43
|
type Site = (typeof SITE)[keyof typeof SITE];
|
|
44
44
|
|
|
45
|
-
interface
|
|
45
|
+
interface HProps extends PropsWithChildren {
|
|
46
|
+
className?: string;
|
|
47
|
+
smallerXs?: boolean;
|
|
48
|
+
leftXs?: boolean;
|
|
49
|
+
bold?: boolean;
|
|
50
|
+
uppercase?: boolean;
|
|
51
|
+
catalog?: boolean;
|
|
52
|
+
}
|
|
53
|
+
interface IWorker$1 {
|
|
46
54
|
imageUrl?: string | null;
|
|
47
55
|
description?: ReactNode | null;
|
|
48
56
|
fullName?: string | null;
|
|
@@ -55,6 +63,7 @@ interface IWorker$2 {
|
|
|
55
63
|
email?: string | null;
|
|
56
64
|
bgImage?: string | null;
|
|
57
65
|
}
|
|
66
|
+
|
|
58
67
|
interface INumberText {
|
|
59
68
|
number?: number | null;
|
|
60
69
|
text?: string | null;
|
|
@@ -68,7 +77,7 @@ interface AboutCompanyMainProps {
|
|
|
68
77
|
title?: string | null;
|
|
69
78
|
content: ReactNode;
|
|
70
79
|
box?: IBoxItem$6[] | null;
|
|
71
|
-
workerCeo?: IWorker$
|
|
80
|
+
workerCeo?: IWorker$1 | null;
|
|
72
81
|
className?: string;
|
|
73
82
|
site?: Site;
|
|
74
83
|
actionButton?: ReactNode | null;
|
|
@@ -120,7 +129,7 @@ interface IAnyLevelBlock {
|
|
|
120
129
|
declare function AnyLevelBlock({ block1, block2, className, }: IAnyLevelBlock): react_jsx_runtime.JSX.Element;
|
|
121
130
|
|
|
122
131
|
interface AnyQuestionsBlockProps {
|
|
123
|
-
worker?: IWorker$
|
|
132
|
+
worker?: IWorker$1 | null;
|
|
124
133
|
className?: string;
|
|
125
134
|
title?: string;
|
|
126
135
|
}
|
|
@@ -271,7 +280,7 @@ interface BlockImagesProps {
|
|
|
271
280
|
}
|
|
272
281
|
declare function BlockImages({ className, images, title, }: BlockImagesProps): react_jsx_runtime.JSX.Element;
|
|
273
282
|
|
|
274
|
-
interface IWorker
|
|
283
|
+
interface IWorker {
|
|
275
284
|
imageUrl?: string | null;
|
|
276
285
|
description?: ReactNode | null;
|
|
277
286
|
firstName?: string | null;
|
|
@@ -288,33 +297,20 @@ interface IWorker$1 {
|
|
|
288
297
|
interface BlockOurTeamProps {
|
|
289
298
|
title?: string | null;
|
|
290
299
|
text?: string | null;
|
|
291
|
-
team?: IWorker
|
|
300
|
+
team?: IWorker[] | null;
|
|
292
301
|
className?: string;
|
|
293
302
|
full?: boolean;
|
|
294
303
|
}
|
|
295
304
|
declare const BlockOurTeam: FC<BlockOurTeamProps>;
|
|
296
305
|
|
|
297
|
-
interface IWorker {
|
|
298
|
-
imageUrl?: string;
|
|
299
|
-
description?: string;
|
|
300
|
-
firstName?: string;
|
|
301
|
-
lastName?: string;
|
|
302
|
-
fullName?: string;
|
|
303
|
-
position?: string;
|
|
304
|
-
instagram?: string;
|
|
305
|
-
facebook?: string;
|
|
306
|
-
youTube?: string;
|
|
307
|
-
linkedIn?: string;
|
|
308
|
-
phone?: string;
|
|
309
|
-
email?: string;
|
|
310
|
-
}
|
|
311
306
|
interface IBlockOurTeam {
|
|
312
307
|
title?: string;
|
|
313
|
-
text?: string;
|
|
314
|
-
|
|
315
|
-
|
|
308
|
+
text?: string | null;
|
|
309
|
+
btnLabel?: string;
|
|
310
|
+
team?: IWorker$1[];
|
|
311
|
+
className?: string | null;
|
|
316
312
|
}
|
|
317
|
-
declare function BlockOurTeamGrid({ team, title, text, className, }: IBlockOurTeam): react_jsx_runtime.JSX.Element | null;
|
|
313
|
+
declare function BlockOurTeamGrid({ team, title, text, className, btnLabel, }: IBlockOurTeam): react_jsx_runtime.JSX.Element | null;
|
|
318
314
|
|
|
319
315
|
interface CallConsultProps {
|
|
320
316
|
className?: string;
|
|
@@ -1460,15 +1456,6 @@ interface IPaginatorSimpleProps {
|
|
|
1460
1456
|
}
|
|
1461
1457
|
declare function PaginatorSimple({ total }: IPaginatorSimpleProps): react_jsx_runtime.JSX.Element;
|
|
1462
1458
|
|
|
1463
|
-
interface HProps extends PropsWithChildren {
|
|
1464
|
-
className?: string;
|
|
1465
|
-
smallerXs?: boolean;
|
|
1466
|
-
leftXs?: boolean;
|
|
1467
|
-
bold?: boolean;
|
|
1468
|
-
uppercase?: boolean;
|
|
1469
|
-
catalog?: boolean;
|
|
1470
|
-
}
|
|
1471
|
-
|
|
1472
1459
|
declare const H1: FC<HProps>;
|
|
1473
1460
|
|
|
1474
1461
|
declare const H2: FC<HProps>;
|
|
@@ -1539,7 +1526,7 @@ interface AreaCardProps extends IArea {
|
|
|
1539
1526
|
declare const AreaCard: FC<AreaCardProps>;
|
|
1540
1527
|
|
|
1541
1528
|
interface IRealtorCard {
|
|
1542
|
-
realtor?: IWorker$
|
|
1529
|
+
realtor?: IWorker$1;
|
|
1543
1530
|
site: Site;
|
|
1544
1531
|
actionComponent?: ReactNode;
|
|
1545
1532
|
}
|