trepur_components 0.2.28 → 0.2.29
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.
|
@@ -43,6 +43,9 @@ const Carousel = _ref => {
|
|
|
43
43
|
slides,
|
|
44
44
|
infinite,
|
|
45
45
|
speed,
|
|
46
|
+
slidesToShow,
|
|
47
|
+
dots,
|
|
48
|
+
arrows,
|
|
46
49
|
smSlidesToShow,
|
|
47
50
|
mdSlidesToShow,
|
|
48
51
|
lgSlidesToShow,
|
|
@@ -115,6 +118,9 @@ const Carousel = _ref => {
|
|
|
115
118
|
const settings = {
|
|
116
119
|
infinite: infinite,
|
|
117
120
|
speed: speed,
|
|
121
|
+
dots: dots,
|
|
122
|
+
arrows: arrows,
|
|
123
|
+
slidesToShow: slidesToShow,
|
|
118
124
|
slidesToScroll: slidesToScroll,
|
|
119
125
|
autoplay: autoplay,
|
|
120
126
|
autoplaySpeed: autoplaySpeed,
|
|
@@ -126,35 +132,35 @@ const Carousel = _ref => {
|
|
|
126
132
|
responsive: [{
|
|
127
133
|
breakpoint: 1536,
|
|
128
134
|
settings: {
|
|
129
|
-
slidesToShow: xxlSlidesToShow ||
|
|
135
|
+
slidesToShow: xxlSlidesToShow || 1,
|
|
130
136
|
arrows: xxlShowArrows || true,
|
|
131
137
|
dots: xxlShowDots || true
|
|
132
138
|
}
|
|
133
139
|
}, {
|
|
134
140
|
breakpoint: 1280,
|
|
135
141
|
settings: {
|
|
136
|
-
slidesToShow: xlSlidesToShow ||
|
|
142
|
+
slidesToShow: xlSlidesToShow || 1,
|
|
137
143
|
arrows: xlShowArrows || true,
|
|
138
144
|
dots: xlShowDots || true
|
|
139
145
|
}
|
|
140
146
|
}, {
|
|
141
147
|
breakpoint: 1024,
|
|
142
148
|
settings: {
|
|
143
|
-
slidesToShow: lgSlidesToShow ||
|
|
149
|
+
slidesToShow: lgSlidesToShow || 1,
|
|
144
150
|
arrows: lgShowArrows || true,
|
|
145
151
|
dots: lgShowDots || true
|
|
146
152
|
}
|
|
147
153
|
}, {
|
|
148
154
|
breakpoint: 768,
|
|
149
155
|
settings: {
|
|
150
|
-
slidesToShow: mdSlidesToShow ||
|
|
156
|
+
slidesToShow: mdSlidesToShow || 1,
|
|
151
157
|
arrows: mdShowArrows || true,
|
|
152
158
|
dots: mdShowDots || true
|
|
153
159
|
}
|
|
154
160
|
}, {
|
|
155
161
|
breakpoint: 640,
|
|
156
162
|
settings: {
|
|
157
|
-
slidesToShow: smSlidesToShow ||
|
|
163
|
+
slidesToShow: smSlidesToShow || 1,
|
|
158
164
|
arrows: smShowArrows || false,
|
|
159
165
|
dots: smShowDots || false
|
|
160
166
|
}
|