mayak-common-library 0.0.17 → 0.0.18
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/assets/fonts/RockStar/Rock Star_Extra Bold_Web.woff2 +0 -0
- package/assets/fonts/RockStar/Rock Star_Regular_Web.woff2 +0 -0
- package/dist/Rock Star_Extra Bold_Web-B3PLEFIF.woff2 +0 -0
- package/dist/Rock Star_Regular_Web-VMOWTS6V.woff2 +0 -0
- package/dist/index.css +10 -0
- package/dist/index.d.mts +17 -12
- package/dist/index.d.ts +17 -12
- package/dist/index.js +288 -297
- package/dist/index.mjs +286 -288
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index.css
CHANGED
|
@@ -169,6 +169,16 @@
|
|
|
169
169
|
transition: transform 0.3s ease-out;
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
+
@font-face {
|
|
173
|
+
font-family: RockStar;
|
|
174
|
+
src: url("./Rock Star_Regular_Web-VMOWTS6V.woff2");
|
|
175
|
+
font-weight: 400;
|
|
176
|
+
}
|
|
177
|
+
@font-face {
|
|
178
|
+
font-family: RockStar;
|
|
179
|
+
src: url("./Rock Star_Extra Bold_Web-B3PLEFIF.woff2");
|
|
180
|
+
font-weight: 800;
|
|
181
|
+
}
|
|
172
182
|
body {
|
|
173
183
|
max-width: 100vw;
|
|
174
184
|
overflow-x: hidden;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import react__default, { FC, PropsWithChildren, ReactElement } from 'react';
|
|
2
3
|
import { ButtonProps } from '@mui/material/Button';
|
|
3
|
-
import * as React$1 from 'react';
|
|
4
|
-
import React__default, { FC, PropsWithChildren, ReactElement } from 'react';
|
|
5
4
|
import { IconButtonProps } from '@mui/material/IconButton/IconButton';
|
|
6
5
|
import { SelectProps } from '@mui/material/Select/Select';
|
|
7
6
|
import { ChipProps } from '@mui/material';
|
|
@@ -17,10 +16,11 @@ import { MenuItemProps } from '@mui/material/MenuItem/MenuItem';
|
|
|
17
16
|
import { InputProps } from '@mui/material/Input';
|
|
18
17
|
import { PatternFormatProps } from 'react-number-format/types/types';
|
|
19
18
|
export { default as MapIcon } from '@/icons/map-search.svg';
|
|
19
|
+
import { UseControllerProps } from 'react-hook-form';
|
|
20
20
|
|
|
21
21
|
declare function Greet(props: {
|
|
22
22
|
name: string;
|
|
23
|
-
}):
|
|
23
|
+
}): react.JSX.Element;
|
|
24
24
|
|
|
25
25
|
interface CustomButtonProps extends ButtonProps, PropsWithChildren {
|
|
26
26
|
bolt?: boolean;
|
|
@@ -53,9 +53,9 @@ interface CustomChipProps {
|
|
|
53
53
|
}
|
|
54
54
|
declare const CustomChip: FC<ChipProps & CustomChipProps>;
|
|
55
55
|
|
|
56
|
-
declare const CustomBadge: (props: BadgeProps) =>
|
|
56
|
+
declare const CustomBadge: (props: BadgeProps) => react.JSX.Element;
|
|
57
57
|
|
|
58
|
-
declare const CustomAvatar: (props: AvatarProps) =>
|
|
58
|
+
declare const CustomAvatar: (props: AvatarProps) => react.JSX.Element;
|
|
59
59
|
|
|
60
60
|
declare const Text: FC<TypographyOwnProps & PropsWithChildren>;
|
|
61
61
|
|
|
@@ -65,9 +65,9 @@ interface CustomRadioProps {
|
|
|
65
65
|
label?: string;
|
|
66
66
|
value?: string;
|
|
67
67
|
}
|
|
68
|
-
declare const CustomRadio:
|
|
68
|
+
declare const CustomRadio: react__default.FC<CustomRadioProps>;
|
|
69
69
|
|
|
70
|
-
declare const CustomRadioGroup:
|
|
70
|
+
declare const CustomRadioGroup: react__default.FC<RadioGroupProps & PropsWithChildren>;
|
|
71
71
|
|
|
72
72
|
interface CustomSwitchProps {
|
|
73
73
|
beforeText?: string;
|
|
@@ -83,7 +83,7 @@ interface CustomInputProps {
|
|
|
83
83
|
type?: "number" | "string";
|
|
84
84
|
adornmentText?: string;
|
|
85
85
|
}
|
|
86
|
-
declare const CustomInput:
|
|
86
|
+
declare const CustomInput: FC<CustomInputProps & InputProps>;
|
|
87
87
|
|
|
88
88
|
interface PhoneInputProps {
|
|
89
89
|
onChange: (event: {
|
|
@@ -94,7 +94,7 @@ interface PhoneInputProps {
|
|
|
94
94
|
}) => void;
|
|
95
95
|
name: string;
|
|
96
96
|
}
|
|
97
|
-
declare const PhoneInput:
|
|
97
|
+
declare const PhoneInput: react.ForwardRefExoticComponent<PhoneInputProps & react.RefAttributes<PatternFormatProps>>;
|
|
98
98
|
|
|
99
99
|
interface FromToInputProps {
|
|
100
100
|
label?: string;
|
|
@@ -140,7 +140,7 @@ interface JobCardProps {
|
|
|
140
140
|
}
|
|
141
141
|
declare const JobCard: FC<JobCardProps>;
|
|
142
142
|
|
|
143
|
-
declare const RealtorCard: () =>
|
|
143
|
+
declare const RealtorCard: () => react.JSX.Element;
|
|
144
144
|
|
|
145
145
|
interface RealtyCardProps {
|
|
146
146
|
}
|
|
@@ -154,4 +154,9 @@ interface TeamPersonCardProps {
|
|
|
154
154
|
}
|
|
155
155
|
declare const TeamPersonCard: FC<TeamPersonCardProps>;
|
|
156
156
|
|
|
157
|
-
|
|
157
|
+
interface AutocompleteProps {
|
|
158
|
+
values: string[];
|
|
159
|
+
}
|
|
160
|
+
declare const Autocomplete: FC<AutocompleteProps & UseControllerProps<any>>;
|
|
161
|
+
|
|
162
|
+
export { AppBar, ArticleCard, Autocomplete, CustomAvatar as Avatar, CustomBadge as Badge, Button, CategoryCard, CustomChip as Chip, FromToInput, Greet, IconButton, ImageContainer, CustomInput as Input, JobCard, CustomMenuItem as MenuItem, PhoneInput, Providers, CustomRadio as Radio, CustomRadioGroup as RadioGroup, RealtorCard, RealtyCard, CustomSelect as Select, SelectPro, CustomSlider as Slider, CustomSwitch as Switch, TeamPersonCard, Text };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import react__default, { FC, PropsWithChildren, ReactElement } from 'react';
|
|
2
3
|
import { ButtonProps } from '@mui/material/Button';
|
|
3
|
-
import * as React$1 from 'react';
|
|
4
|
-
import React__default, { FC, PropsWithChildren, ReactElement } from 'react';
|
|
5
4
|
import { IconButtonProps } from '@mui/material/IconButton/IconButton';
|
|
6
5
|
import { SelectProps } from '@mui/material/Select/Select';
|
|
7
6
|
import { ChipProps } from '@mui/material';
|
|
@@ -17,10 +16,11 @@ import { MenuItemProps } from '@mui/material/MenuItem/MenuItem';
|
|
|
17
16
|
import { InputProps } from '@mui/material/Input';
|
|
18
17
|
import { PatternFormatProps } from 'react-number-format/types/types';
|
|
19
18
|
export { default as MapIcon } from '@/icons/map-search.svg';
|
|
19
|
+
import { UseControllerProps } from 'react-hook-form';
|
|
20
20
|
|
|
21
21
|
declare function Greet(props: {
|
|
22
22
|
name: string;
|
|
23
|
-
}):
|
|
23
|
+
}): react.JSX.Element;
|
|
24
24
|
|
|
25
25
|
interface CustomButtonProps extends ButtonProps, PropsWithChildren {
|
|
26
26
|
bolt?: boolean;
|
|
@@ -53,9 +53,9 @@ interface CustomChipProps {
|
|
|
53
53
|
}
|
|
54
54
|
declare const CustomChip: FC<ChipProps & CustomChipProps>;
|
|
55
55
|
|
|
56
|
-
declare const CustomBadge: (props: BadgeProps) =>
|
|
56
|
+
declare const CustomBadge: (props: BadgeProps) => react.JSX.Element;
|
|
57
57
|
|
|
58
|
-
declare const CustomAvatar: (props: AvatarProps) =>
|
|
58
|
+
declare const CustomAvatar: (props: AvatarProps) => react.JSX.Element;
|
|
59
59
|
|
|
60
60
|
declare const Text: FC<TypographyOwnProps & PropsWithChildren>;
|
|
61
61
|
|
|
@@ -65,9 +65,9 @@ interface CustomRadioProps {
|
|
|
65
65
|
label?: string;
|
|
66
66
|
value?: string;
|
|
67
67
|
}
|
|
68
|
-
declare const CustomRadio:
|
|
68
|
+
declare const CustomRadio: react__default.FC<CustomRadioProps>;
|
|
69
69
|
|
|
70
|
-
declare const CustomRadioGroup:
|
|
70
|
+
declare const CustomRadioGroup: react__default.FC<RadioGroupProps & PropsWithChildren>;
|
|
71
71
|
|
|
72
72
|
interface CustomSwitchProps {
|
|
73
73
|
beforeText?: string;
|
|
@@ -83,7 +83,7 @@ interface CustomInputProps {
|
|
|
83
83
|
type?: "number" | "string";
|
|
84
84
|
adornmentText?: string;
|
|
85
85
|
}
|
|
86
|
-
declare const CustomInput:
|
|
86
|
+
declare const CustomInput: FC<CustomInputProps & InputProps>;
|
|
87
87
|
|
|
88
88
|
interface PhoneInputProps {
|
|
89
89
|
onChange: (event: {
|
|
@@ -94,7 +94,7 @@ interface PhoneInputProps {
|
|
|
94
94
|
}) => void;
|
|
95
95
|
name: string;
|
|
96
96
|
}
|
|
97
|
-
declare const PhoneInput:
|
|
97
|
+
declare const PhoneInput: react.ForwardRefExoticComponent<PhoneInputProps & react.RefAttributes<PatternFormatProps>>;
|
|
98
98
|
|
|
99
99
|
interface FromToInputProps {
|
|
100
100
|
label?: string;
|
|
@@ -140,7 +140,7 @@ interface JobCardProps {
|
|
|
140
140
|
}
|
|
141
141
|
declare const JobCard: FC<JobCardProps>;
|
|
142
142
|
|
|
143
|
-
declare const RealtorCard: () =>
|
|
143
|
+
declare const RealtorCard: () => react.JSX.Element;
|
|
144
144
|
|
|
145
145
|
interface RealtyCardProps {
|
|
146
146
|
}
|
|
@@ -154,4 +154,9 @@ interface TeamPersonCardProps {
|
|
|
154
154
|
}
|
|
155
155
|
declare const TeamPersonCard: FC<TeamPersonCardProps>;
|
|
156
156
|
|
|
157
|
-
|
|
157
|
+
interface AutocompleteProps {
|
|
158
|
+
values: string[];
|
|
159
|
+
}
|
|
160
|
+
declare const Autocomplete: FC<AutocompleteProps & UseControllerProps<any>>;
|
|
161
|
+
|
|
162
|
+
export { AppBar, ArticleCard, Autocomplete, CustomAvatar as Avatar, CustomBadge as Badge, Button, CategoryCard, CustomChip as Chip, FromToInput, Greet, IconButton, ImageContainer, CustomInput as Input, JobCard, CustomMenuItem as MenuItem, PhoneInput, Providers, CustomRadio as Radio, CustomRadioGroup as RadioGroup, RealtorCard, RealtyCard, CustomSelect as Select, SelectPro, CustomSlider as Slider, CustomSwitch as Switch, TeamPersonCard, Text };
|