@fox-dls/carousels 1.0.3 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- package/.ultra.cache.json +1 -1
- package/dist/index.cjs +2872 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.esm.js +2862 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/lib/pagination/styles/index.d.ts +1 -1
- package/dist/lib/pills/styles/index.d.ts +1 -1
- package/dist/lib/styles/index.d.ts +1 -1
- package/package.json +2 -1
- package/tsconfig.build.json +3 -12
- package/tsconfig.json +23 -16
- package/dist/index.js +0 -516
- package/dist/index.js.map +0 -1
package/dist/index.js
DELETED
@@ -1,516 +0,0 @@
|
|
1
|
-
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
2
|
-
import React, { useRef, useState } from 'react';
|
3
|
-
import styled, { css } from 'styled-components';
|
4
|
-
import SwiperCore, { Navigation, Pagination } from 'swiper';
|
5
|
-
import { Swiper, SwiperSlide } from 'swiper/react';
|
6
|
-
import ButtonUnstyled from '@mui/core/ButtonUnstyled';
|
7
|
-
import { Container } from '@fox-dls/layout';
|
8
|
-
|
9
|
-
function _extends() {
|
10
|
-
_extends = Object.assign || function (target) {
|
11
|
-
for (var i = 1; i < arguments.length; i++) {
|
12
|
-
var source = arguments[i];
|
13
|
-
|
14
|
-
for (var key in source) {
|
15
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
16
|
-
target[key] = source[key];
|
17
|
-
}
|
18
|
-
}
|
19
|
-
}
|
20
|
-
|
21
|
-
return target;
|
22
|
-
};
|
23
|
-
|
24
|
-
return _extends.apply(this, arguments);
|
25
|
-
}
|
26
|
-
|
27
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
28
|
-
if (source == null) return {};
|
29
|
-
var target = {};
|
30
|
-
var sourceKeys = Object.keys(source);
|
31
|
-
var key, i;
|
32
|
-
|
33
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
34
|
-
key = sourceKeys[i];
|
35
|
-
if (excluded.indexOf(key) >= 0) continue;
|
36
|
-
target[key] = source[key];
|
37
|
-
}
|
38
|
-
|
39
|
-
return target;
|
40
|
-
}
|
41
|
-
|
42
|
-
function _taggedTemplateLiteralLoose(strings, raw) {
|
43
|
-
if (!raw) {
|
44
|
-
raw = strings.slice(0);
|
45
|
-
}
|
46
|
-
|
47
|
-
strings.raw = raw;
|
48
|
-
return strings;
|
49
|
-
}
|
50
|
-
|
51
|
-
var CarouselSwiper$3 = /*#__PURE__*/styled(Swiper).withConfig({
|
52
|
-
displayName: "styles__CarouselSwiper",
|
53
|
-
componentId: "sc-1sue7gh-1"
|
54
|
-
})(["margin:0px !important;.swiper-wrapper{.swiper-slide{scroll-snap-align:start !important;width:auto !important;}}"]);
|
55
|
-
var CarouselPillContainer = /*#__PURE__*/styled.div.withConfig({
|
56
|
-
displayName: "styles__CarouselPillContainer",
|
57
|
-
componentId: "sc-1sue7gh-2"
|
58
|
-
})(["display:inline-block !important;padding-right:8px !important;padding-top:4px !important;padding-bottom:4px !important;"]);
|
59
|
-
var CarouselPill$1 = /*#__PURE__*/styled(ButtonUnstyled).withConfig({
|
60
|
-
displayName: "styles__CarouselPill",
|
61
|
-
componentId: "sc-1sue7gh-3"
|
62
|
-
})(["-webkit-box-pack:center !important;-webkit-box-align:center !important;appearance:none !important;display:inline-flex !important;border-radius:50% !important;border:1px solid rgb(221,221,221) !important;outline:none !important;margin:0px !important;padding:0px !important;color:rgb(34,34,34) !important;cursor:pointer !important;touch-action:manipulation !important;position:relative !important;background:transparent !important;transition:-ms-transform 0.25s ease 0s,-webkit-transform 0.25s ease 0s,transform 0.25s ease 0s !important;align-items:center !important;justify-content:center !important;width:36px !important;height:36px !important;::before{content:'' !important;display:block !important;position:absolute !important;top:50% !important;left:50% !important;transform:translate(-50%,-50%) !important;width:36px !important;height:36px !important;border-radius:50% !important;border:1px solid rgb(221,221,221) !important;}"]);
|
63
|
-
|
64
|
-
var _templateObject, _templateObject2;
|
65
|
-
|
66
|
-
var _excluded$3 = ["children", "navigation", "title", "controls", "arrows"];
|
67
|
-
SwiperCore.use([Navigation]);
|
68
|
-
var PillsCarousel = function PillsCarousel(_ref) {
|
69
|
-
var children = _ref.children,
|
70
|
-
arrows = _ref.arrows,
|
71
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
|
72
|
-
|
73
|
-
var prevRef = useRef(null);
|
74
|
-
var nextRef = useRef(null);
|
75
|
-
|
76
|
-
var _useState = useState({
|
77
|
-
progress: 0,
|
78
|
-
isBeginning: true,
|
79
|
-
isEnd: false
|
80
|
-
}),
|
81
|
-
swiperSlides = _useState[0],
|
82
|
-
setSwiperSlides = _useState[1];
|
83
|
-
|
84
|
-
var _useState2 = useState(null),
|
85
|
-
swiper = _useState2[0],
|
86
|
-
setSwiper = _useState2[1];
|
87
|
-
|
88
|
-
return jsxs("div", {
|
89
|
-
css: "\n display: flex !important;\n position: relative !important;\n min-width: 0px !important;\n ",
|
90
|
-
children: [jsx("div", {
|
91
|
-
css: "\n position: absolute !important;\n left: 0px !important;\n z-index: 3 !important;\n width: 65px !important;\n background: linear-gradient(\n to right,\n rgb(255, 255, 255) 56.77%,\n rgba(255, 255, 255, 0) 94.47%\n ) !important;\n " + (swiperSlides.isBeginning && css(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n display: none !important;\n visibility: hidden !important;\n "])))) + "\n ",
|
92
|
-
children: arrows && jsx(CarouselPillContainer, {
|
93
|
-
children: jsx(CarouselPill$1, {
|
94
|
-
left: +true,
|
95
|
-
ref: prevRef,
|
96
|
-
"aria-label": "Previous",
|
97
|
-
type: "button",
|
98
|
-
onClick: function onClick() {
|
99
|
-
return swiper.slidePrev();
|
100
|
-
},
|
101
|
-
children: jsx("span", {
|
102
|
-
css: "\n position: relative !important;\n ",
|
103
|
-
children: jsx("svg", {
|
104
|
-
viewBox: "0 0 32 32",
|
105
|
-
xmlns: "http://www.w3.org/2000/svg",
|
106
|
-
"aria-hidden": "true",
|
107
|
-
role: "presentation",
|
108
|
-
focusable: "false",
|
109
|
-
css: "\n display: block;\n fill: none;\n height: 12px;\n width: 12px;\n stroke: currentcolor;\n stroke-width: 5.33333;\n overflow: visible;\n ",
|
110
|
-
children: jsx("g", {
|
111
|
-
fill: "none",
|
112
|
-
children: jsx("path", {
|
113
|
-
d: "m20 28-11.29289322-11.2928932c-.39052429-.3905243-.39052429-1.0236893 0-1.4142136l11.29289322-11.2928932"
|
114
|
-
}, void 0)
|
115
|
-
}, void 0)
|
116
|
-
}, void 0)
|
117
|
-
}, void 0)
|
118
|
-
}, void 0)
|
119
|
-
}, void 0)
|
120
|
-
}, void 0), jsx(CarouselSwiper$3, _extends({}, props, {
|
121
|
-
cssMode: false,
|
122
|
-
slidesPerView: "auto",
|
123
|
-
onInit: function onInit(swiper) {
|
124
|
-
setSwiper(swiper); // eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
125
|
-
// @ts-ignore
|
126
|
-
// eslint-disable-next-line no-param-reassign
|
127
|
-
|
128
|
-
swiper.params.navigation.prevEl = prevRef.current; // eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
129
|
-
// @ts-ignore
|
130
|
-
// eslint-disable-next-line no-param-reassign
|
131
|
-
|
132
|
-
swiper.params.navigation.nextEl = nextRef.current;
|
133
|
-
swiper.navigation.init();
|
134
|
-
swiper.navigation.update();
|
135
|
-
setSwiperSlides({
|
136
|
-
progress: swiper.progress,
|
137
|
-
isBeginning: swiper.isBeginning,
|
138
|
-
isEnd: swiper.isEnd
|
139
|
-
}); // console.log("Swiper", swiper);
|
140
|
-
},
|
141
|
-
onSlideChange: function onSlideChange(swiper) {
|
142
|
-
// console.log("Swiper Change", swiper);
|
143
|
-
setSwiperSlides({
|
144
|
-
progress: swiper.progress,
|
145
|
-
isBeginning: swiper.isBeginning,
|
146
|
-
isEnd: swiper.isEnd
|
147
|
-
});
|
148
|
-
},
|
149
|
-
children: React.Children.map(children, function (child) {
|
150
|
-
return jsx(SwiperSlide, {
|
151
|
-
children: jsx("div", {
|
152
|
-
css: "\n display: inline-block !important;\n white-space: nowrap !important;\n padding-right: 8px !important;\n padding-top: 4px !important;\n padding-bottom: 4px !important;\n ",
|
153
|
-
children: child
|
154
|
-
}, void 0)
|
155
|
-
}, void 0);
|
156
|
-
})
|
157
|
-
}), void 0), jsx("div", {
|
158
|
-
css: "\n -webkit-box-pack: end !important;\n position: absolute !important;\n right: 0px !important;\n z-index: 3 !important;\n width: 75px !important;\n display: flex !important;\n justify-content: flex-end !important;\n background: linear-gradient(\n to left,\n rgb(255, 255, 255) 56.77%,\n rgba(255, 255, 255, 0) 94.47%\n ) !important;\n " + (swiperSlides.isEnd && css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteralLoose(["\n display: none !important;\n visibility: hidden !important;\n "])))) + "\n ",
|
159
|
-
children: arrows && jsx(CarouselPillContainer, {
|
160
|
-
children: jsx(CarouselPill$1, {
|
161
|
-
right: +true,
|
162
|
-
"aria-label": "Next",
|
163
|
-
type: "button",
|
164
|
-
ref: nextRef,
|
165
|
-
onClick: function onClick() {
|
166
|
-
return swiper.slideNext();
|
167
|
-
},
|
168
|
-
children: jsx("span", {
|
169
|
-
css: "\n position: relative !important;\n ",
|
170
|
-
children: jsx("svg", {
|
171
|
-
viewBox: "0 0 32 32",
|
172
|
-
xmlns: "http://www.w3.org/2000/svg",
|
173
|
-
"aria-hidden": "true",
|
174
|
-
role: "presentation",
|
175
|
-
focusable: "false",
|
176
|
-
css: "\n display: block;\n fill: none;\n height: 12px;\n width: 12px;\n stroke: currentcolor;\n stroke-width: 5.33333;\n overflow: visible;\n ",
|
177
|
-
children: jsx("g", {
|
178
|
-
fill: "none",
|
179
|
-
children: jsx("path", {
|
180
|
-
d: "m12 4 11.2928932 11.2928932c.3905243.3905243.3905243 1.0236893 0 1.4142136l-11.2928932 11.2928932"
|
181
|
-
}, void 0)
|
182
|
-
}, void 0)
|
183
|
-
}, void 0)
|
184
|
-
}, void 0)
|
185
|
-
}, void 0)
|
186
|
-
}, void 0)
|
187
|
-
}, void 0)]
|
188
|
-
}, void 0);
|
189
|
-
};
|
190
|
-
|
191
|
-
var CarouselContainer = /*#__PURE__*/styled.div.withConfig({
|
192
|
-
displayName: "styles__CarouselContainer",
|
193
|
-
componentId: "sc-dwepxh-0"
|
194
|
-
})(["position:relative !important;z-index:0 !important;"]);
|
195
|
-
var CarouselNavbar = /*#__PURE__*/styled.div.withConfig({
|
196
|
-
displayName: "styles__CarouselNavbar",
|
197
|
-
componentId: "sc-dwepxh-1"
|
198
|
-
})(["-webkit-box-pack:justify !important;-ms-flex-pack:justify !important;-webkit-box-align:center !important;-ms-flex-align:center !important;color:#222222 !important;display:-webkit-box !important;display:-moz-box !important;display:-ms-flexbox !important;display:-webkit-flex !important;display:flex !important;-webkit-align-items:center !important;align-items:center !important;-webkit-justify-content:space-between !important;justify-content:space-between !important;margin-bottom:16px !important;"]);
|
199
|
-
var NavbarTitleContainer = /*#__PURE__*/styled.div.withConfig({
|
200
|
-
displayName: "styles__NavbarTitleContainer",
|
201
|
-
componentId: "sc-dwepxh-2"
|
202
|
-
})(["margin-right:24px !important;width:auto !important;"]);
|
203
|
-
var NavbarControlsContainer = /*#__PURE__*/styled.div.withConfig({
|
204
|
-
displayName: "styles__NavbarControlsContainer",
|
205
|
-
componentId: "sc-dwepxh-4"
|
206
|
-
})(["display:flex !important;align-items:center !important;margin-left:auto !important;"]);
|
207
|
-
var NavbarControlsQuick = /*#__PURE__*/styled.a.withConfig({
|
208
|
-
displayName: "styles__NavbarControlsQuick",
|
209
|
-
componentId: "sc-dwepxh-5"
|
210
|
-
})(["@media (max-width:744px){display:none !important;}font-size:inherit !important;font-family:inherit !important;font-style:inherit !important;font-variant:inherit !important;line-height:inherit !important;color:#222222 !important;text-decoration:underline !important;border-radius:4px !important;font-weight:600 !important;outline:none !important;"]);
|
211
|
-
var NavbarControlsSpace = /*#__PURE__*/styled.span.withConfig({
|
212
|
-
displayName: "styles__NavbarControlsSpace",
|
213
|
-
componentId: "sc-dwepxh-6"
|
214
|
-
})(["display:inline-block !important;height:32px !important;width:1px !important;margin-right:16px !important;padding:0px !important;border:none !important;"]);
|
215
|
-
var ArrowsContainer = /*#__PURE__*/styled.div.withConfig({
|
216
|
-
displayName: "styles__ArrowsContainer",
|
217
|
-
componentId: "sc-dwepxh-7"
|
218
|
-
})(["-webkit-box-align:center !important;color:rgb(34,34,34) !important;display:flex !important;align-items:center !important;margin-left:auto !important;"]);
|
219
|
-
var ArrowsFlex = /*#__PURE__*/styled.div.withConfig({
|
220
|
-
displayName: "styles__ArrowsFlex",
|
221
|
-
componentId: "sc-dwepxh-8"
|
222
|
-
})(["display:-webkit-box !important;display:-moz-box !important;display:-ms-flexbox !important;display:-webkit-flex !important;display:flex !important;"]);
|
223
|
-
var ArrowsButton = /*#__PURE__*/styled(ButtonUnstyled).withConfig({
|
224
|
-
displayName: "styles__ArrowsButton",
|
225
|
-
componentId: "sc-dwepxh-9"
|
226
|
-
})(["-webkit-box-pack:center !important;-webkit-box-align:center !important;appearance:none !important;display:inline-flex !important;border-radius:50% !important;border:none !important;outline:none !important;margin:0px !important;padding:0px !important;color:rgb(34,34,34) !important;cursor:pointer !important;touch-action:manipulation !important;position:relative !important;background:transparent !important;transition:-ms-transform 0.25s ease 0s,-webkit-transform 0.25s ease 0s,transform 0.25s ease 0s !important;align-items:center !important;justify-content:center !important;width:32px !important;height:32px !important;:focus{box-shadow:none !important;}::before{content:'' !important;display:block !important;position:absolute !important;top:50% !important;left:50% !important;transform:translate(-50%,-50%) !important;width:32px !important;height:32px !important;border-radius:50% !important;background:rgb(255,255,255) !important;border:1px solid rgb(221,221,221) !important;}:disabled{opacity:0.5 !important;cursor:not-allowed !important;color:rgb(221,221,221) !important;transform:scale(1) !important;}:hover:not([disabled]){color:rgb(0,0,0) !important;transform:scale(1.04) !important;}"]);
|
227
|
-
var ArrowsDivider = /*#__PURE__*/styled.span.withConfig({
|
228
|
-
displayName: "styles__ArrowsDivider",
|
229
|
-
componentId: "sc-dwepxh-10"
|
230
|
-
})(["margin-left:8px !important;"]);
|
231
|
-
var ArrowsIconClip = /*#__PURE__*/styled.span.withConfig({
|
232
|
-
displayName: "styles__ArrowsIconClip",
|
233
|
-
componentId: "sc-dwepxh-11"
|
234
|
-
})(["border:0px !important;clip:rect(0 0 0 0) !important;-webkit-clip-path:inset(100%) !important;clip-path:inset(100%) !important;height:1px !important;overflow:hidden !important;padding:0px !important;position:absolute !important;white-space:nowrap !important;width:1px !important;"]);
|
235
|
-
var ArrowsSvg = /*#__PURE__*/styled.svg.withConfig({
|
236
|
-
displayName: "styles__ArrowsSvg",
|
237
|
-
componentId: "sc-dwepxh-12"
|
238
|
-
})(["display:block;fill:none;height:12px;width:12px;stroke:currentcolor;stroke-width:4;overflow:visible;"]);
|
239
|
-
|
240
|
-
var CarouselSwiper$2 = /*#__PURE__*/styled(Swiper).withConfig({
|
241
|
-
displayName: "styles__CarouselSwiper",
|
242
|
-
componentId: "sc-1ja5jv1-0"
|
243
|
-
})([""]);
|
244
|
-
|
245
|
-
var _excluded$2 = ["children", "navigation", "title", "controls", "onShowMore"];
|
246
|
-
SwiperCore.use([Navigation]);
|
247
|
-
var CardCarousel = function CardCarousel(_ref) {
|
248
|
-
var children = _ref.children,
|
249
|
-
navigation = _ref.navigation,
|
250
|
-
title = _ref.title,
|
251
|
-
controls = _ref.controls,
|
252
|
-
onShowMore = _ref.onShowMore,
|
253
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
|
254
|
-
|
255
|
-
var prevRef = useRef(null);
|
256
|
-
var nextRef = useRef(null);
|
257
|
-
return jsxs(CarouselContainer, {
|
258
|
-
children: [navigation && jsxs(CarouselNavbar, {
|
259
|
-
children: [title && jsx(NavbarTitleContainer, {
|
260
|
-
children: title
|
261
|
-
}, void 0), controls && jsxs(NavbarControlsContainer, {
|
262
|
-
children: [onShowMore && jsx(NavbarControlsQuick, {
|
263
|
-
onClick: onShowMore,
|
264
|
-
children: "Show More"
|
265
|
-
}, void 0), jsx(NavbarControlsSpace, {}, void 0), jsx(ArrowsContainer, {
|
266
|
-
"aria-hidden": "false",
|
267
|
-
children: jsxs(ArrowsFlex, {
|
268
|
-
children: [jsx(ArrowsButton, {
|
269
|
-
ref: prevRef,
|
270
|
-
"aria-label": "Previous",
|
271
|
-
type: "button",
|
272
|
-
children: jsxs("span", {
|
273
|
-
css: "\n position: relative;\n ",
|
274
|
-
children: [jsx(ArrowsIconClip, {}, void 0), jsx(ArrowsSvg, {
|
275
|
-
viewBox: "0 0 32 32",
|
276
|
-
xmlns: "http://www.w3.org/2000/svg",
|
277
|
-
"aria-hidden": "true",
|
278
|
-
role: "presentation",
|
279
|
-
focusable: "false",
|
280
|
-
children: jsx("g", {
|
281
|
-
fill: "none",
|
282
|
-
children: jsx("path", {
|
283
|
-
d: "m20 28-11.29289322-11.2928932c-.39052429-.3905243-.39052429-1.0236893 0-1.4142136l11.29289322-11.2928932"
|
284
|
-
}, void 0)
|
285
|
-
}, void 0)
|
286
|
-
}, void 0)]
|
287
|
-
}, void 0)
|
288
|
-
}, void 0), jsx(ArrowsDivider, {}, void 0), jsx(ArrowsButton, {
|
289
|
-
"aria-label": "Next",
|
290
|
-
type: "button",
|
291
|
-
ref: nextRef,
|
292
|
-
children: jsxs("span", {
|
293
|
-
css: "\n position: relative;\n ",
|
294
|
-
children: [jsx(ArrowsIconClip, {}, void 0), jsx(ArrowsSvg, {
|
295
|
-
viewBox: "0 0 32 32",
|
296
|
-
xmlns: "http://www.w3.org/2000/svg",
|
297
|
-
"aria-hidden": "true",
|
298
|
-
role: "presentation",
|
299
|
-
focusable: "false",
|
300
|
-
children: jsx("g", {
|
301
|
-
fill: "none",
|
302
|
-
children: jsx("path", {
|
303
|
-
d: "m12 4 11.2928932 11.2928932c.3905243.3905243.3905243 1.0236893 0 1.4142136l-11.2928932 11.2928932"
|
304
|
-
}, void 0)
|
305
|
-
}, void 0)
|
306
|
-
}, void 0)]
|
307
|
-
}, void 0)
|
308
|
-
}, void 0)]
|
309
|
-
}, void 0)
|
310
|
-
}, void 0)]
|
311
|
-
}, void 0)]
|
312
|
-
}, void 0), jsx(CarouselSwiper$2, _extends({}, props, {
|
313
|
-
onInit: function onInit(swiper) {
|
314
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
315
|
-
// @ts-ignore
|
316
|
-
// eslint-disable-next-line no-param-reassign
|
317
|
-
swiper.params.navigation.prevEl = prevRef.current; // eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
318
|
-
// @ts-ignore
|
319
|
-
// eslint-disable-next-line no-param-reassign
|
320
|
-
|
321
|
-
swiper.params.navigation.nextEl = nextRef.current;
|
322
|
-
swiper.navigation.init();
|
323
|
-
swiper.navigation.update(); // console.log("Swiper", swiper);
|
324
|
-
},
|
325
|
-
children: React.Children.map(children, function (child) {
|
326
|
-
return jsx(SwiperSlide, {
|
327
|
-
children: child
|
328
|
-
}, void 0);
|
329
|
-
})
|
330
|
-
}), void 0)]
|
331
|
-
}, void 0);
|
332
|
-
};
|
333
|
-
|
334
|
-
var CarouselSwiper$1 = /*#__PURE__*/styled(Swiper).withConfig({
|
335
|
-
displayName: "styles__CarouselSwiper",
|
336
|
-
componentId: "sc-y1spms-0"
|
337
|
-
})([".swiper-wrapper{box-sizing:inherit !important;@media (min-width:744px){scroll-padding:40px !important;}@media (min-width:1128px){--scroll-padding:max(80px,calc((100vw - 1600px) / 2)) !important;scroll-padding:var(--scroll-padding) !important;}scroll-snap-type:x mandatory !important;overflow-x:auto !important;display:flex !important;scroll-padding:24px !important;.swiper-slide{@media (min-width:744px){min-width:476px !important;max-width:588px !important;flex:1 0 calc((100% - 80px) * 0.75) !important;}@media (min-width:1128px){flex:1 0 calc(50% - 88px) !important;}margin-left:16px !important;flex:1 0 calc(100% - 84px) !important;scroll-snap-align:start !important;scroll-snap-stop:always !important;}.swiper-slide:first-of-type{@media (min-width:744px){padding-left:40px !important;min-width:calc(516px) !important;max-width:calc(628px) !important;flex:1 0 calc((100% - 80px) * 0.75 + 40px) !important;}@media (min-width:1128px){max-width:calc(588px + max(80px,(100vw - 1600px) / 2)) !important;flex:1 0 calc(50% - 8px) !important;padding-left:max(80px,(100vw - 1600px) / 2) !important;}@media (min-width:2080px){max-width:calc(588px + max(80px,(100vw - 1930px) / 2)) !important;flex:1 0 calc(50% - 8px) !important;padding-left:max(80px,(100vw - 1930px) / 2) !important;}flex:1 0 calc(100% - 84px) !important;scroll-snap-align:start !important;scroll-snap-stop:always !important;margin-left:0px !important;padding-left:24px !important;}.swiper-slide:last-of-type{@media (min-width:744px){padding-right:40px !important;min-width:calc(516px) !important;max-width:calc(628px) !important;flex:1 0 calc((100% - 80px) * 0.75 + 40px) !important;}@media (min-width:1128px){max-width:calc(588px + max(80px,(100vw - 1600px) / 2)) !important;flex:1 0 calc(50% - 8px) !important;padding-right:max(80px,(100vw - 1600px) / 2) !important;}@media (min-width:2080px){max-width:calc(588px + max(80px,(100vw - 1930px) / 2)) !important;flex:1 0 calc(50% - 8px) !important;padding-right:max(80px,(100vw - 1930px) / 2) !important;}margin-left:16px !important;flex:1 0 calc(100% - 84px) !important;scroll-snap-align:start !important;scroll-snap-stop:always !important;padding-right:24px !important;}}"]);
|
338
|
-
|
339
|
-
var _excluded$1 = ["children", "navigation", "title", "controls", "quickLink", "onShowMore"];
|
340
|
-
SwiperCore.use([Navigation]);
|
341
|
-
var FreeCarousel = function FreeCarousel(_ref) {
|
342
|
-
var children = _ref.children,
|
343
|
-
navigation = _ref.navigation,
|
344
|
-
title = _ref.title,
|
345
|
-
controls = _ref.controls,
|
346
|
-
onShowMore = _ref.onShowMore,
|
347
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
|
348
|
-
|
349
|
-
var prevRef = useRef(null);
|
350
|
-
var nextRef = useRef(null);
|
351
|
-
return jsxs(CarouselContainer, {
|
352
|
-
children: [jsx("div", {
|
353
|
-
css: "\n @media (max-width: 744px) {\n display: none !important;\n }\n ",
|
354
|
-
children: jsx(Container, {
|
355
|
-
children: navigation && jsxs(CarouselNavbar, {
|
356
|
-
children: [title && jsx(NavbarTitleContainer, {
|
357
|
-
children: title
|
358
|
-
}, void 0), controls && jsxs(NavbarControlsContainer, {
|
359
|
-
children: [onShowMore && jsx(NavbarControlsQuick, {
|
360
|
-
onClick: onShowMore,
|
361
|
-
children: "Show More"
|
362
|
-
}, void 0), jsx(NavbarControlsSpace, {}, void 0), jsx(ArrowsContainer, {
|
363
|
-
"aria-hidden": "false",
|
364
|
-
children: jsxs(ArrowsFlex, {
|
365
|
-
children: [jsx(ArrowsButton, {
|
366
|
-
ref: prevRef,
|
367
|
-
"aria-label": "Previous",
|
368
|
-
type: "button",
|
369
|
-
children: jsxs("span", {
|
370
|
-
css: "\n position: relative;\n ",
|
371
|
-
children: [jsx(ArrowsIconClip, {}, void 0), jsx(ArrowsSvg, {
|
372
|
-
viewBox: "0 0 32 32",
|
373
|
-
xmlns: "http://www.w3.org/2000/svg",
|
374
|
-
"aria-hidden": "true",
|
375
|
-
role: "presentation",
|
376
|
-
focusable: "false",
|
377
|
-
children: jsx("g", {
|
378
|
-
fill: "none",
|
379
|
-
children: jsx("path", {
|
380
|
-
d: "m20 28-11.29289322-11.2928932c-.39052429-.3905243-.39052429-1.0236893 0-1.4142136l11.29289322-11.2928932"
|
381
|
-
}, void 0)
|
382
|
-
}, void 0)
|
383
|
-
}, void 0)]
|
384
|
-
}, void 0)
|
385
|
-
}, void 0), jsx(ArrowsDivider, {}, void 0), jsx(ArrowsButton, {
|
386
|
-
"aria-label": "Next",
|
387
|
-
type: "button",
|
388
|
-
ref: nextRef,
|
389
|
-
children: jsxs("span", {
|
390
|
-
css: "\n position: relative;\n ",
|
391
|
-
children: [jsx(ArrowsIconClip, {}, void 0), jsx(ArrowsSvg, {
|
392
|
-
viewBox: "0 0 32 32",
|
393
|
-
xmlns: "http://www.w3.org/2000/svg",
|
394
|
-
"aria-hidden": "true",
|
395
|
-
role: "presentation",
|
396
|
-
focusable: "false",
|
397
|
-
children: jsx("g", {
|
398
|
-
fill: "none",
|
399
|
-
children: jsx("path", {
|
400
|
-
d: "m12 4 11.2928932 11.2928932c.3905243.3905243.3905243 1.0236893 0 1.4142136l-11.2928932 11.2928932"
|
401
|
-
}, void 0)
|
402
|
-
}, void 0)
|
403
|
-
}, void 0)]
|
404
|
-
}, void 0)
|
405
|
-
}, void 0)]
|
406
|
-
}, void 0)
|
407
|
-
}, void 0)]
|
408
|
-
}, void 0)]
|
409
|
-
}, void 0)
|
410
|
-
}, void 0)
|
411
|
-
}, void 0), jsx(CarouselSwiper$1, _extends({}, props, {
|
412
|
-
cssMode: true,
|
413
|
-
onInit: function onInit(swiper) {
|
414
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
415
|
-
// @ts-ignore
|
416
|
-
// eslint-disable-next-line no-param-reassign
|
417
|
-
swiper.params.navigation.prevEl = prevRef.current; // eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
418
|
-
// @ts-ignore
|
419
|
-
// eslint-disable-next-line no-param-reassign
|
420
|
-
|
421
|
-
swiper.params.navigation.nextEl = nextRef.current;
|
422
|
-
swiper.navigation.init();
|
423
|
-
swiper.navigation.update(); // console.log("Swiper", swiper);
|
424
|
-
},
|
425
|
-
children: React.Children.map(children, function (child) {
|
426
|
-
return jsx(SwiperSlide, {
|
427
|
-
children: child
|
428
|
-
}, void 0);
|
429
|
-
})
|
430
|
-
}), void 0)]
|
431
|
-
}, void 0);
|
432
|
-
};
|
433
|
-
|
434
|
-
var CarouselSwiper = /*#__PURE__*/styled(Swiper).withConfig({
|
435
|
-
displayName: "styles__CarouselSwiper",
|
436
|
-
componentId: "sc-jtjv4e-1"
|
437
|
-
})(["height:100%;.swiper-pagination{.swiper-pagination-bullet-active{background-color:#fff;}.swiper-pagination-bullet-active-next{background-color:#ffffff;}.swiper-pagination-bullet{background-color:#ffffff;}}"]);
|
438
|
-
var CarouselPill = /*#__PURE__*/styled(ButtonUnstyled).withConfig({
|
439
|
-
displayName: "styles__CarouselPill",
|
440
|
-
componentId: "sc-jtjv4e-2"
|
441
|
-
})([":hover{border-color:rgba(0,0,0,0.08) !important;background-color:#ffffff !important;color:#000000 !important;box-shadow:0px 0px 0px 1px transparent,0px 0px 0px 4px transparent,0px 6px 16px rgb(0 0 0 / 12%) !important;-webkit-transform:scale(1.04) !important;-ms-transform:scale(1.04) !important;transform:scale(1.04) !important;}-webkit-box-pack:center !important;-ms-flex-pack:center !important;-webkit-box-align:center !important;-ms-flex-align:center !important;-webkit-appearance:none !important;-moz-appearance:none !important;appearance:none !important;display:-webkit-inline-box !important;display:-moz-inline-box !important;display:-ms-inline-flexbox !important;display:-webkit-inline-flex !important;display:inline-flex !important;border-radius:50% !important;border:0px !important;outline:none !important;margin:0px !important;padding:0px !important;color:#222222 !important;background-color:rgba(255,255,255,0.9) !important;cursor:pointer !important;-ms-touch-action:manipulation !important;touch-action:manipulation !important;-webkit-align-items:center !important;align-items:center !important;-webkit-justify-content:center !important;justify-content:center !important;border-style:solid !important;border-width:1px !important;background-clip:padding-box !important;border-color:rgba(0,0,0,0.08) !important;box-shadow:0px 0px 0px 1px transparent,0px 0px 0px 4px transparent,0px 2px 4px rgb(0 0 0 / 18%) !important;-webkit-transition:-webkit-transform 0.25s ease,transform 0.25s ease !important;-moz-transition:transform 0.25s ease !important;transition:-ms-transform 0.25s ease,-webkit-transform 0.25s ease,transform 0.25s ease !important;width:32px !important;height:32px !important;"]);
|
442
|
-
var CarouselPillSvg = /*#__PURE__*/styled.svg.withConfig({
|
443
|
-
displayName: "styles__CarouselPillSvg",
|
444
|
-
componentId: "sc-jtjv4e-3"
|
445
|
-
})(["height:10px;width:10px;display:block;fill:currentcolor;"]);
|
446
|
-
|
447
|
-
var _excluded = ["children", "navigation", "title", "controls"];
|
448
|
-
SwiperCore.use([Navigation, Pagination]);
|
449
|
-
var PaginationCarousel = function PaginationCarousel(_ref) {
|
450
|
-
var children = _ref.children,
|
451
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded);
|
452
|
-
|
453
|
-
var prevRef = useRef(null);
|
454
|
-
var nextRef = useRef(null);
|
455
|
-
return jsxs(Fragment, {
|
456
|
-
children: [jsx("div", {
|
457
|
-
css: "\n @keyframes fadein {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n }\n position: absolute !important;\n top: 50% !important;\n pointer-events: auto !important;\n transform: translateY(-50%) !important;\n left: 8px !important;\n animation-duration: 0.3s !important;\n animation-name: fadein !important;\n z-index: 180 !important;\n opacity: 0 !important;\n :hover {\n opacity: 1 !important;\n }\n ",
|
458
|
-
children: jsx(CarouselPill, {
|
459
|
-
ref: prevRef,
|
460
|
-
children: jsx("span", {
|
461
|
-
css: "\n position: relative !important;\n ",
|
462
|
-
children: jsx(CarouselPillSvg, {
|
463
|
-
viewBox: "0 0 16 16",
|
464
|
-
role: "presentation",
|
465
|
-
"aria-hidden": "true",
|
466
|
-
focusable: "false",
|
467
|
-
children: jsx("path", {
|
468
|
-
d: "m10.8 16c-.4 0-.7-.1-.9-.4l-6.8-6.7c-.5-.5-.5-1.3 0-1.8l6.8-6.7c.5-.5 1.2-.5 1.7 0s .5 1.2 0 1.7l-5.8 5.9 5.8 5.9c.5.5.5 1.2 0 1.7-.2.3-.5.4-.8.4"
|
469
|
-
}, void 0)
|
470
|
-
}, void 0)
|
471
|
-
}, void 0)
|
472
|
-
}, void 0)
|
473
|
-
}, void 0), jsx("div", {
|
474
|
-
css: "\n @keyframes fadein {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n }\n position: absolute !important;\n top: 50% !important;\n pointer-events: auto !important;\n transform: translateY(-50%) !important;\n right: 8px !important;\n animation-duration: 0.3s !important;\n animation-name: fadein !important;\n z-index: 180 !important;\n opacity: 0 !important;\n :hover {\n opacity: 1 !important;\n }\n ",
|
475
|
-
children: jsx(CarouselPill, {
|
476
|
-
ref: nextRef,
|
477
|
-
children: jsx("span", {
|
478
|
-
css: "\n position: relative !important;\n ",
|
479
|
-
children: jsx(CarouselPillSvg, {
|
480
|
-
viewBox: "0 0 16 16",
|
481
|
-
role: "presentation",
|
482
|
-
"aria-hidden": "true",
|
483
|
-
focusable: "false",
|
484
|
-
children: jsx("path", {
|
485
|
-
d: "m5.3 16c .3 0 .6-.1.8-.4l6.8-6.7c.5-.5.5-1.3 0-1.8l-6.8-6.7c-.5-.5-1.2-.5-1.7 0s-.5 1.2 0 1.7l5.8 5.9-5.8 5.9c-.5.5-.5 1.2 0 1.7.2.3.5.4.9.4"
|
486
|
-
}, void 0)
|
487
|
-
}, void 0)
|
488
|
-
}, void 0)
|
489
|
-
}, void 0)
|
490
|
-
}, void 0), jsx(CarouselSwiper, _extends({}, props, {
|
491
|
-
pagination: {
|
492
|
-
dynamicBullets: true
|
493
|
-
},
|
494
|
-
onInit: function onInit(swiper) {
|
495
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
496
|
-
// @ts-ignore
|
497
|
-
// eslint-disable-next-line no-param-reassign
|
498
|
-
swiper.params.navigation.prevEl = prevRef.current; // eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
499
|
-
// @ts-ignore
|
500
|
-
// eslint-disable-next-line no-param-reassign
|
501
|
-
|
502
|
-
swiper.params.navigation.nextEl = nextRef.current;
|
503
|
-
swiper.navigation.init();
|
504
|
-
swiper.navigation.update(); // console.log("Swiper", swiper);
|
505
|
-
},
|
506
|
-
children: React.Children.map(children, function (child) {
|
507
|
-
return React.cloneElement(jsx(SwiperSlide, {
|
508
|
-
children: child
|
509
|
-
}, void 0), _extends({}, props));
|
510
|
-
})
|
511
|
-
}), void 0)]
|
512
|
-
}, void 0);
|
513
|
-
};
|
514
|
-
|
515
|
-
export { CardCarousel, FreeCarousel, PaginationCarousel, PillsCarousel };
|
516
|
-
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/lib/pills/styles/index.tsx","../src/lib/pills/index.tsx","../src/lib/styles/index.tsx","../src/lib/card/styles/index.tsx","../src/lib/card/index.tsx","../src/lib/free/styles/index.tsx","../src/lib/free/index.tsx","../src/lib/pagination/styles/index.tsx","../src/lib/pagination/index.tsx"],"sourcesContent":["import ButtonUnstyled from '@mui/core/ButtonUnstyled';\nimport styled from 'styled-components';\n// eslint-disable-next-line import/extensions\nimport { Swiper } from 'swiper/react';\n\nexport const CarouselContainer = styled.div``;\n\nexport const CarouselSwiper = styled(Swiper)`\n margin: 0px !important;\n .swiper-wrapper {\n .swiper-slide {\n scroll-snap-align: start !important;\n width: auto !important;\n }\n }\n`;\n\nexport const CarouselPillContainer = styled.div`\n display: inline-block !important;\n padding-right: 8px !important;\n padding-top: 4px !important;\n padding-bottom: 4px !important;\n`;\n\nexport const CarouselPill = styled(ButtonUnstyled)<any>`\n -webkit-box-pack: center !important;\n -webkit-box-align: center !important;\n appearance: none !important;\n display: inline-flex !important;\n border-radius: 50% !important;\n border: 1px solid rgb(221, 221, 221) !important;\n outline: none !important;\n margin: 0px !important;\n padding: 0px !important;\n color: rgb(34, 34, 34) !important;\n cursor: pointer !important;\n touch-action: manipulation !important;\n position: relative !important;\n background: transparent !important;\n transition: -ms-transform 0.25s ease 0s, -webkit-transform 0.25s ease 0s,\n transform 0.25s ease 0s !important;\n align-items: center !important;\n justify-content: center !important;\n width: 36px !important;\n height: 36px !important;\n ::before {\n content: '' !important;\n display: block !important;\n position: absolute !important;\n top: 50% !important;\n left: 50% !important;\n transform: translate(-50%, -50%) !important;\n width: 36px !important;\n height: 36px !important;\n border-radius: 50% !important;\n border: 1px solid rgb(221, 221, 221) !important;\n }\n`;\n","/* eslint-disable @typescript-eslint/no-shadow */\n/* eslint-disable unused-imports/no-unused-vars */\nimport React, { useRef, useState } from 'react';\n\nimport { css } from 'styled-components';\nimport SwiperCore, { Navigation } from 'swiper';\n// eslint-disable-next-line import/extensions\nimport { SwiperSlide } from 'swiper/react';\n\nimport { CarouselSwiper, CarouselPillContainer, CarouselPill } from './styles';\n\nSwiperCore.use([Navigation]);\n\nexport const PillsCarousel: React.FC<any> = ({\n children,\n navigation,\n title,\n controls,\n arrows,\n ...props\n}) => {\n const prevRef = useRef<any>(null);\n const nextRef = useRef<any>(null);\n const [swiperSlides, setSwiperSlides] = useState<any>({\n progress: 0,\n isBeginning: true,\n isEnd: false\n });\n const [swiper, setSwiper] = useState<any>(null);\n return (\n <div\n css={`\n display: flex !important;\n position: relative !important;\n min-width: 0px !important;\n `}\n >\n <div\n css={`\n position: absolute !important;\n left: 0px !important;\n z-index: 3 !important;\n width: 65px !important;\n background: linear-gradient(\n to right,\n rgb(255, 255, 255) 56.77%,\n rgba(255, 255, 255, 0) 94.47%\n ) !important;\n ${swiperSlides.isBeginning &&\n css`\n display: none !important;\n visibility: hidden !important;\n `}\n `}\n >\n {arrows && (\n <CarouselPillContainer>\n <CarouselPill\n left={+true}\n ref={prevRef}\n aria-label=\"Previous\"\n type=\"button\"\n onClick={() => swiper.slidePrev()}\n >\n <span\n css={`\n position: relative !important;\n `}\n >\n <svg\n viewBox=\"0 0 32 32\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n role=\"presentation\"\n focusable=\"false\"\n css={`\n display: block;\n fill: none;\n height: 12px;\n width: 12px;\n stroke: currentcolor;\n stroke-width: 5.33333;\n overflow: visible;\n `}\n >\n <g fill=\"none\">\n <path d=\"m20 28-11.29289322-11.2928932c-.39052429-.3905243-.39052429-1.0236893 0-1.4142136l11.29289322-11.2928932\" />\n </g>\n </svg>\n </span>\n </CarouselPill>\n </CarouselPillContainer>\n )}\n </div>\n\n <CarouselSwiper\n {...props}\n cssMode={false}\n slidesPerView=\"auto\"\n onInit={(swiper: any) => {\n setSwiper(swiper);\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line no-param-reassign\n swiper.params.navigation.prevEl = prevRef.current;\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line no-param-reassign\n swiper.params.navigation.nextEl = nextRef.current;\n swiper.navigation.init();\n swiper.navigation.update();\n setSwiperSlides({\n progress: swiper.progress,\n isBeginning: swiper.isBeginning,\n isEnd: swiper.isEnd\n });\n // console.log(\"Swiper\", swiper);\n }}\n onSlideChange={swiper => {\n // console.log(\"Swiper Change\", swiper);\n\n setSwiperSlides({\n progress: swiper.progress,\n isBeginning: swiper.isBeginning,\n isEnd: swiper.isEnd\n });\n }}\n >\n {React.Children.map(children, child => (\n <SwiperSlide>\n <div\n css={`\n display: inline-block !important;\n white-space: nowrap !important;\n padding-right: 8px !important;\n padding-top: 4px !important;\n padding-bottom: 4px !important;\n `}\n >\n {child}\n </div>\n </SwiperSlide>\n ))}\n </CarouselSwiper>\n\n <div\n css={`\n -webkit-box-pack: end !important;\n position: absolute !important;\n right: 0px !important;\n z-index: 3 !important;\n width: 75px !important;\n display: flex !important;\n justify-content: flex-end !important;\n background: linear-gradient(\n to left,\n rgb(255, 255, 255) 56.77%,\n rgba(255, 255, 255, 0) 94.47%\n ) !important;\n ${swiperSlides.isEnd &&\n css`\n display: none !important;\n visibility: hidden !important;\n `}\n `}\n >\n {arrows && (\n <CarouselPillContainer>\n <CarouselPill\n right={+true}\n aria-label=\"Next\"\n type=\"button\"\n ref={nextRef}\n onClick={() => swiper.slideNext()}\n >\n <span\n css={`\n position: relative !important;\n `}\n >\n <svg\n viewBox=\"0 0 32 32\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n role=\"presentation\"\n focusable=\"false\"\n css={`\n display: block;\n fill: none;\n height: 12px;\n width: 12px;\n stroke: currentcolor;\n stroke-width: 5.33333;\n overflow: visible;\n `}\n >\n <g fill=\"none\">\n <path d=\"m12 4 11.2928932 11.2928932c.3905243.3905243.3905243 1.0236893 0 1.4142136l-11.2928932 11.2928932\" />\n </g>\n </svg>\n </span>\n </CarouselPill>\n </CarouselPillContainer>\n )}\n </div>\n </div>\n );\n};\n","import ButtonUnstyled from '@mui/core/ButtonUnstyled';\nimport styled from 'styled-components';\n\nexport const CarouselContainer = styled.div`\n position: relative !important;\n z-index: 0 !important;\n`;\n\nexport const CarouselNavbar = styled.div`\n -webkit-box-pack: justify !important;\n -ms-flex-pack: justify !important;\n -webkit-box-align: center !important;\n -ms-flex-align: center !important;\n color: #222222 !important;\n display: -webkit-box !important;\n display: -moz-box !important;\n display: -ms-flexbox !important;\n display: -webkit-flex !important;\n display: flex !important;\n -webkit-align-items: center !important;\n align-items: center !important;\n -webkit-justify-content: space-between !important;\n justify-content: space-between !important;\n margin-bottom: 16px !important;\n`;\n\nexport const NavbarTitleContainer = styled.div`\n margin-right: 24px !important;\n width: auto !important;\n`;\n\nexport const NavbarTitle = styled.div`\n @media (min-width: 744px) {\n font-size: 32px !important;\n line-height: 36px !important;\n font-weight: 800 !important;\n text-align: left !important;\n color: #222222 !important;\n margin-bottom: 15px !important;\n }\n font-size: 22px !important;\n line-height: 26px !important;\n font-weight: 600 !important;\n margin-bottom: 10px !important;\n`;\n\nexport const NavbarControlsContainer = styled.div`\n display: flex !important;\n align-items: center !important;\n margin-left: auto !important;\n`;\n\nexport const NavbarControlsQuick = styled.a`\n @media (max-width: 744px) {\n display: none !important;\n }\n font-size: inherit !important;\n font-family: inherit !important;\n font-style: inherit !important;\n font-variant: inherit !important;\n line-height: inherit !important;\n color: #222222 !important;\n text-decoration: underline !important;\n border-radius: 4px !important;\n font-weight: 600 !important;\n outline: none !important;\n`;\n\nexport const NavbarControlsSpace = styled.span`\n display: inline-block !important;\n height: 32px !important;\n width: 1px !important;\n margin-right: 16px !important;\n padding: 0px !important;\n border: none !important;\n`;\n\nexport const ArrowsContainer = styled.div`\n -webkit-box-align: center !important;\n color: rgb(34, 34, 34) !important;\n display: flex !important;\n align-items: center !important;\n margin-left: auto !important;\n`;\n\nexport const ArrowsFlex = styled.div`\n display: -webkit-box !important;\n display: -moz-box !important;\n display: -ms-flexbox !important;\n display: -webkit-flex !important;\n display: flex !important;\n`;\n\nexport const ArrowsButton = styled(ButtonUnstyled)<any>`\n -webkit-box-pack: center !important;\n -webkit-box-align: center !important;\n appearance: none !important;\n display: inline-flex !important;\n border-radius: 50% !important;\n border: none !important;\n outline: none !important;\n margin: 0px !important;\n padding: 0px !important;\n color: rgb(34, 34, 34) !important;\n cursor: pointer !important;\n touch-action: manipulation !important;\n position: relative !important;\n background: transparent !important;\n transition: -ms-transform 0.25s ease 0s, -webkit-transform 0.25s ease 0s,\n transform 0.25s ease 0s !important;\n align-items: center !important;\n justify-content: center !important;\n width: 32px !important;\n height: 32px !important;\n :focus {\n box-shadow: none !important;\n }\n ::before {\n content: '' !important;\n display: block !important;\n position: absolute !important;\n top: 50% !important;\n left: 50% !important;\n transform: translate(-50%, -50%) !important;\n width: 32px !important;\n height: 32px !important;\n border-radius: 50% !important;\n background: rgb(255, 255, 255) !important;\n border: 1px solid rgb(221, 221, 221) !important;\n }\n :disabled {\n opacity: 0.5 !important;\n cursor: not-allowed !important;\n color: rgb(221, 221, 221) !important;\n transform: scale(1) !important;\n }\n :hover:not([disabled]) {\n color: rgb(0, 0, 0) !important;\n transform: scale(1.04) !important;\n }\n`;\n\nexport const ArrowsDivider = styled.span`\n margin-left: 8px !important;\n`;\n\nexport const ArrowsIconClip = styled.span`\n border: 0px !important;\n clip: rect(0 0 0 0) !important;\n -webkit-clip-path: inset(100%) !important;\n clip-path: inset(100%) !important;\n height: 1px !important;\n overflow: hidden !important;\n padding: 0px !important;\n position: absolute !important;\n white-space: nowrap !important;\n width: 1px !important;\n`;\n\nexport const ArrowsSvg = styled.svg`\n display: block;\n fill: none;\n height: 12px;\n width: 12px;\n stroke: currentcolor;\n stroke-width: 4;\n overflow: visible;\n`;\n","import styled from 'styled-components';\n// eslint-disable-next-line import/extensions\nimport { Swiper } from 'swiper/react';\n\nexport const CarouselSwiper = styled(Swiper)``;\n","import React, { useRef } from 'react';\n\nimport SwiperCore, { Navigation } from 'swiper';\n// eslint-disable-next-line import/extensions\nimport { SwiperSlide } from 'swiper/react';\n\nimport {\n CarouselContainer,\n CarouselNavbar,\n NavbarTitleContainer,\n NavbarControlsContainer,\n NavbarControlsQuick,\n NavbarControlsSpace,\n ArrowsContainer,\n ArrowsFlex,\n ArrowsDivider,\n ArrowsButton,\n ArrowsIconClip,\n ArrowsSvg\n} from '../styles';\nimport { CarouselSwiper } from './styles';\n\nSwiperCore.use([Navigation]);\n\nexport const CardCarousel: React.FC<any> = ({\n children,\n navigation,\n title,\n controls,\n onShowMore,\n ...props\n}) => {\n const prevRef = useRef<HTMLDivElement>(null);\n const nextRef = useRef<HTMLDivElement>(null);\n return (\n <CarouselContainer>\n {navigation && (\n <CarouselNavbar>\n {title && <NavbarTitleContainer>{title}</NavbarTitleContainer>}\n {controls && (\n <NavbarControlsContainer>\n {onShowMore && (\n <NavbarControlsQuick onClick={onShowMore}>\n Show More\n </NavbarControlsQuick>\n )}\n <NavbarControlsSpace />\n <ArrowsContainer aria-hidden=\"false\">\n <ArrowsFlex>\n <ArrowsButton\n ref={prevRef}\n aria-label=\"Previous\"\n type=\"button\"\n >\n <span\n css={`\n position: relative;\n `}\n >\n <ArrowsIconClip />\n <ArrowsSvg\n viewBox=\"0 0 32 32\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n role=\"presentation\"\n focusable=\"false\"\n >\n <g fill=\"none\">\n <path d=\"m20 28-11.29289322-11.2928932c-.39052429-.3905243-.39052429-1.0236893 0-1.4142136l11.29289322-11.2928932\" />\n </g>\n </ArrowsSvg>\n </span>\n </ArrowsButton>\n <ArrowsDivider />\n <ArrowsButton aria-label=\"Next\" type=\"button\" ref={nextRef}>\n <span\n css={`\n position: relative;\n `}\n >\n <ArrowsIconClip />\n <ArrowsSvg\n viewBox=\"0 0 32 32\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n role=\"presentation\"\n focusable=\"false\"\n >\n <g fill=\"none\">\n <path d=\"m12 4 11.2928932 11.2928932c.3905243.3905243.3905243 1.0236893 0 1.4142136l-11.2928932 11.2928932\" />\n </g>\n </ArrowsSvg>\n </span>\n </ArrowsButton>\n </ArrowsFlex>\n </ArrowsContainer>\n </NavbarControlsContainer>\n )}\n </CarouselNavbar>\n )}\n <CarouselSwiper\n {...props}\n onInit={swiper => {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line no-param-reassign\n swiper.params.navigation.prevEl = prevRef.current;\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line no-param-reassign\n swiper.params.navigation.nextEl = nextRef.current;\n swiper.navigation.init();\n swiper.navigation.update();\n // console.log(\"Swiper\", swiper);\n }}\n >\n {React.Children.map(children, child => (\n <SwiperSlide>{child}</SwiperSlide>\n ))}\n </CarouselSwiper>\n </CarouselContainer>\n );\n};\n","import styled from 'styled-components';\n// eslint-disable-next-line import/extensions\nimport { Swiper } from 'swiper/react';\n\nexport const CarouselSwiper = styled(Swiper)`\n .swiper-wrapper {\n box-sizing: inherit !important;\n @media (min-width: 744px) {\n scroll-padding: 40px !important;\n }\n @media (min-width: 1128px) {\n --scroll-padding: max(80px, calc((100vw - 1600px) / 2)) !important;\n scroll-padding: var(--scroll-padding) !important;\n }\n scroll-snap-type: x mandatory !important;\n overflow-x: auto !important;\n display: flex !important;\n scroll-padding: 24px !important;\n .swiper-slide {\n @media (min-width: 744px) {\n min-width: 476px !important;\n max-width: 588px !important;\n flex: 1 0 calc((100% - 80px) * 0.75) !important;\n }\n @media (min-width: 1128px) {\n flex: 1 0 calc(50% - 88px) !important;\n }\n margin-left: 16px !important;\n flex: 1 0 calc(100% - 84px) !important;\n scroll-snap-align: start !important;\n scroll-snap-stop: always !important;\n }\n .swiper-slide:first-of-type {\n @media (min-width: 744px) {\n padding-left: 40px !important;\n min-width: calc(516px) !important;\n max-width: calc(628px) !important;\n flex: 1 0 calc((100% - 80px) * 0.75 + 40px) !important;\n }\n @media (min-width: 1128px) {\n max-width: calc(588px + max(80px, (100vw - 1600px) / 2)) !important;\n flex: 1 0 calc(50% - 8px) !important;\n padding-left: max(80px, (100vw - 1600px) / 2) !important;\n }\n @media (min-width: 2080px) {\n max-width: calc(588px + max(80px, (100vw - 1930px) / 2)) !important;\n flex: 1 0 calc(50% - 8px) !important;\n padding-left: max(80px, (100vw - 1930px) / 2) !important;\n }\n flex: 1 0 calc(100% - 84px) !important;\n scroll-snap-align: start !important;\n scroll-snap-stop: always !important;\n margin-left: 0px !important;\n padding-left: 24px !important;\n }\n .swiper-slide:last-of-type {\n @media (min-width: 744px) {\n padding-right: 40px !important;\n min-width: calc(516px) !important;\n max-width: calc(628px) !important;\n flex: 1 0 calc((100% - 80px) * 0.75 + 40px) !important;\n }\n @media (min-width: 1128px) {\n max-width: calc(588px + max(80px, (100vw - 1600px) / 2)) !important;\n flex: 1 0 calc(50% - 8px) !important;\n padding-right: max(80px, (100vw - 1600px) / 2) !important;\n }\n @media (min-width: 2080px) {\n max-width: calc(588px + max(80px, (100vw - 1930px) / 2)) !important;\n flex: 1 0 calc(50% - 8px) !important;\n padding-right: max(80px, (100vw - 1930px) / 2) !important;\n }\n margin-left: 16px !important;\n flex: 1 0 calc(100% - 84px) !important;\n scroll-snap-align: start !important;\n scroll-snap-stop: always !important;\n padding-right: 24px !important;\n }\n }\n`;\n","/* eslint-disable unused-imports/no-unused-vars */\nimport React, { useRef } from 'react';\n\nimport { Container } from '@fox-dls/layout';\nimport SwiperCore, { Navigation } from 'swiper';\n// eslint-disable-next-line import/extensions\nimport { SwiperSlide } from 'swiper/react';\n\nimport {\n CarouselContainer,\n CarouselNavbar,\n NavbarTitleContainer,\n NavbarControlsContainer,\n NavbarControlsQuick,\n NavbarControlsSpace,\n ArrowsContainer,\n ArrowsFlex,\n ArrowsDivider,\n ArrowsButton,\n ArrowsIconClip,\n ArrowsSvg\n} from '../styles';\nimport { CarouselSwiper } from './styles';\n\nSwiperCore.use([Navigation]);\n\nexport const FreeCarousel: React.FC<any> = ({\n children,\n navigation,\n title,\n controls,\n quickLink,\n onShowMore,\n ...props\n}) => {\n const prevRef = useRef<HTMLDivElement>(null);\n const nextRef = useRef<HTMLDivElement>(null);\n return (\n <CarouselContainer>\n <div\n css={`\n @media (max-width: 744px) {\n display: none !important;\n }\n `}\n >\n <Container>\n {navigation && (\n <CarouselNavbar>\n {title && <NavbarTitleContainer>{title}</NavbarTitleContainer>}\n {controls && (\n <NavbarControlsContainer>\n {onShowMore && (\n <NavbarControlsQuick onClick={onShowMore}>\n Show More\n </NavbarControlsQuick>\n )}\n <NavbarControlsSpace />\n <ArrowsContainer aria-hidden=\"false\">\n <ArrowsFlex>\n <ArrowsButton\n ref={prevRef}\n aria-label=\"Previous\"\n type=\"button\"\n >\n <span\n css={`\n position: relative;\n `}\n >\n <ArrowsIconClip />\n <ArrowsSvg\n viewBox=\"0 0 32 32\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n role=\"presentation\"\n focusable=\"false\"\n >\n <g fill=\"none\">\n <path d=\"m20 28-11.29289322-11.2928932c-.39052429-.3905243-.39052429-1.0236893 0-1.4142136l11.29289322-11.2928932\" />\n </g>\n </ArrowsSvg>\n </span>\n </ArrowsButton>\n <ArrowsDivider />\n <ArrowsButton\n aria-label=\"Next\"\n type=\"button\"\n ref={nextRef}\n >\n <span\n css={`\n position: relative;\n `}\n >\n <ArrowsIconClip />\n <ArrowsSvg\n viewBox=\"0 0 32 32\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n role=\"presentation\"\n focusable=\"false\"\n >\n <g fill=\"none\">\n <path d=\"m12 4 11.2928932 11.2928932c.3905243.3905243.3905243 1.0236893 0 1.4142136l-11.2928932 11.2928932\" />\n </g>\n </ArrowsSvg>\n </span>\n </ArrowsButton>\n </ArrowsFlex>\n </ArrowsContainer>\n </NavbarControlsContainer>\n )}\n </CarouselNavbar>\n )}\n </Container>\n </div>\n <CarouselSwiper\n {...props}\n cssMode\n onInit={swiper => {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line no-param-reassign\n swiper.params.navigation.prevEl = prevRef.current;\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line no-param-reassign\n swiper.params.navigation.nextEl = nextRef.current;\n swiper.navigation.init();\n swiper.navigation.update();\n // console.log(\"Swiper\", swiper);\n }}\n >\n {React.Children.map(children, child => (\n <SwiperSlide>{child}</SwiperSlide>\n ))}\n </CarouselSwiper>\n </CarouselContainer>\n );\n};\n","import ButtonUnstyled from '@mui/core/ButtonUnstyled';\nimport styled from 'styled-components';\n// eslint-disable-next-line import/extensions\nimport { Swiper } from 'swiper/react';\n\nexport const CarouselContainer = styled.div``;\n\nexport const CarouselSwiper = styled(Swiper)`\n height: 100%;\n .swiper-pagination {\n .swiper-pagination-bullet-active {\n background-color: #fff;\n }\n .swiper-pagination-bullet-active-next {\n background-color: #ffffff;\n }\n .swiper-pagination-bullet {\n background-color: #ffffff;\n }\n }\n`;\n\nexport const CarouselPill = styled(ButtonUnstyled)`\n :hover {\n border-color: rgba(0, 0, 0, 0.08) !important;\n background-color: #ffffff !important;\n color: #000000 !important;\n box-shadow: 0px 0px 0px 1px transparent, 0px 0px 0px 4px transparent,\n 0px 6px 16px rgb(0 0 0 / 12%) !important;\n -webkit-transform: scale(1.04) !important;\n -ms-transform: scale(1.04) !important;\n transform: scale(1.04) !important;\n }\n\n -webkit-box-pack: center !important;\n -ms-flex-pack: center !important;\n -webkit-box-align: center !important;\n -ms-flex-align: center !important;\n -webkit-appearance: none !important;\n -moz-appearance: none !important;\n appearance: none !important;\n display: -webkit-inline-box !important;\n display: -moz-inline-box !important;\n display: -ms-inline-flexbox !important;\n display: -webkit-inline-flex !important;\n display: inline-flex !important;\n border-radius: 50% !important;\n border: 0px !important;\n outline: none !important;\n margin: 0px !important;\n padding: 0px !important;\n color: #222222 !important;\n background-color: rgba(255, 255, 255, 0.9) !important;\n cursor: pointer !important;\n -ms-touch-action: manipulation !important;\n touch-action: manipulation !important;\n -webkit-align-items: center !important;\n align-items: center !important;\n -webkit-justify-content: center !important;\n justify-content: center !important;\n border-style: solid !important;\n border-width: 1px !important;\n background-clip: padding-box !important;\n border-color: rgba(0, 0, 0, 0.08) !important;\n box-shadow: 0px 0px 0px 1px transparent, 0px 0px 0px 4px transparent,\n 0px 2px 4px rgb(0 0 0 / 18%) !important;\n -webkit-transition: -webkit-transform 0.25s ease, transform 0.25s ease !important;\n -moz-transition: transform 0.25s ease !important;\n transition: -ms-transform 0.25s ease, -webkit-transform 0.25s ease,\n transform 0.25s ease !important;\n width: 32px !important;\n height: 32px !important;\n`;\n\nexport const CarouselPillSvg = styled.svg`\n height: 10px;\n width: 10px;\n display: block;\n fill: currentcolor;\n`;\n","/* eslint-disable unused-imports/no-unused-vars */\nimport React, { useRef } from 'react';\n\nimport SwiperCore, { Navigation, Pagination } from 'swiper';\n// eslint-disable-next-line import/extensions\nimport { SwiperSlide } from 'swiper/react';\n\nimport { CarouselSwiper, CarouselPillSvg, CarouselPill } from './styles';\n\nSwiperCore.use([Navigation, Pagination]);\n\nexport const PaginationCarousel: React.FC<any> = ({\n children,\n navigation,\n title,\n controls,\n ...props\n}) => {\n const prevRef = useRef<HTMLDivElement>(null);\n const nextRef = useRef<HTMLDivElement>(null);\n return (\n <>\n <div\n css={`\n @keyframes fadein {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n }\n position: absolute !important;\n top: 50% !important;\n pointer-events: auto !important;\n transform: translateY(-50%) !important;\n left: 8px !important;\n animation-duration: 0.3s !important;\n animation-name: fadein !important;\n z-index: 180 !important;\n opacity: 0 !important;\n :hover {\n opacity: 1 !important;\n }\n `}\n >\n <CarouselPill ref={prevRef}>\n <span\n css={`\n position: relative !important;\n `}\n >\n <CarouselPillSvg\n viewBox=\"0 0 16 16\"\n role=\"presentation\"\n aria-hidden=\"true\"\n focusable=\"false\"\n >\n <path d=\"m10.8 16c-.4 0-.7-.1-.9-.4l-6.8-6.7c-.5-.5-.5-1.3 0-1.8l6.8-6.7c.5-.5 1.2-.5 1.7 0s .5 1.2 0 1.7l-5.8 5.9 5.8 5.9c.5.5.5 1.2 0 1.7-.2.3-.5.4-.8.4\" />\n </CarouselPillSvg>\n </span>\n </CarouselPill>\n </div>\n <div\n css={`\n @keyframes fadein {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n }\n position: absolute !important;\n top: 50% !important;\n pointer-events: auto !important;\n transform: translateY(-50%) !important;\n right: 8px !important;\n animation-duration: 0.3s !important;\n animation-name: fadein !important;\n z-index: 180 !important;\n opacity: 0 !important;\n :hover {\n opacity: 1 !important;\n }\n `}\n >\n <CarouselPill ref={nextRef}>\n <span\n css={`\n position: relative !important;\n `}\n >\n <CarouselPillSvg\n viewBox=\"0 0 16 16\"\n role=\"presentation\"\n aria-hidden=\"true\"\n focusable=\"false\"\n >\n <path d=\"m5.3 16c .3 0 .6-.1.8-.4l6.8-6.7c.5-.5.5-1.3 0-1.8l-6.8-6.7c-.5-.5-1.2-.5-1.7 0s-.5 1.2 0 1.7l5.8 5.9-5.8 5.9c-.5.5-.5 1.2 0 1.7.2.3.5.4.9.4\" />\n </CarouselPillSvg>\n </span>\n </CarouselPill>\n </div>\n <CarouselSwiper\n {...props}\n pagination={{\n dynamicBullets: true\n }}\n onInit={swiper => {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line no-param-reassign\n swiper.params.navigation.prevEl = prevRef.current;\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line no-param-reassign\n swiper.params.navigation.nextEl = nextRef.current;\n swiper.navigation.init();\n swiper.navigation.update();\n // console.log(\"Swiper\", swiper);\n }}\n >\n {React.Children.map(children, child =>\n React.cloneElement(<SwiperSlide>{child}</SwiperSlide>, {\n ...props\n })\n )}\n </CarouselSwiper>\n </>\n );\n};\n"],"names":["CarouselSwiper","styled","Swiper","CarouselPillContainer","div","CarouselPill","ButtonUnstyled","SwiperCore","use","Navigation","PillsCarousel","children","arrows","props","prevRef","useRef","nextRef","useState","progress","isBeginning","isEnd","swiperSlides","setSwiperSlides","swiper","setSwiper","_jsxs","css","_jsx","left","ref","type","onClick","slidePrev","viewBox","xmlns","role","focusable","fill","d","cssMode","slidesPerView","onInit","params","navigation","prevEl","current","nextEl","init","update","onSlideChange","React","Children","map","child","SwiperSlide","right","slideNext","CarouselContainer","CarouselNavbar","NavbarTitleContainer","NavbarControlsContainer","NavbarControlsQuick","a","NavbarControlsSpace","span","ArrowsContainer","ArrowsFlex","ArrowsButton","ArrowsDivider","ArrowsIconClip","ArrowsSvg","svg","CardCarousel","title","controls","onShowMore","FreeCarousel","Container","CarouselPillSvg","Pagination","PaginationCarousel","pagination","dynamicBullets","cloneElement"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOO,IAAMA,gBAAc,gBAAGC,MAAM,CAACC,MAAD,CAAT;AAAA;AAAA;AAAA,uHAApB;AAUA,IAAMC,qBAAqB,gBAAGF,MAAM,CAACG,GAAV;AAAA;AAAA;AAAA,8HAA3B;AAOA,IAAMC,cAAY,gBAAGJ,MAAM,CAACK,cAAD,CAAT;AAAA;AAAA;AAAA,06BAAlB;;;;;ACbPC,UAAU,CAACC,GAAX,CAAe,CAACC,UAAD,CAAf;IAEaC,aAAa,GAAkB,SAA/BA,aAA+B;MAC1CC,gBAAAA;MAIAC,cAAAA;MACGC;;AAEH,MAAMC,OAAO,GAAGC,MAAM,CAAM,IAAN,CAAtB;AACA,MAAMC,OAAO,GAAGD,MAAM,CAAM,IAAN,CAAtB;;AACA,kBAAwCE,QAAQ,CAAM;AACpDC,IAAAA,QAAQ,EAAE,CAD0C;AAEpDC,IAAAA,WAAW,EAAE,IAFuC;AAGpDC,IAAAA,KAAK,EAAE;AAH6C,GAAN,CAAhD;AAAA,MAAOC,YAAP;AAAA,MAAqB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