searchsmartly-ui 0.0.157 → 0.0.158
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 +26 -1
- package/dist/index.esm.js +7 -7
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- 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/package.json +5 -2
package/dist/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import react__default, { FC, ReactNode, PropsWithChildren, ReactElement, MouseEv
|
|
|
8
8
|
import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
|
|
9
9
|
import { OverridableComponent } from '@mui/material/OverridableComponent';
|
|
10
10
|
import * as _mui_material from '@mui/material';
|
|
11
|
-
import { ButtonProps, SxProps, Theme, BoxProps, StackProps, SvgIconProps,
|
|
11
|
+
import { ButtonProps, SvgIconTypeMap, SxProps, Theme, BoxProps, StackProps, SvgIconProps, SnackbarProps } from '@mui/material';
|
|
12
12
|
import { LazyLoadImageProps } from 'react-lazy-load-image-component';
|
|
13
13
|
import { LazyLoadTypes } from 'react-slick';
|
|
14
14
|
import { ChipProps } from '@mui/material/Chip/Chip';
|
|
@@ -57,10 +57,35 @@ type AmenityButtonProps = {
|
|
|
57
57
|
};
|
|
58
58
|
declare const AmenityButton: FC<AmenityButtonProps>;
|
|
59
59
|
|
|
60
|
+
type LinkType = {
|
|
61
|
+
to: string;
|
|
62
|
+
title?: string;
|
|
63
|
+
Icon: OverridableComponent<SvgIconTypeMap>;
|
|
64
|
+
};
|
|
65
|
+
type mainNavbarLinkType = {
|
|
66
|
+
to: string;
|
|
67
|
+
title?: string;
|
|
68
|
+
submenu?: boolean;
|
|
69
|
+
Icon?: OverridableComponent<SvgIconTypeMap>;
|
|
70
|
+
type?: 'icon' | 'link' | 'button';
|
|
71
|
+
sx?: SxProps<Theme>;
|
|
72
|
+
};
|
|
73
|
+
type NavbarLinkType = {
|
|
74
|
+
to?: string;
|
|
75
|
+
title?: string;
|
|
76
|
+
submenu?: boolean;
|
|
77
|
+
icon?: ReactNode;
|
|
78
|
+
children?: mainNavbarLinkType[];
|
|
79
|
+
};
|
|
80
|
+
|
|
60
81
|
type BaseLayoutProps = {
|
|
61
82
|
hideHeader?: boolean;
|
|
83
|
+
showMobileNavbar?: boolean;
|
|
62
84
|
logoLinks: ReactElement[] | ReactElement;
|
|
63
85
|
menu: ReactElement[] | ReactElement;
|
|
86
|
+
footerMenu?: LinkType[];
|
|
87
|
+
drawerMenu?: NavbarLinkType[];
|
|
88
|
+
onNavigate?: (value: string) => void;
|
|
64
89
|
};
|
|
65
90
|
declare const BaseLayout: FC<PropsWithChildren<BaseLayoutProps>>;
|
|
66
91
|
|