myshell-react-lib 0.2.32 → 0.2.33
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.cjs +86 -73
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +91 -78
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -215,7 +215,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
215
215
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
216
216
|
}
|
|
217
217
|
function _ts_generator(thisArg, body) {
|
|
218
|
-
var f, y, t, _ = {
|
|
218
|
+
var f, y, t, g, _ = {
|
|
219
219
|
label: 0,
|
|
220
220
|
sent: function() {
|
|
221
221
|
if (t[0] & 1) throw t[1];
|
|
@@ -223,8 +223,12 @@ function _ts_generator(thisArg, body) {
|
|
|
223
223
|
},
|
|
224
224
|
trys: [],
|
|
225
225
|
ops: []
|
|
226
|
-
}
|
|
227
|
-
return g
|
|
226
|
+
};
|
|
227
|
+
return g = {
|
|
228
|
+
next: verb(0),
|
|
229
|
+
"throw": verb(1),
|
|
230
|
+
"return": verb(2)
|
|
231
|
+
}, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
228
232
|
return this;
|
|
229
233
|
}), g;
|
|
230
234
|
function verb(n) {
|
|
@@ -237,7 +241,7 @@ function _ts_generator(thisArg, body) {
|
|
|
237
241
|
}
|
|
238
242
|
function step(op) {
|
|
239
243
|
if (f) throw new TypeError("Generator is already executing.");
|
|
240
|
-
while(
|
|
244
|
+
while(_)try {
|
|
241
245
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
242
246
|
if (y = 0, t) op = [
|
|
243
247
|
op[0] & 2,
|
|
@@ -9824,12 +9828,13 @@ var COLOR_THEMES = {
|
|
|
9824
9828
|
primary: "bg-cc-Button-Primary-bg-default text-cc-Button-Primary-fg-default hover:bg-cc-Button-Primary-bg-hover active:bg-cc-Button-Primary-bg-active disabled:bg-cc-Button-Primary-bg-disabled disabled:text-cc-Button-Primary-fg-alt",
|
|
9825
9829
|
secondary: "border-cc-Button-Secondary-border-default text-cc-Button-Secondary-fg-default bg-cc-Button-Secondary-bg-default hover:bg-cc-Button-Secondary-bg-hover active:bg-cc-Button-Secondary-bg-active disabled:text-cc-Button-Secondary-fg-alt disabled:border-cc-Button-Secondary-border-disabled",
|
|
9826
9830
|
tertiary: "text-cc-Button-Tertiary-fg-default bg-cc-Button-Tertiary-bg-default hover:bg-cc-Button-Tertiary-bg-hover hover:border-cc-Button-Tertiary-border-alt focus:shadow-button-tertiary-shadow active:bg-cc-Button-Tertiary-bg-active disabled:text-cc-Button-Tertiary-fg-alt ",
|
|
9827
|
-
link: "rounded-none font-normal underline-offset-4
|
|
9831
|
+
link: "rounded-none font-normal underline-offset-4 underline text-cc-Link-Button-Secondary-fg-default hover:text-cc-Link-Button-Secondary-fg-hover active:text-cc-Link-Button-Secondary-fg-active disabled:text-cc-Link-Button-Secondary-fg-disabled",
|
|
9828
9832
|
plain: "text-cc-Button-Plain-fg-default hover:bg-cc-Button-Plain-bg-hover focus:shadow-cc-Focus-Rings-Brand-default active:bg-cc-Button-Plain-bg-active disabled:text-cc-Button-Plain-fg-alt "
|
|
9829
9833
|
},
|
|
9830
9834
|
brand: {
|
|
9831
9835
|
primary: "text-cc-Button-Brand-fg-default bg-cc-Button-Brand-bg-default hover:bg-cc-Button-Brand-bg-hover active:bg-cc-Button-Brand-bg-active disabled:bg-cc-Button-Brand-bg-disabled shadow-none hover:shadow-button-brand focus:shadow-cc-Focus-Rings-Brand-default disabled:text-cc-Button-Brand-fg-alt",
|
|
9832
|
-
plain: "text-cc-Button-Plain-Brand-fg-default bg-cc-Button-Plain-Brand-bg-default hover:bg-cc-Button-Plain-Brand-bg-hover active:bg-cc-Button-Plain-Brand-bg-active disabled:text-cc-Button-Plain-Brand-fg-alt"
|
|
9836
|
+
plain: "text-cc-Button-Plain-Brand-fg-default bg-cc-Button-Plain-Brand-bg-default hover:bg-cc-Button-Plain-Brand-bg-hover active:bg-cc-Button-Plain-Brand-bg-active disabled:text-cc-Button-Plain-Brand-fg-alt",
|
|
9837
|
+
link: "rounded-none font-normal underline-offset-4 underline text-cc-Link-Button-Primary-fg-default hover:text-cc-Link-Button-Primary-fg-hover active:text-cc-Link-Button-Primary-fg-active disabled:text-cc-Link-Button-Primary-fg-disabled"
|
|
9833
9838
|
},
|
|
9834
9839
|
error: {
|
|
9835
9840
|
primary: "text-cc-Button-Error-Primary-fg-default bg-cc-Button-Error-Primary-bg-default hover:bg-cc-Button-Error-Primary-bg-hover active:bg-cc-Button-Error-Primary-bg-active disabled:bg-cc-Button-Error-Primary-bg-disabled disabled:text-cc-Button-Error-Primary-fg-alt shadow-none",
|
|
@@ -10004,6 +10009,11 @@ var buttonVariants = (0, import_class_variance_authority4.cva)(BASE_BUTTON, {
|
|
|
10004
10009
|
color: "default",
|
|
10005
10010
|
className: COLOR_THEMES.default.link
|
|
10006
10011
|
},
|
|
10012
|
+
{
|
|
10013
|
+
variant: "link",
|
|
10014
|
+
color: "brand",
|
|
10015
|
+
className: COLOR_THEMES.brand.link
|
|
10016
|
+
},
|
|
10007
10017
|
// Plain变体的颜色
|
|
10008
10018
|
{
|
|
10009
10019
|
variant: "plain",
|
|
@@ -10417,62 +10427,58 @@ var IosAudioPlayer = (0, import_react3.forwardRef)(function(props, ref) {
|
|
|
10417
10427
|
}
|
|
10418
10428
|
};
|
|
10419
10429
|
}, []);
|
|
10420
|
-
var handlePlay = (0, import_react3.useCallback)(function() {
|
|
10421
|
-
|
|
10422
|
-
|
|
10423
|
-
|
|
10424
|
-
|
|
10425
|
-
|
|
10426
|
-
|
|
10427
|
-
|
|
10428
|
-
|
|
10429
|
-
|
|
10430
|
-
|
|
10431
|
-
|
|
10432
|
-
|
|
10433
|
-
|
|
10434
|
-
|
|
10435
|
-
|
|
10436
|
-
|
|
10437
|
-
|
|
10438
|
-
|
|
10439
|
-
|
|
10440
|
-
if (arrayBuffer) {
|
|
10441
|
-
return [
|
|
10442
|
-
2,
|
|
10443
|
-
audioApi.play(arrayBuffer, audioRef.current.currentTime)
|
|
10444
|
-
];
|
|
10445
|
-
}
|
|
10446
|
-
_state.label = 2;
|
|
10447
|
-
case 2:
|
|
10430
|
+
var handlePlay = (0, import_react3.useCallback)(/*#__PURE__*/ _async_to_generator(function() {
|
|
10431
|
+
var _audioRef_current, arrayBuffer;
|
|
10432
|
+
return _ts_generator(this, function(_state) {
|
|
10433
|
+
switch(_state.label){
|
|
10434
|
+
case 0:
|
|
10435
|
+
if (!((_audioRef_current = audioRef.current) === null || _audioRef_current === void 0 ? void 0 : _audioRef_current.paused)) return [
|
|
10436
|
+
2,
|
|
10437
|
+
Promise.reject()
|
|
10438
|
+
];
|
|
10439
|
+
if (!(props.src && loadTask.current)) return [
|
|
10440
|
+
3,
|
|
10441
|
+
2
|
|
10442
|
+
];
|
|
10443
|
+
return [
|
|
10444
|
+
4,
|
|
10445
|
+
loadTask.current
|
|
10446
|
+
];
|
|
10447
|
+
case 1:
|
|
10448
|
+
arrayBuffer = _state.sent();
|
|
10449
|
+
if (arrayBuffer) {
|
|
10448
10450
|
return [
|
|
10449
10451
|
2,
|
|
10450
|
-
|
|
10452
|
+
audioApi.play(arrayBuffer, audioRef.current.currentTime)
|
|
10451
10453
|
];
|
|
10452
|
-
}
|
|
10453
|
-
});
|
|
10454
|
-
})();
|
|
10455
|
-
}, []);
|
|
10456
|
-
var handleLoad = (0, import_react3.useCallback)(function() {
|
|
10457
|
-
return _async_to_generator(function() {
|
|
10458
|
-
return _ts_generator(this, function(_state) {
|
|
10459
|
-
if (props.src) {
|
|
10460
|
-
try {
|
|
10461
|
-
loadTask.current = window.fetch(props.src).then(function(response) {
|
|
10462
|
-
return response.arrayBuffer();
|
|
10463
|
-
}).catch(function(error) {
|
|
10464
|
-
console.error(error);
|
|
10465
|
-
});
|
|
10466
|
-
} catch (error) {
|
|
10467
|
-
console.error(error);
|
|
10468
10454
|
}
|
|
10455
|
+
_state.label = 2;
|
|
10456
|
+
case 2:
|
|
10457
|
+
return [
|
|
10458
|
+
2,
|
|
10459
|
+
Promise.resolve()
|
|
10460
|
+
];
|
|
10461
|
+
}
|
|
10462
|
+
});
|
|
10463
|
+
}), []);
|
|
10464
|
+
var handleLoad = (0, import_react3.useCallback)(/*#__PURE__*/ _async_to_generator(function() {
|
|
10465
|
+
return _ts_generator(this, function(_state) {
|
|
10466
|
+
if (props.src) {
|
|
10467
|
+
try {
|
|
10468
|
+
loadTask.current = window.fetch(props.src).then(function(response) {
|
|
10469
|
+
return response.arrayBuffer();
|
|
10470
|
+
}).catch(function(error) {
|
|
10471
|
+
console.error(error);
|
|
10472
|
+
});
|
|
10473
|
+
} catch (error) {
|
|
10474
|
+
console.error(error);
|
|
10469
10475
|
}
|
|
10470
|
-
|
|
10471
|
-
|
|
10472
|
-
|
|
10473
|
-
|
|
10474
|
-
})
|
|
10475
|
-
}, []);
|
|
10476
|
+
}
|
|
10477
|
+
return [
|
|
10478
|
+
2
|
|
10479
|
+
];
|
|
10480
|
+
});
|
|
10481
|
+
}), []);
|
|
10476
10482
|
(0, import_react3.useImperativeHandle)(ref, function() {
|
|
10477
10483
|
return {
|
|
10478
10484
|
play: function() {
|
|
@@ -11010,18 +11016,16 @@ var NODES = [
|
|
|
11010
11016
|
"nav",
|
|
11011
11017
|
"ol",
|
|
11012
11018
|
"p",
|
|
11013
|
-
"select",
|
|
11014
11019
|
"span",
|
|
11015
11020
|
"svg",
|
|
11016
11021
|
"ul"
|
|
11017
11022
|
];
|
|
11018
11023
|
var Primitive = NODES.reduce(function(primitive, node) {
|
|
11019
|
-
var Slot5 = (0, import_react_slot3.createSlot)("Primitive.".concat(node));
|
|
11020
11024
|
var Node = React18.forwardRef(function(props, forwardedRef) {
|
|
11021
11025
|
var asChild = props.asChild, primitiveProps = _object_without_properties(props, [
|
|
11022
11026
|
"asChild"
|
|
11023
11027
|
]);
|
|
11024
|
-
var Comp = asChild ?
|
|
11028
|
+
var Comp = asChild ? import_react_slot3.Slot : node;
|
|
11025
11029
|
if (typeof window !== "undefined") {
|
|
11026
11030
|
window[Symbol.for("radix-ui")] = true;
|
|
11027
11031
|
}
|
|
@@ -14714,8 +14718,8 @@ var MultipleSelector = React43.forwardRef(function(param, ref) {
|
|
|
14714
14718
|
var res = onSearchSync === null || onSearchSync === void 0 ? void 0 : onSearchSync(debouncedSearchTerm);
|
|
14715
14719
|
setOptions(transToGroupOption(res || [], groupBy));
|
|
14716
14720
|
};
|
|
14717
|
-
var exec = function() {
|
|
14718
|
-
|
|
14721
|
+
var exec = /*#__PURE__*/ function() {
|
|
14722
|
+
var _ref = _async_to_generator(function() {
|
|
14719
14723
|
return _ts_generator(this, function(_state) {
|
|
14720
14724
|
if (!onSearchSync || !open) return [
|
|
14721
14725
|
2
|
|
@@ -14730,8 +14734,11 @@ var MultipleSelector = React43.forwardRef(function(param, ref) {
|
|
|
14730
14734
|
2
|
|
14731
14735
|
];
|
|
14732
14736
|
});
|
|
14733
|
-
})
|
|
14734
|
-
|
|
14737
|
+
});
|
|
14738
|
+
return function exec() {
|
|
14739
|
+
return _ref.apply(this, arguments);
|
|
14740
|
+
};
|
|
14741
|
+
}();
|
|
14735
14742
|
void exec();
|
|
14736
14743
|
}, [
|
|
14737
14744
|
debouncedSearchTerm,
|
|
@@ -14740,8 +14747,8 @@ var MultipleSelector = React43.forwardRef(function(param, ref) {
|
|
|
14740
14747
|
triggerSearchOnFocus
|
|
14741
14748
|
]);
|
|
14742
14749
|
(0, import_react15.useEffect)(function() {
|
|
14743
|
-
var doSearch = function() {
|
|
14744
|
-
|
|
14750
|
+
var doSearch = /*#__PURE__*/ function() {
|
|
14751
|
+
var _ref = _async_to_generator(function() {
|
|
14745
14752
|
var res;
|
|
14746
14753
|
return _ts_generator(this, function(_state) {
|
|
14747
14754
|
switch(_state.label){
|
|
@@ -14760,10 +14767,13 @@ var MultipleSelector = React43.forwardRef(function(param, ref) {
|
|
|
14760
14767
|
];
|
|
14761
14768
|
}
|
|
14762
14769
|
});
|
|
14763
|
-
})
|
|
14764
|
-
|
|
14765
|
-
|
|
14766
|
-
|
|
14770
|
+
});
|
|
14771
|
+
return function doSearch() {
|
|
14772
|
+
return _ref.apply(this, arguments);
|
|
14773
|
+
};
|
|
14774
|
+
}();
|
|
14775
|
+
var exec = /*#__PURE__*/ function() {
|
|
14776
|
+
var _ref = _async_to_generator(function() {
|
|
14767
14777
|
return _ts_generator(this, function(_state) {
|
|
14768
14778
|
switch(_state.label){
|
|
14769
14779
|
case 0:
|
|
@@ -14799,8 +14809,11 @@ var MultipleSelector = React43.forwardRef(function(param, ref) {
|
|
|
14799
14809
|
];
|
|
14800
14810
|
}
|
|
14801
14811
|
});
|
|
14802
|
-
})
|
|
14803
|
-
|
|
14812
|
+
});
|
|
14813
|
+
return function exec() {
|
|
14814
|
+
return _ref.apply(this, arguments);
|
|
14815
|
+
};
|
|
14816
|
+
}();
|
|
14804
14817
|
void exec();
|
|
14805
14818
|
}, [
|
|
14806
14819
|
debouncedSearchTerm,
|
|
@@ -26099,7 +26112,7 @@ var import_free_mode = require("swiper/css/free-mode");
|
|
|
26099
26112
|
var import_grid = require("swiper/css/grid");
|
|
26100
26113
|
var import_pagination = require("swiper/css/pagination");
|
|
26101
26114
|
// src/components/swiper/index.module.scss
|
|
26102
|
-
var index_module_default = '.swiperBox {\n @apply w-full h-fit;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev) {\n @apply bg-contain bg-no-repeat;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0iIzQxNDM0NSIgY2xhc3M9InNpemUtNSI+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTEuNzggNS4yMmEuNzUuNzUgMCAwIDEgMCAxLjA2TDguMDYgMTBsMy43MiAzLjcyYS43NS43NSAwIDEgMS0xLjA2IDEuMDZsLTQuMjUtNC4yNWEuNzUuNzUgMCAwIDEgMC0xLjA2bDQuMjUtNC4yNWEuNzUuNzUgMCAwIDEgMS4wNiAwWiIgY2xpcC1ydWxlPSJldmVub2RkIiAvPgo8L3N2Zz4K");\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next) {\n @apply bg-contain bg-no-repeat;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0iIzQxNDM0NSIgY2xhc3M9InNpemUtNSI+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOC4yMiA1LjIyYS43NS43NSAwIDAgMSAxLjA2IDBsNC4yNSA0LjI1YS43NS43NSAwIDAgMSAwIDEuMDZsLTQuMjUgNC4yNWEuNzUuNzUgMCAwIDEtMS4wNi0xLjA2TDExLjk0IDEwIDguMjIgNi4yOGEuNzUuNzUgMCAwIDEgMC0xLjA2WiIgY2xpcC1ydWxlPSJldmVub2RkIiAvPgo8L3N2Zz4KCg==");\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev::after) {\n @apply text-Colors-Foreground-Default content-none;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next::after) {\n @apply text-Colors-Foreground-Default content-none;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.banner-swiper-slide.swiper-slide-prev) {\n @apply origin-right;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.banner-swiper-slide.swiper-slide-next) {\n @apply origin-left;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.swiper-slide-active) {\n @apply opacity-100;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.swiper-button-next) {\n @apply -right-4 md:right-0 3xl:right-[calc((100%-1200px)/2-16px)];\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.swiper-button-prev) {\n @apply -left-4 md:left-0 3xl:left-[calc((100%-1200px)/2-16px)];\n}\n.swiperBox :global(.swiper.feature-swiper) :global(.swiper-button-next) {\n @apply right-0;\n}\n.swiperBox :global(.swiper.feature-swiper) :global(.swiper-button-prev) {\n @apply left-0;\n}\n.swiperBox :global(.swiper.feature-swiper) :global(.swiper-button-disabled) {\n @apply hidden;\n}\n.swiperBox :global(.swiper.patron-badge-swiper) :global(.swiper-button-next) {\n @apply right-0;\n}\n.swiperBox :global(.swiper.patron-badge-swiper) :global(.swiper-button-prev) {\n @apply left-0;\n}\n.swiperBox :global(.swiper.patron-badge-swiper) :global(.swiper-button-disabled) {\n @apply hidden;\n}\n.swiperBox :global(.swiper.grid-swiper) :global(.swiper-wrapper) {\n @apply w-[100vw] md:w-full flex-wrap flex-col m-0;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next) {\n @apply hidden md:flex justify-center items-center absolute top-[50%] w-8 h-8 font-semibold text-Colors-Foreground-Default border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Default rounded-full cursor-pointer hover:bg-Colors-Background-Normal-Primary-Hover active:bg-Colors-Background-Normal-Primary-Active;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next)::after {\n @apply text-Colors-Foreground-Default text-xs font-bold;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev) {\n @apply hidden md:flex justify-center items-center absolute top-[50%] w-8 h-8 font-semibold text-Colors-Foreground-Default border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Default rounded-full cursor-pointer hover:bg-Colors-Background-Normal-Primary-Hover active:bg-Colors-Background-Normal-Primary-Active;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev)::after {\n @apply text-Colors-Foreground-Default text-xs font-bold;\n}\n\n.animate :global(.swiper-slide) {\n transition: transform 500ms linear;\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
26115
|
+
var index_module_default = '.swiperBox {\n @apply w-full h-fit;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev) {\n @apply bg-contain bg-no-repeat;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0iIzQxNDM0NSIgY2xhc3M9InNpemUtNSI+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTEuNzggNS4yMmEuNzUuNzUgMCAwIDEgMCAxLjA2TDguMDYgMTBsMy43MiAzLjcyYS43NS43NSAwIDEgMS0xLjA2IDEuMDZsLTQuMjUtNC4yNWEuNzUuNzUgMCAwIDEgMC0xLjA2bDQuMjUtNC4yNWEuNzUuNzUgMCAwIDEgMS4wNiAwWiIgY2xpcC1ydWxlPSJldmVub2RkIiAvPgo8L3N2Zz4K");\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next) {\n @apply bg-contain bg-no-repeat;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0iIzQxNDM0NSIgY2xhc3M9InNpemUtNSI+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOC4yMiA1LjIyYS43NS43NSAwIDAgMSAxLjA2IDBsNC4yNSA0LjI1YS43NS43NSAwIDAgMSAwIDEuMDZsLTQuMjUgNC4yNWEuNzUuNzUgMCAwIDEtMS4wNi0xLjA2TDExLjk0IDEwIDguMjIgNi4yOGEuNzUuNzUgMCAwIDEgMC0xLjA2WiIgY2xpcC1ydWxlPSJldmVub2RkIiAvPgo8L3N2Zz4KCg==");\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev::after) {\n @apply text-Colors-Foreground-Default content-none;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next::after) {\n @apply text-Colors-Foreground-Default content-none;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.banner-swiper-slide.swiper-slide-prev) {\n @apply origin-right;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.banner-swiper-slide.swiper-slide-next) {\n @apply origin-left;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.swiper-slide-active) {\n @apply opacity-100;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.swiper-button-next) {\n @apply -right-4 md:right-0 3xl:right-[calc((100%-1200px)/2-16px)];\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.swiper-button-prev) {\n @apply -left-4 md:left-0 3xl:left-[calc((100%-1200px)/2-16px)];\n}\n.swiperBox :global(.swiper.feature-swiper) :global(.swiper-button-next) {\n @apply right-0;\n}\n.swiperBox :global(.swiper.feature-swiper) :global(.swiper-button-prev) {\n @apply left-0;\n}\n.swiperBox :global(.swiper.feature-swiper) :global(.swiper-button-disabled) {\n @apply hidden;\n}\n.swiperBox :global(.swiper.patron-badge-swiper) :global(.swiper-button-next) {\n @apply right-0;\n}\n.swiperBox :global(.swiper.patron-badge-swiper) :global(.swiper-button-prev) {\n @apply left-0;\n}\n.swiperBox :global(.swiper.patron-badge-swiper) :global(.swiper-button-disabled) {\n @apply hidden;\n}\n.swiperBox :global(.swiper.grid-swiper) :global(.swiper-wrapper) {\n @apply w-[100vw] md:w-full flex-wrap flex-col m-0;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next) {\n @apply hidden md:flex justify-center items-center absolute top-[50%] w-8 h-8 font-semibold text-Colors-Foreground-Default border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Default rounded-full cursor-pointer hover:bg-Colors-Background-Normal-Primary-Hover active:bg-Colors-Background-Normal-Primary-Active;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next)::after {\n @apply text-Colors-Foreground-Default text-xs font-bold;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev) {\n @apply hidden md:flex justify-center items-center absolute top-[50%] w-8 h-8 font-semibold text-Colors-Foreground-Default border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Default rounded-full cursor-pointer hover:bg-Colors-Background-Normal-Primary-Hover active:bg-Colors-Background-Normal-Primary-Active;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev)::after {\n @apply text-Colors-Foreground-Default text-xs font-bold;\n}\n\n.animate :global(.swiper-slide) {\n transition: transform 500ms linear;\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiL1VzZXJzL3hpYW9ndWFuZy9jb2RlL215c2hlbGwtcmVhY3QtbGliL3NyYy9jb21wb25lbnRzL3N3aXBlciIsInNvdXJjZXMiOlsiaW5kZXgubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRTs7QUFHRTtFQUNFO0VBQ0E7O0FBRUY7RUFDRTtFQUNBOztBQUVGO0VBQ0U7O0FBRUY7RUFDRTs7QUFJRjtFQUVFOztBQUVGO0VBRUU7O0FBRUY7RUFDRTs7QUFHRjtFQUNFOztBQUVGO0VBQ0U7O0FBSUY7RUFDRTs7QUFFRjtFQUNFOztBQUVGO0VBQ0U7O0FBSUY7RUFDRTs7QUFFRjtFQUNFOztBQUVGO0VBQ0U7O0FBSUY7RUFDRTs7QUFLRjtFQUNFOztBQUNFO0VBQ0U7O0FBR047RUFDRTs7QUFDRTtFQUNFOzs7QUFPUjtFQUNFIiwic291cmNlc0NvbnRlbnQiOlsiLnN3aXBlckJveHtcbiAgQGFwcGx5IHctZnVsbCBoLWZpdDtcbiAgXG4gIDpnbG9iYWwoLnN3aXBlcikge1xuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tcHJldil7XG4gICAgICBAYXBwbHkgYmctY29udGFpbiBiZy1uby1yZXBlYXQ7XG4gICAgICBiYWNrZ3JvdW5kLWltYWdlOiB1cmwoJ2RhdGE6aW1hZ2Uvc3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l2ZTpiZy1Db2xvcnMtQmFja2dyb3VuZC1Ob3JtYWwtUHJpbWFyeS1BY3RpdmU7XG4gICAgICAgICY6OmFmdGVyIHtcbiAgICAgICAgICBAYXBwbHkgdGV4dC1Db2xvcnMtRm9yZWdyb3VuZC1EZWZhdWx0IHRleHQteHMgZm9udC1ib2xkO1xuICAgICAgfVxuICAgIH1cbiAgfVxufVxuXG4uYW5pbWF0ZSB7XG4gIDpnbG9iYWwoLnN3aXBlci1zbGlkZSkge1xuICAgIHRyYW5zaXRpb246IHRyYW5zZm9ybSA1MDBtcyBsaW5lYXI7XG4gIH1cbn1cbiJdfQ== */';
|
|
26103
26116
|
// src/components/swiper/index.tsx
|
|
26104
26117
|
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
26105
26118
|
var swiperVariants = (0, import_class_variance_authority22.cva)("", {
|