@kiva/kv-components 3.75.1 → 3.75.2
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/CHANGELOG.md +11 -0
- package/package.json +2 -2
- package/utils/loanCard.js +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.75.2](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.75.1...@kiva/kv-components@3.75.2) (2024-04-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* category callouts were missing props to make them clickable ([6d7918b](https://github.com/kiva/kv-ui-elements/commit/6d7918bda0ddb8bff1dc38fa985409503c2d2616))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [3.75.1](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.75.0...@kiva/kv-components@3.75.1) (2024-04-26)
|
|
7
18
|
|
|
8
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-components",
|
|
3
|
-
"version": "3.75.
|
|
3
|
+
"version": "3.75.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"optional": true
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "489d7831ed1eb950eb559003530e4fed7e0e5d98"
|
|
79
79
|
}
|
package/utils/loanCard.js
CHANGED
|
@@ -101,12 +101,12 @@ export function loanCardComputedProperties(props) {
|
|
|
101
101
|
if (categories.ecoFriendly
|
|
102
102
|
// eslint-disable-next-line max-len
|
|
103
103
|
&& !callouts.find((c) => c.label.toUpperCase() === ECO_FRIENDLY_KEY || c.label.toUpperCase() === SUSTAINABLE_AG_KEY)) {
|
|
104
|
-
callouts.push({ label: 'Eco-friendly' });
|
|
104
|
+
callouts.push({ label: 'Eco-friendly', type: 'tag', id: 9 });
|
|
105
105
|
} else if (categories.refugeesIdps) {
|
|
106
|
-
callouts.push({ label: 'Refugees and IDPs' });
|
|
106
|
+
callouts.push({ label: 'Refugees and IDPs', type: 'attribute', id: 28 });
|
|
107
107
|
} else if (categories.singleParents
|
|
108
108
|
&& !callouts.find((c) => c.label.toUpperCase() === SINGLE_PARENT_KEY)) {
|
|
109
|
-
callouts.push({ label: 'Single Parent' });
|
|
109
|
+
callouts.push({ label: 'Single Parent', type: 'tag', id: 17 });
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|