@kiva/kv-components 3.102.2 → 3.102.3

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 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.3](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.102.2...@kiva/kv-components@3.102.3) (2024-09-30)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * width classes added to pie chart ([#463](https://github.com/kiva/kv-ui-elements/issues/463)) ([77715e2](https://github.com/kiva/kv-ui-elements/commit/77715e2d27a19bbb9c3cdd5239a037ae04ee5715))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [3.102.2](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.102.1...@kiva/kv-components@3.102.2) (2024-09-26)
7
18
 
8
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "3.102.2",
3
+ "version": "3.102.3",
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": "045a91050100e52132289efff23cd542ac1ae89d"
86
+ "gitHead": "95526e533545173c47b945ef8c8d85509cb8aa18"
87
87
  }
@@ -4,18 +4,17 @@
4
4
  @mouseleave="activeSlice = null"
5
5
  >
6
6
  <!-- pie chart -->
7
- <div class="tw-relative tw-h-full">
7
+ <div class="tw-relative">
8
8
  <div
9
9
  v-if="loading"
10
- class="pie-placeholder tw-h-full tw-p-2.5"
10
+ class="pie-placeholder tw-mt-2.5"
11
11
  >
12
- <div class="tw-overflow-hidden tw-rounded-full tw-h-full">
12
+ <div class="tw-overflow-hidden tw-rounded-full">
13
13
  <kv-loading-placeholder />
14
14
  </div>
15
15
  </div>
16
16
  <svg
17
17
  v-else
18
- class="tw-h-full"
19
18
  viewBox="0 0 32 32"
20
19
  xmlns="http://www.w3.org/2000/svg"
21
20
  xmlns:xlink="http://www.w3.org/1999/xlink"
@@ -236,14 +235,13 @@ export default {
236
235
  </script>
237
236
 
238
237
  <style lang="postcss" scoped>
239
- .pie-chart {
240
- height: 40rem;
241
- @screen md {
242
- height: 20rem;
243
- }
238
+ .pie-chart svg {
239
+ width: 20rem;
240
+ height: 20rem;
244
241
  }
245
242
 
246
- .pie-placeholder {
247
- width: 20rem;
243
+ .pie-placeholder, .pie-placeholder div {
244
+ width: 17.5rem;
245
+ height: 17.5rem;
248
246
  }
249
247
  </style>