@homefile/components-v2 2.40.35 → 2.40.37
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/assets/images/logos/homefile_update.png +0 -0
- package/dist/assets/images/logos/index.d.ts +2 -1
- package/dist/assets/images/logos/index.js +2 -1
- package/dist/components/appBar/HomefileLogo.js +2 -2
- package/dist/components/myHomes/headers/PanelLogoHeader.js +2 -2
- package/dist/components/onboarding/Logo.js +2 -2
- package/dist/components/onboarding/pages/AuthHeader.js +2 -2
- package/package.json +1 -1
|
Binary file
|
|
@@ -2,10 +2,11 @@ import APHW from './aphw.png';
|
|
|
2
2
|
import DefaultReceipt from './default-receipt.png';
|
|
3
3
|
import HomeDepot from './home-depot.png';
|
|
4
4
|
import Homefile from './homefile.png';
|
|
5
|
+
import HomefileUpdate from './homefile_update.png';
|
|
5
6
|
import Lowes from './lowes.png';
|
|
6
7
|
import Walmart from './walmart.png';
|
|
7
8
|
import Prime from './prime.png';
|
|
8
9
|
import Sears from './sears.png';
|
|
9
10
|
import Shine from './shine.png';
|
|
10
11
|
import Terminix from './terminix.png';
|
|
11
|
-
export { APHW, DefaultReceipt, HomeDepot, Homefile, Lowes, Walmart, Prime, Sears, Shine, Terminix, };
|
|
12
|
+
export { APHW, DefaultReceipt, HomeDepot, Homefile, HomefileUpdate, Lowes, Walmart, Prime, Sears, Shine, Terminix, };
|
|
@@ -2,10 +2,11 @@ import APHW from './aphw.png';
|
|
|
2
2
|
import DefaultReceipt from './default-receipt.png';
|
|
3
3
|
import HomeDepot from './home-depot.png';
|
|
4
4
|
import Homefile from './homefile.png';
|
|
5
|
+
import HomefileUpdate from './homefile_update.png';
|
|
5
6
|
import Lowes from './lowes.png';
|
|
6
7
|
import Walmart from './walmart.png';
|
|
7
8
|
import Prime from './prime.png';
|
|
8
9
|
import Sears from './sears.png';
|
|
9
10
|
import Shine from './shine.png';
|
|
10
11
|
import Terminix from './terminix.png';
|
|
11
|
-
export { APHW, DefaultReceipt, HomeDepot, Homefile, Lowes, Walmart, Prime, Sears, Shine, Terminix, };
|
|
12
|
+
export { APHW, DefaultReceipt, HomeDepot, Homefile, HomefileUpdate, Lowes, Walmart, Prime, Sears, Shine, Terminix, };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Button, Image } from '@chakra-ui/react';
|
|
3
|
-
import { LogoSmall,
|
|
3
|
+
import { LogoSmall, HomefileUpdate } from '../../assets/images';
|
|
4
4
|
import { useWindowDimensions } from '../../hooks';
|
|
5
5
|
import { MOBILE_WIDTH } from '../../utils';
|
|
6
6
|
export const HomefileLogo = ({ onClick }) => {
|
|
7
7
|
const { windowDimensions: { width }, } = useWindowDimensions();
|
|
8
8
|
const isMobile = width < MOBILE_WIDTH;
|
|
9
|
-
return (_jsx(Button, { variant: "menuIcon", maxW: "fit-content", onClick: onClick, "data-testid": "homefile-logo", children: _jsx(Image, { src: isMobile ? LogoSmall :
|
|
9
|
+
return (_jsx(Button, { variant: "menuIcon", maxW: "fit-content", onClick: onClick, "data-testid": "homefile-logo", children: _jsx(Image, { src: isMobile ? LogoSmall : HomefileUpdate, alt: "Homefile", h: "image.logo" }) }));
|
|
10
10
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Container, Flex, Image, Stack } from '@chakra-ui/react';
|
|
3
|
-
import {
|
|
3
|
+
import { HomefileUpdate } from '../../../assets/images';
|
|
4
4
|
export const PanelLogoHeader = ({ children }) => {
|
|
5
|
-
return (_jsx(Container, { variant: "secondary", p: "4", children: _jsxs(Stack, { children: [_jsx(Flex, { justifyContent: "space-between", alignItems: "center", children: _jsx(Image, { src:
|
|
5
|
+
return (_jsx(Container, { variant: "secondary", p: "4", children: _jsxs(Stack, { children: [_jsx(Flex, { justifyContent: "space-between", alignItems: "center", children: _jsx(Image, { src: HomefileUpdate, alt: "Homefile", h: "image.logo" }) }), children] }) }));
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Center, Container, Image } from '@chakra-ui/react';
|
|
3
|
-
import {
|
|
3
|
+
import { HomefileUpdate } from '../../assets/images';
|
|
4
4
|
export const Logo = () => {
|
|
5
|
-
return (_jsx(Container, { variant: "ghost", size: "full", children: _jsx(Center, { h: "container.xxs", children: _jsx(Image, { src:
|
|
5
|
+
return (_jsx(Container, { variant: "ghost", size: "full", children: _jsx(Center, { h: "container.xxs", children: _jsx(Image, { src: HomefileUpdate, alt: "Homefile", h: "image.logo" }) }) }));
|
|
6
6
|
};
|
|
@@ -2,9 +2,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { t } from 'i18next';
|
|
3
3
|
import { Flex, Text, Box, Image } from '@chakra-ui/react';
|
|
4
4
|
import { Logo } from '../../../components';
|
|
5
|
-
import {
|
|
5
|
+
import { HomefileUpdate } from '../../../assets/images';
|
|
6
6
|
export const AuthHeader = ({ isPartner = false }) => {
|
|
7
7
|
if (!isPartner)
|
|
8
8
|
return _jsx(Logo, {});
|
|
9
|
-
return (_jsxs(Flex, { align: "center", justify: "space-between", w: "full", h: "container.xxs", px: ['container.sm', 'container.md', 'container.lg'], children: [_jsx(Image, { src:
|
|
9
|
+
return (_jsxs(Flex, { align: "center", justify: "space-between", w: "full", h: "container.xxs", px: ['container.sm', 'container.md', 'container.lg'], children: [_jsx(Image, { src: HomefileUpdate, alt: "Homefile", h: "image.logo" }), _jsx(Box, { pl: "base", borderLeft: "1px solid", borderColor: "gray.200", children: _jsx(Text, { fontSize: "lg", fontWeight: "medium", children: t('partner.admin') }) })] }));
|
|
10
10
|
};
|