mayak-common-library 0.0.39 → 0.0.41
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 +18 -2
- package/dist/index.d.ts +18 -2
- package/dist/index.js +209 -131
- package/dist/index.mjs +169 -93
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -16,9 +16,11 @@ import { SliderProps } from '@mui/material/Slider/Slider';
|
|
|
16
16
|
import { MenuItemProps } from '@mui/material/MenuItem/MenuItem';
|
|
17
17
|
import { InputProps } from '@mui/material/Input';
|
|
18
18
|
import { PatternFormatProps } from 'react-number-format/types/types';
|
|
19
|
-
export { default as MapIcon } from '@/icons/map-search.svg';
|
|
20
19
|
import { UseControllerProps } from 'react-hook-form';
|
|
20
|
+
export { default as MapIcon } from '@/icons/map-search.svg';
|
|
21
21
|
import { ListProps } from '@mui/material/List/List';
|
|
22
|
+
import { CheckboxProps } from '@mui/material/Checkbox';
|
|
23
|
+
import { FormControlLabelProps as FormControlLabelProps$1 } from '@mui/material/FormControlLabel/FormControlLabel';
|
|
22
24
|
|
|
23
25
|
declare function Greet(props: {
|
|
24
26
|
name: string;
|
|
@@ -107,6 +109,12 @@ interface FromToInputProps {
|
|
|
107
109
|
}
|
|
108
110
|
declare const FromToInput: FC<FromToInputProps>;
|
|
109
111
|
|
|
112
|
+
interface SearchInputProps<T extends object> extends UseControllerProps<T> {
|
|
113
|
+
onClick?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
114
|
+
collapse?: boolean;
|
|
115
|
+
}
|
|
116
|
+
declare const SearchInput: <T extends object>(props: SearchInputProps<T>) => react_jsx_runtime.JSX.Element;
|
|
117
|
+
|
|
110
118
|
declare const Providers: FC<PropsWithChildren>;
|
|
111
119
|
|
|
112
120
|
interface AppBarProps {
|
|
@@ -228,4 +236,12 @@ interface ToggleButtonGroupProps extends ToggleButtonGroupProps$1 {
|
|
|
228
236
|
}
|
|
229
237
|
declare const ToggleButtonGroup: FC<ToggleButtonGroupProps & PropsWithChildren>;
|
|
230
238
|
|
|
231
|
-
|
|
239
|
+
interface CustomCheckboxProps {
|
|
240
|
+
labelProps?: FormControlLabelProps$1;
|
|
241
|
+
checkboxProps?: CheckboxProps;
|
|
242
|
+
label?: string;
|
|
243
|
+
toggleView?: boolean;
|
|
244
|
+
}
|
|
245
|
+
declare const CustomCheckbox: FC<CustomCheckboxProps>;
|
|
246
|
+
|
|
247
|
+
export { AppBar, ArticleCard, Autocomplete, CustomAvatar as Avatar, CustomBadge as Badge, BigNumber, Button, CategoryCard, CustomCheckbox as Checkbox, CustomChip as 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
CHANGED
|
@@ -16,9 +16,11 @@ import { SliderProps } from '@mui/material/Slider/Slider';
|
|
|
16
16
|
import { MenuItemProps } from '@mui/material/MenuItem/MenuItem';
|
|
17
17
|
import { InputProps } from '@mui/material/Input';
|
|
18
18
|
import { PatternFormatProps } from 'react-number-format/types/types';
|
|
19
|
-
export { default as MapIcon } from '@/icons/map-search.svg';
|
|
20
19
|
import { UseControllerProps } from 'react-hook-form';
|
|
20
|
+
export { default as MapIcon } from '@/icons/map-search.svg';
|
|
21
21
|
import { ListProps } from '@mui/material/List/List';
|
|
22
|
+
import { CheckboxProps } from '@mui/material/Checkbox';
|
|
23
|
+
import { FormControlLabelProps as FormControlLabelProps$1 } from '@mui/material/FormControlLabel/FormControlLabel';
|
|
22
24
|
|
|
23
25
|
declare function Greet(props: {
|
|
24
26
|
name: string;
|
|
@@ -107,6 +109,12 @@ interface FromToInputProps {
|
|
|
107
109
|
}
|
|
108
110
|
declare const FromToInput: FC<FromToInputProps>;
|
|
109
111
|
|
|
112
|
+
interface SearchInputProps<T extends object> extends UseControllerProps<T> {
|
|
113
|
+
onClick?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
114
|
+
collapse?: boolean;
|
|
115
|
+
}
|
|
116
|
+
declare const SearchInput: <T extends object>(props: SearchInputProps<T>) => react_jsx_runtime.JSX.Element;
|
|
117
|
+
|
|
110
118
|
declare const Providers: FC<PropsWithChildren>;
|
|
111
119
|
|
|
112
120
|
interface AppBarProps {
|
|
@@ -228,4 +236,12 @@ interface ToggleButtonGroupProps extends ToggleButtonGroupProps$1 {
|
|
|
228
236
|
}
|
|
229
237
|
declare const ToggleButtonGroup: FC<ToggleButtonGroupProps & PropsWithChildren>;
|
|
230
238
|
|
|
231
|
-
|
|
239
|
+
interface CustomCheckboxProps {
|
|
240
|
+
labelProps?: FormControlLabelProps$1;
|
|
241
|
+
checkboxProps?: CheckboxProps;
|
|
242
|
+
label?: string;
|
|
243
|
+
toggleView?: boolean;
|
|
244
|
+
}
|
|
245
|
+
declare const CustomCheckbox: FC<CustomCheckboxProps>;
|
|
246
|
+
|
|
247
|
+
export { AppBar, ArticleCard, Autocomplete, CustomAvatar as Avatar, CustomBadge as Badge, BigNumber, Button, CategoryCard, CustomCheckbox as Checkbox, CustomChip as 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 };
|