@bedrock/vue-vc 2.0.1 → 2.0.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.
@@ -14,6 +14,7 @@
14
14
  </slot>
15
15
  <slot name="image">
16
16
  <dynamic-image
17
+ class="q-ma-xs"
17
18
  :src="imageOverride.length > 0 ? imageOverride : credentialImage"
18
19
  :size="dense ? 'sm' : 'md'" />
19
20
  </slot>
@@ -6,6 +6,7 @@
6
6
  title="Issued by"
7
7
  :value="issuerName" />
8
8
  <dynamic-image
9
+ class="q-mx-md"
9
10
  :src="credentialImage"
10
11
  size="lg" />
11
12
  <credential-field
@@ -74,6 +74,10 @@ $md: 75px;
74
74
  $lg: 125px;
75
75
  $xl: 150px;
76
76
 
77
+ img {
78
+ object-fit: contain
79
+ }
80
+
77
81
  .credential-card-image-xs {
78
82
  svg {
79
83
  width: $xs;
@@ -153,5 +157,6 @@ $xl: 150px;
153
157
  height: $xl;
154
158
  border-radius: 4px;
155
159
  }
160
+
156
161
  }
157
162
  </style>
package/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "@bedrock/vue-vc",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "type": "module",
5
5
  "description": "Vue.js credential components for Bedrock Web Apps",
6
- "exports": "./lib/index.js",
6
+ "exports": {
7
+ ".": "./lib/index.js",
8
+ "./components/": "./components/"
9
+ },
7
10
  "scripts": {
8
11
  "lint": "eslint --ext .cjs,.js,.vue ."
9
12
  },