@moda/om 17.9.0 → 17.10.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
@@ -11688,17 +11688,19 @@ var LoadingBalls = function LoadingBalls(_ref) {
11688
11688
  })));
11689
11689
  };
11690
11690
 
11691
- var _excluded$c = ["className", "children", "onClose", "shards"];
11691
+ var _excluded$c = ["className", "children", "onClose", "shards", "autoFocus"];
11692
11692
  var Modal = function Modal(_ref) {
11693
11693
  var className = _ref.className,
11694
11694
  children = _ref.children,
11695
11695
  onClose = _ref.onClose,
11696
11696
  shards = _ref.shards,
11697
+ autoFocus = _ref.autoFocus,
11697
11698
  rest = _objectWithoutProperties(_ref, _excluded$c);
11698
11699
 
11699
11700
  return /*#__PURE__*/React__default.createElement("div", _extends$1({
11700
11701
  className: classNames('Modal', className)
11701
11702
  }, rest), /*#__PURE__*/React__default.createElement(FocusOn, {
11703
+ autoFocus: autoFocus,
11702
11704
  shards: shards,
11703
11705
  onClickOutside: onClose,
11704
11706
  onEscapeKey: onClose