@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.
@@ -267,7 +267,9 @@ class Popover extends _react.Component {
267
267
  className: `${baseClassName}__content`,
268
268
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
269
269
  className: `${baseClassName}__content-inner`,
270
- children: children
270
+ children: typeof children === 'function' ? children({
271
+ onClose: this.handleClose
272
+ }) : children
271
273
  })
272
274
  })]
273
275
  });
package/cjs/index.js CHANGED
@@ -46,6 +46,6 @@ Object.keys(_components).forEach(function (key) {
46
46
  });
47
47
  });
48
48
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
49
- const version = "3.33.0";
49
+ const version = "3.34.0";
50
50
  exports.version = version;
51
51
  (0, _svg4everybody.default)();