@kiva/kv-components 3.102.4 → 3.102.5
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/vue/KvPieChart.vue +7 -2
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.102.5](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.102.4...@kiva/kv-components@3.102.5) (2024-10-08)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* activeSlice value isn't comparable because it's a Proxy, use toRaw ([046a4c1](https://github.com/kiva/kv-ui-elements/commit/046a4c1518a751f8a6d47ff970a0fd6583655f59))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [3.102.4](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.102.3...@kiva/kv-components@3.102.4) (2024-10-04)
|
|
7
18
|
|
|
8
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-components",
|
|
3
|
-
"version": "3.102.
|
|
3
|
+
"version": "3.102.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"optional": true
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "bb14366bd43ee865345ce371e52e4103791eb7c0"
|
|
87
87
|
}
|
package/vue/KvPieChart.vue
CHANGED
|
@@ -97,7 +97,12 @@
|
|
|
97
97
|
|
|
98
98
|
<script>
|
|
99
99
|
import numeral from 'numeral';
|
|
100
|
-
import {
|
|
100
|
+
import {
|
|
101
|
+
ref,
|
|
102
|
+
toRaw,
|
|
103
|
+
toRefs,
|
|
104
|
+
computed,
|
|
105
|
+
} from 'vue-demi';
|
|
101
106
|
import Alea from '../utils/Alea';
|
|
102
107
|
import KvLoadingPlaceholder from './KvLoadingPlaceholder.vue';
|
|
103
108
|
|
|
@@ -211,7 +216,7 @@ export default {
|
|
|
211
216
|
};
|
|
212
217
|
|
|
213
218
|
const isSliceActive = (slice) => {
|
|
214
|
-
return activeSlice.value === slice;
|
|
219
|
+
return toRaw(activeSlice.value) === slice;
|
|
215
220
|
};
|
|
216
221
|
|
|
217
222
|
const setActiveSlice = (slice) => {
|