@kiva/kv-components 6.67.3 → 6.68.0

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-use[data-v-6a955eed]:hover,.loan-card-use[data-v-6a955eed]: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-6a955eed]{text-decoration-line:underline}.loan-card-progress[data-v-6a955eed]:hover,.loan-card-progress[data-v-6a955eed]:focus{text-decoration-line:none}.loan-card-use-text[data-v-6a955eed] p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden;text-overflow:ellipsis}.loan-card-cta[data-v-6a955eed] form,.loan-card-cta[data-v-6a955eed] fieldset,.loan-card-cta[data-v-6a955eed] .tw-w-full,.loan-card-cta[data-v-6a955eed] button{height:40px!important;max-height:40px!important;display:flex!important;align-items:center!important;justify-content:center!important}.loan-card-cta[data-v-6a955eed] .tw-inline-flex{height:40px!important;max-height:40px!important;min-height:40px!important}
1
+ .loan-card-use[data-v-b7c571a8]:hover,.loan-card-use[data-v-b7c571a8]: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-b7c571a8]{text-decoration-line:underline}.loan-card-progress[data-v-b7c571a8]:hover,.loan-card-progress[data-v-b7c571a8]:focus{text-decoration-line:none}.loan-card-use-text[data-v-b7c571a8] p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden;text-overflow:ellipsis}.loan-card-cta[data-v-b7c571a8] form,.loan-card-cta[data-v-b7c571a8] fieldset,.loan-card-cta[data-v-b7c571a8] .tw-w-full,.loan-card-cta[data-v-b7c571a8] button{height:40px!important;max-height:40px!important;display:flex!important;align-items:center!important;justify-content:center!important}.loan-card-cta[data-v-b7c571a8] .tw-inline-flex{height:40px!important;max-height:40px!important;min-height:40px!important}
@@ -178,9 +178,9 @@ const Fe = B`
178
178
  city: C,
179
179
  countryName: A,
180
180
  distributionModel: w,
181
- formattedLocation: h,
181
+ formattedLocation: g,
182
182
  fundraisingPercent: s,
183
- hasProgressData: g,
183
+ hasProgressData: h,
184
184
  imageHash: k,
185
185
  isLoading: v,
186
186
  loanAmount: _,
@@ -202,9 +202,9 @@ const Fe = B`
202
202
  city: C,
203
203
  countryName: A,
204
204
  distributionModel: w,
205
- formattedLocation: h,
205
+ formattedLocation: g,
206
206
  fundraisingPercent: s,
207
- hasProgressData: g,
207
+ hasProgressData: h,
208
208
  imageHash: k,
209
209
  isLoading: v,
210
210
  loanAmount: _,
