@moda/om 17.10.0 → 17.11.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.
package/dist/index.esm.js CHANGED
@@ -11744,7 +11744,7 @@ var Overlay = /*#__PURE__*/forwardRef(function (_ref, forwardedRef) {
11744
11744
  });
11745
11745
  Overlay.displayName = 'Overlay';
11746
11746
 
11747
- var _excluded$a = ["children", "className", "contentClassName", "onClose", "overlayClassName", "show", "shards"];
11747
+ var _excluded$a = ["children", "className", "contentClassName", "onClose", "overlayClassName", "show", "shards", "autoFocus"];
11748
11748
  var ModalOverlay = function ModalOverlay(_ref) {
11749
11749
  var children = _ref.children,
11750
11750
  className = _ref.className,
@@ -11754,6 +11754,7 @@ var ModalOverlay = function ModalOverlay(_ref) {
11754
11754
  _ref$show = _ref.show,
11755
11755
  show = _ref$show === void 0 ? true : _ref$show,
11756
11756
  shards = _ref.shards,
11757
+ autoFocus = _ref.autoFocus,
11757
11758
  rest = _objectWithoutProperties(_ref, _excluded$a);
11758
11759
 
11759
11760
  var element = useMemo(function () {
@@ -11775,7 +11776,8 @@ var ModalOverlay = function ModalOverlay(_ref) {
11775
11776
  }, rest), /*#__PURE__*/React__default.createElement(Modal, {
11776
11777
  className: classNames('ModalOverlay__modal', className),
11777
11778
  onClose: onClose,
11778
- shards: shards
11779
+ shards: shards,
11780
+ autoFocus: autoFocus
11779
11781
  }, /*#__PURE__*/React__default.createElement("div", {
11780
11782
  className: classNames('ModalOverlay__content', contentClassName)
11781
11783
  }, children))), element);