@kiva/kv-components 6.52.2 → 6.52.4

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,7 +1,7 @@
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";
1
+ import { getCurrentInstance as c, computed as d, resolveComponent as m, openBlock as u, createElementBlock as f, createElementVNode as w, normalizeClass as l, renderSlot as p, createVNode as v } from "vue";
2
2
  import h from "../KvMaterialIcon.js";
3
- import C from "../../_virtual/_plugin-vue_export-helper.js";
4
- const x = {
3
+ import x from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const C = {
5
5
  components: { KvMaterialIcon: h },
6
6
  props: {
7
7
  refName: {
@@ -37,26 +37,28 @@ const x = {
37
37
  "on-hover"
38
38
  ],
39
39
  setup(e, { emit: o }) {
40
- const { proxy: n } = d();
40
+ const { proxy: n } = c();
41
41
  return {
42
- computedClass: c(() => [
42
+ computedClass: d(() => [
43
43
  e.baseClass,
44
44
  { "tw-text-tertiary": e.openMenuItem && e.openMenuItem !== e.menuComponent }
45
45
  ]),
46
46
  handleMouseOver: () => {
47
- let s = null;
48
- if (e.sendLinkPosition) {
49
- const a = n.$refs[e.refName];
50
- if (a) {
51
- const t = a.getBoundingClientRect();
52
- s = {
53
- left: `${(t == null ? void 0 : t.left) + (t == null ? void 0 : t.width) / 2}px`,
54
- transform: "translateX(-50%)",
55
- borderRadius: "0px 0px 8px 8px"
56
- };
47
+ if (!navigator.maxTouchPoints) {
48
+ let s = null;
49
+ if (e.sendLinkPosition) {
50
+ const a = n.$refs[e.refName];
51
+ if (a) {
52
+ const t = a.getBoundingClientRect();
53
+ s = {
54
+ left: `${(t == null ? void 0 : t.left) + (t == null ? void 0 : t.width) / 2}px`,
55
+ transform: "translateX(-50%)",
56
+ borderRadius: "0px 0px 8px 8px"
57
+ };
58
+ }
57
59
  }
60
+ o("on-hover", e.refName, e.menuComponent, s);
58
61
  }
59
- o("on-hover", e.refName, e.menuComponent, s);
60
62
  }
61
63
  };
62
64
  }
@@ -80,7 +82,7 @@ function y(e, o, n, r, i, s) {
80
82
  ], 2)
81
83
  ], 40, M);
82
84
  }
83
- const O = /* @__PURE__ */ C(x, [["render", y]]);
85
+ const O = /* @__PURE__ */ x(C, [["render", y]]);
84
86
  export {
85
87
  O as default
86
88
  };
@@ -1 +1 @@
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}
1
+ .mobile-link[data-v-4faf4cb4]{--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.mobile-link[data-v-4faf4cb4]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}
@@ -1,7 +1,7 @@
1
1
  import { mdiClose as w } from "@mdi/js";
2
2
  import b from "../KvAccordionItem.js";
3
3
  import h from "../KvMaterialIcon.js";
4
- import { resolveComponent as u, resolveDirective as _, openBlock as t, createElementBlock as o, createBlock as g, createCommentVNode as y, createVNode as p, withCtx as a, createElementVNode as r, Fragment as N, renderList as x, withDirectives as n, toDisplayString as m, createTextVNode as s } from "vue";
4
+ import { resolveComponent as u, resolveDirective as g, openBlock as t, createElementBlock as o, createBlock as _, createCommentVNode as y, createVNode as p, withCtx as a, createElementVNode as r, Fragment as N, renderList as x, withDirectives as n, toDisplayString as m, createTextVNode as s } from "vue";
5
5
  import "./KvHeaderMobileMenu.css";
6
6
  import I from "../../_virtual/_plugin-vue_export-helper.js";
7
7
  const K = {
@@ -48,7 +48,7 @@ const K = {
48
48
  },
49
49
  {
50
50
  title: "Buy a Kiva Card",
51
- description: "Share the joy of lending with others",
51
+ description: "Give the gift of lending to others",
52
52
  url: "/portfolio/kiva-card",
53
53
  trackEvent: "buy-a-kiva-card"
54
54
  }
@@ -70,20 +70,20 @@ const K = {
70
70
  }, H = {
71
71
  href: "/about/leadership",
72
72
  class: "mobile-link"
73
- }, S = {
73
+ }, F = {
74
74
  href: "/about/finances",
75
75
  class: "mobile-link"
76
- }, F = {
76
+ }, L = {
77
77
  href: "/about/press-center",
78
78
  class: "mobile-link"
79
- }, L = {
79
+ }, P = {
80
80
  href: "/about/due-diligence",
81
81
  class: "mobile-link"
82
82
  };
83
- function P(k, e, v, j, c, q) {
84
- const f = u("KvMaterialIcon"), d = u("KvAccordionItem"), i = _("kv-track-event");
83
+ function S(k, e, v, q, c, z) {
84
+ const f = u("KvMaterialIcon"), d = u("KvAccordionItem"), i = g("kv-track-event");
85
85
  return t(), o("nav", T, [
86
- v.isMobile ? (t(), g(f, {
86
+ v.isMobile ? (t(), _(f, {
87
87
  key: 0,
88
88
  icon: c.mdiClose,
89
89
  class: "tw-cursor-pointer",
@@ -148,17 +148,17 @@ function P(k, e, v, j, c, q) {
148
148
  ]))), [
149
149
  [i, ["TopNav", "click-menu-leadership"]]
150
150
  ]),
151
- n((t(), o("a", S, e[8] || (e[8] = [
151
+ n((t(), o("a", F, e[8] || (e[8] = [
152
152
  s("Finances")
153
153
  ]))), [
154
154
  [i, ["TopNav", "click-menu-finances"]]
155
155
  ]),
156
- n((t(), o("a", F, e[9] || (e[9] = [
156
+ n((t(), o("a", L, e[9] || (e[9] = [
157
157
  s("Press")
158
158
  ]))), [
159
159
  [i, ["TopNav", "click-menu-press"]]
160
160
  ]),
161
- n((t(), o("a", L, e[10] || (e[10] = [
161
+ n((t(), o("a", P, e[10] || (e[10] = [
162
162
  s("Due diligence")
163
163
  ]))), [
164
164
  [i, ["TopNav", "click-menu-due-diligence"]]
@@ -169,7 +169,7 @@ function P(k, e, v, j, c, q) {
169
169
  })
170
170
  ]);
171
171
  }
172
- const Q = /* @__PURE__ */ I(K, [["render", P], ["__scopeId", "data-v-cdd5b09b"]]);
172
+ const Q = /* @__PURE__ */ I(K, [["render", S], ["__scopeId", "data-v-4faf4cb4"]]);
173
173
  export {
174
174
  Q as default
175
175
  };
@@ -1,5 +1,5 @@
1
1
  import i from "./KvHeaderMenuLink.js";
2
- import { resolveComponent as u, resolveDirective as c, openBlock as o, createElementBlock as p, withDirectives as a, createBlock as s, withCtx as r, createElementVNode as e } from "vue";
2
+ import { resolveComponent as c, resolveDirective as u, openBlock as o, createElementBlock as p, withDirectives as a, createBlock as r, withCtx as s, createElementVNode as e } from "vue";
3
3
  import d from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const m = {
5
5
  components: {
@@ -7,10 +7,10 @@ const m = {
7
7
  }
8
8
  }, v = { class: "tw--mt-0.5 tw-pb-0.5 tw-flex tw-flex-col tw-items-start tw-font-medium tw-px-2.5" };
9
9
  function f(k, t, w, x, _, h) {
10
- const n = u("kv-header-menu-link"), l = c("kv-track-event");
10
+ const n = c("kv-header-menu-link"), l = u("kv-track-event");
11
11
  return o(), p("nav", v, [
12
- a((o(), s(n, { href: "/lend-by-category" }, {
13
- default: r(() => t[0] || (t[0] = [
12
+ a((o(), r(n, { href: "/lend-by-category" }, {
13
+ default: s(() => t[0] || (t[0] = [
14
14
  e("div", null, [
15
15
  e("p", null, "Choose someone to help"),
16
16
  e("p", { class: "tw-text-small tw-text-secondary" }, " Make a direct impact for someone in need ")
@@ -20,8 +20,8 @@ function f(k, t, w, x, _, h) {
20
20
  })), [
21
21
  [l, ["TopNav", "click-menu-Choose-someone-to-help"]]
22
22
  ]),
23
- a((o(), s(n, { href: "/donate/supportus" }, {
24
- default: r(() => t[1] || (t[1] = [
23
+ a((o(), r(n, { href: "/donate/supportus" }, {
24
+ default: s(() => t[1] || (t[1] = [
25
25
  e("div", null, [
26
26
  e("p", null, "Donate to Kiva"),
27
27
  e("p", { class: "tw-text-small tw-text-secondary" }, " Help us change lives and tackle inequality ")
@@ -31,22 +31,22 @@ function f(k, t, w, x, _, h) {
31
31
  })), [
32
32
  [l, ["TopNav", "click-menu-Donate-to-Kiva"]]
33
33
  ]),
34
- a((o(), s(n, { href: "/about/partner-with-us" }, {
35
- default: r(() => t[2] || (t[2] = [
34
+ a((o(), r(n, { href: "/about/partner-with-us" }, {
35
+ default: s(() => t[2] || (t[2] = [
36
36
  e("div", null, [
37
37
  e("p", null, "Partner with us"),
38
- e("p", { class: "tw-text-small tw-text-secondary" }, " Drive global impact aligned to your business goals ")
38
+ e("p", { class: "tw-text-small tw-text-secondary" }, " Drive global impact aligned with your organization’s goals ")
39
39
  ], -1)
40
40
  ])),
41
41
  _: 1
42
42
  })), [
43
43
  [l, ["TopNav", "click-menu-Partner-with-us"]]
44
44
  ]),
45
- a((o(), s(n, { href: "/gifts/kiva-cards" }, {
46
- default: r(() => t[3] || (t[3] = [
45
+ a((o(), r(n, { href: "/gifts/kiva-cards" }, {
46
+ default: s(() => t[3] || (t[3] = [
47
47
  e("div", null, [
48
48
  e("p", null, "Buy a Kiva Card"),
49
- e("p", { class: "tw-text-small tw-text-secondary" }, " Share the joy of lending with others ")
49
+ e("p", { class: "tw-text-small tw-text-secondary" }, " Give the gift of lending to others ")
50
50
  ], -1)
51
51
  ])),
52
52
  _: 1
@@ -55,7 +55,7 @@ function f(k, t, w, x, _, h) {
55
55
  ])
56
56
  ]);
57
57
  }
58
- const B = /* @__PURE__ */ d(m, [["render", f]]);
58
+ const C = /* @__PURE__ */ d(m, [["render", f]]);
59
59
  export {
60
- B as default
60
+ C as default
61
61
  };
@@ -1 +1 @@
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}}
1
+ .header-fade-enter-active[data-v-0892fc4e]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.header-fade-leave-active[data-v-0892fc4e]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s}.header-fade-enter[data-v-0892fc4e],.header-fade-leave-to[data-v-0892fc4e]{opacity:0}.header-fade-leave[data-v-0892fc4e],.header-fade-enter-to[data-v-0892fc4e]{opacity:1}.bg-opacity-50[data-v-0892fc4e]{background-color:rgba(var(--bg-action-highlight),.5)}
@@ -111,7 +111,7 @@ function j(C, n, o, e, a, r) {
111
111
  }, {
112
112
  default: f(() => [
113
113
  b("nav", {
114
- class: "tw-font-medium tw-relative header-container",
114
+ class: "tw-font-medium tw-relative",
115
115
  style: k({ height: e.HEADER_HEIGHT })
116
116
  }, [
117
117
  s(d, null, {
@@ -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-e61834a3"]]);
183
+ const oe = /* @__PURE__ */ P(O, [["render", j], ["__scopeId", "data-v-0892fc4e"]]);
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.2",
3
+ "version": "6.52.4",
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": "531add36b257b0bcca471bd86289564ba00b7e18"
117
+ "gitHead": "e3f89452a835ee45998223392754f5954358600a"
118
118
  }