@bobbykim/mcl-carousel 0.8.1 → 0.8.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-carousel.js +4 -4
- package/package.json +3 -3
package/dist/mcl-carousel.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as G, ref as o, onMounted as S,
|
|
1
|
+
import { defineComponent as G, ref as o, onMounted as S, createElementBlock as p, openBlock as f, normalizeClass as r, unref as g, createElementVNode as s, createCommentVNode as x, renderSlot as y } from "vue";
|
|
2
2
|
import n from "@bobbykim/manguito-theme";
|
|
3
3
|
import { useEventListener as L, useIntersectionObserver as z } from "@vueuse/core";
|
|
4
4
|
const H = { class: "container px-xs sm:px-md text-center sm:text-left" }, j = { class: "relative" }, X = { class: "relative" }, $ = ["innerHTML"], I = ["innerHTML"], N = { class: "relative flex flex-wrap sm:flex-nowrap justify-center sm:justify-start items-center space-x-4 space-y-4" }, D = { class: "max-w-xl" }, U = { class: "flex space-x-4" }, V = ["disabled"], _ = ["disabled"], P = { class: "container mt-md sm:mt-lg lg:mt-xl" }, F = /* @__PURE__ */ G({
|
|
@@ -78,17 +78,17 @@ const H = { class: "container px-xs sm:px-md text-center sm:text-left" }, j = {
|
|
|
78
78
|
{ threshold: 0.75 }
|
|
79
79
|
), S(() => {
|
|
80
80
|
v.value = i.value[i.value.length - 1].$el;
|
|
81
|
-
}), (e, t) => (
|
|
81
|
+
}), (e, t) => (f(), p("section", {
|
|
82
82
|
class: r(["py-lg lg:py-xl overflow-hidden", g(n)("BGCOLOR", e.bgColor)])
|
|
83
83
|
}, [
|
|
84
84
|
s("div", H, [
|
|
85
85
|
s("div", j, [
|
|
86
|
-
e.displayHighlight ? (
|
|
86
|
+
e.displayHighlight ? (f(), p("div", {
|
|
87
87
|
key: 0,
|
|
88
88
|
class: r(["hidden sm:block absolute w-md bg-opacity-25 -left-4 h-full", g(n)("BGCOLOR", e.highlightColor)])
|
|
89
89
|
}, null, 2)) : x("", !0),
|
|
90
90
|
s("div", X, [
|
|
91
|
-
e.displayTagLine ? (
|
|
91
|
+
e.displayTagLine ? (f(), p("span", {
|
|
92
92
|
key: 0,
|
|
93
93
|
class: r([
|
|
94
94
|
"tracking-widest",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bobbykim/mcl-carousel",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3",
|
|
4
4
|
"description": "carousel component based on @bobbykim/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
|
"@vueuse/core": "^12.0.0",
|
|
38
38
|
"vue": "^3.5.13"
|
|
39
39
|
},
|
|
@@ -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
|
}
|