mayak-common-library 0.0.107 → 0.0.108
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.js +6 -0
- package/dist/index.mjs +3 -0
- package/package.json +1 -1
- package/dist/index.d.mts +0 -280
- package/dist/index.d.ts +0 -280
package/dist/index.js
CHANGED
|
@@ -700,8 +700,11 @@ __export(src_exports, {
|
|
|
700
700
|
ImageContainer: () => ImageContainer_default,
|
|
701
701
|
Input: () => Input_default,
|
|
702
702
|
JobCard: () => JobCard_default,
|
|
703
|
+
LinkOut: () => LinkOut_default,
|
|
703
704
|
List: () => List_default,
|
|
704
705
|
ListItem: () => ListItem_default,
|
|
706
|
+
LocaleSwitcherToggle: () => LocaleSwitcherToggle_default,
|
|
707
|
+
LogoBlock: () => LogoBlock_default,
|
|
705
708
|
MapIcon: () => map_search_default,
|
|
706
709
|
MenuItem: () => MenuItem_default,
|
|
707
710
|
PhoneInput: () => PhoneInput_default,
|
|
@@ -3350,8 +3353,11 @@ var Header_default = Header;
|
|
|
3350
3353
|
ImageContainer,
|
|
3351
3354
|
Input,
|
|
3352
3355
|
JobCard,
|
|
3356
|
+
LinkOut,
|
|
3353
3357
|
List,
|
|
3354
3358
|
ListItem,
|
|
3359
|
+
LocaleSwitcherToggle,
|
|
3360
|
+
LogoBlock,
|
|
3355
3361
|
MapIcon,
|
|
3356
3362
|
MenuItem,
|
|
3357
3363
|
PhoneInput,
|
package/dist/index.mjs
CHANGED
|
@@ -2665,8 +2665,11 @@ export {
|
|
|
2665
2665
|
ImageContainer_default as ImageContainer,
|
|
2666
2666
|
Input_default as Input,
|
|
2667
2667
|
JobCard_default as JobCard,
|
|
2668
|
+
LinkOut_default as LinkOut,
|
|
2668
2669
|
List_default as List,
|
|
2669
2670
|
ListItem_default as ListItem,
|
|
2671
|
+
LocaleSwitcherToggle_default as LocaleSwitcherToggle,
|
|
2672
|
+
LogoBlock_default as LogoBlock,
|
|
2670
2673
|
map_search_default as MapIcon,
|
|
2671
2674
|
MenuItem_default as MenuItem,
|
|
2672
2675
|
PhoneInput_default as PhoneInput,
|
package/package.json
CHANGED
package/dist/index.d.mts
DELETED
|
@@ -1,280 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { ButtonProps } from '@mui/material/Button';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import React__default, { FC, PropsWithChildren, ReactElement, MouseEvent } from 'react';
|
|
5
|
-
import { IconButtonProps } from '@mui/material/IconButton/IconButton';
|
|
6
|
-
import { SelectProps } from '@mui/material/Select/Select';
|
|
7
|
-
import { SystemStyleObject } from '@mui/system/styleFunctionSx/styleFunctionSx';
|
|
8
|
-
import { ChipProps, ToggleButtonGroupProps as ToggleButtonGroupProps$1, ToggleButtonProps } from '@mui/material';
|
|
9
|
-
import { BadgeProps } from '@mui/material/Badge/Badge';
|
|
10
|
-
import { AvatarProps } from '@mui/material/Avatar/Avatar';
|
|
11
|
-
import { TypographyOwnProps } from '@mui/material/Typography';
|
|
12
|
-
import { RadioProps } from '@mui/material/Radio';
|
|
13
|
-
import { FormControlLabelProps } from '@mui/material/FormControlLabel';
|
|
14
|
-
import { RadioGroupProps } from '@mui/material/RadioGroup';
|
|
15
|
-
import { SwitchProps } from '@mui/material/Switch/Switch';
|
|
16
|
-
import { SliderProps } from '@mui/material/Slider/Slider';
|
|
17
|
-
import { MenuItemProps } from '@mui/material/MenuItem/MenuItem';
|
|
18
|
-
import { InputProps } from '@mui/material/Input';
|
|
19
|
-
import { PatternFormatProps } from 'react-number-format/types/types';
|
|
20
|
-
import { UseControllerProps, FieldValues } from 'react-hook-form';
|
|
21
|
-
export { default as MapIcon } from '@/icons/map-search.svg';
|
|
22
|
-
import { ListProps } from '@mui/material/List/List';
|
|
23
|
-
import { CheckboxProps } from '@mui/material/Checkbox';
|
|
24
|
-
import { FormControlLabelProps as FormControlLabelProps$1 } from '@mui/material/FormControlLabel/FormControlLabel';
|
|
25
|
-
|
|
26
|
-
declare function Greet(props: {
|
|
27
|
-
name: string;
|
|
28
|
-
}): react_jsx_runtime.JSX.Element;
|
|
29
|
-
|
|
30
|
-
interface CustomButtonProps extends ButtonProps, PropsWithChildren {
|
|
31
|
-
bolt?: boolean;
|
|
32
|
-
border?: boolean;
|
|
33
|
-
base?: boolean;
|
|
34
|
-
small?: boolean;
|
|
35
|
-
large?: boolean;
|
|
36
|
-
medium?: boolean;
|
|
37
|
-
}
|
|
38
|
-
declare const Button: FC<CustomButtonProps>;
|
|
39
|
-
|
|
40
|
-
interface CustomIconButtonProps extends IconButtonProps, PropsWithChildren {
|
|
41
|
-
}
|
|
42
|
-
declare const IconButton: FC<CustomIconButtonProps>;
|
|
43
|
-
|
|
44
|
-
declare const CustomSelect: FC<SelectProps & PropsWithChildren>;
|
|
45
|
-
|
|
46
|
-
interface SelectProProps {
|
|
47
|
-
placeholder?: string;
|
|
48
|
-
childTitle?: ReactElement;
|
|
49
|
-
colorBorder?: boolean;
|
|
50
|
-
clickComponent?: ReactElement;
|
|
51
|
-
fullContainerWidth?: boolean;
|
|
52
|
-
overButton?: boolean;
|
|
53
|
-
small?: boolean;
|
|
54
|
-
fullWidth?: boolean;
|
|
55
|
-
freeChildWidth?: boolean;
|
|
56
|
-
disableCloseButton?: boolean;
|
|
57
|
-
openUp?: boolean;
|
|
58
|
-
intermediateChild?: ReactElement;
|
|
59
|
-
actionsComponent?: ReactElement;
|
|
60
|
-
accentBgColor?: true;
|
|
61
|
-
paperSx?: SystemStyleObject;
|
|
62
|
-
childContainerSx?: SystemStyleObject;
|
|
63
|
-
reverseAnimation?: boolean;
|
|
64
|
-
containerSx?: SystemStyleObject;
|
|
65
|
-
}
|
|
66
|
-
declare const SelectPro: FC<PropsWithChildren & SelectProProps>;
|
|
67
|
-
|
|
68
|
-
interface CustomChipProps {
|
|
69
|
-
view: "black" | "line" | "white" | "silver";
|
|
70
|
-
}
|
|
71
|
-
declare const Chip: FC<ChipProps & CustomChipProps>;
|
|
72
|
-
|
|
73
|
-
declare const CustomBadge: (props: BadgeProps) => react_jsx_runtime.JSX.Element;
|
|
74
|
-
|
|
75
|
-
declare const CustomAvatar: (props: AvatarProps) => react_jsx_runtime.JSX.Element;
|
|
76
|
-
|
|
77
|
-
declare const Text: FC<TypographyOwnProps & PropsWithChildren>;
|
|
78
|
-
|
|
79
|
-
interface CustomRadioProps {
|
|
80
|
-
labelProps?: FormControlLabelProps;
|
|
81
|
-
radioProps?: RadioProps;
|
|
82
|
-
label?: string;
|
|
83
|
-
value?: string;
|
|
84
|
-
}
|
|
85
|
-
declare const CustomRadio: React__default.FC<CustomRadioProps>;
|
|
86
|
-
|
|
87
|
-
declare const CustomRadioGroup: React__default.FC<RadioGroupProps & PropsWithChildren>;
|
|
88
|
-
|
|
89
|
-
interface CustomSwitchProps {
|
|
90
|
-
beforeText?: string;
|
|
91
|
-
afterText?: string;
|
|
92
|
-
}
|
|
93
|
-
declare const CustomSwitch: FC<CustomSwitchProps & SwitchProps>;
|
|
94
|
-
|
|
95
|
-
declare const CustomSlider: FC<SliderProps>;
|
|
96
|
-
|
|
97
|
-
declare const CustomMenuItem: FC<MenuItemProps & PropsWithChildren>;
|
|
98
|
-
|
|
99
|
-
interface CustomInputProps {
|
|
100
|
-
type?: "number" | "string";
|
|
101
|
-
adornmentText?: string;
|
|
102
|
-
big?: boolean;
|
|
103
|
-
}
|
|
104
|
-
declare const CustomInput: FC<CustomInputProps & InputProps>;
|
|
105
|
-
|
|
106
|
-
interface PhoneInputProps {
|
|
107
|
-
onChange: (event: {
|
|
108
|
-
target: {
|
|
109
|
-
name: string;
|
|
110
|
-
value: string;
|
|
111
|
-
};
|
|
112
|
-
}) => void;
|
|
113
|
-
name: string;
|
|
114
|
-
}
|
|
115
|
-
declare const PhoneInput: React.ForwardRefExoticComponent<PhoneInputProps & React.RefAttributes<PatternFormatProps>>;
|
|
116
|
-
|
|
117
|
-
interface FromToInputProps {
|
|
118
|
-
label?: string;
|
|
119
|
-
}
|
|
120
|
-
declare const FromToInput: FC<FromToInputProps>;
|
|
121
|
-
|
|
122
|
-
interface SearchInputProps {
|
|
123
|
-
onClick?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
124
|
-
collapse?: boolean;
|
|
125
|
-
}
|
|
126
|
-
declare const SearchInput: <T extends object>(props: SearchInputProps & UseControllerProps<T>) => react_jsx_runtime.JSX.Element;
|
|
127
|
-
|
|
128
|
-
declare const Providers: FC<PropsWithChildren>;
|
|
129
|
-
|
|
130
|
-
interface AppBarProps {
|
|
131
|
-
links: {
|
|
132
|
-
path: string;
|
|
133
|
-
title: string;
|
|
134
|
-
}[];
|
|
135
|
-
}
|
|
136
|
-
declare const AppBar: FC<AppBarProps>;
|
|
137
|
-
|
|
138
|
-
interface ImageContainerProps {
|
|
139
|
-
src: any;
|
|
140
|
-
alt: string;
|
|
141
|
-
contentful?: boolean;
|
|
142
|
-
priority?: boolean;
|
|
143
|
-
loading?: "lazy" | "eager" | undefined;
|
|
144
|
-
width?: string;
|
|
145
|
-
height?: string;
|
|
146
|
-
objectFit?: string;
|
|
147
|
-
classesWrapper?: string;
|
|
148
|
-
classesImg?: string;
|
|
149
|
-
}
|
|
150
|
-
declare const ImageContainer: FC<ImageContainerProps>;
|
|
151
|
-
|
|
152
|
-
interface CategoryCardProps {
|
|
153
|
-
image_url?: string;
|
|
154
|
-
title: string;
|
|
155
|
-
text: string;
|
|
156
|
-
link: string;
|
|
157
|
-
}
|
|
158
|
-
declare const CategoryCard: FC<CategoryCardProps>;
|
|
159
|
-
|
|
160
|
-
interface ArticleCardProps {
|
|
161
|
-
imageUrl: string;
|
|
162
|
-
title: string;
|
|
163
|
-
text: string;
|
|
164
|
-
classes?: string;
|
|
165
|
-
href: string;
|
|
166
|
-
}
|
|
167
|
-
declare const ArticleCard: FC<ArticleCardProps>;
|
|
168
|
-
|
|
169
|
-
interface JobCardProps {
|
|
170
|
-
}
|
|
171
|
-
declare const JobCard: FC<JobCardProps>;
|
|
172
|
-
|
|
173
|
-
declare const RealtorCard: () => react_jsx_runtime.JSX.Element;
|
|
174
|
-
|
|
175
|
-
declare const RealtyCard: FC;
|
|
176
|
-
|
|
177
|
-
interface TeamPersonCardProps {
|
|
178
|
-
image_url?: string;
|
|
179
|
-
name: string;
|
|
180
|
-
position: string;
|
|
181
|
-
text: string;
|
|
182
|
-
}
|
|
183
|
-
declare const TeamPersonCard: FC<TeamPersonCardProps>;
|
|
184
|
-
|
|
185
|
-
interface AutocompleteProps {
|
|
186
|
-
values: string[];
|
|
187
|
-
}
|
|
188
|
-
declare const Autocomplete: FC<AutocompleteProps & UseControllerProps<any>>;
|
|
189
|
-
|
|
190
|
-
interface BigNumberProps {
|
|
191
|
-
number?: number;
|
|
192
|
-
text?: string;
|
|
193
|
-
}
|
|
194
|
-
declare const BigNumber: FC<BigNumberProps>;
|
|
195
|
-
|
|
196
|
-
interface TextBlockProps {
|
|
197
|
-
classes?: string;
|
|
198
|
-
title: string;
|
|
199
|
-
text: string;
|
|
200
|
-
}
|
|
201
|
-
declare const TextBlock: FC<TextBlockProps>;
|
|
202
|
-
|
|
203
|
-
type TitlePosition = "center" | "left";
|
|
204
|
-
|
|
205
|
-
interface TitleBlockProps {
|
|
206
|
-
title: string;
|
|
207
|
-
titlePosition?: TitlePosition;
|
|
208
|
-
classes?: string;
|
|
209
|
-
}
|
|
210
|
-
declare const TitleBlock: FC<TitleBlockProps>;
|
|
211
|
-
|
|
212
|
-
declare const List: FC<ListProps>;
|
|
213
|
-
|
|
214
|
-
interface ListItemProps {
|
|
215
|
-
icon?: ReactElement;
|
|
216
|
-
title: string;
|
|
217
|
-
bold?: boolean;
|
|
218
|
-
onClick?: (value: string) => void;
|
|
219
|
-
value?: string;
|
|
220
|
-
}
|
|
221
|
-
declare const ListItem: FC<ListItemProps>;
|
|
222
|
-
|
|
223
|
-
type Values = {
|
|
224
|
-
value: string | number[];
|
|
225
|
-
title: string;
|
|
226
|
-
}[];
|
|
227
|
-
|
|
228
|
-
interface ToggleButtonsMultipleProps extends ToggleButtonGroupProps$1 {
|
|
229
|
-
values: Values;
|
|
230
|
-
textView?: boolean;
|
|
231
|
-
collapseOnClick?: boolean;
|
|
232
|
-
collapseParent?: () => void;
|
|
233
|
-
label?: string;
|
|
234
|
-
flexDirection?: "row" | "col";
|
|
235
|
-
fixWidth?: boolean;
|
|
236
|
-
arrayValueFormat?: boolean;
|
|
237
|
-
}
|
|
238
|
-
declare const ToggleButtonsWithLabel: <T extends FieldValues>(props: ToggleButtonsMultipleProps & UseControllerProps<T>) => react_jsx_runtime.JSX.Element;
|
|
239
|
-
|
|
240
|
-
declare const ToggleButton: FC<ToggleButtonProps & {
|
|
241
|
-
textView?: boolean;
|
|
242
|
-
}>;
|
|
243
|
-
|
|
244
|
-
interface ToggleButtonGroupProps extends ToggleButtonGroupProps$1 {
|
|
245
|
-
textView?: boolean;
|
|
246
|
-
flexDirection?: "row" | "col";
|
|
247
|
-
onChange: (event: MouseEvent<HTMLElement>, value: any) => void;
|
|
248
|
-
value: any;
|
|
249
|
-
}
|
|
250
|
-
declare const ToggleButtonGroup: FC<ToggleButtonGroupProps & PropsWithChildren>;
|
|
251
|
-
|
|
252
|
-
interface CustomCheckboxProps {
|
|
253
|
-
labelProps?: FormControlLabelProps$1;
|
|
254
|
-
checkboxProps?: CheckboxProps;
|
|
255
|
-
className?: string;
|
|
256
|
-
label?: string;
|
|
257
|
-
toggleView?: boolean;
|
|
258
|
-
}
|
|
259
|
-
declare const CustomCheckbox: FC<CustomCheckboxProps>;
|
|
260
|
-
|
|
261
|
-
interface IBannerBlock {
|
|
262
|
-
videoLink?: string;
|
|
263
|
-
bigText?: string;
|
|
264
|
-
smallText?: string;
|
|
265
|
-
classes?: string;
|
|
266
|
-
}
|
|
267
|
-
declare function BannerBlock({ bigText, smallText, classes, videoLink, }: IBannerBlock): react_jsx_runtime.JSX.Element;
|
|
268
|
-
|
|
269
|
-
type MenuItem = {
|
|
270
|
-
path: string;
|
|
271
|
-
title: string;
|
|
272
|
-
};
|
|
273
|
-
interface HeaderProps {
|
|
274
|
-
menuItems: MenuItem[];
|
|
275
|
-
mainPhone?: string;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
declare const Header: FC<HeaderProps>;
|
|
279
|
-
|
|
280
|
-
export { AppBar, ArticleCard, Autocomplete, CustomAvatar as Avatar, CustomBadge as Badge, BannerBlock, BigNumber, Button, CategoryCard, CustomCheckbox as Checkbox, Chip, FromToInput, Greet, Header, IconButton, ImageContainer, CustomInput as Input, JobCard, List, ListItem, CustomMenuItem as MenuItem, PhoneInput, Providers, CustomRadio as Radio, CustomRadioGroup as RadioGroup, RealtorCard, RealtyCard, SearchInput, CustomSelect as Select, SelectPro, CustomSlider as Slider, CustomSwitch as Switch, TeamPersonCard, Text, TextBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsWithLabel };
|
package/dist/index.d.ts
DELETED
|
@@ -1,280 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { ButtonProps } from '@mui/material/Button';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import React__default, { FC, PropsWithChildren, ReactElement, MouseEvent } from 'react';
|
|
5
|
-
import { IconButtonProps } from '@mui/material/IconButton/IconButton';
|
|
6
|
-
import { SelectProps } from '@mui/material/Select/Select';
|
|
7
|
-
import { SystemStyleObject } from '@mui/system/styleFunctionSx/styleFunctionSx';
|
|
8
|
-
import { ChipProps, ToggleButtonGroupProps as ToggleButtonGroupProps$1, ToggleButtonProps } from '@mui/material';
|
|
9
|
-
import { BadgeProps } from '@mui/material/Badge/Badge';
|
|
10
|
-
import { AvatarProps } from '@mui/material/Avatar/Avatar';
|
|
11
|
-
import { TypographyOwnProps } from '@mui/material/Typography';
|
|
12
|
-
import { RadioProps } from '@mui/material/Radio';
|
|
13
|
-
import { FormControlLabelProps } from '@mui/material/FormControlLabel';
|
|
14
|
-
import { RadioGroupProps } from '@mui/material/RadioGroup';
|
|
15
|
-
import { SwitchProps } from '@mui/material/Switch/Switch';
|
|
16
|
-
import { SliderProps } from '@mui/material/Slider/Slider';
|
|
17
|
-
import { MenuItemProps } from '@mui/material/MenuItem/MenuItem';
|
|
18
|
-
import { InputProps } from '@mui/material/Input';
|
|
19
|
-
import { PatternFormatProps } from 'react-number-format/types/types';
|
|
20
|
-
import { UseControllerProps, FieldValues } from 'react-hook-form';
|
|
21
|
-
export { default as MapIcon } from '@/icons/map-search.svg';
|
|
22
|
-
import { ListProps } from '@mui/material/List/List';
|
|
23
|
-
import { CheckboxProps } from '@mui/material/Checkbox';
|
|
24
|
-
import { FormControlLabelProps as FormControlLabelProps$1 } from '@mui/material/FormControlLabel/FormControlLabel';
|
|
25
|
-
|
|
26
|
-
declare function Greet(props: {
|
|
27
|
-
name: string;
|
|
28
|
-
}): react_jsx_runtime.JSX.Element;
|
|
29
|
-
|
|
30
|
-
interface CustomButtonProps extends ButtonProps, PropsWithChildren {
|
|
31
|
-
bolt?: boolean;
|
|
32
|
-
border?: boolean;
|
|
33
|
-
base?: boolean;
|
|
34
|
-
small?: boolean;
|
|
35
|
-
large?: boolean;
|
|
36
|
-
medium?: boolean;
|
|
37
|
-
}
|
|
38
|
-
declare const Button: FC<CustomButtonProps>;
|
|
39
|
-
|
|
40
|
-
interface CustomIconButtonProps extends IconButtonProps, PropsWithChildren {
|
|
41
|
-
}
|
|
42
|
-
declare const IconButton: FC<CustomIconButtonProps>;
|
|
43
|
-
|
|
44
|
-
declare const CustomSelect: FC<SelectProps & PropsWithChildren>;
|
|
45
|
-
|
|
46
|
-
interface SelectProProps {
|
|
47
|
-
placeholder?: string;
|
|
48
|
-
childTitle?: ReactElement;
|
|
49
|
-
colorBorder?: boolean;
|
|
50
|
-
clickComponent?: ReactElement;
|
|
51
|
-
fullContainerWidth?: boolean;
|
|
52
|
-
overButton?: boolean;
|
|
53
|
-
small?: boolean;
|
|
54
|
-
fullWidth?: boolean;
|
|
55
|
-
freeChildWidth?: boolean;
|
|
56
|
-
disableCloseButton?: boolean;
|
|
57
|
-
openUp?: boolean;
|
|
58
|
-
intermediateChild?: ReactElement;
|
|
59
|
-
actionsComponent?: ReactElement;
|
|
60
|
-
accentBgColor?: true;
|
|
61
|
-
paperSx?: SystemStyleObject;
|
|
62
|
-
childContainerSx?: SystemStyleObject;
|
|
63
|
-
reverseAnimation?: boolean;
|
|
64
|
-
containerSx?: SystemStyleObject;
|
|
65
|
-
}
|
|
66
|
-
declare const SelectPro: FC<PropsWithChildren & SelectProProps>;
|
|
67
|
-
|
|
68
|
-
interface CustomChipProps {
|
|
69
|
-
view: "black" | "line" | "white" | "silver";
|
|
70
|
-
}
|
|
71
|
-
declare const Chip: FC<ChipProps & CustomChipProps>;
|
|
72
|
-
|
|
73
|
-
declare const CustomBadge: (props: BadgeProps) => react_jsx_runtime.JSX.Element;
|
|
74
|
-
|
|
75
|
-
declare const CustomAvatar: (props: AvatarProps) => react_jsx_runtime.JSX.Element;
|
|
76
|
-
|
|
77
|
-
declare const Text: FC<TypographyOwnProps & PropsWithChildren>;
|
|
78
|
-
|
|
79
|
-
interface CustomRadioProps {
|
|
80
|
-
labelProps?: FormControlLabelProps;
|
|
81
|
-
radioProps?: RadioProps;
|
|
82
|
-
label?: string;
|
|
83
|
-
value?: string;
|
|
84
|
-
}
|
|
85
|
-
declare const CustomRadio: React__default.FC<CustomRadioProps>;
|
|
86
|
-
|
|
87
|
-
declare const CustomRadioGroup: React__default.FC<RadioGroupProps & PropsWithChildren>;
|
|
88
|
-
|
|
89
|
-
interface CustomSwitchProps {
|
|
90
|
-
beforeText?: string;
|
|
91
|
-
afterText?: string;
|
|
92
|
-
}
|
|
93
|
-
declare const CustomSwitch: FC<CustomSwitchProps & SwitchProps>;
|
|
94
|
-
|
|
95
|
-
declare const CustomSlider: FC<SliderProps>;
|
|
96
|
-
|
|
97
|
-
declare const CustomMenuItem: FC<MenuItemProps & PropsWithChildren>;
|
|
98
|
-
|
|
99
|
-
interface CustomInputProps {
|
|
100
|
-
type?: "number" | "string";
|
|
101
|
-
adornmentText?: string;
|
|
102
|
-
big?: boolean;
|
|
103
|
-
}
|
|
104
|
-
declare const CustomInput: FC<CustomInputProps & InputProps>;
|
|
105
|
-
|
|
106
|
-
interface PhoneInputProps {
|
|
107
|
-
onChange: (event: {
|
|
108
|
-
target: {
|
|
109
|
-
name: string;
|
|
110
|
-
value: string;
|
|
111
|
-
};
|
|
112
|
-
}) => void;
|
|
113
|
-
name: string;
|
|
114
|
-
}
|
|
115
|
-
declare const PhoneInput: React.ForwardRefExoticComponent<PhoneInputProps & React.RefAttributes<PatternFormatProps>>;
|
|
116
|
-
|
|
117
|
-
interface FromToInputProps {
|
|
118
|
-
label?: string;
|
|
119
|
-
}
|
|
120
|
-
declare const FromToInput: FC<FromToInputProps>;
|
|
121
|
-
|
|
122
|
-
interface SearchInputProps {
|
|
123
|
-
onClick?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
124
|
-
collapse?: boolean;
|
|
125
|
-
}
|
|
126
|
-
declare const SearchInput: <T extends object>(props: SearchInputProps & UseControllerProps<T>) => react_jsx_runtime.JSX.Element;
|
|
127
|
-
|
|
128
|
-
declare const Providers: FC<PropsWithChildren>;
|
|
129
|
-
|
|
130
|
-
interface AppBarProps {
|
|
131
|
-
links: {
|
|
132
|
-
path: string;
|
|
133
|
-
title: string;
|
|
134
|
-
}[];
|
|
135
|
-
}
|
|
136
|
-
declare const AppBar: FC<AppBarProps>;
|
|
137
|
-
|
|
138
|
-
interface ImageContainerProps {
|
|
139
|
-
src: any;
|
|
140
|
-
alt: string;
|
|
141
|
-
contentful?: boolean;
|
|
142
|
-
priority?: boolean;
|
|
143
|
-
loading?: "lazy" | "eager" | undefined;
|
|
144
|
-
width?: string;
|
|
145
|
-
height?: string;
|
|
146
|
-
objectFit?: string;
|
|
147
|
-
classesWrapper?: string;
|
|
148
|
-
classesImg?: string;
|
|
149
|
-
}
|
|
150
|
-
declare const ImageContainer: FC<ImageContainerProps>;
|
|
151
|
-
|
|
152
|
-
interface CategoryCardProps {
|
|
153
|
-
image_url?: string;
|
|
154
|
-
title: string;
|
|
155
|
-
text: string;
|
|
156
|
-
link: string;
|
|
157
|
-
}
|
|
158
|
-
declare const CategoryCard: FC<CategoryCardProps>;
|
|
159
|
-
|
|
160
|
-
interface ArticleCardProps {
|
|
161
|
-
imageUrl: string;
|
|
162
|
-
title: string;
|
|
163
|
-
text: string;
|
|
164
|
-
classes?: string;
|
|
165
|
-
href: string;
|
|
166
|
-
}
|
|
167
|
-
declare const ArticleCard: FC<ArticleCardProps>;
|
|
168
|
-
|
|
169
|
-
interface JobCardProps {
|
|
170
|
-
}
|
|
171
|
-
declare const JobCard: FC<JobCardProps>;
|
|
172
|
-
|
|
173
|
-
declare const RealtorCard: () => react_jsx_runtime.JSX.Element;
|
|
174
|
-
|
|
175
|
-
declare const RealtyCard: FC;
|
|
176
|
-
|
|
177
|
-
interface TeamPersonCardProps {
|
|
178
|
-
image_url?: string;
|
|
179
|
-
name: string;
|
|
180
|
-
position: string;
|
|
181
|
-
text: string;
|
|
182
|
-
}
|
|
183
|
-
declare const TeamPersonCard: FC<TeamPersonCardProps>;
|
|
184
|
-
|
|
185
|
-
interface AutocompleteProps {
|
|
186
|
-
values: string[];
|
|
187
|
-
}
|
|
188
|
-
declare const Autocomplete: FC<AutocompleteProps & UseControllerProps<any>>;
|
|
189
|
-
|
|
190
|
-
interface BigNumberProps {
|
|
191
|
-
number?: number;
|
|
192
|
-
text?: string;
|
|
193
|
-
}
|
|
194
|
-
declare const BigNumber: FC<BigNumberProps>;
|
|
195
|
-
|
|
196
|
-
interface TextBlockProps {
|
|
197
|
-
classes?: string;
|
|
198
|
-
title: string;
|
|
199
|
-
text: string;
|
|
200
|
-
}
|
|
201
|
-
declare const TextBlock: FC<TextBlockProps>;
|
|
202
|
-
|
|
203
|
-
type TitlePosition = "center" | "left";
|
|
204
|
-
|
|
205
|
-
interface TitleBlockProps {
|
|
206
|
-
title: string;
|
|
207
|
-
titlePosition?: TitlePosition;
|
|
208
|
-
classes?: string;
|
|
209
|
-
}
|
|
210
|
-
declare const TitleBlock: FC<TitleBlockProps>;
|
|
211
|
-
|
|
212
|
-
declare const List: FC<ListProps>;
|
|
213
|
-
|
|
214
|
-
interface ListItemProps {
|
|
215
|
-
icon?: ReactElement;
|
|
216
|
-
title: string;
|
|
217
|
-
bold?: boolean;
|
|
218
|
-
onClick?: (value: string) => void;
|
|
219
|
-
value?: string;
|
|
220
|
-
}
|
|
221
|
-
declare const ListItem: FC<ListItemProps>;
|
|
222
|
-
|
|
223
|
-
type Values = {
|
|
224
|
-
value: string | number[];
|
|
225
|
-
title: string;
|
|
226
|
-
}[];
|
|
227
|
-
|
|
228
|
-
interface ToggleButtonsMultipleProps extends ToggleButtonGroupProps$1 {
|
|
229
|
-
values: Values;
|
|
230
|
-
textView?: boolean;
|
|
231
|
-
collapseOnClick?: boolean;
|
|
232
|
-
collapseParent?: () => void;
|
|
233
|
-
label?: string;
|
|
234
|
-
flexDirection?: "row" | "col";
|
|
235
|
-
fixWidth?: boolean;
|
|
236
|
-
arrayValueFormat?: boolean;
|
|
237
|
-
}
|
|
238
|
-
declare const ToggleButtonsWithLabel: <T extends FieldValues>(props: ToggleButtonsMultipleProps & UseControllerProps<T>) => react_jsx_runtime.JSX.Element;
|
|
239
|
-
|
|
240
|
-
declare const ToggleButton: FC<ToggleButtonProps & {
|
|
241
|
-
textView?: boolean;
|
|
242
|
-
}>;
|
|
243
|
-
|
|
244
|
-
interface ToggleButtonGroupProps extends ToggleButtonGroupProps$1 {
|
|
245
|
-
textView?: boolean;
|
|
246
|
-
flexDirection?: "row" | "col";
|
|
247
|
-
onChange: (event: MouseEvent<HTMLElement>, value: any) => void;
|
|
248
|
-
value: any;
|
|
249
|
-
}
|
|
250
|
-
declare const ToggleButtonGroup: FC<ToggleButtonGroupProps & PropsWithChildren>;
|
|
251
|
-
|
|
252
|
-
interface CustomCheckboxProps {
|
|
253
|
-
labelProps?: FormControlLabelProps$1;
|
|
254
|
-
checkboxProps?: CheckboxProps;
|
|
255
|
-
className?: string;
|
|
256
|
-
label?: string;
|
|
257
|
-
toggleView?: boolean;
|
|
258
|
-
}
|
|
259
|
-
declare const CustomCheckbox: FC<CustomCheckboxProps>;
|
|
260
|
-
|
|
261
|
-
interface IBannerBlock {
|
|
262
|
-
videoLink?: string;
|
|
263
|
-
bigText?: string;
|
|
264
|
-
smallText?: string;
|
|
265
|
-
classes?: string;
|
|
266
|
-
}
|
|
267
|
-
declare function BannerBlock({ bigText, smallText, classes, videoLink, }: IBannerBlock): react_jsx_runtime.JSX.Element;
|
|
268
|
-
|
|
269
|
-
type MenuItem = {
|
|
270
|
-
path: string;
|
|
271
|
-
title: string;
|
|
272
|
-
};
|
|
273
|
-
interface HeaderProps {
|
|
274
|
-
menuItems: MenuItem[];
|
|
275
|
-
mainPhone?: string;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
declare const Header: FC<HeaderProps>;
|
|
279
|
-
|
|
280
|
-
export { AppBar, ArticleCard, Autocomplete, CustomAvatar as Avatar, CustomBadge as Badge, BannerBlock, BigNumber, Button, CategoryCard, CustomCheckbox as Checkbox, Chip, FromToInput, Greet, Header, IconButton, ImageContainer, CustomInput as Input, JobCard, List, ListItem, CustomMenuItem as MenuItem, PhoneInput, Providers, CustomRadio as Radio, CustomRadioGroup as RadioGroup, RealtorCard, RealtyCard, SearchInput, CustomSelect as Select, SelectPro, CustomSlider as Slider, CustomSwitch as Switch, TeamPersonCard, Text, TextBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsWithLabel };
|