@kiva/kv-components 6.40.6 → 6.41.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
- .header-link[data-v-850c5e69]{cursor:pointer;padding:1rem .5rem;--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.header-link[data-v-850c5e69]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:none}@media (min-width: 64rem){.header-link[data-v-850c5e69]{padding-left:1.25rem;padding-right:1.25rem}}
1
+ .header-link[data-v-ed7c52d8]{cursor:pointer;padding:1rem .5rem;--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.header-link[data-v-ed7c52d8]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:none}@media (min-width: 64rem){.header-link[data-v-ed7c52d8]{padding-left:1.25rem;padding-right:1.25rem}}
@@ -1,13 +1,13 @@
1
- import { defineAsyncComponent as f, ref as i, resolveComponent as g, resolveDirective as L, openBlock as l, createElementBlock as a, normalizeClass as o, createVNode as s, createCommentVNode as m, withDirectives as c, createTextVNode as h, createElementVNode as w } from "vue";
2
- import { mdiAccountCircle as H, mdiChevronDown as B, mdiMagnify as C, mdiMenu as N } from "@mdi/js";
3
- import S from "../KvMaterialIcon.js";
4
- import p from "../KvIconBag.js";
1
+ import { defineAsyncComponent as f, ref as i, onMounted as B, resolveComponent as g, resolveDirective as C, openBlock as l, createElementBlock as a, normalizeClass as o, createVNode as s, createCommentVNode as v, withDirectives as c, createTextVNode as h, createElementVNode as w } from "vue";
2
+ import { mdiAccountCircle as p, mdiChevronDown as N, mdiMagnify as S, mdiMenu as T } from "@mdi/js";
3
+ import U from "../KvMaterialIcon.js";
4
+ import A from "../KvIconBag.js";
5
5
  import "./KvHeaderLinkBar.css";
