@homefile/components-v2 2.14.17 → 2.14.19

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.
@@ -14,7 +14,7 @@ export const mortgageInfoForm = ({ amount = 0, documentDate = '', maturityDate =
14
14
  id: 'purchase-price',
15
15
  name: t('propertyTiles.placeholders.purchasePrice'),
16
16
  value: purchasePrice,
17
- type: 'number',
17
+ type: 'currency',
18
18
  visible: true,
19
19
  },
20
20
  {
@@ -25,12 +25,12 @@ export const mortgageInfoForm = ({ amount = 0, documentDate = '', maturityDate =
25
25
  visible: true,
26
26
  children: [
27
27
  {
28
+ icon: 'billing',
28
29
  id: 'group-1-loan',
29
30
  name: t('propertyTiles.placeholders.loan'),
30
31
  value: amount,
31
- type: 'number',
32
+ type: 'currency',
32
33
  visible: true,
33
- icon: 'billing',
34
34
  },
35
35
  {
36
36
  id: 'group-1-grid',
@@ -73,7 +73,7 @@ export const mortgageInfoForm = ({ amount = 0, documentDate = '', maturityDate =
73
73
  id: 'payment-grid-mortgage-payment',
74
74
  name: t('propertyTiles.placeholders.payment'),
75
75
  value: estimatedMortgagePayment,
76
- type: 'number',
76
+ type: 'currency',
77
77
  visible: true,
78
78
  icon: 'check',
79
79
  },
@@ -91,7 +91,7 @@ export const mortgageInfoForm = ({ amount = 0, documentDate = '', maturityDate =
91
91
  id: 'balance',
92
92
  name: t('propertyTiles.placeholders.balance'),
93
93
  value: estimatedMortgageBalance,
94
- type: 'number',
94
+ type: 'currency',
95
95
  visible: true,
96
96
  icon: 'calc',
97
97
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homefile/components-v2",
3
- "version": "2.14.17",
3
+ "version": "2.14.19",
4
4
  "author": "Homefile",
5
5
  "license": "UNLICENSED",
6
6
  "typings": "dist/index.d.ts",
@@ -26,7 +26,7 @@ export const mortgageInfoForm = ({
26
26
  id: 'purchase-price',
27
27
  name: t('propertyTiles.placeholders.purchasePrice'),
28
28
  value: purchasePrice,
29
- type: 'number',
29
+ type: 'currency',
30
30
  visible: true,
31
31
  },
32
32
  {
@@ -37,12 +37,12 @@ export const mortgageInfoForm = ({
37
37
  visible: true,
38
38
  children: [
39
39
  {
40
+ icon: 'billing',
40
41
  id: 'group-1-loan',
41
42
  name: t('propertyTiles.placeholders.loan'),
42
43
  value: amount,
43
- type: 'number',
44
+ type: 'currency',
44
45
  visible: true,
45
- icon: 'billing',
46
46
  },
47
47
  {
48
48
  id: 'group-1-grid',
@@ -85,7 +85,7 @@ export const mortgageInfoForm = ({
85
85
  id: 'payment-grid-mortgage-payment',
86
86
  name: t('propertyTiles.placeholders.payment'),
87
87
  value: estimatedMortgagePayment,
88
- type: 'number',
88
+ type: 'currency',
89
89
  visible: true,
90
90
  icon: 'check',
91
91
  },
@@ -103,7 +103,7 @@ export const mortgageInfoForm = ({
103
103
  id: 'balance',
104
104
  name: t('propertyTiles.placeholders.balance'),
105
105
  value: estimatedMortgageBalance,
106
- type: 'number',
106
+ type: 'currency',
107
107
  visible: true,
108
108
  icon: 'calc',
109
109
  },