@homefile/components-v2 2.14.5 → 2.14.6

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.
@@ -19,7 +19,7 @@ export const HomeCardRecords = ({ records = {}, onAddRecords, onViewDetails, })
19
19
  return _jsx(AddHomeRecords, { onAddRecords: onAddRecords });
20
20
  }
21
21
  return (_jsx(Box, { p: "base", children: _jsxs(Container, { children: [_jsx(Box, { children: _jsx(Grid, { templateColumns: "repeat(2, 1fr)", templateRows: "repeat(4, 1fr)", gridGap: "base", rowGap: "1", p: "base", borderBottom: "1px solid", borderColor: "lightBlue.2", autoFlow: "column", children: recordsMapped &&
22
- Object.entries(recordsMapped).map(([label, value = '']) => (_jsx(GridItem, { children: _jsxs(Flex, { children: [_jsx(Text, { fontFamily: "secondary", color: "gray.2", fontSize: "xs", noOfLines: 1, minW: "fit-content", lineHeight: "1", children: label }), _jsx(Text, { fontFamily: "secondary", fontWeight: "semibold", textAlign: "right", fontSize: "xs", noOfLines: 1, flex: "auto", lineHeight: "1", textTransform: "capitalize", children: value })] }) }, label + value))) }) }), _jsx(Center, { py: "base", children: _jsx(Button, { variant: "text", onClick: onViewDetails, children: t('homeBoard.viewDetails') }) })] }) }));
22
+ Object.entries(recordsMapped).map(([label, value = '']) => (_jsx(GridItem, { children: _jsxs(Flex, { children: [_jsx(Text, { fontFamily: "secondary", color: "gray.2", fontSize: "xs", noOfLines: 1, minW: "fit-content", lineHeight: "1.2", children: label }), _jsx(Text, { fontFamily: "secondary", fontWeight: "semibold", textAlign: "right", fontSize: "xs", noOfLines: 1, flex: "auto", lineHeight: "1.2", textTransform: "capitalize", children: value })] }) }, label + value))) }) }), _jsx(Center, { py: "base", children: _jsx(Button, { variant: "text", onClick: onViewDetails, children: t('homeBoard.viewDetails') }) })] }) }));
23
23
  };
