@kiva/kv-components 8.17.1 → 8.18.1
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.
- package/dist/index.js +232 -227
- package/dist/utils/imageUtils.d.ts +19 -0
- package/dist/utils/imageUtils.js +70 -23
- package/dist/vue/KvImageUpload.css +1 -0
- package/dist/vue/KvImageUpload.js +72 -0
- package/dist/vue/KvImageUpload2.js +150 -0
- package/dist/vue/KvPieChartV2.vue.d.ts +1 -1
- package/dist/vue/KvWwwHeaderBasic/LinkBar.css +1 -1
- package/dist/vue/KvWwwHeaderBasic/LinkBar.js +40 -40
- package/dist/vue/KvWwwHeaderBasic/LinkBar.vue.d.ts +3 -0
- package/dist/vue/KvWwwHeaderBasic/LinkBar2.js +82 -67
- package/dist/vue/KvWwwHeaderBasic/MobileMenu.css +1 -1
- package/dist/vue/KvWwwHeaderBasic/MobileMenu.js +18 -17
- package/dist/vue/KvWwwHeaderBasic/MobileMenu.vue.d.ts +3 -0
- package/dist/vue/KvWwwHeaderBasic/MobileMenu2.js +13 -10
- package/dist/vue/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -1,52 +1,53 @@
|
|
|
1
1
|
import c from "./MobileMenu2.js";
|
|
2
|
-
import { resolveComponent as i, openBlock as m, createElementBlock as d, createVNode as l, withCtx as r, createElementVNode as
|
|
2
|
+
import { resolveComponent as i, openBlock as m, createElementBlock as d, createVNode as l, withCtx as r, createElementVNode as e } from "vue";
|
|
3
3
|
import "./MobileMenu.css";
|
|
4
|
-
import
|
|
4
|
+
import b from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
5
|
const w = {
|
|
6
6
|
id: "header-basic-mobile-about-container",
|
|
7
7
|
class: "tw-flex tw-flex-col tw-items-stretch tw-font-medium tw-p-2.5 md:tw-hidden"
|
|
8
|
-
},
|
|
8
|
+
}, p = {
|
|
9
9
|
"aria-label": "Mobile menu",
|
|
10
10
|
class: "tw-flex tw-flex-col tw-gap-2 tw-pt-1.5"
|
|
11
11
|
};
|
|
12
|
-
function
|
|
12
|
+
function u(k, o, f, t, _, v) {
|
|
13
13
|
const a = i("about-menu"), s = i("kv-accordion-item");
|
|
14
14
|
return m(), d("div", w, [
|
|
15
15
|
l(s, {
|
|
16
16
|
id: "kv-www-header-basic-about",
|
|
17
|
-
class: "tw-w-full tw-border-b-0"
|
|
17
|
+
class: "tw-w-full tw-border-b-0",
|
|
18
|
+
onToggle: t.onAboutToggle
|
|
18
19
|
}, {
|
|
19
20
|
header: r(() => o[3] || (o[3] = [
|
|
20
|
-
|
|
21
|
+
e("span", { class: "tw-text-button tw-pb-0.5" }, " About ", -1)
|
|
21
22
|
])),
|
|
22
23
|
default: r(() => [
|
|
23
24
|
l(a, {
|
|
24
25
|
"is-mobile": "",
|
|
25
|
-
onClosingMenu:
|
|
26
|
+
onClosingMenu: t.onClose
|
|
26
27
|
}, null, 8, ["onClosingMenu"])
|
|
27
28
|
]),
|
|
28
29
|
_: 1
|
|
29
|
-
}),
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
}, 8, ["onToggle"]),
|
|
31
|
+
e("nav", p, [
|
|
32
|
+
e("a", {
|
|
32
33
|
href: "/about/partner-with-us",
|
|
33
34
|
class: "mobile-link",
|
|
34
|
-
onClick: o[0] || (o[0] = (n) =>
|
|
35
|
+
onClick: o[0] || (o[0] = (n) => t.onLinkClick("click-Partner"))
|
|
35
36
|
}, "Partner"),
|
|
36
|
-
|
|
37
|
+
e("a", {
|
|
37
38
|
href: "/donate/supportus",
|
|
38
39
|
class: "mobile-link",
|
|
39
|
-
onClick: o[1] || (o[1] = (n) =>
|
|
40
|
+
onClick: o[1] || (o[1] = (n) => t.onLinkClick("click-Support-Kiva"))
|
|
40
41
|
}, "Support Kiva"),
|
|
41
|
-
|
|
42
|
+
e("a", {
|
|
42
43
|
href: "/borrow",
|
|
43
44
|
class: "mobile-link",
|
|
44
|
-
onClick: o[2] || (o[2] = (n) =>
|
|
45
|
+
onClick: o[2] || (o[2] = (n) => t.onLinkClick("click-Borrow"))
|
|
45
46
|
}, "Borrow")
|
|
46
47
|
])
|
|
47
48
|
]);
|
|
48
49
|
}
|
|
49
|
-
const
|
|
50
|
+
const M = /* @__PURE__ */ b(c, [["render", u], ["__scopeId", "data-v-bc7e1655"]]);
|
|
50
51
|
export {
|
|
51
|
-
|
|
52
|
+
M as default
|
|
52
53
|
};
|
|
@@ -13,6 +13,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
13
13
|
};
|
|
14
14
|
}>, {
|
|
15
15
|
onClose: () => void;
|
|
16
|
+
onAboutToggle: ({ open }: {
|
|
17
|
+
open: boolean;
|
|
18
|
+
}) => void;
|
|
16
19
|
onLinkClick: (action: string) => void;
|
|
17
20
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "closing-menu"[], "closing-menu", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
21
|
loggedIn: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { inject as
|
|
1
|
+
import { inject as u } from "vue";
|
|
2
2
|
import r from "../KvAccordionItem.js";
|
|
3
|
-
import
|
|
3
|
+
import c from "./AboutMenu.js";
|
|
4
4
|
const m = {
|
|
5
5
|
name: "MobileMenu",
|
|
6
|
-
components: { KvAccordionItem: r, AboutMenu:
|
|
6
|
+
components: { KvAccordionItem: r, AboutMenu: c },
|
|
7
7
|
props: {
|
|
8
8
|
loggedIn: {
|
|
9
9
|
type: Boolean,
|
|
@@ -19,16 +19,19 @@ const m = {
|
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
emits: ["closing-menu"],
|
|
22
|
-
setup(
|
|
23
|
-
const
|
|
22
|
+
setup(s, { emit: n }) {
|
|
23
|
+
const e = u("$kvTrackEvent", () => {
|
|
24
24
|
});
|
|
25
|
-
function
|
|
26
|
-
|
|
25
|
+
function t() {
|
|
26
|
+
n("closing-menu");
|
|
27
27
|
}
|
|
28
|
-
function
|
|
29
|
-
|
|
28
|
+
function i({ open: o }) {
|
|
29
|
+
o && e("TopNav", "hover-About-menu", "About");
|
|
30
30
|
}
|
|
31
|
-
|
|
31
|
+
function l(o) {
|
|
32
|
+
e("TopNav", o), n("closing-menu");
|
|
33
|
+
}
|
|
34
|
+
return { onClose: t, onAboutToggle: i, onLinkClick: l };
|
|
32
35
|
}
|
|
33
36
|
};
|
|
34
37
|
export {
|
package/dist/vue/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export { default as KvExpandableQuestion } from './KvExpandableQuestion.vue';
|
|
|
27
27
|
export { default as KvFlag } from './KvFlag.vue';
|
|
28
28
|
export { default as KvGrid } from './KvGrid.vue';
|
|
29
29
|
export { default as KvIconButton } from './KvIconButton.vue';
|
|
30
|
+
export { default as KvImageUpload } from './KvImageUpload.vue';
|
|
30
31
|
export { default as KvImpactDashboardHeader } from './KvImpactDashboardHeader.vue';
|
|
31
32
|
export { default as KvImpactVerticalSelector } from './KvImpactVerticalSelector.vue';
|
|
32
33
|
export { default as KvInlineActivityCard } from './KvInlineActivityCard.vue';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-components",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.18.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -128,5 +128,5 @@
|
|
|
128
128
|
"dependencies": {
|
|
129
129
|
"fuse.js": "^7.1.0"
|
|
130
130
|
},
|
|
131
|
-
"gitHead": "
|
|
131
|
+
"gitHead": "780ac87631c63baa1b900f0ee1a89e327476b263"
|
|
132
132
|
}
|