@@ -233,18 +233,15 @@ const Fe = B`
233
233
  return E(l).format("$0,0");
234
234
  }
235
235
  }
236
- }, ie = {
237
- class: "tw-flex tw-flex-col tw-items-start tw-justify-between tw-p-1 tw-bg-white tw-rounded-md tw-shadow-lg tw-w-full",
238
- style: { "min-width": "322px" }
239
- }, se = { class: "tw-flex tw-flex-col tw-items-start tw-w-full" }, de = { class: "tw-flex tw-items-start tw-gap-2 tw-w-full loan-card-active-hover" }, me = { class: "tw-flex-shrink-0 tw-overflow-hidden" }, ue = { class: "tw-flex tw-flex-col tw-items-start tw-gap-1 tw-flex-1 tw-min-w-0" }, ce = {
236
+ }, ie = { class: "tw-flex tw-flex-col tw-items-start tw-justify-between tw-p-1 tw-bg-white tw-rounded-md tw-shadow-lg tw-w-full" }, se = { class: "tw-flex tw-flex-col tw-items-start tw-w-full" }, de = { class: "tw-flex tw-items-start tw-gap-2 tw-w-full loan-card-active-hover" }, me = { class: "tw-flex-shrink-0 tw-overflow-hidden" }, ue = { class: "tw-flex tw-flex-col tw-items-start tw-gap-1 tw-flex-1 tw-min-w-0" }, ce = {
240
237
  key: 0,
241
238
  class: "loan-card-use-text tw-w-full tw-overflow-hidden"
242
239
  }, fe = {
243
240
  key: 1,
244
241
  class: "loan-card-use-text tw-w-full tw-overflow-hidden"
245
- }, we = { class: "tw-flex-1 tw-min-w-0" }, he = { class: "tw-flex-1 tw-min-w-0" };
246
- function ge(l, o, t, e, C, A) {
247
- const w = d("kv-borrower-image"), h = d("kv-loan-tag"), s = d("kv-loading-placeholder"), g = d("kv-loan-use"), k = d("kv-loan-callouts"), v = d("kv-loan-progress-group"), _ = d("kv-lend-cta");
242
+ }, we = { class: "tw-flex-1 tw-min-w-0" }, ge = { class: "tw-flex-1 tw-min-w-0" };
243
+ function he(l, o, t, e, C, A) {
244
+ const w = d("kv-borrower-image"), g = d("kv-loan-tag"), s = d("kv-loading-placeholder"), h = d("kv-loan-use"), k = d("kv-loan-callouts"), v = d("kv-loan-progress-group"), _ = d("kv-lend-cta");
248
245
  return n(), m("div", ie, [
249
246
  r("div", se, [
250
247
  r("div", de, [
@@ -280,7 +277,7 @@ function ge(l, o, t, e, C, A) {
280
277
  onClick: o[1] || (o[1] = (a) => e.clickReadMore("Tag", a))
281
278
  }, {
282
279
  default: f(() => [
283
- t.showTags && !e.isLoading ? (n(), i(h, {
280
+ t.showTags && !e.isLoading ? (n(), i(g, {
284
281
  key: 0,
285
282
  loan: t.loan
286
283
  }, null, 8, ["loan"])) : L("", !0)
@@ -303,7 +300,7 @@ function ge(l, o, t, e, C, A) {
303
300
  u(s)
304
301
  ]))), 128))
305
302
  ])) : (n(), m("div", fe, [
306
- u(g, {
303
+ u(h, {
307
304
  use: e.loanUse,
308
305
  "loan-amount": e.loanAmount,
309
306
  status: e.loanStatus,
@@ -333,7 +330,7 @@ function ge(l, o, t, e, C, A) {
333
330
  class: x(["tw-flex tw-items-end tw-w-full tw-mt-1", { "tw-gap-1": e.sharesAvailable }])
334
331
  }, [
335
332
  e.hasProgressData ? (n(), m(b, { key: 1 }, [
336
- r("div", he, [
333
+ r("div", ge, [
337
334
  e.sharesAvailable ? (n(), i(c(e.tag), {
338
335
  key: 0,
339
336
  to: e.readMorePath,
@@ -402,7 +399,7 @@ function ge(l, o, t, e, C, A) {
402
399
  ], 2)
403
400
  ]);
404
401
  }
405
- const Oe = /* @__PURE__ */ le(re, [["render", ge], ["__scopeId", "data-v-6a955eed"]]);
402
+ const Oe = /* @__PURE__ */ le(re, [["render", he], ["__scopeId", "data-v-b7c571a8"]]);
406
403
  export {
407
404
  Fe as KV_COMPACT_LOAN_CARD_FRAGMENT,
408
405
  Ee as KV_COMPACT_LOAN_CARD_USER_FRAGMENT,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "6.67.3",
3
+ "version": "6.68.0",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -114,5 +114,5 @@
114
114
  "embla-carousel-fade",
115
115
  "popper.js"
116
116
  ],
117
- "gitHead": "d76f6d2e52d574f653391b363e459454d473463a"
117
+ "gitHead": "97959b8f544b02ef01dbf1a9b7b6d909da2d5cd1"
118
118
  }