24
24
  const AddHomeRecords = ({ onAddRecords, }) => {
25
25
  return (_jsxs(Stack, { px: "base", py: "6", spacing: "base", children: [_jsx(Text, { variant: "home", textAlign: "center", children: t('homeBoard.publicRecords') }), _jsxs(Button, { variant: "secondary", textTransform: "capitalize", onClick: onAddRecords, gap: "base", bg: "neutral.white", children: [_jsx(Plus, { stroke: colors.blue['2'] }), t('homeBoard.addRecords')] })] }));
@@ -3,5 +3,5 @@ import { t } from 'i18next';
3
3
  import { AspectRatio, Flex, Text, Image, chakra } from '@chakra-ui/react';
4
4
  import { IA } from '../../assets/images';
5
5
  export const InboxForwardBanner = () => {
6
- return (_jsxs(Flex, { p: "base", gap: "base", align: "center", bg: "lightBlue.2", id: 'forwardReceipts', children: [_jsx(AspectRatio, { ratio: 1, minW: "35px", h: "auto", children: _jsx(Image, { src: IA, alt: "IA" }) }), _jsxs(Text, { variant: "home", lineHeight: "1", children: [t('inbox.forwardTo'), _jsx(chakra.span, { fontFamily: "secondary", fontSize: "sm", lineHeight: "1", color: "neutral.black", fontWeight: "bold", display: "inline", children: "homefileit@homefile.com." })] })] }));
6
+ return (_jsxs(Flex, { p: "base", gap: "base", align: "center", bg: "lightBlue.2", id: 'forwardReceipts', children: [_jsx(AspectRatio, { ratio: 1, minW: "35px", h: "auto", children: _jsx(Image, { src: IA, alt: "IA" }) }), _jsxs(Text, { variant: "home", lineHeight: "1.2", children: [t('inbox.forwardTo'), _jsx(chakra.span, { fontFamily: "secondary", fontSize: "sm", lineHeight: "1", color: "neutral.black", fontWeight: "bold", display: "inline", children: "homefileit@homefile.com." })] })] }));
7
7
  };
@@ -5,5 +5,5 @@ import { ContainerHeader, MoreHorizontal, TileTooltip, ValueCard, } from '..';
5
5
  import { Diamond } from '../../assets/images';
6
6
  export const ValueMonitor = ({ balance, menuItems, totalValue, year, yearValue, }) => {
7
7
  const hasItems = menuItems.length > 0;
8
- return (_jsx(TileTooltip, { label: "valueMonitor", children: _jsxs(Container, { variant: "launchpad", h: "fit-content", minW: ['full', '20rem'], children: [_jsx(ContainerHeader, { disabled: !hasItems, title: t('valueMonitor.title'), titleIcon: Diamond, menuItems: menuItems, icon: _jsx(MoreHorizontal, { size: 38 }) }), _jsxs(Stack, { p: "base", children: [_jsx(Text, { textTransform: "uppercase", children: t('valueMonitor.description') }), _jsx(ValueCard, { balance, totalValue, year, yearValue })] })] }) }));
8
+ return (_jsx(TileTooltip, { label: "valueMonitor", children: _jsxs(Container, { variant: "launchpad", h: "fit-content", minW: ['full', '20rem'], children: [_jsx(ContainerHeader, { disabled: !hasItems, title: t('valueMonitor.title'), titleIcon: Diamond, menuItems: menuItems, icon: _jsx(MoreHorizontal, { size: 38 }) }), _jsxs(Stack, { p: "base", children: [_jsx(Text, { fontSize: ".875rem", textTransform: "uppercase", children: t('valueMonitor.description') }), _jsx(ValueCard, { balance, totalValue, year, yearValue })] })] }) }));
9
9
  };
@@ -5,7 +5,7 @@ export const homeAssistantSteps = [
5
5
  icon: Target,
6
6
  },
7
7
  {
8
- title: 'Smoke & CO2 detectors',
8
+ title: 'Smoke & CO2',
9
9
  icon: Fire,
10
10
  },
11
11
  {
@@ -9,7 +9,7 @@ export default {
9
9
  status: 'active',
10
10
  step: {
11
11
  icon: Fire,
12
- title: 'Smoke & CO2 detectors',
12
+ title: 'Smoke & CO2',
13
13
  },
14
14
  },
15
15
  decorators: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homefile/components-v2",
3
- "version": "2.14.5",
3
+ "version": "2.14.6",
4
4
  "author": "Homefile",
5
5
  "license": "UNLICENSED",
6
6
  "typings": "dist/index.d.ts",
@@ -62,7 +62,7 @@ export const HomeCardRecords = ({
62
62
  fontSize="xs"
63
63
  noOfLines={1}
64
64
  minW="fit-content"
65
- lineHeight="1"
65
+ lineHeight="1.2"
66
66
  >
67
67
  {label}
68
68
  </Text>
@@ -73,7 +73,7 @@ export const HomeCardRecords = ({
73
73
  fontSize="xs"
74
74
  noOfLines={1}
75
75
  flex="auto"
76
- lineHeight="1"
76
+ lineHeight="1.2"
77
77
  textTransform="capitalize"
78
78
  >
79
79
  {value}
@@ -9,7 +9,7 @@ export const InboxForwardBanner = () => {
9
9
  <Image src={IA} alt="IA" />
10
10
  </AspectRatio>
11
11
 
12
- <Text variant="home" lineHeight="1">
12
+ <Text variant="home" lineHeight="1.2">
13
13
  {t('inbox.forwardTo')}
14
14
  <chakra.span
15
15
  fontFamily="secondary"
@@ -29,7 +29,7 @@ export const ValueMonitor = ({
29
29
  icon={<MoreHorizontal size={38} />}
30
30
  />
31
31
  <Stack p="base">
32
- <Text textTransform="uppercase">{t('valueMonitor.description')}</Text>
32
+ <Text fontSize={".875rem"} textTransform="uppercase">{t('valueMonitor.description')}</Text>
33
33
  <ValueCard {...{ balance, totalValue, year, yearValue }} />
34
34
  </Stack>
35
35
  </Container>
@@ -14,7 +14,7 @@ export const homeAssistantSteps: Array<HomeAssistantStepI> = [
14
14
  icon: Target,
15
15
  },
16
16
  {
17
- title: 'Smoke & CO2 detectors',
17
+ title: 'Smoke & CO2',
18
18
  icon: Fire,
19
19
  },
20
20
  {
@@ -11,7 +11,7 @@ export default {
11
11
  status: 'active',
12
12
  step: {
13
13
  icon: Fire,
14
- title: 'Smoke & CO2 detectors',
14
+ title: 'Smoke & CO2',
15
15
  },
16
16
  },
17
17
  decorators: [