@kiva/kv-components 6.40.2 → 6.40.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
|
-
.menu-heading[data-v-
|
|
1
|
+
.menu-heading[data-v-e587521b]{font-weight:300;font-size:1rem;letter-spacing:0em;line-height:1.5}@media (min-width: 64rem){.menu-heading[data-v-e587521b]{font-size:1.0625rem;letter-spacing:0em}}.menu-heading[data-v-e587521b]{font-weight:400}.region-list[data-v-e587521b],.search-list[data-v-e587521b]{-moz-column-fill:auto;column-fill:auto;-moz-columns:3;columns:3;gap:2rem}.mega-menu-link[data-v-e587521b]{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-e587521b]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1))}.link-item[data-v-e587521b]{width:11rem}
|
|
@@ -124,7 +124,7 @@ function de(p, e, i, l, y, b) {
|
|
|
124
124
|
}, [
|
|
125
125
|
d((n(), s("a", {
|
|
126
126
|
href: o.url,
|
|
127
|
-
class: "tw-text-primary tw-text-left hover:tw-text-action-highlight tw-
|
|
127
|
+
class: "tw-text-primary tw-text-left hover:tw-text-action-highlight tw-no-underline tw-my-1 tw-inline-block"
|
|
128
128
|
}, [
|
|
129
129
|
m(x(o.name), 1)
|
|
130
130
|
], 8, X)), [
|
|
@@ -257,7 +257,7 @@ function de(p, e, i, l, y, b) {
|
|
|
257
257
|
], 4)
|
|
258
258
|
]);
|
|
259
259
|
}
|
|
260
|
-
const _e = /* @__PURE__ */ F(z, [["render", de], ["__scopeId", "data-v-
|
|
260
|
+
const _e = /* @__PURE__ */ F(z, [["render", de], ["__scopeId", "data-v-e587521b"]]);
|
|
261
261
|
export {
|
|
262
262
|
_e as default
|
|
263
263
|
};
|
package/dist/vue/KvWwwHeader.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.header-margins[data-v-
|
|
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)}
|
package/dist/vue/KvWwwHeader.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
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";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
2
|
+
import N from "./KvWwwHeader/KvHeaderLinkBar.js";
|
|
3
|
+
import E from "./KvWwwHeader/KvHeaderLogo.js";
|
|
4
|
+
import M from "./KvWwwHeader/KvHeaderSearchBar.js";
|
|
5
|
+
import A from "./KvThemeProvider.js";
|
|
6
6
|
import T from "./KvWwwHeader/KvHeaderSearchSuggestions.js";
|
|
7
7
|
import "./KvWwwHeader.css";
|
|
8
8
|
import V from "../_virtual/_plugin-vue_export-helper.js";
|
|
9
9
|
const D = {
|
|
10
10
|
components: {
|
|
11
|
-
KvHeaderLinkBar:
|
|
12
|
-
KvHeaderLogo:
|
|
13
|
-
KvHeaderSearchBar:
|
|
14
|
-
KvThemeProvider:
|
|
11
|
+
KvHeaderLinkBar: N,
|
|
12
|
+
KvHeaderLogo: E,
|
|
13
|
+
KvHeaderSearchBar: M,
|
|
14
|
+
KvThemeProvider: A,
|
|
15
15
|
KvHeaderSearchSuggestions: T
|
|
16
16
|
},
|
|
17
17
|
props: {
|
|
@@ -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),
|
|
51
|
+
const t = s(!0), e = s(null), u = s(!1), b = s(null), l = s(!1), i = L(null), m = s(null);
|
|
52
52
|
let f;
|
|
53
53
|
return {
|
|
54
54
|
afterLinksNotVisible: () => {
|
|
55
|
-
|
|
55
|
+
u.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:
|
|
68
|
+
searchOpen: u,
|
|
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
|
-
|
|
79
|
+
u.value = !1;
|
|
80
80
|
},
|
|
81
81
|
getSuggestions: (a) => {
|
|
82
82
|
var o;
|
|
@@ -84,20 +84,20 @@ const D = {
|
|
|
84
84
|
},
|
|
85
85
|
loadMenuData: (a) => {
|
|
86
86
|
var o;
|
|
87
|
-
(o =
|
|
87
|
+
(o = m.value) == null || o.onLoad(a);
|
|
88
88
|
},
|
|
89
89
|
activeHeaderItem: b,
|
|
90
90
|
searchBar: e,
|
|
91
91
|
menuComponent: i,
|
|
92
|
-
menuComponentInstance:
|
|
92
|
+
menuComponentInstance: m
|
|
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,
|
|
100
|
-
const l = c("kv-header-link-bar"), i = c("kv-header-logo"),
|
|
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");
|
|
101
101
|
return h(), p(S, {
|
|
102
102
|
tag: "header",
|
|
103
103
|
class: "tw-bg-secondary"
|
|
@@ -138,7 +138,7 @@ function z(C, n, t, e, m, b) {
|
|
|
138
138
|
onAfterLeave: e.afterSearchClosed
|
|
139
139
|
}, {
|
|
140
140
|
default: d(() => [
|
|
141
|
-
_(r(
|
|
141
|
+
_(r(m, {
|
|
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: {
|
|
@@ -154,14 +154,13 @@ function z(C, n, t, e, m, b) {
|
|
|
154
154
|
]),
|
|
155
155
|
r(w, {
|
|
156
156
|
name: "header-fade",
|
|
157
|
-
onAfterEnter: e.afterSearchOpen
|
|
158
|
-
onAfterLeave: e.afterSearchClosed
|
|
157
|
+
onAfterEnter: e.afterSearchOpen
|
|
159
158
|
}, {
|
|
160
159
|
default: d(() => [
|
|
161
160
|
e.searchOpen ? (h(), p(f, { key: 0 })) : B("", !0)
|
|
162
161
|
]),
|
|
163
162
|
_: 1
|
|
164
|
-
}, 8, ["onAfterEnter"
|
|
163
|
+
}, 8, ["onAfterEnter"]),
|
|
165
164
|
r(w, { name: "header-fade" }, {
|
|
166
165
|
default: d(() => [
|
|
167
166
|
_(g("div", {
|
|
@@ -197,7 +196,7 @@ function z(C, n, t, e, m, b) {
|
|
|
197
196
|
_: 1
|
|
198
197
|
});
|
|
199
198
|
}
|
|
200
|
-
const te = /* @__PURE__ */ V(D, [["render", z], ["__scopeId", "data-v-
|
|
199
|
+
const te = /* @__PURE__ */ V(D, [["render", z], ["__scopeId", "data-v-31b1473c"]]);
|
|
201
200
|
export {
|
|
202
201
|
te as default
|
|
203
202
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-components",
|
|
3
|
-
"version": "6.40.
|
|
3
|
+
"version": "6.40.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": "9e34d06d4ec4574624a24d920a9458253a8cc551"
|
|
118
118
|
}
|