@homefile/components-v2 2.44.0 → 2.44.1
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.
|
@@ -1347,7 +1347,7 @@
|
|
|
1347
1347
|
},
|
|
1348
1348
|
"wizardValueSummary": {
|
|
1349
1349
|
"accurateData": "Is this data \naccurate?",
|
|
1350
|
-
"assessedValue": "
|
|
1350
|
+
"assessedValue": "Assessed Value",
|
|
1351
1351
|
"estimatedValue": "Estimated Value",
|
|
1352
1352
|
"info": "You can edit this record within your Homefile. \nYour information remains private and is never shared or sold.",
|
|
1353
1353
|
"purchasePrice": "Purchase Price"
|
|
@@ -4,5 +4,5 @@ import { Button } from '@chakra-ui/react';
|
|
|
4
4
|
import { useAddHouseContent } from '../../../hooks';
|
|
5
5
|
export const ConfirmHomeDetails = ({ isLoading, handleCreateHomeClick, }) => {
|
|
6
6
|
const { handleSubmit } = useAddHouseContent(undefined, handleCreateHomeClick);
|
|
7
|
-
return (_jsx(Button, { onClick: handleSubmit, variant: "wizard", disabled: isLoading, children: t('buttons.
|
|
7
|
+
return (_jsx(Button, { onClick: handleSubmit, variant: "wizard", disabled: isLoading, children: t('buttons.continue') }));
|
|
8
8
|
};
|
|
@@ -2,5 +2,5 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { Center, Show, Stack, Text, Box } from '@chakra-ui/react';
|
|
3
3
|
import { Logo } from '../../components';
|
|
4
4
|
export const WizardTextHeader = ({ bg = 'lightGreen.1', title, subtitle, width = '80%', }) => {
|
|
5
|
-
return (_jsx(Center, { w: "full", bg: bg, minH: "176px", children: _jsxs(Stack, { w: "full", spacing: "0", align: "center", children: [_jsx(Show, { below: "md", children: _jsx(Logo, {}) }), _jsxs(Stack, { spacing: "
|
|
5
|
+
return (_jsx(Center, { w: "full", bg: bg, minH: "176px", children: _jsxs(Stack, { w: "full", spacing: "0", align: "center", children: [_jsx(Show, { below: "md", children: _jsx(Logo, {}) }), _jsxs(Stack, { spacing: "4", w: width, children: [_jsx(Text, { fontSize: { base: '22px', md: '26px' }, lineHeight: { base: '26px', md: '30px' }, textAlign: "center", whiteSpace: "pre-wrap", children: title }), subtitle && (_jsx(Text, { fontFamily: "secondary", textAlign: "center", whiteSpace: "pre-wrap", children: subtitle })), _jsx(Show, { below: "md", children: _jsx(Box, { h: "6" }) })] })] }) }));
|
|
6
6
|
};
|
|
@@ -3,5 +3,5 @@ import { t } from 'i18next';
|
|
|
3
3
|
import { Button, Flex, Stack, Text } from '@chakra-ui/react';
|
|
4
4
|
import { ReactionTag } from '../../components';
|
|
5
5
|
export const WizardValueSummaryFooter = ({ onAccurate, onNotAccurate, onComplete, accuracyStatus, }) => {
|
|
6
|
-
return (_jsxs(Stack, { spacing: "6", children: [_jsxs(Flex, { align: "center", justify: "space-between", children: [_jsxs(Flex, { gap: "base", align: "center", children: [_jsx(Text, { fontFamily: "secondary", fontSize: "xs", color: "gray.2", lineHeight: "shorter", whiteSpace: "pre-line", children: t('wizardValueSummary.accurateData') }), _jsx(ReactionTag, { type: "dislike", ariaLabel: t('buttons.notAccurate'), onClick: onNotAccurate, isSelected: accuracyStatus === 'not-accurate' }), _jsx(ReactionTag, { type: "like", ariaLabel: t('buttons.accurate'), onClick: onAccurate, isSelected: accuracyStatus === 'accurate' })] }), _jsx(Button, { w: "154px", onClick: onComplete, variant: "wizard", children: t('buttons.
|
|
6
|
+
return (_jsxs(Stack, { spacing: "6", children: [_jsxs(Flex, { align: "center", justify: "space-between", children: [_jsxs(Flex, { gap: "base", align: "center", children: [_jsx(Text, { fontFamily: "secondary", fontSize: "xs", color: "gray.2", lineHeight: "shorter", whiteSpace: "pre-line", children: t('wizardValueSummary.accurateData') }), _jsx(ReactionTag, { type: "dislike", ariaLabel: t('buttons.notAccurate'), onClick: onNotAccurate, isSelected: accuracyStatus === 'not-accurate' }), _jsx(ReactionTag, { type: "like", ariaLabel: t('buttons.accurate'), onClick: onAccurate, isSelected: accuracyStatus === 'accurate' })] }), _jsx(Button, { w: "154px", onClick: onComplete, variant: "wizard", children: t('buttons.next') })] }), _jsx(Text, { fontFamily: "secondary", fontSize: "sm", textAlign: "center", color: "gray.2", lineHeight: "shorter", whiteSpace: "pre-line", children: t('wizardValueSummary.info') })] }));
|
|
7
7
|
};
|