searchsmartly-ui 0.0.157 → 0.0.159
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.ts +30 -7
- package/dist/index.esm.js +7 -17
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +7 -17
- package/dist/index.js.map +1 -1
- package/dist/src/components/ExpandableSection/styles.d.ts +3 -4
- package/dist/src/components/Map/helpers.d.ts +1 -1
- package/dist/src/components/Map/styles.d.ts +5 -6
- package/dist/src/components/SlickCarousel/styles.d.ts +0 -1
- package/dist/src/components/buttons/Button/Button.d.ts +3 -4
- package/dist/src/components/fields/GoogleAutocomplete/GoogleAutocomplete.d.ts +1 -2
- package/dist/src/components/layouts/BaseLayout/BaseLayout.d.ts +5 -0
- package/dist/src/components/layouts/BaseLayout/Drawer/Drawer.d.ts +10 -0
- package/dist/src/components/layouts/BaseLayout/Drawer/List/List.d.ts +7 -0
- package/dist/src/components/layouts/BaseLayout/Drawer/List/index.d.ts +1 -0
- package/dist/src/components/layouts/BaseLayout/Drawer/index.d.ts +1 -0
- package/dist/src/components/layouts/BaseLayout/FooterNavigation.d.ts +33 -0
- package/dist/src/hooks/useDimensions.d.ts +0 -1
- package/package.json +51 -48
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/// <reference types="google.maps" />
|
|
3
1
|
import * as _emotion_styled from '@emotion/styled';
|
|
4
2
|
import * as _mui_system from '@mui/system';
|
|
5
3
|
import { SxProps as SxProps$1 } from '@mui/system';
|
|
@@ -8,7 +6,7 @@ import react__default, { FC, ReactNode, PropsWithChildren, ReactElement, MouseEv
|
|
|
8
6
|
import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
|
|
9
7
|
import { OverridableComponent } from '@mui/material/OverridableComponent';
|
|
10
8
|
import * as _mui_material from '@mui/material';
|
|
11
|
-
import { ButtonProps, SxProps, Theme, BoxProps, StackProps, SvgIconProps,
|
|
9
|
+
import { ButtonProps, SvgIconTypeMap, SxProps, Theme, BoxProps, StackProps, SvgIconProps, SnackbarProps } from '@mui/material';
|
|
12
10
|
import { LazyLoadImageProps } from 'react-lazy-load-image-component';
|
|
13
11
|
import { LazyLoadTypes } from 'react-slick';
|
|
14
12
|
import { ChipProps } from '@mui/material/Chip/Chip';
|
|
@@ -26,11 +24,11 @@ import { GalleryProps } from 'react-photoswipe-gallery/src/types';
|
|
|
26
24
|
import { ThemeProviderProps } from '@mui/material/styles/ThemeProvider';
|
|
27
25
|
|
|
28
26
|
declare const Button: _emotion_styled.StyledComponent<_mui_material.ButtonOwnProps & Omit<_mui_material.ButtonBaseOwnProps, "classes"> & _mui_material_OverridableComponent.CommonProps & Omit<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
29
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | react.RefObject<HTMLButtonElement> | null | undefined;
|
|
27
|
+
ref?: ((instance: HTMLButtonElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLButtonElement> | null | undefined;
|
|
30
28
|
}, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "color" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "href" | "size" | "startIcon" | "variant"> & _mui_system.MUIStyledCommonProps<_mui_material.Theme> & {
|
|
31
|
-
component?:
|
|
29
|
+
component?: React.ElementType;
|
|
32
30
|
} & {
|
|
33
|
-
shape?: "lrect" | "mrect" | "srect" | "square"
|
|
31
|
+
shape?: "lrect" | "mrect" | "srect" | "square";
|
|
34
32
|
}, {}, {}>;
|
|
35
33
|
|
|
36
34
|
type CopyButton = {
|
|
@@ -57,10 +55,35 @@ type AmenityButtonProps = {
|
|
|
57
55
|
};
|
|
58
56
|
declare const AmenityButton: FC<AmenityButtonProps>;
|
|
59
57
|
|
|
58
|
+
type LinkType = {
|
|
59
|
+
to: string;
|
|
60
|
+
title?: string;
|
|
61
|
+
Icon: OverridableComponent<SvgIconTypeMap>;
|
|
62
|
+
};
|
|
63
|
+
type mainNavbarLinkType = {
|
|
64
|
+
to: string;
|
|
65
|
+
title?: string;
|
|
66
|
+
submenu?: boolean;
|
|
67
|
+
Icon?: OverridableComponent<SvgIconTypeMap>;
|
|
68
|
+
type?: 'icon' | 'link' | 'button';
|
|
69
|
+
sx?: SxProps<Theme>;
|
|
70
|
+
};
|
|
71
|
+
type NavbarLinkType = {
|
|
72
|
+
to?: string;
|
|
73
|
+
title?: string;
|
|
74
|
+
submenu?: boolean;
|
|
75
|
+
icon?: ReactNode;
|
|
76
|
+
children?: mainNavbarLinkType[];
|
|
77
|
+
};
|
|
78
|
+
|
|
60
79
|
type BaseLayoutProps = {
|
|
61
80
|
hideHeader?: boolean;
|
|
81
|
+
showMobileNavbar?: boolean;
|
|
62
82
|
logoLinks: ReactElement[] | ReactElement;
|
|
63
83
|
menu: ReactElement[] | ReactElement;
|
|
84
|
+
footerMenu?: LinkType[];
|
|
85
|
+
drawerMenu?: NavbarLinkType[];
|
|
86
|
+
onNavigate?: (value: string) => void;
|
|
64
87
|
};
|
|
65
88
|
declare const BaseLayout: FC<PropsWithChildren<BaseLayoutProps>>;
|
|
66
89
|
|
|
@@ -679,7 +702,7 @@ interface GooglePlacesAutocompleteProps {
|
|
|
679
702
|
renderInput?: (params: AutocompleteRenderInputParams) => react.ReactNode;
|
|
680
703
|
renderOption?: (props: react.HTMLAttributes<HTMLLIElement>, option: AutocompletePrediction) => react.ReactNode;
|
|
681
704
|
}
|
|
682
|
-
declare const GoogleAutocomplete: react.ForwardRefExoticComponent<
|
|
705
|
+
declare const GoogleAutocomplete: react.ForwardRefExoticComponent<react.RefAttributes<unknown>>;
|
|
683
706
|
|
|
684
707
|
interface Block {
|
|
685
708
|
background: string;
|