@kiva/kv-components 6.40.4 → 6.40.6

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
- .lend-link[data-v-e4e7d18f]{display:block;width:100%;padding-top:.5rem;padding-bottom:.5rem;--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.lend-link[data-v-e4e7d18f]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1))}
1
+ .lend-link[data-v-4fed1891]{display:block;width:100%;padding-top:.5rem;padding-bottom:.5rem;--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.lend-link[data-v-4fed1891]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}
@@ -251,7 +251,7 @@ function le(C, e, r, f, N, K) {
251
251
  }, 512)
252
252
  ]);
253
253
  }
254
- const fe = /* @__PURE__ */ z(G, [["render", le], ["__scopeId", "data-v-e4e7d18f"]]);
254
+ const fe = /* @__PURE__ */ z(G, [["render", le], ["__scopeId", "data-v-4fed1891"]]);
255
255
  export {
256
256
  fe as default
257
257
  };
@@ -1 +1 @@
1
- .menu-heading[data-v-4e0a05e6]{font-weight:300;font-size:1rem;letter-spacing:0em;line-height:1.5}@media (min-width: 64rem){.menu-heading[data-v-4e0a05e6]{font-size:1.0625rem;letter-spacing:0em}}.menu-heading[data-v-4e0a05e6]{font-weight:400}.region-list[data-v-4e0a05e6],.search-list[data-v-4e0a05e6]{-moz-column-fill:auto;column-fill:auto;-moz-columns:3;columns:3;gap:2rem}.mega-menu-link[data-v-4e0a05e6]{display:inline-block;padding-top:.5rem;padding-bottom:.5rem;--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.mega-menu-link[data-v-4e0a05e6]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1))}.link-item[data-v-4e0a05e6]{width:11rem}
1
+ .menu-heading[data-v-c47f9ef7]{font-weight:300;font-size:1rem;letter-spacing:0em;line-height:1.5}@media (min-width: 64rem){.menu-heading[data-v-c47f9ef7]{font-size:1.0625rem;letter-spacing:0em}}.menu-heading[data-v-c47f9ef7]{font-weight:400}.region-list[data-v-c47f9ef7],.search-list[data-v-c47f9ef7]{-moz-column-fill:auto;column-fill:auto;-moz-columns:3;columns:3;gap:2rem}.mega-menu-link[data-v-c47f9ef7]{display:inline-block;padding-top:.5rem;padding-bottom:.5rem;--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.mega-menu-link[data-v-c47f9ef7]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}.link-item[data-v-c47f9ef7]{width:11rem;text-decoration-line:none}.link-item[data-v-c47f9ef7]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}
@@ -46,7 +46,7 @@ const z = {
46
46
  }
47
47
  },
