@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/CHANGELOG.md CHANGED
@@ -3,6 +3,20 @@
3
3
  All notable changes to this project will be documented in this file. See
4
4
  [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [17.10.0](https://github.com/ModaOperandi/om/compare/v17.9.1...v17.10.0) (2022-10-14)
7
+
8
+
9
+ ### Features
10
+
11
+ * **modal:** make autoFocus optional ([#2970](https://github.com/ModaOperandi/om/issues/2970)) ([ec884b0](https://github.com/ModaOperandi/om/commit/ec884b0bcbe5c4fec3610c47f9afc397fe6d5c82))
12
+
13
+ ## [17.9.1](https://github.com/ModaOperandi/om/compare/v17.9.0...v17.9.1) (2022-10-13)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * **slidingpane:** remove z-index ([21e65c4](https://github.com/ModaOperandi/om/commit/21e65c4f3d8db6a9ece7ad61e5a07e3049dd4600))
19
+
6
20
  # [17.9.0](https://github.com/ModaOperandi/om/compare/v17.8.0...v17.9.0) (2022-10-13)
7
21
 
8
22
 
package/dist/index.cjs.js CHANGED
@@ -11715,17 +11715,19 @@ var LoadingBalls = function LoadingBalls(_ref) {
11715
11715
  })));
11716
11716
  };
11717
11717
 
11718
- var _excluded$c = ["className", "children", "onClose", "shards"];
11718
+ var _excluded$c = ["className", "children", "onClose", "shards", "autoFocus"];
11719
11719
  var Modal = function Modal(_ref) {
11720
11720
  var className = _ref.className,
11721
11721
  children = _ref.children,
11722
11722
  onClose = _ref.onClose,
11723
11723
  shards = _ref.shards,
11724
+ autoFocus = _ref.autoFocus,
11724
11725
  rest = _objectWithoutProperties(_ref, _excluded$c);
11725
11726
 
11726
11727
  return /*#__PURE__*/React__default["default"].createElement("div", _extends$1({
11727
11728
  className: classNames('Modal', className)
11728
11729
  }, rest), /*#__PURE__*/React__default["default"].createElement(FocusOn, {
11730
+ autoFocus: autoFocus,
11729
11731
  shards: shards,
11730
11732
  onClickOutside: onClose,
11731
11733
  onEscapeKey: onClose