@kiva/kv-components 3.6.2 → 3.7.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 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.7.1](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.7.0...@kiva/kv-components@3.7.1) (2022-09-27)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **KvContentfulImg:** match size and fit of picture to figure wrapper MARS-265 ([f6ede31](https://github.com/kiva/kv-ui-elements/commit/f6ede316c286871cc685e0840a6c2b9452ee48e3))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.7.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.6.2...@kiva/kv-components@3.7.0) (2022-09-24)
18
+
19
+
20
+ ### Features
21
+
22
+ * add dark mint theme ([269d6af](https://github.com/kiva/kv-ui-elements/commit/269d6af35a35bdcac8ca3c1c780bc62926072c8d))
23
+
24
+
25
+
26
+
27
+
6
28
  ## [3.6.2](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.6.1...@kiva/kv-components@3.6.2) (2022-09-21)
7
29
 
8
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "3.6.2",
3
+ "version": "3.7.1",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -50,7 +50,7 @@
50
50
  "test": "npm run lint"
51
51
  },
52
52
  "dependencies": {
53
- "@kiva/kv-tokens": "^2.3.0",
53
+ "@kiva/kv-tokens": "^2.4.0",
54
54
  "@mdi/js": "^5.9.55",
55
55
  "@vueuse/integrations": "^7.6.0",
56
56
  "aria-hidden": "^1.1.3",
@@ -68,5 +68,5 @@
68
68
  "optional": true
69
69
  }
70
70
  },
71
- "gitHead": "62dd0404c4e98ede5c41fb57e915269e7c8a1035"
71
+ "gitHead": "09a3c9d7cf4d42478c2f7362321fe624ae010383"
72
72
  }
@@ -3,7 +3,10 @@
3
3
  v-if="(width || height) && contentfulSrc"
4
4
  class="tw-inline-block tw-not-prose"
5
5
  >
6
- <picture>
6
+ <picture
7
+ class="tw-h-full tw-w-full"
8
+ style="object-fit: inherit;"
9
+ >
7
10
  <!-- Set of image sources -->
8
11
  <template v-if="sourceSizes.length > 0">
9
12
  <!-- browser supports webp -->
@@ -1,6 +1,6 @@
1
1
  import primitives from '@kiva/kv-tokens/primitives.json';
2
2
  import {
3
- defaultTheme, darkTheme, darkGreenTheme, mintTheme,
3
+ defaultTheme, darkTheme, darkGreenTheme, mintTheme, darkMintTheme,
4
4
  } from '@kiva/kv-tokens/configs/kivaColors.cjs';
5
5
  import KvButton from '../KvButton.vue';
6
6
  import KvGrid from '../KvGrid.vue';
@@ -122,6 +122,7 @@ const Template = (args, {
122
122
  defaultTheme,
123
123
  darkTheme,
124
124
  mintTheme,
125
+ darkMintTheme,
125
126
  };
126
127
  },
127
128
  template: `
@@ -147,6 +148,11 @@ DarkGreen.args = {
147
148
  theme: darkGreenTheme,
148
149
  };
149
150
 
151
+ export const DarkMint = Template.bind({});
152
+ DarkMint.args = {
153
+ theme: darkMintTheme,
154
+ };
155
+
150
156
  export const Custom = Template.bind({});
151
157
  Custom.args = {
152
158
  theme: {