48
48
  setup(p) {
49
- const e = L(null), i = L(""), l = k(() => i.value !== ""), y = (a) => i.value === a, S = (a) => {
49
+ const e = L(null), i = L(""), l = k(() => i.value !== ""), f = (a) => i.value === a, S = (a) => {
50
50
  i.value = a;
51
51
  }, h = k(() => {
52
52
  var r;
@@ -56,19 +56,19 @@ const z = {
56
56
  a.transform = `translateX(${o * -1}px)`;
57
57
  }
58
58
  return a;
59
- }), f = k(() => p.regions.filter((a) => y(a.name))), _ = k(() => p.searches.length > 0);
59
+ }), y = k(() => p.regions.filter((a) => f(a.name))), _ = k(() => p.searches.length > 0);
60
60
  return {
61
61
  mdiArrowRight: N,
62
62
  mdiChevronLeft: T,
63
63
  categoriesSection: e,
64
64
  openedSection: i,
65
65
  sectionOpen: l,
66
- isOpenSection: y,
66
+ isOpenSection: f,
67
67
  openSection: S,
68
68
  onClose: () => {
69
69
  i.value = "";
70
70
  },
71
- openRegions: f,
71
+ openRegions: y,
72
72
  computedStyle: h,
73
73
  hasSearches: _,
74
74
  savedSearchesTitle: "Saved searches"
@@ -88,16 +88,16 @@ const z = {
88
88
  href: "/lend"
89
89
  }, Z = { key: 0 }, $ = { class: "tw-font-medium" }, ee = ["href"], te = {
90
90
  key: 1,
91
- class: "tw-text-secondary tw-py-1 tw-inline-block"
91
+ class: "tw-text-secondary tw-py-1 tw-inline-block tw-no-underline hover:tw-underline"
92
92
  }, ne = ["aria-pressed"], se = {
93
93
  key: 1,
94
94
  class: "tw-text-secondary tw-py-1 tw-inline-block"
95
95
  }, oe = {
96
96
  href: "/lend/countries-not-lent",
97
- class: "tw-text-primary tw-text-left hover:tw-text-action tw-py-1 tw-inline-block"
97
+ class: "tw-text-primary tw-text-left hover:tw-text-action tw-py-1 tw-inline-block tw-no-underline hover:tw-underline"
98
98
  }, le = { class: "tw-col-span-2" }, ie = { class: "tw-col-span-8 tw-flex tw-flex-col" }, ae = { class: "tw-flex tw-whitespace-nowrap tw-h-full" }, re = { class: "tw-font-medium" }, ce = ["aria-pressed", "onClick"];
99
- function de(p, e, i, l, y, S) {
100
- const h = u("kv-loading-placeholder"), f = u("kv-material-icon"), _ = u("kv-lend-menu-search-list"), b = u("kv-lend-menu-country-list"), a = u("kv-grid"), r = R("kv-track-event");
99
+ function de(p, e, i, l, f, S) {
100
+ const h = u("kv-loading-placeholder"), y = u("kv-material-icon"), _ = u("kv-lend-menu-search-list"), b = u("kv-lend-menu-country-list"), a = u("kv-grid"), r = R("kv-track-event");
101
101
  return n(), s("div", E, [
102
102
  t("div", {
103
103
  style: A(l.computedStyle),
@@ -164,7 +164,7 @@ function de(p, e, i, l, y, S) {
164
164
  i.favorites > 0 ? d((n(), s("a", {
165
165
  key: 0,
166
166
  href: `/lend?lenderFavorite=${i.userId}`,
167
- class: "tw-text-primary tw-text-left hover:tw-text-action tw-py-1 tw-inline-block"
167
+ class: "tw-text-primary tw-text-left hover:tw-text-action tw-py-1 tw-inline-block tw-no-underline hover:tw-underline"
168
168
  }, e[6] || (e[6] = [
169
169
  m(" Saved loans ")
170
170
  ]), 8, ee)), [
@@ -197,7 +197,7 @@ function de(p, e, i, l, y, S) {
197
197
  class: "tw-flex",
198
198
  onClick: e[1] || (e[1] = (o) => l.openedSection = "")
199
199
  }, [
200
- w(f, {
200
+ w(y, {
201
201
  class: "tw-flex-shrink-0 tw-w-3 tw-h-3",
202
202
  icon: l.mdiChevronLeft
203
203
  }, null, 8, ["icon"]),
@@ -230,7 +230,7 @@ function de(p, e, i, l, y, S) {
230
230
  }, [
231
231
  d((n(), s("button", {
232
232
  "aria-pressed": l.isOpenSection(o.name) ? "true" : "false",
233
- class: O(["tw-text-primary tw-text-left tw-py-1 hover:tw-text-action-highlight hover:tw-underline", { "tw-text-action": l.isOpenSection(o.name) }]),
233
+ class: O(["tw-text-primary tw-text-left tw-py-1 hover:tw-text-action hover:tw-underline", { "tw-text-action": l.isOpenSection(o.name) }]),
234
234
  onClick: (g) => l.openSection(o.name)
235
235
  }, [
236
236
  m(x(o.name), 1)
@@ -257,7 +257,7 @@ function de(p, e, i, l, y, S) {
257
257
  ], 4)
258
258
  ]);
259
259
  }
260
- const _e = /* @__PURE__ */ F(z, [["render", de], ["__scopeId", "data-v-4e0a05e6"]]);
260
+ const _e = /* @__PURE__ */ F(z, [["render", de], ["__scopeId", "data-v-c47f9ef7"]]);
261
261
  export {
262
262
  _e as default
263
263
  };
@@ -1,14 +1,14 @@
1
1
  import { gql as v } from "@apollo/client/core";
2
- import { toRefs as w, ref as a, computed as _, onMounted as S, resolveComponent as L, openBlock as x, createElementBlock as A, createVNode as I } from "vue";
3
- import N from "./KvLendListMenu.js";
4
- import O from "./KvLendMegaMenu.js";
5
- import { indexIn as R } from "../../../utils/comparators.js";
6
- import { groupBy as B, sortBy as b } from "../../../utils/arrayUtils.js";
7
- import E from "../../../_virtual/_plugin-vue_export-helper.js";
8
- const F = {
2
+ import { toRefs as w, ref as a, computed as _, onMounted as S, resolveComponent as L, openBlock as x, createElementBlock as A, createVNode as b } from "vue";
3
+ import F from "./KvLendListMenu.js";
4
+ import N from "./KvLendMegaMenu.js";
5
+ import { indexIn as O } from "../../../utils/comparators.js";
6
+ import { groupBy as R, sortBy as I } from "../../../utils/arrayUtils.js";
7
+ import B from "../../../_virtual/_plugin-vue_export-helper.js";
8
+ const E = {
9
9
  components: {
10
- KvLendListMenu: N,
11
- KvLendMegaMenu: O
10
+ KvLendListMenu: F,
11
+ KvLendMegaMenu: N
12
12
  },
13
13
  props: {
14
14
  userId: {
@@ -20,7 +20,7 @@ const F = {
20
20
  setup(f, { emit: y }) {
21
21
  const {
22
22
  userId: i
23
- } = w(f), e = a([]), d = a([]), m = a(0), u = a([]), g = [
23
+ } = w(f), e = a([]), d = a([]), m = a(0), c = a([]), g = [
24
24
  "North America",
25
25
  "Central America",
26
26
  "South America",
@@ -30,7 +30,7 @@ const F = {
30
30
  "Asia",
31
31
  "Oceania"
32
32
  ], h = a(!0), C = a(!0), M = async (t) => {
33
- var s, r, o, l;
33
+ var r, s, o, u;
34
34
  if (t.watchQuery({
35
35
  query: v`query countryFacets {
36
36
  lend {
@@ -47,8 +47,8 @@ const F = {
47
47
  }`
48
48
  }).subscribe({
49
49
  next: ({ data: n }) => {
50
- var c;
51
- d.value = ((c = n == null ? void 0 : n.lend) == null ? void 0 : c.countryFacets) ?? [], h.value = !1;
50
+ var l;
51
+ d.value = ((l = n == null ? void 0 : n.lend) == null ? void 0 : l.countryFacets) ?? [], h.value = !1;
52
52
  }
53
53
  }), t.watchQuery({
54
54
  query: v`
@@ -66,15 +66,17 @@ const F = {
66
66
  `
67
67
  }).subscribe({
68
68
  next: ({ data: n }) => {
69
- var c, p;
70
- e.value = ((p = (c = n == null ? void 0 : n.lend) == null ? void 0 : c.loanChannels) == null ? void 0 : p.values) ?? [], C.value = !1;
69
+ var l, p;
70
+ e.value = ((p = (l = n == null ? void 0 : n.lend) == null ? void 0 : l.loanChannels) == null ? void 0 : p.values) ?? [], C.value = !1;
71
71
  }
72
72
  }), i.value) {
73
73
  const { data: n } = await t.query({
74
74
  query: v`
75
75
  query lendMenuPrivateData($userId: Int!) {
76
76
  lend {
77
- loans(userId: $userId, limit: 0) {
77
+ loans(limit: 1, filters: {
78
+ lenderFavorite: $userId
79
+ }) {
78
80
  totalCount
79
81
  }
80
82
  }
@@ -94,7 +96,7 @@ const F = {
94
96
  },
95
97
  fetchPolicy: "network-only"
96
98
  });
97
- m.value = ((r = (s = n == null ? void 0 : n.lend) == null ? void 0 : s.loans) == null ? void 0 : r.totalCount) ?? 0, u.value = ((l = (o = n == null ? void 0 : n.my) == null ? void 0 : o.savedSearches) == null ? void 0 : l.values) ?? [];
99
+ m.value = ((s = (r = n == null ? void 0 : n.lend) == null ? void 0 : r.loans) == null ? void 0 : s.totalCount) ?? 0, c.value = ((u = (o = n == null ? void 0 : n.my) == null ? void 0 : o.savedSearches) == null ? void 0 : u.values) ?? [];
98
100
  }
99
101
  }, k = _(() => {
100
102
  const t = d.value.map((o) => ({
@@ -102,19 +104,19 @@ const F = {
102
104
  region: o.country.region,
103
105
  isoCode: o.country.isoCode.toLowerCase(),
104
106
  count: o.count || 0
105
- })), s = B(t, "region"), r = [];
106
- for (const [o, l] of Object.entries(s))
107
- r.push({
107
+ })), r = R(t, "region"), s = [];
108
+ for (const [o, u] of Object.entries(r))
109
+ s.push({
108
110
  name: o,
109
- countries: l.sort(b("name"))
111
+ countries: u.sort(I("name"))
110
112
  });
111
- return r.sort(R(g, "name"));
113
+ return s.sort(O(g, "name"));
112
114
  }), q = _(() => {
113
- var s;
114
- return ((s = e.value) == null ? void 0 : s.map((r) => {
115
- const o = JSON.parse(JSON.stringify(r));
115
+ var r;
116
+ return ((r = e.value) == null ? void 0 : r.map((s) => {
117
+ const o = JSON.parse(JSON.stringify(s));
116
118
  return o.url = o.url.replace("lend", "lend-by-category"), o;
117
- })).sort(b("name"));
119
+ })).sort(I("name"));
118
120
  });
119
121
  return S(() => {
120
122
  y("load-lend-menu-data");
@@ -124,15 +126,15 @@ const F = {
124
126
  computedCategories: q,
125
127
  isChannelsLoading: C,
126
128
  isRegionsLoading: h,
127
- savedSearches: u,
129
+ savedSearches: c,
128
130
  favoritesCount: m
129
131
  };
130
132
  }
131
133
  };
132
134
  function D(f, y, i, e, d, m) {
133
- const u = L("kv-lend-list-menu"), g = L("kv-lend-mega-menu");
135
+ const c = L("kv-lend-list-menu"), g = L("kv-lend-mega-menu");
134
136
  return x(), A("div", null, [
135
- I(u, {
137
+ b(c, {
136
138
  class: "lg:tw-hidden",
137
139
  categories: e.computedCategories,
138
140
  regions: e.regions,
@@ -142,7 +144,7 @@ function D(f, y, i, e, d, m) {
142
144
  "is-regions-loading": e.isRegionsLoading,
143
145
  "is-channels-loading": e.isChannelsLoading
144
146
  }, null, 8, ["categories", "regions", "user-id", "favorites", "searches", "is-regions-loading", "is-channels-loading"]),
145
- I(g, {
147
+ b(g, {
146
148
  class: "tw-hidden lg:tw-block",
147
149
  categories: e.computedCategories,
148
150
  regions: e.regions,
@@ -154,7 +156,7 @@ function D(f, y, i, e, d, m) {
154
156
  }, null, 8, ["categories", "regions", "user-id", "favorites", "searches", "is-regions-loading", "is-channels-loading"])
155
157
  ]);
156
158
  }
157
- const G = /* @__PURE__ */ E(F, [["render", D]]);
159
+ const G = /* @__PURE__ */ B(E, [["render", D]]);
158
160
  export {
159
161
  G as default
160
162
  };
@@ -1 +1 @@
1
- .country-list-item[data-v-219fb066]{width:11rem}
1
+ .country-list-item[data-v-b291d337]{width:11rem}
@@ -1,7 +1,7 @@
1
- import { resolveDirective as n, openBlock as e, createElementBlock as o, Fragment as c, renderList as a, withDirectives as l, createTextVNode as p, toDisplayString as r } from "vue";
1
+ import { resolveDirective as i, openBlock as e, createElementBlock as o, Fragment as c, renderList as a, withDirectives as l, createTextVNode as d, toDisplayString as r } from "vue";
2
2
  import "./KvLendMenuCountryList.css";
3
- import _ from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const d = {
3
+ import p from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const _ = {
5
5
  name: "CountryList",
6
6
  props: {
7
7
  countries: {
@@ -9,12 +9,12 @@ const d = {
9
9
  default: () => []
10
10
  }
11
11
  }
12
- }, m = { class: "tw-whitespace-nowrap tw-font-medium" }, u = ["href"], f = {
12
+ }, m = { class: "tw-whitespace-nowrap tw-font-medium" }, u = ["href"], w = {
13
13
  key: 1,
14
14
  class: "tw-block tw-py-1 tw-text-tertiary"
15
15
  };
16
- function w(h, k, s, v, y, x) {
17
- const i = n("kv-track-event");
16
+ function f(k, v, s, h, y, x) {
17
+ const n = i("kv-track-event");
18
18
  return e(), o("ul", m, [
19
19
  (e(!0), o(c, null, a(s.countries, (t) => (e(), o("li", {
20
20
  key: t.isoCode,
@@ -23,16 +23,16 @@ function w(h, k, s, v, y, x) {
23
23
  t.count > 0 ? l((e(), o("a", {
24
24
  key: 0,
25
25
  href: `/lend/filter?country=${t.isoCode}`,
26
- class: "tw-text-primary hover:tw-text-action-highlight tw-block tw-w-full tw-py-1"
26
+ class: "tw-text-primary hover:tw-text-action tw-block tw-w-full tw-py-1"
27
27
  }, [
28
- p(r(t.name) + " (" + r(t.count) + ") ", 1)
28
+ d(r(t.name) + " (" + r(t.count) + ") ", 1)
29
29
  ], 8, u)), [
30
- [i, ["TopNav", "click-Lend-Country", t.name]]
31
- ]) : (e(), o("span", f, r(t.name) + " (0) ", 1))
30
+ [n, ["TopNav", "click-Lend-Country", t.name]]
31
+ ]) : (e(), o("span", w, r(t.name) + " (0) ", 1))
32
32
  ]))), 128))
33
33
  ]);
34
34
  }
35
- const $ = /* @__PURE__ */ _(d, [["render", w], ["__scopeId", "data-v-219fb066"]]);
35
+ const b = /* @__PURE__ */ p(_, [["render", f], ["__scopeId", "data-v-b291d337"]]);
36
36
  export {
37
- $ as default
37
+ b as default
38
38
  };
@@ -1,32 +1,32 @@
1
- import { openBlock as e, createElementBlock as r, Fragment as a, renderList as l, createElementVNode as o, toDisplayString as i } from "vue";
2
- import c from "../../../_virtual/_plugin-vue_export-helper.js";
3
- const h = {
1
+ import { openBlock as e, createElementBlock as r, Fragment as a, renderList as l, createElementVNode as o, toDisplayString as c } from "vue";
2
+ import i from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ const p = {
4
4
  props: {
5
5
  searches: {
6
6
  type: Array,
7
7
  default: () => []
8
8
  }
9
9
  }
10
- }, p = { class: "tw-font-book" }, d = ["href"];
11
- function f(u, s, n, w, m, _) {
12
- return e(), r("ul", p, [
10
+ }, d = { class: "tw-font-book" }, f = ["href"];
11
+ function u(w, s, n, m, _, h) {
12
+ return e(), r("ul", d, [
13
13
  (e(!0), r(a, null, l(n.searches, (t) => (e(), r("li", {
14
14
  key: t.id
15
15
  }, [
16
16
  o("a", {
17
- class: "tw-text-primary hover:tw-text-action-highlight tw-block tw-w-full tw-py-1",
17
+ class: "tw-text-primary hover:tw-text-action tw-block tw-w-full tw-py-1",
18
18
  href: t.url
19
- }, i(t.name), 9, d)
19
+ }, c(t.name), 9, f)
20
20
  ]))), 128)),
21
21
  s[0] || (s[0] = o("li", null, [
22
22
  o("a", {
23
- class: "tw-text-primary hover:tw-text-action-highlight tw-block tw-w-full tw-py-1",
23
+ class: "tw-text-primary hover:tw-text-action tw-block tw-w-full tw-py-1",
24
24
  href: "/lend/saved-search"
25
25
  }, " Manage saved searches ")
26
26
  ], -1))
27
27
  ]);
28
28
  }
29
- const x = /* @__PURE__ */ c(h, [["render", f]]);
29
+ const k = /* @__PURE__ */ i(p, [["render", u]]);
30
30
  export {
31
- x as default
31
+ k as default
32
32
  };
@@ -1 +1 @@
1
- .header-margins[data-v-31b1473c]{margin:0 auto;max-width:1400px}.header-fade-enter-active[data-v-31b1473c]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.header-fade-leave-active[data-v-31b1473c]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s}.header-fade-enter[data-v-31b1473c],.header-fade-leave-to[data-v-31b1473c]{opacity:0}.header-fade-leave[data-v-31b1473c],.header-fade-enter-to[data-v-31b1473c]{opacity:1}.bg-opacity-50[data-v-31b1473c]{background-color:rgba(var(--bg-action-highlight),.5)}
1
+ .header-margins[data-v-2269b77f]{margin:0 auto;max-width:1400px}.header-fade-enter-active[data-v-2269b77f]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.header-fade-leave-active[data-v-2269b77f]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s}.header-fade-enter[data-v-2269b77f],.header-fade-leave-to[data-v-2269b77f]{opacity:0}.header-fade-leave[data-v-2269b77f],.header-fade-enter-to[data-v-2269b77f]{opacity:1}.bg-opacity-50[data-v-2269b77f]{background-color:rgba(var(--bg-action-highlight),.5)}
@@ -1,4 +1,4 @@
1
- import { ref as s, shallowRef as L, resolveComponent as c, resolveDirective as H, openBlock as h, createBlock as p, withCtx as d, createElementVNode as g, createVNode as r, Transition as w, withDirectives as _, vShow as k, createElementBlock as O, normalizeClass as x, createCommentVNode as B, resolveDynamicComponent as I } from "vue";
1
+ import { ref as s, shallowRef as L, resolveComponent as c, resolveDirective as H, openBlock as h, createBlock as p, withCtx as d, createElementVNode as g, createVNode as r, Transition as w, withDirectives as _, vShow as b, createElementBlock as O, normalizeClass as x, createCommentVNode as B, resolveDynamicComponent as I } from "vue";
2
2
  import N from "./KvWwwHeader/KvHeaderLinkBar.js";
3
3
  import E from "./KvWwwHeader/KvHeaderLogo.js";
4
4
  import M from "./KvWwwHeader/KvHeaderSearchBar.js";
@@ -48,11 +48,11 @@ const D = {
48
48
  "load-lend-menu-data"
49
49
  ],
50
50
  setup(C, { emit: n }) {
51
- const t = s(!0), e = s(null), u = s(!1), b = s(null), l = s(!1), i = L(null), m = s(null);
51
+ const t = s(!0), e = s(null), m = s(!1), k = s(null), l = s(!1), i = L(null), u = s(null);
52
52
  let f;
53
53
  return {
54
54
  afterLinksNotVisible: () => {
55
- u.value = !0;
55
+ m.value = !0;
56
56
  },
57
57
  afterSearchClosed: () => {
58
58
  t.value = !0;
@@ -65,7 +65,7 @@ const D = {
65
65
  n("load-lend-menu-data");
66
66
  },
67
67
  linksVisible: t,
68
- searchOpen: u,
68
+ searchOpen: m,
69
69
  menuOpen: l,
70
70
  onHover: (a, o) => {
71
71
  o ? (clearTimeout(f), i.value = o, l.value = !0) : l.value && (f = setTimeout(() => {
@@ -76,7 +76,7 @@ const D = {
76
76
  t.value = !1;
77
77
  },
78
78
  closeSearch: () => {
79
- u.value = !1;
79
+ m.value = !1;
80
80
  },
81
81
  getSuggestions: (a) => {
82
82
  var o;
@@ -84,23 +84,23 @@ const D = {
84
84
  },
85
85
  loadMenuData: (a) => {
86
86
  var o;
87
- (o = m.value) == null || o.onLoad(a);
87
+ (o = u.value) == null || o.onLoad(a);
88
88
  },
89
- activeHeaderItem: b,
89
+ activeHeaderItem: k,
90
90
  searchBar: e,
91
91
  menuComponent: i,
92
- menuComponentInstance: m
92
+ menuComponentInstance: u
93
93
  };
94
94
  }
95
95
  }, K = {
96
96
  class: "header-margins tw-relative tw-py-1 tw-px-1.5 tw-font-medium",
97
97
  style: { height: "3.75rem" }
98
98
  }, U = { class: "header-margins tw-px-2.5" };
99
- function z(C, n, t, e, u, b) {
100
- const l = c("kv-header-link-bar"), i = c("kv-header-logo"), m = c("kv-header-search-bar"), f = c("kv-header-search-suggestions"), S = c("kv-theme-provider"), y = H("kv-track-event");
99
+ function z(C, n, t, e, m, k) {
100
+ const l = c("kv-header-link-bar"), i = c("kv-header-logo"), u = c("kv-header-search-bar"), f = c("kv-header-search-suggestions"), S = c("kv-theme-provider"), y = H("kv-track-event");
101
101
  return h(), p(S, {
102
- tag: "header",
103
- class: "tw-bg-secondary"
102
+ tag: "div",
103
+ class: "tw-bg-secondary tw-border-b tw-border-tertiary"
104
104
  }, {
105
105
  default: d(() => [
106
106
  g("nav", K, [
@@ -117,7 +117,7 @@ function z(C, n, t, e, u, b) {
117
117
  onItemHover: e.onHover,
118
118
  onOpenSearch: e.openSearch
119
119
  }, null, 8, ["logged-in", "basket-count", "login-url", "open-menu-item", "onItemHover", "onOpenSearch"]), [
120
- [k, e.linksVisible]
120
+ [b, e.linksVisible]
121
121
  ])
122
122
  ]),
123
123
  _: 1
@@ -138,7 +138,7 @@ function z(C, n, t, e, u, b) {
138
138
  onAfterLeave: e.afterSearchClosed
139
139
  }, {
140
140
  default: d(() => [
141
- _(r(m, {
141
+ _(r(u, {
142
142
  ref: "searchBar",
143
143
  class: "tw-absolute tw-left-1/2 tw--translate-x-1/2 tw-top-1/2 tw--translate-y-1/2 tw-h-full tw-w-full",
144
144
  style: {
@@ -146,7 +146,7 @@ function z(C, n, t, e, u, b) {
146
146
  },
147
147
  onCloseSearch: e.closeSearch
148
148
  }, null, 8, ["onCloseSearch"]), [
149
- [k, e.searchOpen]
149
+ [b, e.searchOpen]
150
150
  ])
151
151
  ]),
152
152
  _: 1
@@ -164,7 +164,7 @@ function z(C, n, t, e, u, b) {
164
164
  r(w, { name: "header-fade" }, {
165
165
  default: d(() => [
166
166
  _(g("div", {
167
- class: "tw-absolute tw-z-modal tw-h-full tw-inset-x-0 tw-bg-eco-green-4 bg-opacity-50",
167
+ class: "tw-absolute tw-z-modal tw-h-full tw-inset-x-0 tw-bg-eco-green-4 bg-opacity-50 tw-min-h-screen",
168
168
  style: { top: "3.75rem" },
169
169
  onClick: n[2] || (n[2] = (...v) => e.closeSearch && e.closeSearch(...v))
170
170
  }, [
@@ -187,7 +187,7 @@ function z(C, n, t, e, u, b) {
187
187
  ])
188
188
  ], 32)
189
189
  ], 512), [
190
- [k, e.menuOpen || e.searchOpen]
190
+ [b, e.menuOpen || e.searchOpen]
191
191
  ])
192
192
  ]),
193
193
  _: 1
@@ -196,7 +196,7 @@ function z(C, n, t, e, u, b) {
196
196
  _: 1
197
197
  });
198
198
  }
199
- const te = /* @__PURE__ */ V(D, [["render", z], ["__scopeId", "data-v-31b1473c"]]);
199
+ const te = /* @__PURE__ */ V(D, [["render", z], ["__scopeId", "data-v-2269b77f"]]);
200
200
  export {
201
201
  te as default
202
202
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "6.40.4",
3
+ "version": "6.40.6",
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": "233682ee4d7f6947c0612ee982497cc97cf83487"
117
+ "gitHead": "f9688efee23caf916e373fd05deefd1880830d6e"
118
118
  }