sprint-asia-custom-component 0.1.128 → 0.1.129

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.js CHANGED
@@ -28923,7 +28923,7 @@
28923
28923
  as: "div",
28924
28924
  className: "relative z-10",
28925
28925
  initialFocus: cancelButtonRef,
28926
- onClose: () => props.onClose || props.isOpen,
28926
+ onClose: () => props.onClose(),
28927
28927
  static: true
28928
28928
  }, /*#__PURE__*/React__default["default"].createElement(qe.Child, {
28929
28929
  as: React.Fragment,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sprint-asia-custom-component",
3
3
  "main": "dist/index.js",
4
- "version": "0.1.128",
4
+ "version": "0.1.129",
5
5
  "private": false,
6
6
  "dependencies": {
7
7
  "@headlessui/react": "^1.7.18",
@@ -16,7 +16,7 @@ const ModalLoading = (props) => {
16
16
  as="div"
17
17
  className="relative z-10"
18
18
  initialFocus={cancelButtonRef}
19
- onClose={() => props.onClose || props.isOpen}
19
+ onClose={() => props.onClose()}
20
20
  static={true}
21
21
  >
22
22
  <Transition.Child