@bobbykim/mcl-footer 0.7.0 → 0.9.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.
- package/dist/index.d.ts +63 -109
- package/dist/mcl-footer.js +85 -90
- package/dist/mcl-footer.umd.cjs +4 -4
- package/package.json +11 -11
package/dist/index.d.ts
CHANGED
|
@@ -1,127 +1,65 @@
|
|
|
1
1
|
import { BodyText } from '@bobbykim/manguito-theme';
|
|
2
2
|
import { ColorPalette } from '@bobbykim/manguito-theme';
|
|
3
3
|
import { ComponentOptionsMixin } from 'vue';
|
|
4
|
+
import { ComponentProvideOptions } from 'vue';
|
|
4
5
|
import { CtaTarget } from '@bobbykim/manguito-theme';
|
|
5
6
|
import { DefineComponent } from 'vue';
|
|
6
|
-
import { ExtractPropTypes } from 'vue';
|
|
7
7
|
import { HeadingSize } from '@bobbykim/manguito-theme';
|
|
8
|
-
import { PropType } from 'vue';
|
|
9
8
|
import { PublicProps } from 'vue';
|
|
10
9
|
|
|
11
|
-
declare
|
|
12
|
-
|
|
13
|
-
declare type __VLS_Prettify<T> = {
|
|
14
|
-
[K in keyof T]: T[K];
|
|
15
|
-
} & {};
|
|
16
|
-
|
|
17
|
-
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
18
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
-
} : {
|
|
21
|
-
type: PropType<T[K]>;
|
|
22
|
-
required: true;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
declare type __VLS_WithDefaults<P, D> = {
|
|
27
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
-
default: D[K];
|
|
29
|
-
}> : P[K];
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
-
new (): {
|
|
34
|
-
$slots: S;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
export declare const MclFooterA: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
declare const __VLS_component: DefineComponent< {
|
|
39
11
|
title: string;
|
|
40
|
-
titleSize?: HeadingSize
|
|
41
|
-
titleColor?: ColorPalette
|
|
42
|
-
copyText?: string | undefined;
|
|
12
|
+
titleSize?: HeadingSize;
|
|
13
|
+
titleColor?: ColorPalette;
|
|
43
14
|
logo: string;
|
|
44
|
-
logoAlt?: string
|
|
45
|
-
logoAsLink?: boolean
|
|
15
|
+
logoAlt?: string;
|
|
16
|
+
logoAsLink?: boolean;
|
|
46
17
|
logoLink: string;
|
|
47
|
-
logoLinkTarget?: CtaTarget
|
|
48
|
-
displaySocialIcons?: boolean
|
|
18
|
+
logoLinkTarget?: CtaTarget;
|
|
19
|
+
displaySocialIcons?: boolean;
|
|
49
20
|
socialIconColor: ColorPalette;
|
|
50
|
-
socialLinks?: SocialUrl
|
|
21
|
+
socialLinks?: SocialUrl;
|
|
51
22
|
menuItems: MenuItemType[];
|
|
52
|
-
secondaryMenuItems?: MenuItemType[]
|
|
53
|
-
menuItemAsLink?: boolean
|
|
54
|
-
menuTextSize?: BodyText
|
|
55
|
-
menuTextColor?: ColorPalette
|
|
56
|
-
menuTextBold?: boolean
|
|
57
|
-
displayHighlight?: boolean
|
|
58
|
-
highlightColor?: ColorPalette
|
|
59
|
-
bgColor?: ColorPalette
|
|
60
|
-
borderTopColor?: ColorPalette
|
|
61
|
-
headlineColor?: ColorPalette
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
logoLinkTarget: string;
|
|
67
|
-
displaySocialIcons: boolean;
|
|
68
|
-
socialIconColor: string;
|
|
69
|
-
menuItemAsLink: boolean;
|
|
70
|
-
menuTextSize: string;
|
|
71
|
-
menuTextColor: string;
|
|
72
|
-
menuTextBold: boolean;
|
|
73
|
-
displayHighlight: boolean;
|
|
74
|
-
highlightColor: string;
|
|
75
|
-
bgColor: string;
|
|
76
|
-
borderTopColor: string;
|
|
77
|
-
headlineColor: string;
|
|
78
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
79
|
-
"logo-click": (event: Event, link: string, target: CtaTarget) => void;
|
|
80
|
-
"menu-click": (event: Event, item: MenuItemType) => void;
|
|
81
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
23
|
+
secondaryMenuItems?: MenuItemType[];
|
|
24
|
+
menuItemAsLink?: boolean;
|
|
25
|
+
menuTextSize?: BodyText;
|
|
26
|
+
menuTextColor?: ColorPalette;
|
|
27
|
+
menuTextBold?: boolean;
|
|
28
|
+
displayHighlight?: boolean;
|
|
29
|
+
highlightColor?: ColorPalette;
|
|
30
|
+
bgColor?: ColorPalette;
|
|
31
|
+
borderTopColor?: ColorPalette;
|
|
32
|
+
headlineColor?: ColorPalette;
|
|
33
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
34
|
+
"logo-click": (event: Event, link: string, target: CtaTarget) => any;
|
|
35
|
+
"menu-click": (event: Event, item: MenuItemType) => any;
|
|
36
|
+
}, string, PublicProps, Readonly<{
|
|
82
37
|
title: string;
|
|
83
|
-
titleSize?: HeadingSize
|
|
84
|
-
titleColor?: ColorPalette
|
|
85
|
-
copyText?: string | undefined;
|
|
38
|
+
titleSize?: HeadingSize;
|
|
39
|
+
titleColor?: ColorPalette;
|
|
86
40
|
logo: string;
|
|
87
|
-
logoAlt?: string
|
|
88
|
-
logoAsLink?: boolean
|
|
41
|
+
logoAlt?: string;
|
|
42
|
+
logoAsLink?: boolean;
|
|
89
43
|
logoLink: string;
|
|
90
|
-
logoLinkTarget?: CtaTarget
|
|
91
|
-
displaySocialIcons?: boolean
|
|
44
|
+
logoLinkTarget?: CtaTarget;
|
|
45
|
+
displaySocialIcons?: boolean;
|
|
92
46
|
socialIconColor: ColorPalette;
|
|
93
|
-
socialLinks?: SocialUrl
|
|
47
|
+
socialLinks?: SocialUrl;
|
|
94
48
|
menuItems: MenuItemType[];
|
|
95
|
-
secondaryMenuItems?: MenuItemType[]
|
|
96
|
-
menuItemAsLink?: boolean
|
|
97
|
-
menuTextSize?: BodyText
|
|
98
|
-
menuTextColor?: ColorPalette
|
|
99
|
-
menuTextBold?: boolean
|
|
100
|
-
displayHighlight?: boolean
|
|
101
|
-
highlightColor?: ColorPalette
|
|
102
|
-
bgColor?: ColorPalette
|
|
103
|
-
borderTopColor?: ColorPalette
|
|
104
|
-
headlineColor?: ColorPalette
|
|
105
|
-
}
|
|
106
|
-
titleSize: string;
|
|
107
|
-
titleColor: string;
|
|
108
|
-
logoAsLink: boolean;
|
|
109
|
-
logoLinkTarget: string;
|
|
110
|
-
displaySocialIcons: boolean;
|
|
111
|
-
socialIconColor: string;
|
|
112
|
-
menuItemAsLink: boolean;
|
|
113
|
-
menuTextSize: string;
|
|
114
|
-
menuTextColor: string;
|
|
115
|
-
menuTextBold: boolean;
|
|
116
|
-
displayHighlight: boolean;
|
|
117
|
-
highlightColor: string;
|
|
118
|
-
bgColor: string;
|
|
119
|
-
borderTopColor: string;
|
|
120
|
-
headlineColor: string;
|
|
121
|
-
}>>> & {
|
|
49
|
+
secondaryMenuItems?: MenuItemType[];
|
|
50
|
+
menuItemAsLink?: boolean;
|
|
51
|
+
menuTextSize?: BodyText;
|
|
52
|
+
menuTextColor?: ColorPalette;
|
|
53
|
+
menuTextBold?: boolean;
|
|
54
|
+
displayHighlight?: boolean;
|
|
55
|
+
highlightColor?: ColorPalette;
|
|
56
|
+
bgColor?: ColorPalette;
|
|
57
|
+
borderTopColor?: ColorPalette;
|
|
58
|
+
headlineColor?: ColorPalette;
|
|
59
|
+
}> & Readonly<{
|
|
122
60
|
"onLogo-click"?: ((event: Event, link: string, target: CtaTarget) => any) | undefined;
|
|
123
61
|
"onMenu-click"?: ((event: Event, item: MenuItemType) => any) | undefined;
|
|
124
|
-
}
|
|
62
|
+
}>, {
|
|
125
63
|
titleSize: HeadingSize;
|
|
126
64
|
titleColor: ColorPalette;
|
|
127
65
|
logoAsLink: boolean;
|
|
@@ -137,11 +75,27 @@ highlightColor: ColorPalette;
|
|
|
137
75
|
bgColor: ColorPalette;
|
|
138
76
|
borderTopColor: ColorPalette;
|
|
139
77
|
headlineColor: ColorPalette;
|
|
140
|
-
}, {}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
78
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
79
|
+
|
|
80
|
+
declare function __VLS_template(): {
|
|
81
|
+
slots: Readonly<{
|
|
82
|
+
default: any;
|
|
83
|
+
}> & {
|
|
84
|
+
default: any;
|
|
85
|
+
};
|
|
86
|
+
refs: {};
|
|
87
|
+
attrs: Partial<{}>;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
91
|
+
|
|
92
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
93
|
+
new (): {
|
|
94
|
+
$slots: S;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
export declare const MclFooterA: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
145
99
|
|
|
146
100
|
export declare interface MenuItemType {
|
|
147
101
|
title: string;
|
package/dist/mcl-footer.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.nav__decorator[data-v-
|
|
2
|
-
import { defineComponent as b, computed as
|
|
3
|
-
import
|
|
4
|
-
const
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.nav__decorator[data-v-21dde3ea]:before{content:"";position:absolute;bottom:0;left:0;height:100%;width:0;transition:width .3s linear}.nav__text:focus+.nav__decorator[data-v-21dde3ea]:before,.nav__text:hover+.nav__decorator[data-v-21dde3ea]:before{width:100%}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
import { defineComponent as b, computed as y, openBlock as a, createElementBlock as r, Fragment as v, renderList as x, createElementVNode as o, normalizeClass as d, useSlots as _, unref as w, createVNode as T, createCommentVNode as C, renderSlot as I } from "vue";
|
|
3
|
+
import i from "@bobbykim/manguito-theme";
|
|
4
|
+
const A = `<svg
|
|
5
5
|
xmlns="http://www.w3.org/2000/svg"
|
|
6
6
|
viewBox="0 0 448 512"
|
|
7
7
|
fill="currentColor"
|
|
@@ -13,7 +13,7 @@ const M = `<svg
|
|
|
13
13
|
<path
|
|
14
14
|
d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM277.3 415.7c-8.4 1.5-11.5-3.7-11.5-8 0-5.4.2-33 .2-55.3 0-15.6-5.2-25.5-11.3-30.7 37-4.1 76-9.2 76-73.1 0-18.2-6.5-27.3-17.1-39 1.7-4.3 7.4-22-1.7-45-13.9-4.3-45.7 17.9-45.7 17.9-13.2-3.7-27.5-5.6-41.6-5.6-14.1 0-28.4 1.9-41.6 5.6 0 0-31.8-22.2-45.7-17.9-9.1 22.9-3.5 40.6-1.7 45-10.6 11.7-15.6 20.8-15.6 39 0 63.6 37.3 69 74.3 73.1-4.8 4.3-9.1 11.7-10.6 22.3-9.5 4.3-33.8 11.7-48.3-13.9-9.1-15.8-25.5-17.1-25.5-17.1-16.2-.2-1.1 10.2-1.1 10.2 10.8 5 18.4 24.2 18.4 24.2 9.7 29.7 56.1 19.7 56.1 19.7 0 13.9.2 36.5.2 40.6 0 4.3-3 9.5-11.5 8-66-22.1-112.2-84.9-112.2-158.3 0-91.8 70.2-161.5 162-161.5S388 165.6 388 257.4c.1 73.4-44.7 136.3-110.7 158.3zm-98.1-61.1c-1.9.4-3.7-.4-3.9-1.7-.2-1.5 1.1-2.8 3-3.2 1.9-.2 3.7.6 3.9 1.9.3 1.3-1 2.6-3 3zm-9.5-.9c0 1.3-1.5 2.4-3.5 2.4-2.2.2-3.7-.9-3.7-2.4 0-1.3 1.5-2.4 3.5-2.4 1.9-.2 3.7.9 3.7 2.4zm-13.7-1.1c-.4 1.3-2.4 1.9-4.1 1.3-1.9-.4-3.2-1.9-2.8-3.2.4-1.3 2.4-1.9 4.1-1.5 2 .6 3.3 2.1 2.8 3.4zm-12.3-5.4c-.9 1.1-2.8.9-4.3-.6-1.5-1.3-1.9-3.2-.9-4.1.9-1.1 2.8-.9 4.3.6 1.3 1.3 1.8 3.3.9 4.1zm-9.1-9.1c-.9.6-2.6 0-3.7-1.5s-1.1-3.2 0-3.9c1.1-.9 2.8-.2 3.7 1.3 1.1 1.5 1.1 3.3 0 4.1zm-6.5-9.7c-.9.9-2.4.4-3.5-.6-1.1-1.3-1.3-2.8-.4-3.5.9-.9 2.4-.4 3.5.6 1.1 1.3 1.3 2.8.4 3.5zm-6.7-7.4c-.4.9-1.7 1.1-2.8.4-1.3-.6-1.9-1.7-1.5-2.6.4-.6 1.5-.9 2.8-.4 1.3.7 1.9 1.8 1.5 2.6z"
|
|
15
15
|
/>
|
|
16
|
-
</svg>`,
|
|
16
|
+
</svg>`, M = `<svg
|
|
17
17
|
xmlns="http://www.w3.org/2000/svg"
|
|
18
18
|
viewBox="0 0 448 512"
|
|
19
19
|
fill="currentColor"
|
|
@@ -25,7 +25,7 @@ const M = `<svg
|
|
|
25
25
|
<path
|
|
26
26
|
d="M224,202.66A53.34,53.34,0,1,0,277.36,256,53.38,53.38,0,0,0,224,202.66Zm124.71-41a54,54,0,0,0-30.41-30.41c-21-8.29-71-6.43-94.3-6.43s-73.25-1.93-94.31,6.43a54,54,0,0,0-30.41,30.41c-8.28,21-6.43,71.05-6.43,94.33S91,329.26,99.32,350.33a54,54,0,0,0,30.41,30.41c21,8.29,71,6.43,94.31,6.43s73.24,1.93,94.3-6.43a54,54,0,0,0,30.41-30.41c8.35-21,6.43-71.05,6.43-94.33S357.1,182.74,348.75,161.67ZM224,338a82,82,0,1,1,82-82A81.9,81.9,0,0,1,224,338Zm85.38-148.3a19.14,19.14,0,1,1,19.13-19.14A19.1,19.1,0,0,1,309.42,189.74ZM400,32H48A48,48,0,0,0,0,80V432a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V80A48,48,0,0,0,400,32ZM382.88,322c-1.29,25.63-7.14,48.34-25.85,67s-41.4,24.63-67,25.85c-26.41,1.49-105.59,1.49-132,0-25.63-1.29-48.26-7.15-67-25.85s-24.63-41.42-25.85-67c-1.49-26.42-1.49-105.61,0-132,1.29-25.63,7.07-48.34,25.85-67s41.47-24.56,67-25.78c26.41-1.49,105.59-1.49,132,0,25.63,1.29,48.33,7.15,67,25.85s24.63,41.42,25.85,67.05C384.37,216.44,384.37,295.56,382.88,322Z"
|
|
27
27
|
/>
|
|
28
|
-
</svg>`,
|
|
28
|
+
</svg>`, H = `<svg
|
|
29
29
|
xmlns="http://www.w3.org/2000/svg"
|
|
30
30
|
viewBox="0 0 448 512"
|
|
31
31
|
fill="currentColor"
|
|
@@ -37,7 +37,7 @@ const M = `<svg
|
|
|
37
37
|
<path
|
|
38
38
|
d="M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"
|
|
39
39
|
/>
|
|
40
|
-
</svg>`,
|
|
40
|
+
</svg>`, z = `<svg
|
|
41
41
|
xmlns="http://www.w3.org/2000/svg"
|
|
42
42
|
viewBox="0 0 448 512"
|
|
43
43
|
fill="currentColor"
|
|
@@ -49,72 +49,68 @@ const M = `<svg
|
|
|
49
49
|
<path
|
|
50
50
|
d="M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm297.1 84L257.3 234.6 379.4 396H283.8L209 298.1 123.3 396H75.8l111-126.9L69.7 116h98l67.7 89.5L313.6 116h47.5zM323.3 367.6L153.4 142.9H125.1L296.9 367.6h26.3z"
|
|
51
51
|
/>
|
|
52
|
-
</svg>`,
|
|
52
|
+
</svg>`, B = { class: "flex flex-wrap" }, O = ["href", "aria-label"], V = ["innerHTML"], F = /* @__PURE__ */ b({
|
|
53
53
|
__name: "SocialIcons",
|
|
54
54
|
props: {
|
|
55
55
|
iconColor: { default: "light-1" },
|
|
56
56
|
socialLinks: {}
|
|
57
57
|
},
|
|
58
58
|
setup(u) {
|
|
59
|
-
const
|
|
59
|
+
const t = u, c = y(() => {
|
|
60
60
|
var f, m, h, k;
|
|
61
|
-
const
|
|
62
|
-
return (f =
|
|
63
|
-
url:
|
|
64
|
-
icon:
|
|
61
|
+
const s = [];
|
|
62
|
+
return (f = t.socialLinks) != null && f.linkedin && s.push({
|
|
63
|
+
url: t.socialLinks.linkedin,
|
|
64
|
+
icon: H,
|
|
65
65
|
label: "linkedin social icon"
|
|
66
|
-
}), (m =
|
|
67
|
-
url:
|
|
68
|
-
icon:
|
|
66
|
+
}), (m = t.socialLinks) != null && m.github && s.push({
|
|
67
|
+
url: t.socialLinks.github,
|
|
68
|
+
icon: A,
|
|
69
69
|
label: "github social icon"
|
|
70
|
-
}), (h =
|
|
71
|
-
url:
|
|
72
|
-
icon:
|
|
70
|
+
}), (h = t.socialLinks) != null && h.instagram && s.push({
|
|
71
|
+
url: t.socialLinks.instagram,
|
|
72
|
+
icon: M,
|
|
73
73
|
label: "instagram social icon"
|
|
74
|
-
}), (k =
|
|
75
|
-
url:
|
|
76
|
-
icon:
|
|
74
|
+
}), (k = t.socialLinks) != null && k.twitter && s.push({
|
|
75
|
+
url: t.socialLinks.twitter,
|
|
76
|
+
icon: z,
|
|
77
77
|
label: "x/twitter social icon"
|
|
78
|
-
}),
|
|
79
|
-
}), g = (
|
|
80
|
-
|
|
81
|
-
|
|
78
|
+
}), s;
|
|
79
|
+
}), g = (s) => [
|
|
80
|
+
i("TEXTCOLOR", s),
|
|
81
|
+
i("RINGCOLOR", s)
|
|
82
82
|
].join(" ");
|
|
83
|
-
return (
|
|
84
|
-
(
|
|
83
|
+
return (s, f) => (a(), r("ul", B, [
|
|
84
|
+
(a(!0), r(v, null, x(c.value, (m, h) => (a(), r("li", {
|
|
85
85
|
key: h,
|
|
86
86
|
class: "mr-xs last:mr-0"
|
|
87
87
|
}, [
|
|
88
88
|
o("a", {
|
|
89
89
|
href: m.url,
|
|
90
90
|
target: "_blank",
|
|
91
|
-
class: d(["inline-block outline-none focus:ring-2 hover:ring-2 hover:opacity-70 ring-offset-2 ring-offset-transparent rounded-md transition-all duration-300 ease-linear", g(
|
|
91
|
+
class: d(["inline-block outline-none focus:ring-2 hover:ring-2 hover:opacity-70 ring-offset-2 ring-offset-transparent rounded-md transition-all duration-300 ease-linear", g(s.iconColor)]),
|
|
92
92
|
"aria-label": m.label,
|
|
93
93
|
role: "button"
|
|
94
94
|
}, [
|
|
95
95
|
o("div", {
|
|
96
96
|
innerHTML: m.icon
|
|
97
97
|
}, null, 8, V)
|
|
98
|
-
], 10,
|
|
98
|
+
], 10, O)
|
|
99
99
|
]))), 128))
|
|
100
100
|
]));
|
|
101
101
|
}
|
|
102
|
-
}),
|
|
102
|
+
}), R = { class: "container px-xs md:px-lg lg:px-xl" }, j = { class: "h-lg md:h-xl align-middle mb-xs" }, S = ["href", "target"], E = ["src", "alt"], $ = {
|
|
103
103
|
key: 0,
|
|
104
104
|
class: "mb-xs flex items-center justify-end md:justify-center"
|
|
105
|
-
}, G = { class: "flex flex-wrap md:justify-between items-center md:items-start gap-6 md:gap-8" }, Z = { class: "grid gap-2 justify-items-center basis-full md:basis-1/3" },
|
|
106
|
-
key: 0,
|
|
107
|
-
class: "text-xs text-white align-middle mb-2"
|
|
108
|
-
}, P = { class: "px-xs md:px-0" }, Y = { class: "text-sm flex flex-col md:flex-row items-center sm:items-start sm:flex-row text-center sm:text-left gap-xs justify-between md:justify-around grow md:basis-1/2" }, q = { class: "flex flex-wrap md:flex-col justify-center items-center gap-2xs" }, J = ["href", "target", "onClick", "innerHTML"], K = {
|
|
105
|
+
}, G = { class: "flex flex-wrap md:justify-between items-center md:items-start gap-6 md:gap-8" }, Z = { class: "grid gap-2 justify-items-center basis-full md:basis-1/3" }, D = ["innerHTML"], N = { class: "px-xs md:px-0" }, X = { class: "text-sm flex flex-col md:flex-row items-center sm:items-start sm:flex-row text-center sm:text-left gap-xs justify-between md:justify-around grow md:basis-1/2" }, P = { class: "flex flex-wrap md:flex-col justify-center items-center gap-2xs" }, Y = ["href", "target", "onClick", "innerHTML"], q = {
|
|
109
106
|
key: 0,
|
|
110
107
|
class: "flex flex-wrap md:flex-col justify-center items-center gap-2xs"
|
|
111
|
-
},
|
|
108
|
+
}, J = ["href", "target", "onClick", "innerHTML"], K = /* @__PURE__ */ b({
|
|
112
109
|
__name: "MclFooterA",
|
|
113
110
|
props: {
|
|
114
111
|
title: {},
|
|
115
112
|
titleSize: { default: "md" },
|
|
116
113
|
titleColor: { default: "light-1" },
|
|
117
|
-
copyText: {},
|
|
118
114
|
logo: {},
|
|
119
115
|
logoAlt: {},
|
|
120
116
|
logoAsLink: { type: Boolean, default: !1 },
|
|
@@ -136,76 +132,75 @@ const M = `<svg
|
|
|
136
132
|
headlineColor: { default: "light-1" }
|
|
137
133
|
},
|
|
138
134
|
emits: ["logo-click", "menu-click"],
|
|
139
|
-
setup(u, { emit:
|
|
135
|
+
setup(u, { emit: t }) {
|
|
140
136
|
const c = u;
|
|
141
137
|
_();
|
|
142
|
-
const g =
|
|
143
|
-
const { bgColor: e, borderTopColor:
|
|
138
|
+
const g = t, s = y(() => {
|
|
139
|
+
const { bgColor: e, borderTopColor: l } = c;
|
|
144
140
|
return [
|
|
145
|
-
|
|
146
|
-
|
|
141
|
+
i("BGCOLOR", e),
|
|
142
|
+
i("BORDER", l)
|
|
147
143
|
].join(" ");
|
|
148
|
-
}), f =
|
|
149
|
-
const { titleSize: e, titleColor:
|
|
144
|
+
}), f = y(() => {
|
|
145
|
+
const { titleSize: e, titleColor: l } = c;
|
|
150
146
|
return [
|
|
151
|
-
|
|
152
|
-
|
|
147
|
+
i("H2", e),
|
|
148
|
+
i("TEXTCOLOR", l)
|
|
153
149
|
].join(" ");
|
|
154
|
-
}), m =
|
|
155
|
-
const { menuTextSize: e, menuTextColor:
|
|
150
|
+
}), m = y(() => {
|
|
151
|
+
const { menuTextSize: e, menuTextColor: l, menuTextBold: n } = c;
|
|
156
152
|
return [
|
|
157
|
-
|
|
158
|
-
|
|
153
|
+
i("BODYTEXT", e),
|
|
154
|
+
i("TEXTCOLOR", l)
|
|
159
155
|
].join(" ");
|
|
160
156
|
}), h = (e) => {
|
|
161
|
-
const { logoAsLink:
|
|
162
|
-
!
|
|
163
|
-
}, k = (e,
|
|
157
|
+
const { logoAsLink: l, logoLink: n, logoLinkTarget: p } = c;
|
|
158
|
+
!l && e.preventDefault(), g("logo-click", e, n, p);
|
|
159
|
+
}, k = (e, l) => {
|
|
164
160
|
const { menuItemAsLink: n } = c;
|
|
165
|
-
!n && e.preventDefault(), g("menu-click", e,
|
|
161
|
+
!n && e.preventDefault(), g("menu-click", e, l);
|
|
166
162
|
};
|
|
167
|
-
return (e,
|
|
168
|
-
class: d(["border-t-2 py-6 sm:py-8 md:py-12",
|
|
163
|
+
return (e, l) => (a(), r("footer", {
|
|
164
|
+
class: d(["border-t-2 py-6 sm:py-8 md:py-12", s.value])
|
|
169
165
|
}, [
|
|
170
|
-
o("div",
|
|
166
|
+
o("div", R, [
|
|
171
167
|
o("div", {
|
|
172
|
-
class: d(["flex flex-col md:flex-row flex-wrap justify-between mb-xs md:mb-md px-xs md:px-md border-b-2",
|
|
168
|
+
class: d(["flex flex-col md:flex-row flex-wrap justify-between mb-xs md:mb-md px-xs md:px-md border-b-2", w(i)("BORDER", e.headlineColor)])
|
|
173
169
|
}, [
|
|
174
170
|
o("div", j, [
|
|
175
171
|
o("a", {
|
|
176
172
|
href: e.logoLink,
|
|
177
173
|
target: e.logoLinkTarget,
|
|
178
|
-
class: d(["h-full inline-block outline-none focus:ring-2 ring-offset-2 ring-offset-transparent rounded-md transition-all duration-300 ease-linear",
|
|
179
|
-
onClick:
|
|
174
|
+
class: d(["h-full inline-block outline-none focus:ring-2 ring-offset-2 ring-offset-transparent rounded-md transition-all duration-300 ease-linear", w(i)("RINGCOLOR", e.titleColor)]),
|
|
175
|
+
onClick: l[0] || (l[0] = (n) => h(n))
|
|
180
176
|
}, [
|
|
181
177
|
o("img", {
|
|
182
178
|
class: "inline-block h-full",
|
|
183
179
|
src: e.logo,
|
|
184
180
|
alt: e.logoAlt
|
|
185
|
-
}, null, 8,
|
|
186
|
-
], 10,
|
|
181
|
+
}, null, 8, E)
|
|
182
|
+
], 10, S)
|
|
187
183
|
]),
|
|
188
|
-
e.displaySocialIcons ? (
|
|
189
|
-
T(
|
|
184
|
+
e.displaySocialIcons ? (a(), r("div", $, [
|
|
185
|
+
T(F, {
|
|
190
186
|
"social-links": e.socialLinks,
|
|
191
187
|
"icon-color": e.socialIconColor
|
|
192
188
|
}, null, 8, ["social-links", "icon-color"])
|
|
193
|
-
])) :
|
|
189
|
+
])) : C("", !0)
|
|
194
190
|
], 2),
|
|
195
191
|
o("div", G, [
|
|
196
192
|
o("div", Z, [
|
|
197
193
|
o("h2", {
|
|
198
194
|
class: d(["inline-block align-middle tracking-wider", f.value]),
|
|
199
195
|
innerHTML: e.title
|
|
200
|
-
}, null, 10,
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
A(e.$slots, "default", {}, void 0, !0)
|
|
196
|
+
}, null, 10, D),
|
|
197
|
+
o("div", N, [
|
|
198
|
+
I(e.$slots, "default", {}, void 0, !0)
|
|
204
199
|
])
|
|
205
200
|
]),
|
|
206
|
-
o("nav",
|
|
207
|
-
o("ul",
|
|
208
|
-
(
|
|
201
|
+
o("nav", X, [
|
|
202
|
+
o("ul", P, [
|
|
203
|
+
(a(!0), r(v, null, x(e.menuItems, (n, p) => (a(), r("li", {
|
|
209
204
|
key: `first-nav-${p}`,
|
|
210
205
|
class: "inline-block"
|
|
211
206
|
}, [
|
|
@@ -213,17 +208,17 @@ const M = `<svg
|
|
|
213
208
|
href: n.url,
|
|
214
209
|
target: n.target ? n.target : "_self",
|
|
215
210
|
class: d(["tracking-wide outline-none nav__text", m.value]),
|
|
216
|
-
onClick: (
|
|
211
|
+
onClick: (L) => k(L, n),
|
|
217
212
|
innerHTML: n.title
|
|
218
|
-
}, null, 10,
|
|
219
|
-
e.displayHighlight ? (
|
|
213
|
+
}, null, 10, Y),
|
|
214
|
+
e.displayHighlight ? (a(), r("div", {
|
|
220
215
|
key: 0,
|
|
221
|
-
class: d(["relative top-3xs h-3xs nav__decorator",
|
|
222
|
-
}, null, 2)) :
|
|
216
|
+
class: d(["relative top-3xs h-3xs nav__decorator", w(i)("BEFOREBG", e.highlightColor)])
|
|
217
|
+
}, null, 2)) : C("", !0)
|
|
223
218
|
]))), 128))
|
|
224
219
|
]),
|
|
225
|
-
e.secondaryMenuItems ? (
|
|
226
|
-
(
|
|
220
|
+
e.secondaryMenuItems ? (a(), r("ul", q, [
|
|
221
|
+
(a(!0), r(v, null, x(e.secondaryMenuItems, (n, p) => (a(), r("li", {
|
|
227
222
|
key: `second-nav-${p}`,
|
|
228
223
|
class: "inline-block"
|
|
229
224
|
}, [
|
|
@@ -231,26 +226,26 @@ const M = `<svg
|
|
|
231
226
|
href: n.url,
|
|
232
227
|
target: n.target ? n.target : "_self",
|
|
233
228
|
class: d(["tracking-wide outline-none nav__text", m.value]),
|
|
234
|
-
onClick: (
|
|
229
|
+
onClick: (L) => k(L, n),
|
|
235
230
|
innerHTML: n.title
|
|
236
|
-
}, null, 10,
|
|
237
|
-
e.displayHighlight ? (
|
|
231
|
+
}, null, 10, J),
|
|
232
|
+
e.displayHighlight ? (a(), r("div", {
|
|
238
233
|
key: 0,
|
|
239
|
-
class: d(["relative top-3xs h-3xs nav__decorator",
|
|
240
|
-
}, null, 2)) :
|
|
234
|
+
class: d(["relative top-3xs h-3xs nav__decorator", w(i)("BEFOREBG", e.highlightColor)])
|
|
235
|
+
}, null, 2)) : C("", !0)
|
|
241
236
|
]))), 128))
|
|
242
|
-
])) :
|
|
237
|
+
])) : C("", !0)
|
|
243
238
|
])
|
|
244
239
|
])
|
|
245
240
|
])
|
|
246
241
|
], 2));
|
|
247
242
|
}
|
|
248
|
-
}),
|
|
243
|
+
}), Q = (u, t) => {
|
|
249
244
|
const c = u.__vccOpts || u;
|
|
250
|
-
for (const [g,
|
|
251
|
-
c[g] =
|
|
245
|
+
for (const [g, s] of t)
|
|
246
|
+
c[g] = s;
|
|
252
247
|
return c;
|
|
253
|
-
},
|
|
248
|
+
}, ee = /* @__PURE__ */ Q(K, [["__scopeId", "data-v-21dde3ea"]]);
|
|
254
249
|
export {
|
|
255
|
-
|
|
250
|
+
ee as MclFooterA
|
|
256
251
|
};
|
package/dist/mcl-footer.umd.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.nav__decorator[data-v-
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.nav__decorator[data-v-21dde3ea]:before{content:"";position:absolute;bottom:0;left:0;height:100%;width:0;transition:width .3s linear}.nav__text:focus+.nav__decorator[data-v-21dde3ea]:before,.nav__text:hover+.nav__decorator[data-v-21dde3ea]:before{width:100%}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
2
|
(function(a,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("@bobbykim/manguito-theme")):typeof define=="function"&&define.amd?define(["exports","vue","@bobbykim/manguito-theme"],e):(a=typeof globalThis<"u"?globalThis:a||self,e(a.MclFooter={},a.Vue,a.ManguitoTheme))})(this,function(a,e,l){"use strict";const u=`<svg
|
|
3
3
|
xmlns="http://www.w3.org/2000/svg"
|
|
4
4
|
viewBox="0 0 448 512"
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<path
|
|
12
12
|
d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM277.3 415.7c-8.4 1.5-11.5-3.7-11.5-8 0-5.4.2-33 .2-55.3 0-15.6-5.2-25.5-11.3-30.7 37-4.1 76-9.2 76-73.1 0-18.2-6.5-27.3-17.1-39 1.7-4.3 7.4-22-1.7-45-13.9-4.3-45.7 17.9-45.7 17.9-13.2-3.7-27.5-5.6-41.6-5.6-14.1 0-28.4 1.9-41.6 5.6 0 0-31.8-22.2-45.7-17.9-9.1 22.9-3.5 40.6-1.7 45-10.6 11.7-15.6 20.8-15.6 39 0 63.6 37.3 69 74.3 73.1-4.8 4.3-9.1 11.7-10.6 22.3-9.5 4.3-33.8 11.7-48.3-13.9-9.1-15.8-25.5-17.1-25.5-17.1-16.2-.2-1.1 10.2-1.1 10.2 10.8 5 18.4 24.2 18.4 24.2 9.7 29.7 56.1 19.7 56.1 19.7 0 13.9.2 36.5.2 40.6 0 4.3-3 9.5-11.5 8-66-22.1-112.2-84.9-112.2-158.3 0-91.8 70.2-161.5 162-161.5S388 165.6 388 257.4c.1 73.4-44.7 136.3-110.7 158.3zm-98.1-61.1c-1.9.4-3.7-.4-3.9-1.7-.2-1.5 1.1-2.8 3-3.2 1.9-.2 3.7.6 3.9 1.9.3 1.3-1 2.6-3 3zm-9.5-.9c0 1.3-1.5 2.4-3.5 2.4-2.2.2-3.7-.9-3.7-2.4 0-1.3 1.5-2.4 3.5-2.4 1.9-.2 3.7.9 3.7 2.4zm-13.7-1.1c-.4 1.3-2.4 1.9-4.1 1.3-1.9-.4-3.2-1.9-2.8-3.2.4-1.3 2.4-1.9 4.1-1.5 2 .6 3.3 2.1 2.8 3.4zm-12.3-5.4c-.9 1.1-2.8.9-4.3-.6-1.5-1.3-1.9-3.2-.9-4.1.9-1.1 2.8-.9 4.3.6 1.3 1.3 1.8 3.3.9 4.1zm-9.1-9.1c-.9.6-2.6 0-3.7-1.5s-1.1-3.2 0-3.9c1.1-.9 2.8-.2 3.7 1.3 1.1 1.5 1.1 3.3 0 4.1zm-6.5-9.7c-.9.9-2.4.4-3.5-.6-1.1-1.3-1.3-2.8-.4-3.5.9-.9 2.4-.4 3.5.6 1.1 1.3 1.3 2.8.4 3.5zm-6.7-7.4c-.4.9-1.7 1.1-2.8.4-1.3-.6-1.9-1.7-1.5-2.6.4-.6 1.5-.9 2.8-.4 1.3.7 1.9 1.8 1.5 2.6z"
|
|
13
13
|
/>
|
|
14
|
-
</svg>`,
|
|
14
|
+
</svg>`,w=`<svg
|
|
15
15
|
xmlns="http://www.w3.org/2000/svg"
|
|
16
16
|
viewBox="0 0 448 512"
|
|
17
17
|
fill="currentColor"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<path
|
|
24
24
|
d="M224,202.66A53.34,53.34,0,1,0,277.36,256,53.38,53.38,0,0,0,224,202.66Zm124.71-41a54,54,0,0,0-30.41-30.41c-21-8.29-71-6.43-94.3-6.43s-73.25-1.93-94.31,6.43a54,54,0,0,0-30.41,30.41c-8.28,21-6.43,71.05-6.43,94.33S91,329.26,99.32,350.33a54,54,0,0,0,30.41,30.41c21,8.29,71,6.43,94.31,6.43s73.24,1.93,94.3-6.43a54,54,0,0,0,30.41-30.41c8.35-21,6.43-71.05,6.43-94.33S357.1,182.74,348.75,161.67ZM224,338a82,82,0,1,1,82-82A81.9,81.9,0,0,1,224,338Zm85.38-148.3a19.14,19.14,0,1,1,19.13-19.14A19.1,19.1,0,0,1,309.42,189.74ZM400,32H48A48,48,0,0,0,0,80V432a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V80A48,48,0,0,0,400,32ZM382.88,322c-1.29,25.63-7.14,48.34-25.85,67s-41.4,24.63-67,25.85c-26.41,1.49-105.59,1.49-132,0-25.63-1.29-48.26-7.15-67-25.85s-24.63-41.42-25.85-67c-1.49-26.42-1.49-105.61,0-132,1.29-25.63,7.07-48.34,25.85-67s41.47-24.56,67-25.78c26.41-1.49,105.59-1.49,132,0,25.63,1.29,48.33,7.15,67,25.85s24.63,41.42,25.85,67.05C384.37,216.44,384.37,295.56,382.88,322Z"
|
|
25
25
|
/>
|
|
26
|
-
</svg>`,
|
|
26
|
+
</svg>`,y=`<svg
|
|
27
27
|
xmlns="http://www.w3.org/2000/svg"
|
|
28
28
|
viewBox="0 0 448 512"
|
|
29
29
|
fill="currentColor"
|
|
@@ -47,4 +47,4 @@
|
|
|
47
47
|
<path
|
|
48
48
|
d="M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm297.1 84L257.3 234.6 379.4 396H283.8L209 298.1 123.3 396H75.8l111-126.9L69.7 116h98l67.7 89.5L313.6 116h47.5zM323.3 367.6L153.4 142.9H125.1L296.9 367.6h26.3z"
|
|
49
49
|
/>
|
|
50
|
-
</svg>`,
|
|
50
|
+
</svg>`,L={class:"flex flex-wrap"},b=["href","aria-label"],x=["innerHTML"],_=e.defineComponent({__name:"SocialIcons",props:{iconColor:{default:"light-1"},socialLinks:{}},setup(m){const s=m,c=e.computed(()=>{var f,r,h,g;const t=[];return(f=s.socialLinks)!=null&&f.linkedin&&t.push({url:s.socialLinks.linkedin,icon:y,label:"linkedin social icon"}),(r=s.socialLinks)!=null&&r.github&&t.push({url:s.socialLinks.github,icon:u,label:"github social icon"}),(h=s.socialLinks)!=null&&h.instagram&&t.push({url:s.socialLinks.instagram,icon:w,label:"instagram social icon"}),(g=s.socialLinks)!=null&&g.twitter&&t.push({url:s.socialLinks.twitter,icon:C,label:"x/twitter social icon"}),t}),d=t=>[l("TEXTCOLOR",t),l("RINGCOLOR",t)].join(" ");return(t,f)=>(e.openBlock(),e.createElementBlock("ul",L,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(r,h)=>(e.openBlock(),e.createElementBlock("li",{key:h,class:"mr-xs last:mr-0"},[e.createElementVNode("a",{href:r.url,target:"_blank",class:e.normalizeClass(["inline-block outline-none focus:ring-2 hover:ring-2 hover:opacity-70 ring-offset-2 ring-offset-transparent rounded-md transition-all duration-300 ease-linear",d(t.iconColor)]),"aria-label":r.label,role:"button"},[e.createElementVNode("div",{innerHTML:r.icon},null,8,x)],10,b)]))),128))]))}}),B={class:"container px-xs md:px-lg lg:px-xl"},E={class:"h-lg md:h-xl align-middle mb-xs"},V=["href","target"],T=["src","alt"],z={key:0,class:"mb-xs flex items-center justify-end md:justify-center"},M={class:"flex flex-wrap md:justify-between items-center md:items-start gap-6 md:gap-8"},I={class:"grid gap-2 justify-items-center basis-full md:basis-1/3"},A=["innerHTML"],H={class:"px-xs md:px-0"},N={class:"text-sm flex flex-col md:flex-row items-center sm:items-start sm:flex-row text-center sm:text-left gap-xs justify-between md:justify-around grow md:basis-1/2"},O={class:"flex flex-wrap md:flex-col justify-center items-center gap-2xs"},F=["href","target","onClick","innerHTML"],j={key:0,class:"flex flex-wrap md:flex-col justify-center items-center gap-2xs"},S=["href","target","onClick","innerHTML"],R=((m,s)=>{const c=m.__vccOpts||m;for(const[d,t]of s)c[d]=t;return c})(e.defineComponent({__name:"MclFooterA",props:{title:{},titleSize:{default:"md"},titleColor:{default:"light-1"},logo:{},logoAlt:{},logoAsLink:{type:Boolean,default:!1},logoLink:{},logoLinkTarget:{default:"_self"},displaySocialIcons:{type:Boolean,default:!0},socialIconColor:{default:"light-1"},socialLinks:{},menuItems:{},secondaryMenuItems:{},menuItemAsLink:{type:Boolean,default:!1},menuTextSize:{default:"md"},menuTextColor:{default:"light-1"},menuTextBold:{type:Boolean,default:!1},displayHighlight:{type:Boolean,default:!0},highlightColor:{default:"primary"},bgColor:{default:"dark-3"},borderTopColor:{default:"primary"},headlineColor:{default:"light-1"}},emits:["logo-click","menu-click"],setup(m,{emit:s}){const c=m;e.useSlots();const d=s,t=e.computed(()=>{const{bgColor:o,borderTopColor:i}=c;return[l("BGCOLOR",o),l("BORDER",i)].join(" ")}),f=e.computed(()=>{const{titleSize:o,titleColor:i}=c;return[l("H2",o),l("TEXTCOLOR",i)].join(" ")}),r=e.computed(()=>{const{menuTextSize:o,menuTextColor:i,menuTextBold:n}=c;return[l("BODYTEXT",o),l("TEXTCOLOR",i)].join(" ")}),h=o=>{const{logoAsLink:i,logoLink:n,logoLinkTarget:p}=c;!i&&o.preventDefault(),d("logo-click",o,n,p)},g=(o,i)=>{const{menuItemAsLink:n}=c;!n&&o.preventDefault(),d("menu-click",o,i)};return(o,i)=>(e.openBlock(),e.createElementBlock("footer",{class:e.normalizeClass(["border-t-2 py-6 sm:py-8 md:py-12",t.value])},[e.createElementVNode("div",B,[e.createElementVNode("div",{class:e.normalizeClass(["flex flex-col md:flex-row flex-wrap justify-between mb-xs md:mb-md px-xs md:px-md border-b-2",e.unref(l)("BORDER",o.headlineColor)])},[e.createElementVNode("div",E,[e.createElementVNode("a",{href:o.logoLink,target:o.logoLinkTarget,class:e.normalizeClass(["h-full inline-block outline-none focus:ring-2 ring-offset-2 ring-offset-transparent rounded-md transition-all duration-300 ease-linear",e.unref(l)("RINGCOLOR",o.titleColor)]),onClick:i[0]||(i[0]=n=>h(n))},[e.createElementVNode("img",{class:"inline-block h-full",src:o.logo,alt:o.logoAlt},null,8,T)],10,V)]),o.displaySocialIcons?(e.openBlock(),e.createElementBlock("div",z,[e.createVNode(_,{"social-links":o.socialLinks,"icon-color":o.socialIconColor},null,8,["social-links","icon-color"])])):e.createCommentVNode("",!0)],2),e.createElementVNode("div",M,[e.createElementVNode("div",I,[e.createElementVNode("h2",{class:e.normalizeClass(["inline-block align-middle tracking-wider",f.value]),innerHTML:o.title},null,10,A),e.createElementVNode("div",H,[e.renderSlot(o.$slots,"default",{},void 0,!0)])]),e.createElementVNode("nav",N,[e.createElementVNode("ul",O,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.menuItems,(n,p)=>(e.openBlock(),e.createElementBlock("li",{key:`first-nav-${p}`,class:"inline-block"},[e.createElementVNode("a",{href:n.url,target:n.target?n.target:"_self",class:e.normalizeClass(["tracking-wide outline-none nav__text",r.value]),onClick:k=>g(k,n),innerHTML:n.title},null,10,F),o.displayHighlight?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["relative top-3xs h-3xs nav__decorator",e.unref(l)("BEFOREBG",o.highlightColor)])},null,2)):e.createCommentVNode("",!0)]))),128))]),o.secondaryMenuItems?(e.openBlock(),e.createElementBlock("ul",j,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.secondaryMenuItems,(n,p)=>(e.openBlock(),e.createElementBlock("li",{key:`second-nav-${p}`,class:"inline-block"},[e.createElementVNode("a",{href:n.url,target:n.target?n.target:"_self",class:e.normalizeClass(["tracking-wide outline-none nav__text",r.value]),onClick:k=>g(k,n),innerHTML:n.title},null,10,S),o.displayHighlight?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["relative top-3xs h-3xs nav__decorator",e.unref(l)("BEFOREBG",o.highlightColor)])},null,2)):e.createCommentVNode("",!0)]))),128))])):e.createCommentVNode("",!0)])])])],2))}}),[["__scopeId","data-v-21dde3ea"]]);a.MclFooterA=R,Object.defineProperty(a,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bobbykim/mcl-footer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "a footer components built based on Manguito theme",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
},
|
|
34
34
|
"license": "MIT",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@bobbykim/manguito-theme": "0.
|
|
37
|
-
"vue": "^3.
|
|
36
|
+
"@bobbykim/manguito-theme": "0.23.0",
|
|
37
|
+
"vue": "^3.5.13"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@vitejs/plugin-vue": "^
|
|
41
|
-
"sass": "^1.
|
|
42
|
-
"typescript": "^5.
|
|
43
|
-
"vite": "^
|
|
44
|
-
"vite-plugin-css-injected-by-js": "^3.5.
|
|
45
|
-
"vite-plugin-dts": "^3.
|
|
46
|
-
"vue-tsc": "^1.
|
|
40
|
+
"@vitejs/plugin-vue": "^5.2.1",
|
|
41
|
+
"sass": "^1.82.0",
|
|
42
|
+
"typescript": "^5.7.2",
|
|
43
|
+
"vite": "^6.0.3",
|
|
44
|
+
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
45
|
+
"vite-plugin-dts": "^4.3.0",
|
|
46
|
+
"vue-tsc": "^2.1.10"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "0c86a1a70a33446112dafbaf5fce5fdcb5fdf755"
|
|
49
49
|
}
|