@kiva/kv-components 6.52.0 → 6.52.2

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,8 +1,8 @@
1
- import { getCurrentInstance as d, computed as u, resolveComponent as c, openBlock as m, createElementBlock as f, normalizeClass as l, renderSlot as p, createVNode as w } from "vue";
2
- import v from "../KvMaterialIcon.js";
3
- import h from "../../_virtual/_plugin-vue_export-helper.js";
4
- const C = {
5
- components: { KvMaterialIcon: v },
1
+ import { getCurrentInstance as d, computed as c, resolveComponent as m, openBlock as u, createElementBlock as f, createElementVNode as w, normalizeClass as l, renderSlot as p, createVNode as v } from "vue";
2
+ import h from "../KvMaterialIcon.js";
3
+ import C from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const x = {
5
+ components: { KvMaterialIcon: h },
6
6
  props: {
7
7
  refName: {
8
8
  type: String,
@@ -39,7 +39,7 @@ const C = {
39
39
  setup(e, { emit: o }) {
40
40
  const { proxy: n } = d();
41
41
  return {
42
- computedClass: u(() => [
42
+ computedClass: c(() => [
43
43
  e.baseClass,
44
44
  { "tw-text-tertiary": e.openMenuItem && e.openMenuItem !== e.menuComponent }
45
45
  ]),
@@ -61,22 +61,26 @@ const C = {
61
61
  };
62
62
  }
63
63
  }, M = ["href"];
64
- function x(e, o, n, r, i, s) {
65
- const a = c("KvMaterialIcon");
66
- return m(), f("a", {
64
+ function y(e, o, n, r, i, s) {
65
+ const a = m("KvMaterialIcon");
66
+ return u(), f("a", {
67
67
  ref: n.refName,
68
- class: l(["tw-py-1 tw-no-underline hover:tw-no-underline tw-text-primary hover:tw-text-action tw-items-center tw-cursor-pointer", r.computedClass]),
68
+ class: "tw-py-1 tw-no-underline hover:tw-no-underline tw-text-primary hover:tw-text-action tw-items-center tw-cursor-pointer",
69
69
  href: n.href,
70
70
  onMouseover: o[0] || (o[0] = (...t) => r.handleMouseOver && r.handleMouseOver(...t))
71
71
  }, [
72
- p(e.$slots, "default"),
73
- w(a, {
74
- class: l(["tw-inline tw-w-3 tw-ml-0.5 tw-transition-transform tw-duration-300", { "tw-rotate-180": n.openMenuItem === n.menuComponent }]),
75
- icon: n.dropdownIcon
76
- }, null, 8, ["class", "icon"])
77
- ], 42, M);
72
+ w("div", {
73
+ class: l(["tw-flex tw-items-center", r.computedClass])
74
+ }, [
75
+ p(e.$slots, "default"),
76
+ v(a, {
77
+ class: l(["tw-inline tw-w-3 tw-ml-0.5 tw-transition-transform tw-duration-300", { "tw-rotate-180": n.openMenuItem === n.menuComponent }]),
78
+ icon: n.dropdownIcon
79
+ }, null, 8, ["class", "icon"])
80
+ ], 2)
81
+ ], 40, M);
78
82
  }
79
- const O = /* @__PURE__ */ h(C, [["render", x]]);
83
+ const O = /* @__PURE__ */ C(x, [["render", y]]);
80
84
  export {
81
85
  O as default
82
86
  };
@@ -1 +1 @@
1
- .header-link[data-v-47d9197a]{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-47d9197a]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:none}
1
+ .header-link[data-v-479de318]{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-479de318]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:none}
@@ -1,4 +1,4 @@
1
- import { defineAsyncComponent as w, ref as i, computed as j, onMounted as F, onUnmounted as q, resolveComponent as k, resolveDirective as G, openBlock as a, createElementBlock as c, withDirectives as v, normalizeClass as b, createVNode as _, createBlock as g, withCtx as x, createTextVNode as M, createElementVNode as D, createCommentVNode as h, vShow as J, toDisplayString as Q } from "vue";
1
+ import { defineAsyncComponent as M, ref as i, computed as j, onMounted as F, onUnmounted as q, resolveComponent as k, resolveDirective as G, openBlock as a, createElementBlock as c, withDirectives as v, normalizeClass as b, createVNode as _, createBlock as g, withCtx as x, createTextVNode as w, createElementVNode as D, createCommentVNode as h, vShow as J, toDisplayString as Q } from "vue";
2
2
  import { mdiAccountCircle as X, mdiChevronDown as Y, mdiMagnify as Z, mdiMenu as $ } from "@mdi/js";
3
3
  import ee from "numeral";
4
4
  import ne from "../KvMaterialIcon.js";
@@ -8,7 +8,7 @@ import le from "../KvUserAvatar.js";
8
8
  import { throttle as ie } from "../../utils/throttle.js";
9
9
  import "./KvHeaderLinkBar.css";
10
10
  import re from "../../_virtual/_plugin-vue_export-helper.js";
11
- const ae = w(() => import("./KvHeaderMobileMenu.js")), C = w(() => import("./KvHeaderMyKivaMenu.js")), de = w(() => import("./LendMenu/KvLendMenu.js")), ue = w(() => import("./KvHeaderTakeActionMenu.js")), me = w(() => import("./KvHeaderAboutMenu.js")), E = 146, p = "avatar-menu", L = "menuButton", S = { top: "-3.75rem", width: "100%" }, se = {
11
+ const ae = M(() => import("./KvHeaderMobileMenu.js")), C = M(() => import("./KvHeaderMyKivaMenu.js")), ue = M(() => import("./LendMenu/KvLendMenu.js")), de = M(() => import("./KvHeaderTakeActionMenu.js")), me = M(() => import("./KvHeaderAboutMenu.js")), E = 146, p = "avatar-menu", L = "menuButton", S = { top: "-3.75rem", width: "100%" }, se = {
12
12
  components: {
13
13
  KvMaterialIcon: ne,
14
14
  KvIconBag: te,
@@ -56,39 +56,39 @@ const ae = w(() => import("./KvHeaderMobileMenu.js")), C = w(() => import("./KvH
56
56
  emits: [
57
57
  "item-hover"
58
58
  ],
59
- setup(u, { emit: e }) {
60
- const t = i(null), n = i(null), B = i(null), K = i(null), A = i(null), f = i(null), y = i(null), I = i(null), d = i(null), o = i(null), T = i(!1), m = (l, s, r = null) => {
59
+ setup(d, { emit: e }) {
60
+ const t = i(null), n = i(null), B = i(null), K = i(null), y = i(null), f = i(null), A = i(null), T = i(null), u = i(null), o = i(null), I = i(!1), m = (l, s, r = null) => {
61
61
  e("item-hover", l, s, r);
62
62
  }, V = (l, s, r = null) => {
63
- u.isMobile || m(
63
+ navigator.maxTouchPoints || (o.value = l, m(
64
64
  l,
65
65
  s,
66
- l === L && u.isMobile ? S : r
67
- );
68
- }, R = (l) => {
69
- !T.value && o.value === l && (o.value = null, m());
70
- }, P = () => {
66
+ l === L && d.isMobile ? S : r
67
+ ));
68
+ }, P = (l) => {
69
+ !I.value && o.value === l && (o.value = null, m());
70
+ }, R = () => {
71
71
  var U, N;
72
72
  const l = (N = (U = t.value) == null ? void 0 : U.userAvatar) == null ? void 0 : N.getBoundingClientRect();
73
73
  if (!l) return null;
74
74
  const r = l.left + l.width / 2 - E / 2;
75
75
  return {
76
- ...r + E > window.innerWidth ? { right: 0 } : { left: u.isMobile ? 0 : `${r}px` },
76
+ ...r + E > window.innerWidth ? { right: 0 } : { left: d.isMobile ? 0 : `${r}px` },
77
77
  marginTop: "-2px",
78
78
  // Avoid closing avatar menu on header edge
79
- borderRadius: u.isMobile ? "auto" : "0px 0px 8px 8px",
80
- width: u.isMobile ? "100%" : "auto"
79
+ borderRadius: d.isMobile ? "auto" : "0px 0px 8px 8px",
80
+ width: d.isMobile ? "100%" : "auto"
81
81
  };
82
82
  }, H = () => {
83
- o.value = p, m(t.value, C, P());
83
+ o.value = p, m(t.value, C, R());
84
84
  }, z = (l, s) => {
85
85
  let r = null;
86
- T.value = !0, r && clearTimeout(r), o.value === L && (o.value = null), !o.value || o.value !== l ? (o.value = l, l === p ? H() : l === L && u.isMobile ? m(l, s, S) : m(l, s)) : (o.value = null, m()), r = setTimeout(() => {
87
- T.value = !1;
88
- });
86
+ I.value = !0, r && clearTimeout(r), o.value === L && (o.value = null), !o.value || o.value !== l ? (o.value = l, l === p ? H() : l === L && d.isMobile ? m(l, s, S) : m(l, s)) : (o.value = null, m()), r = setTimeout(() => {
87
+ I.value = !1;
88
+ }, 100);
89
89
  }, O = ie(() => {
90
90
  o.value === p && H();
91
- }, 50), W = j(() => u.isMobile ? void 0 : "/lend-by-category");
91
+ }, 100), W = j(() => d.isMobile ? void 0 : "/lend-by-category");
92
92
  return F(() => {
93
93
  import("./KvHeaderMobileMenu.js"), import("./KvHeaderMyKivaMenu.js"), import("./LendMenu/KvLendMenu.js"), import("./KvHeaderTakeActionMenu.js"), import("./KvHeaderAboutMenu.js"), window.addEventListener("resize", O);
94
94
  }), q(() => {
@@ -106,29 +106,29 @@ const ae = w(() => import("./KvHeaderMobileMenu.js")), C = w(() => import("./KvH
106
106
  lendButton: n,
107
107
  aboutUsLink: B,
108
108
  partnerWithUsLink: K,
109
- borrowLink: A,
109
+ borrowLink: y,
110
110
  supportKivaLink: f,
111
- basketLink: y,
112
- signInLink: I,
113
- menuButton: d,
111
+ basketLink: A,
112
+ signInLink: T,
113
+ menuButton: u,
114
114
  lendUrl: W,
115
115
  handleOnHover: V,
116
116
  handleTouchStart: z,
117
- handleMouseOut: R,
117
+ handleMouseOut: P,
118
118
  handleAvatarMenuPosition: H,
119
119
  KvHeaderMobileMenu: ae,
120
120
  KvHeaderMyKivaMenu: C,
121
- KvLendMenu: de,
122
- KvHeaderTakeActionMenu: ue,
121
+ KvLendMenu: ue,
122
+ KvHeaderTakeActionMenu: de,
123
123
  KvHeaderAboutMenu: me
124
124
  };
125
125
  }
126
126
  }, ve = { class: "tw-h-full tw-flex tw-items-center tw-gap-0.5 md:tw-gap-1.5 lg:tw-gap-2.5" }, ce = ["href"], fe = {
127
127
  key: 0,
128
128
  class: "tw-bg-eco-green-1 tw-py-0.5 tw-px-1 tw-text-eco-green-4"
129
- }, Me = ["href"];
130
- function we(u, e, t, n, B, K) {
131
- const A = k("kv-material-icon"), f = k("KvHeaderDropdownLink"), y = k("kv-icon-bag"), I = k("KvUserAvatar"), d = G("kv-track-event");
129
+ }, we = ["href"];
130
+ function Me(d, e, t, n, B, K) {
131
+ const y = k("kv-material-icon"), f = k("KvHeaderDropdownLink"), A = k("kv-icon-bag"), T = k("KvUserAvatar"), u = G("kv-track-event");
132
132
  return a(), c("div", ve, [
133
133
  v((a(), c("button", {
134
134
  ref: "menuButton",
@@ -139,11 +139,12 @@ function we(u, e, t, n, B, K) {
139
139
  onMouseout: e[1] || (e[1] = (o) => n.handleMouseOut("menuButton")),
140
140
  onTouchstart: e[2] || (e[2] = (o) => n.handleTouchStart("menuButton", n.KvHeaderMobileMenu))
141
141
  }, [
142
- _(A, { icon: n.mdiMenu }, null, 8, ["icon"])
142
+ _(y, { icon: n.mdiMenu }, null, 8, ["icon"])
143
143
  ], 34)), [
144
- [d, t.openMenuItem === n.KvHeaderMobileMenu ? ["TopNav", "click-Hamburger-menu"] : null]
144
+ [u, t.openMenuItem === n.KvHeaderMobileMenu ? ["TopNav", "click-Hamburger-menu"] : null]
145
145
  ]),
146
146
  v((a(), g(f, {
147
+ class: "tw-py-1",
147
148
  "ref-name": "lendButton",
148
149
  href: n.lendUrl,
149
150
  "menu-component": n.KvLendMenu,
@@ -155,15 +156,15 @@ function we(u, e, t, n, B, K) {
155
156
  onTouchstart: e[4] || (e[4] = (o) => n.handleTouchStart("lendButton", n.KvLendMenu))
156
157
  }, {
157
158
  default: x(() => e[10] || (e[10] = [
158
- M(" Lend ")
159
+ w(" Lend ")
159
160
  ])),
160
161
  _: 1
161
162
  }, 8, ["href", "menu-component", "open-menu-item", "dropdown-icon", "onOnHover"])), [
162
- [d, ["TopNav", "click-Lend"]]
163
+ [u, ["TopNav", "click-Lend"]]
163
164
  ]),
164
165
  v((a(), g(f, {
165
166
  "ref-name": "takeActionButton",
166
- "base-class": "tw-hidden md:tw-inline-flex tw-py-2",
167
+ "base-class": "tw-hidden md:tw-inline-flex tw-py-1",
167
168
  "menu-component": n.KvHeaderTakeActionMenu,
168
169
  "open-menu-item": t.openMenuItem,
169
170
  "dropdown-icon": n.mdiChevronDown,
@@ -172,16 +173,16 @@ function we(u, e, t, n, B, K) {
172
173
  onMouseout: e[5] || (e[5] = (o) => n.handleMouseOut("takeActionButton"))
173
174
  }, {
174
175
  default: x(() => e[11] || (e[11] = [
175
- M(" Take action ")
176
+ w(" Take action ")
176
177
  ])),
177
178
  _: 1
178
179
  }, 8, ["menu-component", "open-menu-item", "dropdown-icon", "onOnHover"])), [
179
- [d, ["TopNav", "click-TakeAction"]]
180
+ [u, ["TopNav", "click-TakeAction"]]
180
181
  ]),
181
182
  v((a(), g(f, {
182
183
  "ref-name": "aboutUsLink",
183
184
  "data-testid": "header-about",
184
- "base-class": "tw-hidden md:tw-inline-flex tw-py-2",
185
+ "base-class": "tw-hidden md:tw-inline-flex tw-py-1",
185
186
  "menu-component": n.KvHeaderAboutMenu,
186
187
  "open-menu-item": t.openMenuItem,
187
188
  "dropdown-icon": n.mdiChevronDown,
@@ -190,11 +191,11 @@ function we(u, e, t, n, B, K) {
190
191
  onMouseout: e[6] || (e[6] = (o) => n.handleMouseOut("aboutUsLink"))
191
192
  }, {
192
193
  default: x(() => e[12] || (e[12] = [
193
- M(" About ")
194
+ w(" About ")
194
195
  ])),
195
196
  _: 1
196
197
  }, 8, ["menu-component", "open-menu-item", "dropdown-icon", "onOnHover"])), [
197
- [d, ["TopNav", "click-About"]]
198
+ [u, ["TopNav", "click-About"]]
198
199
  ]),
199
200
  e[15] || (e[15] = D("div", { class: "tw-flex-1 tw-h-full" }, null, -1)),
200
201
  t.loggedIn ? v((a(), c("a", {
@@ -203,9 +204,9 @@ function we(u, e, t, n, B, K) {
203
204
  href: t.myDashboardUrl,
204
205
  class: b(["header-link tw-hidden md:tw-block", { "tw-text-tertiary": !!t.openMenuItem }])
205
206
  }, e[13] || (e[13] = [
206
- M(" My dashboard ")
207
+ w(" My dashboard ")
207
208
  ]), 10, ce)), [
208
- [d, ["TopNav", "click-Dashboard"]]
209
+ [u, ["TopNav", "click-Dashboard"]]
209
210
  ]) : h("", !0),
210
211
  v((a(), c("a", {
211
212
  ref: "basketLink",
@@ -213,13 +214,13 @@ function we(u, e, t, n, B, K) {
213
214
  class: b(["header-link tw-relative", { "tw-text-tertiary": !!t.openMenuItem }]),
214
215
  "data-testid": "header-basket"
215
216
  }, [
216
- _(y, {
217
+ _(A, {
217
218
  class: "tw-w-3 tw-h-3 tw-pointer-events-none",
218
219
  count: t.basketCount
219
220
  }, null, 8, ["count"])
220
221
  ], 2)), [
221
222
  [J, t.basketCount > 0],
222
- [d, ["TopNav", "click-Basket"]]
223
+ [u, ["TopNav", "click-Basket"]]
223
224
  ]),
224
225
  D("div", {
225
226
  class: "tw-cursor-pointer tw-flex tw-items-center tw-gap-1 tw-py-1.5",
@@ -228,7 +229,7 @@ function we(u, e, t, n, B, K) {
228
229
  onTouchstart: e[9] || (e[9] = (o) => n.handleTouchStart(n.AVATAR_MENU_ID))
229
230
  }, [
230
231
  t.loggedIn ? (a(), c("span", fe, Q(n.numeral(t.balance).format("$0")), 1)) : h("", !0),
231
- t.loggedIn ? (a(), g(I, {
232
+ t.loggedIn ? (a(), g(T, {
232
233
  key: 1,
233
234
  ref: "avatar",
234
235
  "lender-name": t.lenderName,
@@ -242,13 +243,13 @@ function we(u, e, t, n, B, K) {
242
243
  href: t.loginUrl,
243
244
  class: b(["header-link", { "tw-text-tertiary": !!t.openMenuItem }])
244
245
  }, e[14] || (e[14] = [
245
- M(" Sign in ")
246
- ]), 10, Me)), [
247
- [d, ["TopNav", "click-Sign-in"]]
246
+ w(" Sign in ")
247
+ ]), 10, we)), [
248
+ [u, ["TopNav", "click-Sign-in"]]
248
249
  ])
249
250
  ]);
250
251
  }
251
- const Le = /* @__PURE__ */ re(se, [["render", we], ["__scopeId", "data-v-47d9197a"]]);
252
+ const Le = /* @__PURE__ */ re(se, [["render", Me], ["__scopeId", "data-v-479de318"]]);
252
253
  export {
253
254
  Le as default
254
255
  };
@@ -1 +1 @@
1
- .mobile-link[data-v-ba014b01]{--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.mobile-link[data-v-ba014b01]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}
1
+ .mobile-link[data-v-cdd5b09b]{--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.mobile-link[data-v-cdd5b09b]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}
@@ -90,6 +90,7 @@ function P(k, e, v, j, c, q) {
90
90
  onClick: e[0] || (e[0] = (l) => k.$emit("closing-menu"))
91
91
  }, null, 8, ["icon"])) : y("", !0),
92
92
  p(d, {
93
+ id: "accordion-take-action-menu",
93
94
  open: "",
94
95
  class: "tw-w-full tw-border-b-0"
95
96
  }, {
@@ -113,7 +114,10 @@ function P(k, e, v, j, c, q) {
113
114
  ]),
114
115
  _: 1
115
116
  }),
116
- p(d, { class: "tw-w-full" }, {
117
+ p(d, {
118
+ id: "accordion-about-menu",
119
+ class: "tw-w-full"
120
+ }, {
117
121
  header: a(() => e[2] || (e[2] = [
118
122
  r("h3", null, "About", -1)
119
123
  ])),
@@ -165,7 +169,7 @@ function P(k, e, v, j, c, q) {
165
169
  })
166
170
  ]);
167
171
  }
168
- const Q = /* @__PURE__ */ I(K, [["render", P], ["__scopeId", "data-v-ba014b01"]]);
172
+ const Q = /* @__PURE__ */ I(K, [["render", P], ["__scopeId", "data-v-cdd5b09b"]]);
169
173
  export {
170
174
  Q as default
171
175
  };
@@ -1,5 +1,5 @@
1
1
  import { gql as f } from "@apollo/client/core";
2
- import { toRefs as q, ref as i, computed as k, onMounted as S, resolveComponent as h, openBlock as x, createBlock as A, withCtx as B, createVNode as w } from "vue";
2
+ import { toRefs as q, ref as i, computed as w, onMounted as S, resolveComponent as h, openBlock as x, createBlock as A, withCtx as B, createVNode as k } from "vue";
3
3
  import F from "./KvLendListMenu.js";
4
4
  import N from "./KvLendMegaMenu.js";
5
5
  import { indexIn as O } from "../../../utils/comparators.js";
@@ -23,10 +23,10 @@ const E = {
23
23
  }
24
24
  },
25
25
  emits: ["load-lend-menu-data"],
26
- setup(y, { emit: p }) {
26
+ setup(p, { emit: y }) {
27
27
  const {
28
28
  userId: s
29
- } = q(y), e = i([]), g = i([]), m = i(0), u = i([]), v = [
29
+ } = q(p), e = i([]), g = i([]), m = i(0), c = i([]), v = [
30
30
  "North America",
31
31
  "Central America",
32
32
  "South America",
@@ -35,7 +35,7 @@ const E = {
35
35
  "Middle East",
36
36
  "Asia",
37
37
  "Oceania"
38
- ], c = i(!0), C = i(!0), M = async (a) => {
38
+ ], u = i(!0), C = i(!0), M = async (a) => {
39
39
  var r, t, o, d;
40
40
  if (a.watchQuery({
41
41
  query: f`query countryFacets {
@@ -54,7 +54,7 @@ const E = {
54
54
  }).subscribe({
55
55
  next: ({ data: n }) => {
56
56
  var l;
57
- g.value = ((l = n == null ? void 0 : n.lend) == null ? void 0 : l.countryFacets) ?? [], c.value = !1;
57
+ g.value = ((l = n == null ? void 0 : n.lend) == null ? void 0 : l.countryFacets) ?? [], u.value = !1;
58
58
  }
59
59
  }), a.watchQuery({
60
60
  query: f`
@@ -102,9 +102,9 @@ const E = {
102
102
  },
103
103
  fetchPolicy: "network-only"
104
104
  });
105
- m.value = ((t = (r = n == null ? void 0 : n.lend) == null ? void 0 : r.loans) == null ? void 0 : t.totalCount) ?? 0, u.value = ((d = (o = n == null ? void 0 : n.my) == null ? void 0 : o.savedSearches) == null ? void 0 : d.values) ?? [];
105
+ m.value = ((t = (r = n == null ? void 0 : n.lend) == null ? void 0 : r.loans) == null ? void 0 : t.totalCount) ?? 0, c.value = ((d = (o = n == null ? void 0 : n.my) == null ? void 0 : o.savedSearches) == null ? void 0 : d.values) ?? [];
106
106
  }
107
- }, b = k(() => {
107
+ }, b = w(() => {
108
108
  const a = g.value.map((o) => ({
109
109
  name: o.country.name,
110
110
  region: o.country.region,
@@ -117,7 +117,7 @@ const E = {
117
117
  countries: d.sort(L("name"))
118
118
  });
119
119
  return t.sort(O(v, "name"));
120
- }), I = k(() => {
120
+ }), I = w(() => {
121
121
  var r;
122
122
  return ((r = e.value) == null ? void 0 : r.map((t) => {
123
123
  const o = JSON.parse(JSON.stringify(t));
@@ -125,23 +125,23 @@ const E = {
125
125
  })).sort(L("name"));
126
126
  });
127
127
  return S(() => {
128
- p("load-lend-menu-data");
128
+ y("load-lend-menu-data");
129
129
  }), {
130
130
  onLoad: M,
131
131
  regions: b,
132
132
  computedCategories: I,
133
133
  isChannelsLoading: C,
134
- isRegionsLoading: c,
135
- savedSearches: u,
134
+ isRegionsLoading: u,
135
+ savedSearches: c,
136
136
  favoritesCount: m
137
137
  };
138
138
  }
139
139
  };
140
- function G(y, p, s, e, g, m) {
141
- const u = h("kv-lend-list-menu"), v = h("kv-lend-mega-menu"), c = h("kv-page-container");
142
- return x(), A(c, null, {
140
+ function G(p, y, s, e, g, m) {
141
+ const c = h("kv-lend-list-menu"), v = h("kv-lend-mega-menu"), u = h("kv-page-container");
142
+ return x(), A(u, { class: "tw-pt-2 lg:tw-pt-0" }, {
143
143
  default: B(() => [
144
- w(u, {
144
+ k(c, {
145
145
  class: "lg:tw-hidden",
146
146
  categories: e.computedCategories,
147
147
  regions: e.regions,
@@ -152,7 +152,7 @@ function G(y, p, s, e, g, m) {
152
152
  "is-channels-loading": e.isChannelsLoading,
153
153
  "show-m-g-upsell-link": s.showMGUpsellLink
154
154
  }, null, 8, ["categories", "regions", "user-id", "favorites", "searches", "is-regions-loading", "is-channels-loading", "show-m-g-upsell-link"]),
155
- w(v, {
155
+ k(v, {
156
156
  class: "tw-hidden lg:tw-block",
157
157
  categories: e.computedCategories,
158
158
  regions: e.regions,
@@ -1 +1 @@
1
- .header-fade-enter-active[data-v-15ce8e36]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.header-fade-leave-active[data-v-15ce8e36]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s}.header-fade-enter[data-v-15ce8e36],.header-fade-leave-to[data-v-15ce8e36]{opacity:0}.header-fade-leave[data-v-15ce8e36],.header-fade-enter-to[data-v-15ce8e36]{opacity:1}.bg-opacity-50[data-v-15ce8e36]{background-color:rgba(var(--bg-action-highlight),.5)}.header-container[data-v-15ce8e36]{max-width:67rem;margin-left:auto;margin-right:auto}@media screen and (width >= 67rem){.header-container>div[data-v-15ce8e36]{padding-left:0;padding-right:0}}
1
+ .header-fade-enter-active[data-v-e61834a3]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.header-fade-leave-active[data-v-e61834a3]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s}.header-fade-enter[data-v-e61834a3],.header-fade-leave-to[data-v-e61834a3]{opacity:0}.header-fade-leave[data-v-e61834a3],.header-fade-enter-to[data-v-e61834a3]{opacity:1}.bg-opacity-50[data-v-e61834a3]{background-color:rgba(var(--bg-action-highlight),.5)}.header-container[data-v-e61834a3]{max-width:67rem;margin-left:auto;margin-right:auto}@media screen and (width >= 67rem){.header-container>div[data-v-e61834a3]{padding-left:0;padding-right:0}}
@@ -72,7 +72,7 @@ const V = "3.75rem", O = {
72
72
  position: "absolute"
73
73
  })) : a.value && (u = setTimeout(() => {
74
74
  a.value = !1, r.value = null;
75
- }, 50));
75
+ }, 100));
76
76
  }, v = (p) => {
77
77
  var t;
78
78
  (t = m.value) == null || t.onLoad(p);
@@ -180,7 +180,7 @@ function j(C, n, o, e, a, r) {
180
180
  _: 1
181
181
  });
182
182
  }
183
- const oe = /* @__PURE__ */ P(O, [["render", j], ["__scopeId", "data-v-15ce8e36"]]);
183
+ const oe = /* @__PURE__ */ P(O, [["render", j], ["__scopeId", "data-v-e61834a3"]]);
184
184
  export {
185
185
  oe as default
186
186
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "6.52.0",
3
+ "version": "6.52.2",
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": "b70a4ee4d2e8d41cbe2afc4ff3fb66fc4e8bd4e2"
117
+ "gitHead": "531add36b257b0bcca471bd86289564ba00b7e18"
118
118
  }