@homefile/components-v2 2.40.36 → 2.40.38

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.
@@ -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 { Homefile } from '../../../assets/images';
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: Homefile, alt: "Homefile", h: "image.logo" }) }), children] }) }));
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 { Homefile } from '../../assets/images';
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: Homefile, alt: "Homefile", h: "image.logo" }) }) }));
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 { Homefile } from '../../../assets/images';
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: Homefile, 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') }) })] }));
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
  };
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { t } from 'i18next';
3
- import { Divider, Flex, Stack, Text } from '@chakra-ui/react';
3
+ import { Flex, Stack, Text } from '@chakra-ui/react';
4
4
  import { RecordsSession, TrendingValueCard } from '../../components';
5
5
  export const WizardValueSummaryBody = ({ title, subtitle, address, estimatedValue, purchasePrice, assessedValue, purchasePriceDetails, assessedValueDetails, }) => {
6
6
  const estimatedValueFormatted = `$${estimatedValue.toLocaleString('en-US')}.`;
7
- return (_jsxs(Stack, { spacing: "6", w: "full", children: [_jsxs(Stack, { spacing: "1", align: "center", children: [_jsx(Text, { fontSize: "2xl", textTransform: "capitalize", children: title }), _jsx(Text, { fontFamily: "secondary", children: address }), subtitle && _jsx(Text, { fontFamily: "secondary", children: subtitle })] }), _jsxs(Stack, { bg: "lightGreen.3", spacing: "base", pt: "base", pb: "6", align: "center", children: [_jsx(Text, { fontSize: "xs", textTransform: "uppercase", children: t('wizardValueSummary.estimatedValue') }), _jsx(Text, { fontSize: "3xl", children: estimatedValueFormatted })] }), _jsxs(Flex, { gap: "base", direction: { base: 'column', md: 'row' }, children: [_jsxs(Stack, { flex: "1", spacing: "6", children: [_jsx(TrendingValueCard, { bg: "lightBlue.1", label: t('wizardValueSummary.purchasePrice'), value: purchasePrice }), _jsx(RecordsSession, { details: purchasePriceDetails, showLine: false, gap: "1", textAlign: "right", p: "0" })] }), _jsxs(Stack, { flex: "1", spacing: "6", children: [_jsx(TrendingValueCard, { bg: "lightBlue.1", label: t('wizardValueSummary.assessedValue'), value: assessedValue }), _jsx(RecordsSession, { details: assessedValueDetails, showLine: false, gap: "1", textAlign: "right", p: "0" })] })] }), _jsx(Divider, { borderStyle: "dashed", borderColor: "lightBlue.11" })] }));
7
+ return (_jsxs(Stack, { spacing: "6", w: "full", children: [_jsxs(Flex, { align: "center", gap: "10", children: [_jsxs(Stack, { spacing: "1", align: "start", flex: "1", children: [_jsx(Text, { fontSize: "2xl", textTransform: "capitalize", children: title }), _jsx(Text, { fontFamily: "secondary", whiteSpace: "pre-line", children: address }), subtitle && _jsx(Text, { fontFamily: "secondary", children: subtitle })] }), _jsxs(Stack, { bg: "lightGreen.3", spacing: "base", px: "base", pt: "2", pb: "4", flex: "1", children: [_jsx(Text, { fontSize: "xs", textTransform: "uppercase", children: t('wizardValueSummary.estimatedValue') }), _jsx(Text, { fontSize: "3xl", alignSelf: "flex-end", children: estimatedValueFormatted })] })] }), _jsxs(Flex, { gap: "base", direction: { base: 'column', md: 'row' }, children: [_jsxs(Stack, { flex: "1", spacing: "6", children: [_jsx(TrendingValueCard, { bg: "lightBlue.1", label: t('wizardValueSummary.purchasePrice'), value: purchasePrice }), _jsx(RecordsSession, { details: purchasePriceDetails, showLine: false, gap: "1", textAlign: "right", p: "0" })] }), _jsxs(Stack, { flex: "1", spacing: "6", children: [_jsx(TrendingValueCard, { bg: "lightBlue.1", label: t('wizardValueSummary.assessedValue'), value: assessedValue }), _jsx(RecordsSession, { details: assessedValueDetails, showLine: false, gap: "1", textAlign: "right", p: "0" })] })] })] }));
8
8
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homefile/components-v2",
3
- "version": "2.40.36",
3
+ "version": "2.40.38",
4
4
  "author": "Homefile",
5
5
  "license": "UNLICENSED",
6
6
  "typings": "dist/index.d.ts",