mayak-common-library 0.0.39 → 0.0.40
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 +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +161 -131
- package/dist/index.mjs +122 -93
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -16,8 +16,8 @@ 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
22
|
|
|
23
23
|
declare function Greet(props: {
|
|
@@ -107,6 +107,12 @@ interface FromToInputProps {
|
|
|
107
107
|
}
|
|
108
108
|
declare const FromToInput: FC<FromToInputProps>;
|
|
109
109
|
|
|
110
|
+
interface SearchInputProps<T extends object> extends UseControllerProps<T> {
|
|
111
|
+
onClick?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
112
|
+
collapse?: boolean;
|
|
113
|
+
}
|
|
114
|
+
declare const SearchInput: <T extends object>(props: SearchInputProps<T>) => react_jsx_runtime.JSX.Element;
|
|
115
|
+
|
|
110
116
|
declare const Providers: FC<PropsWithChildren>;
|
|
111
117
|
|
|
112
118
|
interface AppBarProps {
|
|
@@ -228,4 +234,4 @@ interface ToggleButtonGroupProps extends ToggleButtonGroupProps$1 {
|
|
|
228
234
|
}
|
|
229
235
|
declare const ToggleButtonGroup: FC<ToggleButtonGroupProps & PropsWithChildren>;
|
|
230
236
|
|
|
231
|
-
export { AppBar, ArticleCard, Autocomplete, CustomAvatar as Avatar, CustomBadge as Badge, BigNumber, Button, CategoryCard, 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, CustomSelect as Select, SelectPro, CustomSlider as Slider, CustomSwitch as Switch, TeamPersonCard, Text, TextBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsWithLabel };
|
|
237
|
+
export { AppBar, ArticleCard, Autocomplete, CustomAvatar as Avatar, CustomBadge as Badge, BigNumber, Button, CategoryCard, 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,8 +16,8 @@ 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
22
|
|
|
23
23
|
declare function Greet(props: {
|
|
@@ -107,6 +107,12 @@ interface FromToInputProps {
|
|
|
107
107
|
}
|
|
108
108
|
declare const FromToInput: FC<FromToInputProps>;
|
|
109
109
|
|
|
110
|
+
interface SearchInputProps<T extends object> extends UseControllerProps<T> {
|
|
111
|
+
onClick?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
112
|
+
collapse?: boolean;
|
|
113
|
+
}
|
|
114
|
+
declare const SearchInput: <T extends object>(props: SearchInputProps<T>) => react_jsx_runtime.JSX.Element;
|
|
115
|
+
|
|
110
116
|
declare const Providers: FC<PropsWithChildren>;
|
|
111
117
|
|
|
112
118
|
interface AppBarProps {
|
|
@@ -228,4 +234,4 @@ interface ToggleButtonGroupProps extends ToggleButtonGroupProps$1 {
|
|
|
228
234
|
}
|
|
229
235
|
declare const ToggleButtonGroup: FC<ToggleButtonGroupProps & PropsWithChildren>;
|
|
230
236
|
|
|
231
|
-
export { AppBar, ArticleCard, Autocomplete, CustomAvatar as Avatar, CustomBadge as Badge, BigNumber, Button, CategoryCard, 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, CustomSelect as Select, SelectPro, CustomSlider as Slider, CustomSwitch as Switch, TeamPersonCard, Text, TextBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsWithLabel };
|
|
237
|
+
export { AppBar, ArticleCard, Autocomplete, CustomAvatar as Avatar, CustomBadge as Badge, BigNumber, Button, CategoryCard, 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 };
|