@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
|
@@ -190,20 +190,6 @@ class Carousel extends Component {
|
|
|
190
190
|
if (prevProps.autoplay !== this.props.autoplay) {
|
|
191
191
|
this.props.autoplay ? this.play() : this.stop();
|
|
192
192
|
}
|
|
193
|
-
const {
|
|
194
|
-
width
|
|
195
|
-
} = this.rootRef.current.getBoundingClientRect();
|
|
196
|
-
const {
|
|
197
|
-
slideWidths,
|
|
198
|
-
totalWidth
|
|
199
|
-
} = calcWidths(this.genuineRef.current);
|
|
200
|
-
if (this.state.totalWidth !== totalWidth) {
|
|
201
|
-
this.setState({
|
|
202
|
-
slideWidths,
|
|
203
|
-
totalWidth,
|
|
204
|
-
showControls: width < totalWidth
|
|
205
|
-
});
|
|
206
|
-
}
|
|
207
193
|
}
|
|
208
194
|
componentWillUnmount() {
|
|
209
195
|
this.stop();
|
package/esm/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plesk/ui-library",
|
|
3
|
-
"version": "3.40.
|
|
3
|
+
"version": "3.40.3-1",
|
|
4
4
|
"description": "Plesk UI Library",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"/index.js"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@babel/runtime": "^7.24.
|
|
46
|
+
"@babel/runtime": "^7.24.6",
|
|
47
47
|
"@plesk/react-movable": "^2.7.1",
|
|
48
48
|
"classnames": "^2.5.1",
|
|
49
49
|
"codemirror": "5.58.2",
|
|
@@ -59,14 +59,14 @@
|
|
|
59
59
|
"use-focus-visible": "^1.0.2"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@babel/core": "^7.24.
|
|
62
|
+
"@babel/core": "^7.24.6",
|
|
63
63
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
64
64
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
65
|
-
"@babel/plugin-transform-runtime": "^7.24.
|
|
66
|
-
"@babel/preset-env": "^7.24.
|
|
67
|
-
"@babel/preset-react": "^7.24.
|
|
68
|
-
"@babel/preset-typescript": "^7.24.
|
|
69
|
-
"@babel/types": "^7.24.
|
|
65
|
+
"@babel/plugin-transform-runtime": "^7.24.6",
|
|
66
|
+
"@babel/preset-env": "^7.24.6",
|
|
67
|
+
"@babel/preset-react": "^7.24.6",
|
|
68
|
+
"@babel/preset-typescript": "^7.24.6",
|
|
69
|
+
"@babel/types": "^7.24.6",
|
|
70
70
|
"@csstools/postcss-logical-float-and-clear": "^1.0.1",
|
|
71
71
|
"@plesk/eslint-config": "^3.0.0",
|
|
72
72
|
"@plesk/stylelint-config": "^2.0.0",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"@types/jest-image-snapshot": "^6.4.0",
|
|
83
83
|
"@types/marked": "^4.3.2",
|
|
84
84
|
"@types/node": "^16.18.97",
|
|
85
|
-
"@types/react": "^18.3.
|
|
85
|
+
"@types/react": "^18.3.3",
|
|
86
86
|
"@types/react-dom": "^18.3.0",
|
|
87
87
|
"@types/react-measure": "2.0.9",
|
|
88
88
|
"@types/react-transition-group": "^4.4.10",
|