@plesk/ui-library 3.33.0 → 3.34.0

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.
@@ -259,7 +259,9 @@ class Popover extends Component {
259
259
  className: `${baseClassName}__content`,
260
260
  children: /*#__PURE__*/_jsx("div", {
261
261
  className: `${baseClassName}__content-inner`,
262
- children: children
262
+ children: typeof children === 'function' ? children({
263
+ onClose: this.handleClose
264
+ }) : children
263
265
  })
264
266
  })]
265
267
  });
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.33.0";
3
+ const version = "3.34.0";
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.33.0",
3
+ "version": "3.34.0",
4
4
  "description": "Plesk UI Library",
5
5
  "main": "index.js",
6
6
  "module": "esm/index.js",