6
- import T from "../../_virtual/_plugin-vue_export-helper.js";
7
- const U = f(() => import("./KvHeaderMobileMenu.js")), A = f(() => import("./KvHeaderMyKivaMenu.js")), D = f(() => import("./LendMenu/KvLendMenu.js")), V = {
6
+ import D from "../../_virtual/_plugin-vue_export-helper.js";
7
+ const V = f(() => import("./KvHeaderMobileMenu.js")), _ = f(() => import("./KvHeaderMyKivaMenu.js")), E = f(() => import("./LendMenu/KvLendMenu.js")), W = {
8
8
  components: {
9
- KvMaterialIcon: S,
10
- KvIconBag: p
9
+ KvMaterialIcon: U,
10
+ KvIconBag: A
11
11
  },
12
12
  props: {
13
13
  loggedIn: {
@@ -32,19 +32,21 @@ const U = f(() => import("./KvHeaderMobileMenu.js")), A = f(() => import("./KvHe
32
32
  "open-search"
33
33
  ],
34
34
  setup(y, { emit: e }) {
35
- const t = i(null), n = i(null), M = i(null), b = i(null), d = i(null), k = i(null), u = i(null), r = i(null), I = i(null), x = i(null);
36
- return {
37
- mdiAccountCircle: H,
38
- mdiChevronDown: B,
39
- mdiMagnify: C,
40
- mdiMenu: N,
41
- onHover: (v, K) => {
42
- e("item-hover", v, K);
43
- },
44
- openSearch: () => {
45
- var v;
46
- e("open-search", (v = r.value) == null ? void 0 : v.offsetLeft);
47
- },
35
+ const t = i(null), n = i(null), M = i(null), b = i(null), d = i(null), k = i(null), u = i(null), r = i(null), I = i(null), x = i(null), K = (m, H) => {
36
+ e("item-hover", m, H);
37
+ }, L = () => {
38
+ var m;
39
+ e("open-search", (m = r.value) == null ? void 0 : m.offsetLeft);
40
+ };
41
+ return B(() => {
42
+ import("./KvHeaderMobileMenu.js"), import("./KvHeaderMyKivaMenu.js"), import("./LendMenu/KvLendMenu.js");
43
+ }), {
44
+ mdiAccountCircle: p,
45
+ mdiChevronDown: N,
46
+ mdiMagnify: S,
47
+ mdiMenu: T,
48
+ onHover: K,
49
+ openSearch: L,
48
50
  avatar: t,
49
51
  lendButton: n,
50
52
  aboutUsLink: M,
@@ -55,15 +57,15 @@ const U = f(() => import("./KvHeaderMobileMenu.js")), A = f(() => import("./KvHe
55
57
  searchButton: r,
56
58
  signInLink: I,
57
59
  menuButton: x,
58
- KvHeaderMobileMenu: U,
59
- KvHeaderMyKivaMenu: A,
60
- KvLendMenu: D
60
+ KvHeaderMobileMenu: V,
61
+ KvHeaderMyKivaMenu: _,
62
+ KvLendMenu: E
61
63
  };
62
64
  }
63
- }, _ = { class: "tw-h-full tw-flex tw-items-center" }, E = ["href"];
64
- function W(y, e, t, n, M, b) {
65
- const d = g("kv-material-icon"), k = g("kv-icon-bag"), u = L("kv-track-event");
66
- return l(), a("div", _, [
65
+ }, j = { class: "tw-h-full tw-flex tw-items-center" }, z = ["href"];
66
+ function F(y, e, t, n, M, b) {
67
+ const d = g("kv-material-icon"), k = g("kv-icon-bag"), u = C("kv-track-event");
68
+ return l(), a("div", j, [
67
69
  t.loggedIn ? (l(), a("button", {
68
70
  key: 0,
69
71
  ref: "avatar",
@@ -77,7 +79,7 @@ function W(y, e, t, n, M, b) {
77
79
  icon: n.mdiAccountCircle,
78
80
  class: "tw-w-3"
79
81
  }, null, 8, ["icon"])
80
- ], 34)) : m("", !0),
82
+ ], 34)) : v("", !0),
81
83
  c((l(), a("a", {
82
84
  ref: "lendButton",
83
85
  href: "/lend-by-category",
@@ -108,7 +110,7 @@ function W(y, e, t, n, M, b) {
108
110
  class: o(["header-link tw-hidden lg:tw-block", { "tw-text-tertiary": !!t.openMenuItem }])
109
111
  }, " Partner with us ", 2),
110
112
  e[10] || (e[10] = w("div", { class: "tw-flex-1 tw-h-full" }, null, -1)),
111
- t.loggedIn ? m("", !0) : (l(), a("a", {
113
+ t.loggedIn ? v("", !0) : (l(), a("a", {
112
114
  key: 1,
113
115
  ref: "borrowLink",
114
116
  href: "/borrow",
@@ -131,7 +133,7 @@ function W(y, e, t, n, M, b) {
131
133
  }, null, 8, ["count"])
132
134
  ], 2)), [
133
135
  [u, ["TopNav", "click-Basket"]]
134
- ]) : m("", !0),
136
+ ]) : v("", !0),
135
137
  c((l(), a("button", {
136
138
  ref: "searchButton",
137
139
  class: o(["header-link tw-flex", {
@@ -146,14 +148,14 @@ function W(y, e, t, n, M, b) {
146
148
  ], 2)), [
147
149
  [u, ["TopNav", "click-Search-toggle"]]
148
150
  ]),
149
- t.loggedIn ? m("", !0) : c((l(), a("a", {
151
+ t.loggedIn ? v("", !0) : c((l(), a("a", {
150
152
  key: 3,
151
153
  ref: "signInLink",
152
154
  href: t.loginUrl,
153
155
  class: o(["header-link tw-hidden lg:tw-block", { "tw-text-tertiary": !!t.openMenuItem }])
154
156
  }, e[9] || (e[9] = [
155
157
  h(" Sign in ")
156
- ]), 10, E)), [
158
+ ]), 10, z)), [
157
159
  [u, ["TopNav", "click-Sign-in"]]
158
160
  ]),
159
161
  c((l(), a("button", {
@@ -170,7 +172,7 @@ function W(y, e, t, n, M, b) {
170
172
  ])
171
173
  ]);
172
174
  }
173
- const Q = /* @__PURE__ */ T(V, [["render", W], ["__scopeId", "data-v-850c5e69"]]);
175
+ const R = /* @__PURE__ */ D(W, [["render", F], ["__scopeId", "data-v-ed7c52d8"]]);
174
176
  export {
175
- Q as default
177
+ R as default
176
178
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "6.40.6",
3
+ "version": "6.41.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": "f9688efee23caf916e373fd05deefd1880830d6e"
117
+ "gitHead": "fec3b15362bc58b76ca926df00d9d3da9c29e20f"
118
118
  }