@kiva/kv-components 3.70.0 → 3.71.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.
- package/CHANGELOG.md +22 -0
- package/package.json +2 -2
- package/vue/KvClassicLoanCard.vue +5 -0
- package/vue/KvVotingCard.vue +13 -9
- package/vue/stories/KvVotingCard.stories.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
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.71.1](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.71.0...@kiva/kv-components@3.71.1) (2024-04-03)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* fixed bug related to icon resizing in voting card ([7dc424c](https://github.com/kiva/kv-ui-elements/commit/7dc424ce0aa83f627240c50bb9925033f50c2cc2))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.71.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.70.0...@kiva/kv-components@3.71.0) (2024-04-02)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* pass error message to loan card and activity feed ([#384](https://github.com/kiva/kv-ui-elements/issues/384)) ([90f3ebc](https://github.com/kiva/kv-ui-elements/commit/90f3ebc45594ffbcacabe19d454b184573208257))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
# [3.70.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.69.1...@kiva/kv-components@3.70.0) (2024-04-01)
|
|
7
29
|
|
|
8
30
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.71.1",
|
|
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": "0f9330ee9a430eaa837a9dd7fa068afabc3fe756"
|
|
79
79
|
}
|
|
@@ -245,6 +245,7 @@
|
|
|
245
245
|
:user-balance="userBalance"
|
|
246
246
|
:get-cookie="getCookie"
|
|
247
247
|
:set-cookie="setCookie"
|
|
248
|
+
:error-msg="errorMsg"
|
|
248
249
|
@add-to-basket="$emit('add-to-basket', $event)"
|
|
249
250
|
/>
|
|
250
251
|
</div>
|
|
@@ -378,6 +379,10 @@ export default {
|
|
|
378
379
|
type: Array,
|
|
379
380
|
default: () => ([]),
|
|
380
381
|
},
|
|
382
|
+
errorMsg: {
|
|
383
|
+
type: String,
|
|
384
|
+
default: '',
|
|
385
|
+
},
|
|
381
386
|
},
|
|
382
387
|
setup(props) {
|
|
383
388
|
const {
|
package/vue/KvVotingCard.vue
CHANGED
|
@@ -36,15 +36,19 @@
|
|
|
36
36
|
</div>
|
|
37
37
|
</div>
|
|
38
38
|
<div class="tw-flex">
|
|
39
|
-
<
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
39
|
+
<div>
|
|
40
|
+
<h3 class="tw-font-medium">
|
|
41
|
+
{{ category }}
|
|
42
|
+
</h3>
|
|
43
|
+
</div>
|
|
44
|
+
<div>
|
|
45
|
+
<kv-material-icon
|
|
46
|
+
v-if="showInfoIcon"
|
|
47
|
+
:icon="infoIcon"
|
|
48
|
+
class="tw-h-3 tw-w-3"
|
|
49
|
+
@click="handleInfoClick"
|
|
50
|
+
/>
|
|
51
|
+
</div>
|
|
48
52
|
</div>
|
|
49
53
|
<div class="tw-flex tw-items-center tw-w-full tw-mb-1">
|
|
50
54
|
<kv-progress-bar
|
|
@@ -26,7 +26,7 @@ const Template = (args) => ({
|
|
|
26
26
|
export const Default = Template.bind({});
|
|
27
27
|
Default.args = {
|
|
28
28
|
borrowerName: 'Jacqueline',
|
|
29
|
-
category: '
|
|
29
|
+
category: 'Helping households mitigate or adapt to climate change',
|
|
30
30
|
percentage: 45,
|
|
31
31
|
showVoteButton: true,
|
|
32
32
|
showInfoIcon: true,
|