@kiva/kv-components 6.67.1 → 6.67.3
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-
|
|
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
|
|
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",
|
|
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 ===
|
|
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 ===
|
|
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(() => {
|
|
@@ -176,12 +176,12 @@ function Ie(i, n, a, e, N, E) {
|
|
|
176
176
|
"menu-component": e.KvLendMenu,
|
|
177
177
|
"open-menu-item": a.openMenuItem,
|
|
178
178
|
"dropdown-icon": e.mdiChevronDown,
|
|
179
|
-
"base-class": "tw-inline-flex md:tw-border md:tw-rounded-md tw-px-1.5 tw-py-
|
|
179
|
+
"base-class": "tw-inline-flex md:tw-border md:tw-rounded-md tw-px-1.5 tw-py-0.5",
|
|
180
180
|
onOnHover: e.handleOnHover,
|
|
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:
|
|
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:
|
|
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:
|
|
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-
|
|
288
|
+
const Pe = /* @__PURE__ */ fe(be, [["render", Ie], ["__scopeId", "data-v-11e40cc0"]]);
|
|
289
289
|
export {
|
|
290
290
|
Pe as default
|
|
291
291
|
};
|
package/dist/vue/KvWwwHeader.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.header-fade-enter-active[data-v-
|
|
1
|
+
.header-fade-enter-active[data-v-7732c044]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.header-fade-leave-active[data-v-7732c044]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s}.header-fade-enter[data-v-7732c044],.header-fade-leave-to[data-v-7732c044]{opacity:0}.header-fade-leave[data-v-7732c044],.header-fade-enter-to[data-v-7732c044]{opacity:1}.bg-opacity-50[data-v-7732c044]{background-color:rgba(var(--bg-action-highlight),.5)}
|
package/dist/vue/KvWwwHeader.js
CHANGED
|
@@ -8,7 +8,7 @@ import { throttle as q } from "../utils/throttle.js";
|
|
|
8
8
|
import { debounce as F } from "../utils/debounce.js";
|
|
9
9
|
import "./KvWwwHeader.css";
|
|
10
10
|
import J from "../_virtual/_plugin-vue_export-helper.js";
|
|
11
|
-
const Q = "
|
|
11
|
+
const Q = "4rem", X = ["lendMenu", "aboutUsLink", "takeActionButton"], Z = {
|
|
12
12
|
components: {
|
|
13
13
|
KvHeaderLinkBar: V,
|
|
14
14
|
KvHeaderLogo: W,
|
|
@@ -122,7 +122,7 @@ function ee(L, o, n, e, r, i) {
|
|
|
122
122
|
class: "tw-font-medium tw-relative",
|
|
123
123
|
style: h({ height: e.HEADER_HEIGHT })
|
|
124
124
|
}, [
|
|
125
|
-
v(s,
|
|
125
|
+
v(s, { class: "tw-h-full" }, {
|
|
126
126
|
default: b(() => [
|
|
127
127
|
v(I, { name: "header-fade" }, {
|
|
128
128
|
default: b(() => [
|
|
@@ -195,7 +195,7 @@ function ee(L, o, n, e, r, i) {
|
|
|
195
195
|
_: 1
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
const me = /* @__PURE__ */ J(Z, [["render", ee], ["__scopeId", "data-v-
|
|
198
|
+
const me = /* @__PURE__ */ J(Z, [["render", ee], ["__scopeId", "data-v-7732c044"]]);
|
|
199
199
|
export {
|
|
200
200
|
me as default
|
|
201
201
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-components",
|
|
3
|
-
"version": "6.67.
|
|
3
|
+
"version": "6.67.3",
|
|
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": "
|
|
117
|
+
"gitHead": "d76f6d2e52d574f653391b363e459454d473463a"
|
|
118
118
|
}
|