@kiva/kv-components 3.90.2 → 3.90.4
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 +22 -0
- package/package.json +2 -2
- package/vue/KvIntroductionLoanCard.vue +6 -20
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.90.4](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.90.3...@kiva/kv-components@3.90.4) (2024-08-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* use an image size we already have a retina size for ([109a303](https://github.com/kiva/kv-ui-elements/commit/109a303ba7ce6bd6830109e4323a9e25636556bf))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [3.90.3](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.90.2...@kiva/kv-components@3.90.3) (2024-08-06)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* adjust new card styling ([875d701](https://github.com/kiva/kv-ui-elements/commit/875d701b951660444f8d00d7ae1596958df604f3))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
## [3.90.2](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.90.1...@kiva/kv-components@3.90.2) (2024-08-05)
|
|
7
29
|
|
|
8
30
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-components",
|
|
3
|
-
"version": "3.90.
|
|
3
|
+
"version": "3.90.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"optional": true
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "45936a0ec405a3b0d9dcaf39ddec503b06f714ac"
|
|
86
86
|
}
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
/>
|
|
17
17
|
<div
|
|
18
18
|
v-else
|
|
19
|
-
|
|
19
|
+
:style="{ height: '11rem' }"
|
|
20
|
+
class="tw-relative tw-overflow-hidden"
|
|
20
21
|
>
|
|
21
22
|
<component
|
|
22
23
|
:is="tag"
|
|
@@ -171,9 +172,7 @@
|
|
|
171
172
|
</div>
|
|
172
173
|
</div>
|
|
173
174
|
|
|
174
|
-
<div
|
|
175
|
-
class="tw-px-1 tw-grow"
|
|
176
|
-
>
|
|
175
|
+
<div class="tw-px-1">
|
|
177
176
|
<!-- Fundraising -->
|
|
178
177
|
<div
|
|
179
178
|
v-if="!hasProgressData"
|
|
@@ -358,18 +357,14 @@ export default {
|
|
|
358
357
|
},
|
|
359
358
|
computed: {
|
|
360
359
|
imageAspectRatio() {
|
|
361
|
-
return
|
|
360
|
+
return 5 / 8;
|
|
362
361
|
},
|
|
363
362
|
imageDefaultWidth() {
|
|
364
|
-
return
|
|
363
|
+
return 480;
|
|
365
364
|
},
|
|
366
365
|
imageSizes() {
|
|
367
366
|
return [
|
|
368
|
-
{ width: this.imageDefaultWidth, viewSize:
|
|
369
|
-
{ width: this.imageDefaultWidth, viewSize: 768 },
|
|
370
|
-
{ width: 416, viewSize: 480 },
|
|
371
|
-
{ width: 374, viewSize: 414 },
|
|
372
|
-
{ width: 335, viewSize: 375 },
|
|
367
|
+
{ width: this.imageDefaultWidth, viewSize: 375 },
|
|
373
368
|
];
|
|
374
369
|
},
|
|
375
370
|
lendersNumber() {
|
|
@@ -389,12 +384,6 @@ export default {
|
|
|
389
384
|
<style lang="postcss" scoped>
|
|
390
385
|
.card-container {
|
|
391
386
|
@apply tw-flex tw-flex-col tw-bg-white tw-rounded tw-w-full tw-pb-1;
|
|
392
|
-
height: 415px;
|
|
393
|
-
}
|
|
394
|
-
@screen md {
|
|
395
|
-
.card-container {
|
|
396
|
-
height: 423px;
|
|
397
|
-
}
|
|
398
387
|
}
|
|
399
388
|
.loan-callouts >>> span {
|
|
400
389
|
@apply !tw-bg-transparent tw-text-brand;
|
|
@@ -410,9 +399,6 @@ export default {
|
|
|
410
399
|
.loan-card-progress:focus {
|
|
411
400
|
@apply tw-no-underline;
|
|
412
401
|
}
|
|
413
|
-
.borrower-image >>> img {
|
|
414
|
-
@apply tw-object-cover;
|
|
415
|
-
}
|
|
416
402
|
.loan-card-name {
|
|
417
403
|
@apply tw-pt-1 tw-px-3 tw-text-ellipsis tw-overflow-hidden tw-line-clamp-1 tw-cursor-pointer;
|
|
418
404
|
}
|