@kiva/kv-components 6.67.2 → 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,
@@ -1 +1 @@
1
- .header-link[data-v-151d85c9]{cursor:pointer;padding-top:1rem;padding-bottom:1rem;--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.header-link[data-v-151d85c9]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:none}[data-v-151d85c9] .avatar div:first-child{display:flex}
1
+ .header-link[data-v-11e40cc0]{cursor:pointer;padding-top:1rem;padding-bottom:1rem;--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.header-link[data-v-11e40cc0]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:none}[data-v-11e40cc0] .avatar div:first-child{display:flex}
@@ -1,4 +1,4 @@
1
- import { defineAsyncComponent as h, ref as l, inject as Z, computed as H, watch as _, onMounted as $, onUnmounted as ee, resolveComponent as p, resolveDirective as ne, openBlock as r, createElementBlock as w, withDirectives as v, normalizeClass as y, withModifiers as U, createVNode as B, createBlock as T, withCtx as K, createTextVNode as f, createElementVNode as M, createCommentVNode as P, vShow as V, toDisplayString as te } from "vue";
1
+ import { defineAsyncComponent as h, ref as l, inject as Z, computed as H, watch as _, onMounted as $, onUnmounted as ee, resolveComponent as p, resolveDirective as ne, openBlock as r, createElementBlock as w, withDirectives as v, normalizeClass as y, withModifiers as U, createVNode as B, createBlock as T, withCtx as x, createTextVNode as f, createElementVNode as M, createCommentVNode as P, vShow as V, toDisplayString as te } from "vue";
2
2
  import { mdiAccountCircle as oe, mdiChevronDown as ae, mdiMagnify as le, mdiMenu as re } from "@mdi/js";
3
3
  import ie from "numeral";
4
4
  import de from "@kiva/kv-tokens";
@@ -10,7 +10,7 @@ import { throttle as ce } from "../../utils/throttle.js";
10
10
  import { isLegacyPlaceholderAvatar as we } from "../../utils/imageUtils.js";
11
11
  import "./KvHeaderLinkBar.css";
12
12
  import fe from "../../_virtual/_plugin-vue_export-helper.js";
13
- const Me = h(() => import("./KvHeaderMobileMenu.js")), R = h(() => import("./KvHeaderMyKivaMenu.js")), ke = h(() => import("./LendMenu/KvLendMenu.js")), he = h(() => import("./KvHeaderTakeActionMenu.js")), ge = h(() => import("./KvHeaderAboutMenu.js")), F = 150, k = "avatar-menu", x = "menuButton", W = { top: "-3.75rem", width: "100%" }, A = "lendButton", be = {
13
+ const Me = h(() => import("./KvHeaderMobileMenu.js")), R = h(() => import("./KvHeaderMyKivaMenu.js")), ke = h(() => import("./LendMenu/KvLendMenu.js")), he = h(() => import("./KvHeaderTakeActionMenu.js")), ge = h(() => import("./KvHeaderAboutMenu.js")), F = 150, k = "avatar-menu", K = "menuButton", W = { top: "-3.75rem", width: "100%" }, A = "lendButton", be = {
14
14
  components: {
15
15
  KvMaterialIcon: ue,
16
16
  KvIconBag: me,
@@ -69,7 +69,7 @@ const Me = h(() => import("./KvHeaderMobileMenu.js")), R = h(() => import("./KvH
69
69
  ), t.value = o, u(
70
70
  o,
71
71
  m,
72
- o === x && i.isMobile ? W : s
72
+ o === K && i.isMobile ? W : s
73
73
  ));
74
74
  }, j = (o) => {
75
75
  !navigator.maxTouchPoints && t.value === o && (t.value = null, u());
@@ -88,7 +88,7 @@ const Me = h(() => import("./KvHeaderMobileMenu.js")), R = h(() => import("./KvH
88
88
  "TopNav",
89
89
  "hover-Lend-menu",
90
90
  "Lend"
91
- ), t.value === x && (t.value = null), !t.value || t.value !== o ? (t.value = o, o === k ? b() : o === x && i.isMobile ? u(o, m, W) : u(o, m, s)) : (t.value = null, u());
91
+ ), t.value === K && (t.value = null), !t.value || t.value !== o ? (t.value = o, o === k ? b() : o === K && i.isMobile ? u(o, m, W) : u(o, m, s)) : (t.value = null, u());
92
92
  }, S = ce(() => {
93
93
  t.value === k && b();
94
94
  }, 100), G = H(() => i.isMobile ? void 0 : "/lend-by-category"), J = H(() => {
@@ -181,7 +181,7 @@ function Ie(i, n, a, e, N, E) {
181
181
  onMouseleave: n[3] || (n[3] = (t) => e.handleMouseOut("lendButton")),
182
182
  onTouchstart: n[4] || (n[4] = U((t) => e.handleTouchStart("lendButton", e.KvLendMenu), ["stop"]))
183
183
  }, {
184
- default: K(() => n[11] || (n[11] = [
184
+ default: x(() => n[11] || (n[11] = [
185
185
  f(" Lend ")
186
186
  ])),
187
187
  _: 1
@@ -199,7 +199,7 @@ function Ie(i, n, a, e, N, E) {
199
199
  onMouseleave: n[5] || (n[5] = (t) => e.handleMouseOut("takeActionButton")),
200
200
  onUserTap: e.handleTouchStart
201
201
  }, {
202
- default: K(() => n[12] || (n[12] = [
202
+ default: x(() => n[12] || (n[12] = [
203
203
  f(" Take action ")
204
204
  ])),
205
205
  _: 1
@@ -218,7 +218,7 @@ function Ie(i, n, a, e, N, E) {
218
218
  onMouseleave: n[6] || (n[6] = (t) => e.handleMouseOut("aboutUsLink")),
219
219
  onUserTap: e.handleTouchStart
220
220
  }, {
221
- default: K(() => n[13] || (n[13] = [
221
+ default: x(() => n[13] || (n[13] = [
222
222
  f(" About ")
223
223
  ])),
224
224
  _: 1
@@ -242,7 +242,7 @@ function Ie(i, n, a, e, N, E) {
242
242
  "data-testid": "header-basket"
243
243
  }, [
244
244
  B(I, {
245
- class: "tw-w-3 tw-h-3 md:tw-w-3.5 md:tw-h-3.5 tw-pointer-events-none",
245
+ class: "tw-w-3 tw-h-3 md:tw-w-3.5 md:tw-h-3.5 tw-pointer-events-none tw-text-action",
246
246
  count: a.basketCount
247
247
  }, null, 8, ["count"]),
248
248
  n[15] || (n[15] = M("span", { class: "tw-hidden md:tw-block" }, "Basket", -1))
@@ -285,7 +285,7 @@ function Ie(i, n, a, e, N, E) {
285
285
  ])
286
286
  ], 32);
287
287
  }
288
- const Pe = /* @__PURE__ */ fe(be, [["render", Ie], ["__scopeId", "data-v-151d85c9"]]);
288
+ const Pe = /* @__PURE__ */ fe(be, [["render", Ie], ["__scopeId", "data-v-11e40cc0"]]);
289
289
  export {
290
290
  Pe as default
291
291
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "6.67.2",
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": "dabfed9e626974f9252b44fd355ca999e3943a38"
117
+ "gitHead": "97959b8f544b02ef01dbf1a9b7b6d909da2d5cd1"
118
118
  }