@kiva/kv-components 3.21.2 → 3.22.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 +19 -0
- package/package.json +2 -2
- package/vue/KvLocationSelector.vue +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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.22.1](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.22.0...@kiva/kv-components@3.22.1) (2023-05-26)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @kiva/kv-components
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.22.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.21.2...@kiva/kv-components@3.22.0) (2023-05-24)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* emit added to location selector component ([#248](https://github.com/kiva/kv-ui-elements/issues/248)) ([ca043e4](https://github.com/kiva/kv-ui-elements/commit/ca043e40091d56e55ddff80890f446a41baa97dd))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [3.21.2](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.21.1...@kiva/kv-components@3.21.2) (2023-05-24)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @kiva/kv-components
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.22.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": "352f3fda590da17b49c7cc4538228309acbf1da0"
|
|
79
79
|
}
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
:disabled="item.disabled"
|
|
61
61
|
@change="updateLocation"
|
|
62
62
|
>
|
|
63
|
-
{{ item.title }}
|
|
63
|
+
{{ item.title }} ({{ item.numberLoans }})
|
|
64
64
|
</kv-checkbox>
|
|
65
65
|
</li>
|
|
66
66
|
</div>
|
|
@@ -128,6 +128,7 @@ export default {
|
|
|
128
128
|
},
|
|
129
129
|
emits: [
|
|
130
130
|
'updated',
|
|
131
|
+
'close-modal',
|
|
131
132
|
],
|
|
132
133
|
setup(props, { emit }) {
|
|
133
134
|
const { regions, activeIsoCodes } = toRefs(props);
|
|
@@ -164,6 +165,7 @@ export default {
|
|
|
164
165
|
return countries.map((c) => ({
|
|
165
166
|
value: c.isoCode,
|
|
166
167
|
title: getItemLabel(c),
|
|
168
|
+
numberLoans: c.numLoansFundraising,
|
|
167
169
|
disabled: c.numLoansFundraising === 0,
|
|
168
170
|
}));
|
|
169
171
|
};
|