@kiva/kv-components 8.5.2 → 8.5.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.
@@ -1 +1 @@
1
- .loan-card-active-hover[data-v-5a01b4de]:hover{cursor:pointer}.loan-card-use[data-v-5a01b4de]:hover,.loan-card-use[data-v-5a01b4de]:focus{--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1))}.loan-card-active-hover:hover .loan-card-use[data-v-5a01b4de]{text-decoration-line:underline}.loan-card-progress[data-v-5a01b4de]:hover,.loan-card-progress[data-v-5a01b4de]:focus{text-decoration-line:none}
1
+ .loan-card-active-hover[data-v-56d96df4]:hover{cursor:pointer}.loan-card-use[data-v-56d96df4]:hover,.loan-card-use[data-v-56d96df4]:focus{--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1))}.loan-card-active-hover:hover .loan-card-use[data-v-56d96df4]{text-decoration-line:underline}.loan-card-progress[data-v-56d96df4]:hover,.loan-card-progress[data-v-56d96df4]:focus{text-decoration-line:none}
@@ -4,7 +4,7 @@ import D from "./KvLoanUse.js";
4
4
  import K from "./KvBorrowerImage.js";
5
5
  import W from "./KvMaterialIcon.js";
6
6
  import F from "./KvLoadingPlaceholder.js";
7
- import { resolveComponent as c, openBlock as t, createElementBlock as i, normalizeClass as _, normalizeStyle as T, createElementVNode as d, createBlock as h, resolveDynamicComponent as v, withCtx as k, createVNode as s, createTextVNode as E, toDisplayString as b, createCommentVNode as I, Fragment as O, renderList as V, withModifiers as U } from "vue";
7
+ import { resolveComponent as c, openBlock as t, createElementBlock as i, normalizeClass as _, normalizeStyle as T, createElementVNode as d, createBlock as w, resolveDynamicComponent as v, withCtx as k, createVNode as s, createTextVNode as E, toDisplayString as b, createCommentVNode as I, Fragment as O, renderList as V, withModifiers as U } from "vue";
8
8
  import "./KvLoanInfoCard.css";
9
9
  import G from "../_virtual/_plugin-vue_export-helper.js";
10
10
  import { KV_LOAN_USE_FRAGMENT as H } from "./KvLoanUse2.js";
@@ -83,14 +83,14 @@ const ue = P`
83
83
  city: y,
84
84
  countryName: n,
85
85
  distributionModel: l,
86
- formattedLocation: w,
86
+ formattedLocation: h,
87
87
  imageHash: u,
88
88
  isLoading: f,
89
89
  loanAmount: r,
90
90
  loanStatus: g,
91
91
  loanUse: p,
92
- mdiMapMarker: L,
93
- readMorePath: x,
92
+ mdiMapMarker: x,
93
+ readMorePath: L,
94
94
  state: C,
95
95
  tag: M,
96
96
  unreservedAmount: N,
@@ -104,14 +104,14 @@ const ue = P`
104
104
  city: y,
105
105
  countryName: n,
106
106
  distributionModel: l,
107
- formattedLocation: w,
107
+ formattedLocation: h,
108
108
  imageHash: u,
109
109
  isLoading: f,
110
110
  loanAmount: r,
111
111
  loanStatus: g,
112
112
  loanUse: p,
113
- mdiMapMarker: L,
114
- readMorePath: x,
113
+ mdiMapMarker: x,
114
+ readMorePath: L,
115
115
  state: C,
116
116
  tag: M,
117
117
  unreservedAmount: N,
@@ -139,7 +139,7 @@ const ue = P`
139
139
  ];
140
140
  }
141
141
  }
142
- }, j = { class: "tw-grow" }, J = { class: "loan-card-active-hover" }, Q = {
142
+ }, j = { class: "tw-grow" }, J = { class: "loan-card-active-hover tw-h-full tw-flex tw-flex-col" }, Q = {
143
143
  key: 1,
144
144
  class: "tw-relative"
145
145
  }, X = { key: 0 }, Y = {
@@ -155,20 +155,20 @@ const ue = P`
155
155
  style: { height: "1rem" }
156
156
  };
