mayak-common-library 0.0.84 → 0.0.85
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.css +38 -2
- package/dist/index.js +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +1 -1
- package/dist/index.d.mts +0 -256
- package/dist/index.d.ts +0 -256
package/dist/index.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* src/components/Select/styles.css */
|
|
2
|
-
@keyframes
|
|
2
|
+
@keyframes fadeIn {
|
|
3
3
|
0% {
|
|
4
4
|
opacity: 0;
|
|
5
5
|
transform: translateY(2rem);
|
|
@@ -19,6 +19,36 @@
|
|
|
19
19
|
transform: translateY(2rem);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
+
@keyframes fadeInReverse {
|
|
23
|
+
0% {
|
|
24
|
+
opacity: 0;
|
|
25
|
+
transform: translateY(-2rem);
|
|
26
|
+
}
|
|
27
|
+
100% {
|
|
28
|
+
opacity: 1;
|
|
29
|
+
transform: translateY(0);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
@keyframes fadeOut {
|
|
33
|
+
0% {
|
|
34
|
+
opacity: 1;
|
|
35
|
+
transform: translateY(0);
|
|
36
|
+
}
|
|
37
|
+
100% {
|
|
38
|
+
opacity: 0;
|
|
39
|
+
transform: translateY(2rem);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
@keyframes fadeOutReverse {
|
|
43
|
+
0% {
|
|
44
|
+
opacity: 1;
|
|
45
|
+
transform: translateY(0);
|
|
46
|
+
}
|
|
47
|
+
100% {
|
|
48
|
+
opacity: 0;
|
|
49
|
+
transform: translateY(-2rem);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
22
52
|
.select {
|
|
23
53
|
transition: unset !important;
|
|
24
54
|
}
|
|
@@ -26,7 +56,13 @@
|
|
|
26
56
|
animation: fadeOut 0.4s;
|
|
27
57
|
}
|
|
28
58
|
.select--open {
|
|
29
|
-
animation:
|
|
59
|
+
animation: fadeIn 0.5s;
|
|
60
|
+
}
|
|
61
|
+
.select--close-reverse {
|
|
62
|
+
animation: fadeOutReverse 0.4s;
|
|
63
|
+
}
|
|
64
|
+
.select--open-reverse {
|
|
65
|
+
animation: fadeInReverse 0.5s;
|
|
30
66
|
}
|
|
31
67
|
|
|
32
68
|
/* src/styles/globals.scss */
|
package/dist/index.js
CHANGED
|
@@ -309,7 +309,8 @@ var SelectPro = ({
|
|
|
309
309
|
intermediateChild,
|
|
310
310
|
accentBgColor,
|
|
311
311
|
paperSx,
|
|
312
|
-
childContainerSx
|
|
312
|
+
childContainerSx,
|
|
313
|
+
reverseAnimation = false
|
|
313
314
|
}) => {
|
|
314
315
|
const [btn, setAnchorEl] = (0, import_react2.useState)(null);
|
|
315
316
|
const [open, setOpen] = (0, import_react2.useState)(false);
|
|
@@ -390,7 +391,7 @@ var SelectPro = ({
|
|
|
390
391
|
width: freeChildWidth ? "fit-content" : !fullContainerWidth && btn ? btn.offsetWidth : "115%"
|
|
391
392
|
}
|
|
392
393
|
}, paperSx),
|
|
393
|
-
className: `absolute select ${open ? "select--open" : "select--close"} z-50 rounded-none shadow-none ${intermediateChild ? "mt-[1px]" : "m-0"}`,
|
|
394
|
+
className: `absolute select ${open ? `${reverseAnimation ? "select--open-reverse" : "select--open-reverse"}` : `${reverseAnimation ? "select--close-reverse" : "select--close-reverse"}`} z-50 rounded-none shadow-none ${intermediateChild ? "mt-[1px]" : "m-0"}`,
|
|
394
395
|
children: [
|
|
395
396
|
intermediateChild ? intermediateChild : null,
|
|
396
397
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
|
package/dist/index.mjs
CHANGED
|
@@ -250,7 +250,8 @@ var SelectPro = ({
|
|
|
250
250
|
intermediateChild,
|
|
251
251
|
accentBgColor,
|
|
252
252
|
paperSx,
|
|
253
|
-
childContainerSx
|
|
253
|
+
childContainerSx,
|
|
254
|
+
reverseAnimation = false
|
|
254
255
|
}) => {
|
|
255
256
|
const [btn, setAnchorEl] = useState2(null);
|
|
256
257
|
const [open, setOpen] = useState2(false);
|
|
@@ -331,7 +332,7 @@ var SelectPro = ({
|
|
|
331
332
|
width: freeChildWidth ? "fit-content" : !fullContainerWidth && btn ? btn.offsetWidth : "115%"
|
|
332
333
|
}
|
|
333
334
|
}, paperSx),
|
|
334
|
-
className: `absolute select ${open ? "select--open" : "select--close"} z-50 rounded-none shadow-none ${intermediateChild ? "mt-[1px]" : "m-0"}`,
|
|
335
|
+
className: `absolute select ${open ? `${reverseAnimation ? "select--open-reverse" : "select--open-reverse"}` : `${reverseAnimation ? "select--close-reverse" : "select--close-reverse"}`} z-50 rounded-none shadow-none ${intermediateChild ? "mt-[1px]" : "m-0"}`,
|
|
335
336
|
children: [
|
|
336
337
|
intermediateChild ? intermediateChild : null,
|
|
337
338
|
/* @__PURE__ */ jsxs3(
|
package/package.json
CHANGED
package/dist/index.d.mts
DELETED
|
@@ -1,256 +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
|
-
openUp?: boolean;
|
|
57
|
-
intermediateChild?: ReactElement;
|
|
58
|
-
accentBgColor?: true;
|
|
59
|
-
paperSx?: SystemStyleObject;
|
|
60
|
-
childContainerSx?: SystemStyleObject;
|
|
61
|
-
}
|
|
62
|
-
declare const SelectPro: FC<PropsWithChildren & SelectProProps>;
|
|
63
|
-
|
|
64
|
-
interface CustomChipProps {
|
|
65
|
-
view: "black" | "line" | "white" | "silver";
|
|
66
|
-
}
|
|
67
|
-
declare const Chip: FC<ChipProps & CustomChipProps>;
|
|
68
|
-
|
|
69
|
-
declare const CustomBadge: (props: BadgeProps) => react_jsx_runtime.JSX.Element;
|
|
70
|
-
|
|
71
|
-
declare const CustomAvatar: (props: AvatarProps) => react_jsx_runtime.JSX.Element;
|
|
72
|
-
|
|
73
|
-
declare const Text: FC<TypographyOwnProps & PropsWithChildren>;
|
|
74
|
-
|
|
75
|
-
interface CustomRadioProps {
|
|
76
|
-
labelProps?: FormControlLabelProps;
|
|
77
|
-
radioProps?: RadioProps;
|
|
78
|
-
label?: string;
|
|
79
|
-
value?: string;
|
|
80
|
-
}
|
|
81
|
-
declare const CustomRadio: React__default.FC<CustomRadioProps>;
|
|
82
|
-
|
|
83
|
-
declare const CustomRadioGroup: React__default.FC<RadioGroupProps & PropsWithChildren>;
|
|
84
|
-
|
|
85
|
-
interface CustomSwitchProps {
|
|
86
|
-
beforeText?: string;
|
|
87
|
-
afterText?: string;
|
|
88
|
-
}
|
|
89
|
-
declare const CustomSwitch: FC<CustomSwitchProps & SwitchProps>;
|
|
90
|
-
|
|
91
|
-
declare const CustomSlider: FC<SliderProps>;
|
|
92
|
-
|
|
93
|
-
declare const CustomMenuItem: FC<MenuItemProps & PropsWithChildren>;
|
|
94
|
-
|
|
95
|
-
interface CustomInputProps {
|
|
96
|
-
type?: "number" | "string";
|
|
97
|
-
adornmentText?: string;
|
|
98
|
-
big?: boolean;
|
|
99
|
-
}
|
|
100
|
-
declare const CustomInput: FC<CustomInputProps & InputProps>;
|
|
101
|
-
|
|
102
|
-
interface PhoneInputProps {
|
|
103
|
-
onChange: (event: {
|
|
104
|
-
target: {
|
|
105
|
-
name: string;
|
|
106
|
-
value: string;
|
|
107
|
-
};
|
|
108
|
-
}) => void;
|
|
109
|
-
name: string;
|
|
110
|
-
}
|
|
111
|
-
declare const PhoneInput: React.ForwardRefExoticComponent<PhoneInputProps & React.RefAttributes<PatternFormatProps>>;
|
|
112
|
-
|
|
113
|
-
interface FromToInputProps {
|
|
114
|
-
label?: string;
|
|
115
|
-
}
|
|
116
|
-
declare const FromToInput: FC<FromToInputProps>;
|
|
117
|
-
|
|
118
|
-
interface SearchInputProps {
|
|
119
|
-
onClick?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
120
|
-
collapse?: boolean;
|
|
121
|
-
}
|
|
122
|
-
declare const SearchInput: <T extends object>(props: SearchInputProps & UseControllerProps<T>) => react_jsx_runtime.JSX.Element;
|
|
123
|
-
|
|
124
|
-
declare const Providers: FC<PropsWithChildren>;
|
|
125
|
-
|
|
126
|
-
interface AppBarProps {
|
|
127
|
-
links: {
|
|
128
|
-
path: string;
|
|
129
|
-
title: string;
|
|
130
|
-
}[];
|
|
131
|
-
}
|
|
132
|
-
declare const AppBar: FC<AppBarProps>;
|
|
133
|
-
|
|
134
|
-
interface ImageContainerProps {
|
|
135
|
-
src: any;
|
|
136
|
-
alt: string;
|
|
137
|
-
contentful?: boolean;
|
|
138
|
-
priority?: boolean;
|
|
139
|
-
loading?: "lazy" | "eager" | undefined;
|
|
140
|
-
width?: string;
|
|
141
|
-
height?: string;
|
|
142
|
-
objectFit?: string;
|
|
143
|
-
classesWrapper?: string;
|
|
144
|
-
classesImg?: string;
|
|
145
|
-
}
|
|
146
|
-
declare const ImageContainer: FC<ImageContainerProps>;
|
|
147
|
-
|
|
148
|
-
interface CategoryCardProps {
|
|
149
|
-
image_url?: string;
|
|
150
|
-
title: string;
|
|
151
|
-
text: string;
|
|
152
|
-
link: string;
|
|
153
|
-
}
|
|
154
|
-
declare const CategoryCard: FC<CategoryCardProps>;
|
|
155
|
-
|
|
156
|
-
interface ArticleCardProps {
|
|
157
|
-
imageUrl: string;
|
|
158
|
-
title: string;
|
|
159
|
-
text: string;
|
|
160
|
-
classes?: string;
|
|
161
|
-
href: string;
|
|
162
|
-
}
|
|
163
|
-
declare const ArticleCard: FC<ArticleCardProps>;
|
|
164
|
-
|
|
165
|
-
interface JobCardProps {
|
|
166
|
-
}
|
|
167
|
-
declare const JobCard: FC<JobCardProps>;
|
|
168
|
-
|
|
169
|
-
declare const RealtorCard: () => react_jsx_runtime.JSX.Element;
|
|
170
|
-
|
|
171
|
-
declare const RealtyCard: FC;
|
|
172
|
-
|
|
173
|
-
interface TeamPersonCardProps {
|
|
174
|
-
image_url?: string;
|
|
175
|
-
name: string;
|
|
176
|
-
position: string;
|
|
177
|
-
text: string;
|
|
178
|
-
}
|
|
179
|
-
declare const TeamPersonCard: FC<TeamPersonCardProps>;
|
|
180
|
-
|
|
181
|
-
interface AutocompleteProps {
|
|
182
|
-
values: string[];
|
|
183
|
-
}
|
|
184
|
-
declare const Autocomplete: FC<AutocompleteProps & UseControllerProps<any>>;
|
|
185
|
-
|
|
186
|
-
interface BigNumberProps {
|
|
187
|
-
number?: number;
|
|
188
|
-
text?: string;
|
|
189
|
-
}
|
|
190
|
-
declare const BigNumber: FC<BigNumberProps>;
|
|
191
|
-
|
|
192
|
-
interface TextBlockProps {
|
|
193
|
-
classes?: string;
|
|
194
|
-
title: string;
|
|
195
|
-
text: string;
|
|
196
|
-
}
|
|
197
|
-
declare const TextBlock: FC<TextBlockProps>;
|
|
198
|
-
|
|
199
|
-
type TitlePosition = "center" | "left";
|
|
200
|
-
|
|
201
|
-
interface TitleBlockProps {
|
|
202
|
-
title: string;
|
|
203
|
-
titlePosition?: TitlePosition;
|
|
204
|
-
classes?: string;
|
|
205
|
-
}
|
|
206
|
-
declare const TitleBlock: FC<TitleBlockProps>;
|
|
207
|
-
|
|
208
|
-
declare const List: FC<ListProps>;
|
|
209
|
-
|
|
210
|
-
interface ListItemProps {
|
|
211
|
-
icon?: ReactElement;
|
|
212
|
-
title: string;
|
|
213
|
-
bold?: boolean;
|
|
214
|
-
onClick?: (value: string) => void;
|
|
215
|
-
value?: string;
|
|
216
|
-
}
|
|
217
|
-
declare const ListItem: FC<ListItemProps>;
|
|
218
|
-
|
|
219
|
-
type Values = {
|
|
220
|
-
value: string | number[];
|
|
221
|
-
title: string;
|
|
222
|
-
}[];
|
|
223
|
-
|
|
224
|
-
interface ToggleButtonsMultipleProps extends ToggleButtonGroupProps$1 {
|
|
225
|
-
values: Values;
|
|
226
|
-
textView?: boolean;
|
|
227
|
-
collapseOnClick?: boolean;
|
|
228
|
-
collapseParent?: () => void;
|
|
229
|
-
label?: string;
|
|
230
|
-
flexDirection?: "row" | "col";
|
|
231
|
-
fixWidth?: boolean;
|
|
232
|
-
}
|
|
233
|
-
declare const ToggleButtonsWithLabel: <T extends FieldValues>(props: ToggleButtonsMultipleProps & UseControllerProps<T>) => react_jsx_runtime.JSX.Element;
|
|
234
|
-
|
|
235
|
-
declare const ToggleButton: FC<ToggleButtonProps & {
|
|
236
|
-
textView?: boolean;
|
|
237
|
-
}>;
|
|
238
|
-
|
|
239
|
-
interface ToggleButtonGroupProps extends ToggleButtonGroupProps$1 {
|
|
240
|
-
textView?: boolean;
|
|
241
|
-
flexDirection?: "row" | "col";
|
|
242
|
-
onChange: (event: MouseEvent<HTMLElement>, value: any) => void;
|
|
243
|
-
value: any;
|
|
244
|
-
}
|
|
245
|
-
declare const ToggleButtonGroup: FC<ToggleButtonGroupProps & PropsWithChildren>;
|
|
246
|
-
|
|
247
|
-
interface CustomCheckboxProps {
|
|
248
|
-
labelProps?: FormControlLabelProps$1;
|
|
249
|
-
checkboxProps?: CheckboxProps;
|
|
250
|
-
className?: string;
|
|
251
|
-
label?: string;
|
|
252
|
-
toggleView?: boolean;
|
|
253
|
-
}
|
|
254
|
-
declare const CustomCheckbox: FC<CustomCheckboxProps>;
|
|
255
|
-
|
|
256
|
-
export { AppBar, ArticleCard, Autocomplete, CustomAvatar as Avatar, CustomBadge as Badge, BigNumber, Button, CategoryCard, CustomCheckbox as Checkbox, Chip, FromToInput, Greet, 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,256 +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
|
-
openUp?: boolean;
|
|
57
|
-
intermediateChild?: ReactElement;
|
|
58
|
-
accentBgColor?: true;
|
|
59
|
-
paperSx?: SystemStyleObject;
|
|
60
|
-
childContainerSx?: SystemStyleObject;
|
|
61
|
-
}
|
|
62
|
-
declare const SelectPro: FC<PropsWithChildren & SelectProProps>;
|
|
63
|
-
|
|
64
|
-
interface CustomChipProps {
|
|
65
|
-
view: "black" | "line" | "white" | "silver";
|
|
66
|
-
}
|
|
67
|
-
declare const Chip: FC<ChipProps & CustomChipProps>;
|
|
68
|
-
|
|
69
|
-
declare const CustomBadge: (props: BadgeProps) => react_jsx_runtime.JSX.Element;
|
|
70
|
-
|
|
71
|
-
declare const CustomAvatar: (props: AvatarProps) => react_jsx_runtime.JSX.Element;
|
|
72
|
-
|
|
73
|
-
declare const Text: FC<TypographyOwnProps & PropsWithChildren>;
|
|
74
|
-
|
|
75
|
-
interface CustomRadioProps {
|
|
76
|
-
labelProps?: FormControlLabelProps;
|
|
77
|
-
radioProps?: RadioProps;
|
|
78
|
-
label?: string;
|
|
79
|
-
value?: string;
|
|
80
|
-
}
|
|
81
|
-
declare const CustomRadio: React__default.FC<CustomRadioProps>;
|
|
82
|
-
|
|
83
|
-
declare const CustomRadioGroup: React__default.FC<RadioGroupProps & PropsWithChildren>;
|
|
84
|
-
|
|
85
|
-
interface CustomSwitchProps {
|
|
86
|
-
beforeText?: string;
|
|
87
|
-
afterText?: string;
|
|
88
|
-
}
|
|
89
|
-
declare const CustomSwitch: FC<CustomSwitchProps & SwitchProps>;
|
|
90
|
-
|
|
91
|
-
declare const CustomSlider: FC<SliderProps>;
|
|
92
|
-
|
|
93
|
-
declare const CustomMenuItem: FC<MenuItemProps & PropsWithChildren>;
|
|
94
|
-
|
|
95
|
-
interface CustomInputProps {
|
|
96
|
-
type?: "number" | "string";
|
|
97
|
-
adornmentText?: string;
|
|
98
|
-
big?: boolean;
|
|
99
|
-
}
|
|
100
|
-
declare const CustomInput: FC<CustomInputProps & InputProps>;
|
|
101
|
-
|
|
102
|
-
interface PhoneInputProps {
|
|
103
|
-
onChange: (event: {
|
|
104
|
-
target: {
|
|
105
|
-
name: string;
|
|
106
|
-
value: string;
|
|
107
|
-
};
|
|
108
|
-
}) => void;
|
|
109
|
-
name: string;
|
|
110
|
-
}
|
|
111
|
-
declare const PhoneInput: React.ForwardRefExoticComponent<PhoneInputProps & React.RefAttributes<PatternFormatProps>>;
|
|
112
|
-
|
|
113
|
-
interface FromToInputProps {
|
|
114
|
-
label?: string;
|
|
115
|
-
}
|
|
116
|
-
declare const FromToInput: FC<FromToInputProps>;
|
|
117
|
-
|
|
118
|
-
interface SearchInputProps {
|
|
119
|
-
onClick?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
120
|
-
collapse?: boolean;
|
|
121
|
-
}
|
|
122
|
-
declare const SearchInput: <T extends object>(props: SearchInputProps & UseControllerProps<T>) => react_jsx_runtime.JSX.Element;
|
|
123
|
-
|
|
124
|
-
declare const Providers: FC<PropsWithChildren>;
|
|
125
|
-
|
|
126
|
-
interface AppBarProps {
|
|
127
|
-
links: {
|
|
128
|
-
path: string;
|
|
129
|
-
title: string;
|
|
130
|
-
}[];
|
|
131
|
-
}
|
|
132
|
-
declare const AppBar: FC<AppBarProps>;
|
|
133
|
-
|
|
134
|
-
interface ImageContainerProps {
|
|
135
|
-
src: any;
|
|
136
|
-
alt: string;
|
|
137
|
-
contentful?: boolean;
|
|
138
|
-
priority?: boolean;
|
|
139
|
-
loading?: "lazy" | "eager" | undefined;
|
|
140
|
-
width?: string;
|
|
141
|
-
height?: string;
|
|
142
|
-
objectFit?: string;
|
|
143
|
-
classesWrapper?: string;
|
|
144
|
-
classesImg?: string;
|
|
145
|
-
}
|
|
146
|
-
declare const ImageContainer: FC<ImageContainerProps>;
|
|
147
|
-
|
|
148
|
-
interface CategoryCardProps {
|
|
149
|
-
image_url?: string;
|
|
150
|
-
title: string;
|
|
151
|
-
text: string;
|
|
152
|
-
link: string;
|
|
153
|
-
}
|
|
154
|
-
declare const CategoryCard: FC<CategoryCardProps>;
|
|
155
|
-
|
|
156
|
-
interface ArticleCardProps {
|
|
157
|
-
imageUrl: string;
|
|
158
|
-
title: string;
|
|
159
|
-
text: string;
|
|
160
|
-
classes?: string;
|
|
161
|
-
href: string;
|
|
162
|
-
}
|
|
163
|
-
declare const ArticleCard: FC<ArticleCardProps>;
|
|
164
|
-
|
|
165
|
-
interface JobCardProps {
|
|
166
|
-
}
|
|
167
|
-
declare const JobCard: FC<JobCardProps>;
|
|
168
|
-
|
|
169
|
-
declare const RealtorCard: () => react_jsx_runtime.JSX.Element;
|
|
170
|
-
|
|
171
|
-
declare const RealtyCard: FC;
|
|
172
|
-
|
|
173
|
-
interface TeamPersonCardProps {
|
|
174
|
-
image_url?: string;
|
|
175
|
-
name: string;
|
|
176
|
-
position: string;
|
|
177
|
-
text: string;
|
|
178
|
-
}
|
|
179
|
-
declare const TeamPersonCard: FC<TeamPersonCardProps>;
|
|
180
|
-
|
|
181
|
-
interface AutocompleteProps {
|
|
182
|
-
values: string[];
|
|
183
|
-
}
|
|
184
|
-
declare const Autocomplete: FC<AutocompleteProps & UseControllerProps<any>>;
|
|
185
|
-
|
|
186
|
-
interface BigNumberProps {
|
|
187
|
-
number?: number;
|
|
188
|
-
text?: string;
|
|
189
|
-
}
|
|
190
|
-
declare const BigNumber: FC<BigNumberProps>;
|
|
191
|
-
|
|
192
|
-
interface TextBlockProps {
|
|
193
|
-
classes?: string;
|
|
194
|
-
title: string;
|
|
195
|
-
text: string;
|
|
196
|
-
}
|
|
197
|
-
declare const TextBlock: FC<TextBlockProps>;
|
|
198
|
-
|
|
199
|
-
type TitlePosition = "center" | "left";
|
|
200
|
-
|
|
201
|
-
interface TitleBlockProps {
|
|
202
|
-
title: string;
|
|
203
|
-
titlePosition?: TitlePosition;
|
|
204
|
-
classes?: string;
|
|
205
|
-
}
|
|
206
|
-
declare const TitleBlock: FC<TitleBlockProps>;
|
|
207
|
-
|
|
208
|
-
declare const List: FC<ListProps>;
|
|
209
|
-
|
|
210
|
-
interface ListItemProps {
|
|
211
|
-
icon?: ReactElement;
|
|
212
|
-
title: string;
|
|
213
|
-
bold?: boolean;
|
|
214
|
-
onClick?: (value: string) => void;
|
|
215
|
-
value?: string;
|
|
216
|
-
}
|
|
217
|
-
declare const ListItem: FC<ListItemProps>;
|
|
218
|
-
|
|
219
|
-
type Values = {
|
|
220
|
-
value: string | number[];
|
|
221
|
-
title: string;
|
|
222
|
-
}[];
|
|
223
|
-
|
|
224
|
-
interface ToggleButtonsMultipleProps extends ToggleButtonGroupProps$1 {
|
|
225
|
-
values: Values;
|
|
226
|
-
textView?: boolean;
|
|
227
|
-
collapseOnClick?: boolean;
|
|
228
|
-
collapseParent?: () => void;
|
|
229
|
-
label?: string;
|
|
230
|
-
flexDirection?: "row" | "col";
|
|
231
|
-
fixWidth?: boolean;
|
|
232
|
-
}
|
|
233
|
-
declare const ToggleButtonsWithLabel: <T extends FieldValues>(props: ToggleButtonsMultipleProps & UseControllerProps<T>) => react_jsx_runtime.JSX.Element;
|
|
234
|
-
|
|
235
|
-
declare const ToggleButton: FC<ToggleButtonProps & {
|
|
236
|
-
textView?: boolean;
|
|
237
|
-
}>;
|
|
238
|
-
|
|
239
|
-
interface ToggleButtonGroupProps extends ToggleButtonGroupProps$1 {
|
|
240
|
-
textView?: boolean;
|
|
241
|
-
flexDirection?: "row" | "col";
|
|
242
|
-
onChange: (event: MouseEvent<HTMLElement>, value: any) => void;
|
|
243
|
-
value: any;
|
|
244
|
-
}
|
|
245
|
-
declare const ToggleButtonGroup: FC<ToggleButtonGroupProps & PropsWithChildren>;
|
|
246
|
-
|
|
247
|
-
interface CustomCheckboxProps {
|
|
248
|
-
labelProps?: FormControlLabelProps$1;
|
|
249
|
-
checkboxProps?: CheckboxProps;
|
|
250
|
-
className?: string;
|
|
251
|
-
label?: string;
|
|
252
|
-
toggleView?: boolean;
|
|
253
|
-
}
|
|
254
|
-
declare const CustomCheckbox: FC<CustomCheckboxProps>;
|
|
255
|
-
|
|
256
|
-
export { AppBar, ArticleCard, Autocomplete, CustomAvatar as Avatar, CustomBadge as Badge, BigNumber, Button, CategoryCard, CustomCheckbox as Checkbox, Chip, FromToInput, Greet, 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 };
|