@plesk/ui-library 3.40.2 → 3.40.3-1
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/cjs/components/Carousel/Carousel.js +0 -14
- package/cjs/index.js +1 -1
- package/dist/plesk-ui-library-rtl.css +1 -1
- package/dist/plesk-ui-library-rtl.css.map +1 -1
- package/dist/plesk-ui-library.css +1 -1
- package/dist/plesk-ui-library.css.map +1 -1
- package/dist/plesk-ui-library.js +274 -296
- package/dist/plesk-ui-library.js.map +1 -1
- package/dist/plesk-ui-library.min.js +2 -2
- package/dist/plesk-ui-library.min.js.map +1 -1
- package/esm/components/Carousel/Carousel.js +0 -14
- package/esm/index.js +1 -1
- package/package.json +9 -9
- package/styleguide/build/bundle.76149955.js +2 -0
- package/styleguide/index.html +2 -2
- package/styleguide/build/bundle.fac8e4e0.js +0 -2
- /package/styleguide/build/{bundle.fac8e4e0.js.LICENSE.txt → bundle.76149955.js.LICENSE.txt} +0 -0
|
@@ -197,20 +197,6 @@ class Carousel extends _react.Component {
|
|
|
197
197
|
if (prevProps.autoplay !== this.props.autoplay) {
|
|
198
198
|
this.props.autoplay ? this.play() : this.stop();
|
|
199
199
|
}
|
|
200
|
-
const {
|
|
201
|
-
width
|
|
202
|
-
} = this.rootRef.current.getBoundingClientRect();
|
|
203
|
-
const {
|
|
204
|
-
slideWidths,
|
|
205
|
-
totalWidth
|
|
206
|
-
} = calcWidths(this.genuineRef.current);
|
|
207
|
-
if (this.state.totalWidth !== totalWidth) {
|
|
208
|
-
this.setState({
|
|
209
|
-
slideWidths,
|
|
210
|
-
totalWidth,
|
|
211
|
-
showControls: width < totalWidth
|
|
212
|
-
});
|
|
213
|
-
}
|
|
214
200
|
}
|
|
215
201
|
componentWillUnmount() {
|
|
216
202
|
this.stop();
|
package/cjs/index.js
CHANGED
|
@@ -46,5 +46,5 @@ Object.keys(_components).forEach(function (key) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
// Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
49
|
-
const version = exports.version = "3.40.
|
|
49
|
+
const version = exports.version = "3.40.3-1";
|
|
50
50
|
(0, _svg4everybody.default)();
|