@bobbykim/mcl-footer 0.9.1 → 0.9.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.
- package/dist/mcl-footer.js +10 -10
- package/package.json +3 -3
package/dist/mcl-footer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
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,
|
|
2
|
+
import { defineComponent as b, computed as y, createElementBlock as a, openBlock as r, Fragment as v, renderList as x, createElementVNode as o, normalizeClass as d, useSlots as _, unref as w, createCommentVNode as C, createVNode as T, renderSlot as I } from "vue";
|
|
3
3
|
import i from "@bobbykim/manguito-theme";
|
|
4
4
|
const A = `<svg
|
|
5
5
|
xmlns="http://www.w3.org/2000/svg"
|
|
@@ -80,8 +80,8 @@ const A = `<svg
|
|
|
80
80
|
i("TEXTCOLOR", s),
|
|
81
81
|
i("RINGCOLOR", s)
|
|
82
82
|
].join(" ");
|
|
83
|
-
return (s, f) => (
|
|
84
|
-
(
|
|
83
|
+
return (s, f) => (r(), a("ul", B, [
|
|
84
|
+
(r(!0), a(v, null, x(c.value, (m, h) => (r(), a("li", {
|
|
85
85
|
key: h,
|
|
86
86
|
class: "mr-xs last:mr-0"
|
|
87
87
|
}, [
|
|
@@ -160,7 +160,7 @@ const A = `<svg
|
|
|
160
160
|
const { menuItemAsLink: n } = c;
|
|
161
161
|
!n && e.preventDefault(), g("menu-click", e, l);
|
|
162
162
|
};
|
|
163
|
-
return (e, l) => (
|
|
163
|
+
return (e, l) => (r(), a("footer", {
|
|
164
164
|
class: d(["border-t-2 py-6 sm:py-8 md:py-12", s.value])
|
|
165
165
|
}, [
|
|
166
166
|
o("div", R, [
|
|
@@ -181,7 +181,7 @@ const A = `<svg
|
|
|
181
181
|
}, null, 8, E)
|
|
182
182
|
], 10, S)
|
|
183
183
|
]),
|
|
184
|
-
e.displaySocialIcons ? (
|
|
184
|
+
e.displaySocialIcons ? (r(), a("div", $, [
|
|
185
185
|
T(F, {
|
|
186
186
|
"social-links": e.socialLinks,
|
|
187
187
|
"icon-color": e.socialIconColor
|
|
@@ -200,7 +200,7 @@ const A = `<svg
|
|
|
200
200
|
]),
|
|
201
201
|
o("nav", X, [
|
|
202
202
|
o("ul", P, [
|
|
203
|
-
(
|
|
203
|
+
(r(!0), a(v, null, x(e.menuItems, (n, p) => (r(), a("li", {
|
|
204
204
|
key: `first-nav-${p}`,
|
|
205
205
|
class: "inline-block"
|
|
206
206
|
}, [
|
|
@@ -211,14 +211,14 @@ const A = `<svg
|
|
|
211
211
|
onClick: (L) => k(L, n),
|
|
212
212
|
innerHTML: n.title
|
|
213
213
|
}, null, 10, Y),
|
|
214
|
-
e.displayHighlight ? (
|
|
214
|
+
e.displayHighlight ? (r(), a("div", {
|
|
215
215
|
key: 0,
|
|
216
216
|
class: d(["relative top-3xs h-3xs nav__decorator", w(i)("BEFOREBG", e.highlightColor)])
|
|
217
217
|
}, null, 2)) : C("", !0)
|
|
218
218
|
]))), 128))
|
|
219
219
|
]),
|
|
220
|
-
e.secondaryMenuItems ? (
|
|
221
|
-
(
|
|
220
|
+
e.secondaryMenuItems ? (r(), a("ul", q, [
|
|
221
|
+
(r(!0), a(v, null, x(e.secondaryMenuItems, (n, p) => (r(), a("li", {
|
|
222
222
|
key: `second-nav-${p}`,
|
|
223
223
|
class: "inline-block"
|
|
224
224
|
}, [
|
|
@@ -229,7 +229,7 @@ const A = `<svg
|
|
|
229
229
|
onClick: (L) => k(L, n),
|
|
230
230
|
innerHTML: n.title
|
|
231
231
|
}, null, 10, J),
|
|
232
|
-
e.displayHighlight ? (
|
|
232
|
+
e.displayHighlight ? (r(), a("div", {
|
|
233
233
|
key: 0,
|
|
234
234
|
class: d(["relative top-3xs h-3xs nav__decorator", w(i)("BEFOREBG", e.highlightColor)])
|
|
235
235
|
}, null, 2)) : C("", !0)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bobbykim/mcl-footer",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.3",
|
|
4
4
|
"description": "a footer components built based on Manguito theme",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"license": "MIT",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@bobbykim/manguito-theme": "0.
|
|
36
|
+
"@bobbykim/manguito-theme": "0.25.0",
|
|
37
37
|
"vue": "^3.5.13"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"vite-plugin-dts": "^4.3.0",
|
|
46
46
|
"vue-tsc": "^2.1.10"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "ff7499791d1ced7ae862e474ce4b8b421f947a27"
|
|
49
49
|
}
|