@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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
2
2
  import svg4everybody from 'svg4everybody';
3
- const version = "3.40.2";
3
+ const version = "3.40.3-1";
4
4
  export * from './publicPath';
5
5
  export { version };
6
6
  export * from './utils';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plesk/ui-library",
3
- "version": "3.40.2",
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.5",
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.5",
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.3",
66
- "@babel/preset-env": "^7.24.5",
67
- "@babel/preset-react": "^7.24.1",
68
- "@babel/preset-typescript": "^7.24.1",
69
- "@babel/types": "^7.24.5",
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.2",
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",