157
157
  function oe(m, a, o, e, y, n) {
158
- const l = c("kv-loading-placeholder"), w = c("kv-borrower-image"), u = c("kv-material-icon"), f = c("kv-loan-use");
158
+ const l = c("kv-loading-placeholder"), h = c("kv-borrower-image"), u = c("kv-material-icon"), f = c("kv-loan-use");
159
159
  return t(), i("div", {
160
- class: _(["tw-flex tw-flex-col tw-bg-white tw-rounded tw-w-full tw-pb-1 tw-p-1", { "tw-pointer-events-none": e.isLoading }]),
160
+ class: _(["tw-flex tw-flex-col tw-bg-white tw-rounded tw-h-full tw-w-full tw-pb-1 tw-p-1", { "tw-pointer-events-none": e.isLoading }]),
161
161
  "data-testid": "loan-card",
162
162
  style: T([{ "box-shadow": "0 4px 12px rgba(0, 0, 0, 0.08)" }, { minWidth: "230px", maxWidth: n.cardWidth }])
163
163
  }, [
164
164
  d("div", j, [
165
165
  d("div", J, [
166
- e.isLoading ? (t(), h(l, {
166
+ e.isLoading ? (t(), w(l, {
167
167
  key: 0,
168
168
  class: _(["tw-mb-1 tw-w-full", { "tw-rounded-t tw-rounded-b-none": o.largeCard, "tw-rounded": !o.largeCard }]),
169
169
  style: { height: "15rem" }
170
170
  }, null, 8, ["class"])) : (t(), i("div", Q, [
171
- (t(), h(v(e.tag), {
171
+ (t(), w(v(e.tag), {
172
172
  to: e.readMorePath,
173
173
  href: e.readMorePath,
174
174
  class: "tw-flex",
@@ -176,7 +176,7 @@ function oe(m, a, o, e, y, n) {
176
176
  onClick: a[0] || (a[0] = (r) => e.clickReadMore("Photo", r))
177
177
  }, {
178
178
  default: k(() => [
179
- s(w, {
179
+ s(h, {
180
180
  class: _(["tw-relative tw-w-full tw-bg-black", { "tw-rounded-t": o.largeCard, "tw-rounded": !o.largeCard }]),
181
181
  alt: `Photo of ${e.borrowerName}`,
182
182
  "aspect-ratio": n.imageAspectRatio,
@@ -198,7 +198,7 @@ function oe(m, a, o, e, y, n) {
198
198
  _: 1
199
199
  }, 8, ["to", "href"]))
200
200
  ])),
201
- (t(), h(v(e.tag), {
201
+ (t(), w(v(e.tag), {
202
202
  to: e.readMorePath,
203
203
  href: e.readMorePath,
204
204
  class: "loan-card-use tw-no-underline tw-text-primary",
@@ -230,10 +230,10 @@ function oe(m, a, o, e, y, n) {
230
230
  ]),
231
231
  _: 1
232
232
  }, 8, ["to", "href"])),
233
- (t(), h(v(e.tag), {
233
+ (t(), w(v(e.tag), {
234
234
  to: e.readMorePath,
235
235
  href: e.readMorePath,
236
- class: "loan-card-learn-more tw-no-underline hover:tw-no-underline tw-font-medium tw-text-action hover:tw-text-action-highlight",
236
+ class: "loan-card-learn-more tw-no-underline hover:tw-no-underline tw-font-medium tw-text-action hover:tw-text-action-highlight tw-mt-auto",
237
237
  "aria-label": o.primaryLinkText,
238
238
  onClick: a[3] || (a[3] = (r) => e.clickReadMore(o.primaryLinkText, r))
239
239
  }, {
@@ -253,7 +253,7 @@ function oe(m, a, o, e, y, n) {
253
253
  ])
254
254
  ], 6);
255
255
  }
256
- const fe = /* @__PURE__ */ G(q, [["render", oe], ["__scopeId", "data-v-5a01b4de"]]);
256
+ const fe = /* @__PURE__ */ G(q, [["render", oe], ["__scopeId", "data-v-56d96df4"]]);
257
257
  export {
258
258
  ue as KV_LOAN_INFO_CARD_FRAGMENT,
259
259
  fe as default
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "8.5.2",
3
+ "version": "8.5.3",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -125,5 +125,5 @@
125
125
  "embla-carousel-fade",
126
126
  "popper.js"
127
127
  ],
128
- "gitHead": "8ae76e2ab2c457b7dd52654cb154bbd2723904ef"
128
+ "gitHead": "cc1dbecbf3b570c2ca5ed6e6bdd7f305c65979a6"
129
129
  }