sprint-asia-custom-component 0.1.171 → 0.1.172

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
@@ -44470,9 +44470,6 @@
44470
44470
  }
44471
44471
  return false;
44472
44472
  };
44473
- function handleBackgroundClick(e) {
44474
- e.stopPropagation();
44475
- }
44476
44473
  return /*#__PURE__*/React__default["default"].createElement(qe.Root, {
44477
44474
  show: isOpen,
44478
44475
  as: React.Fragment
@@ -44480,7 +44477,7 @@
44480
44477
  as: "div",
44481
44478
  className: "fixed inset-0 overflow-y-auto z-50",
44482
44479
  initialFocus: cancelButtonRef,
44483
- onClose: onClose,
44480
+ onClose: () => {},
44484
44481
  static: false
44485
44482
  }, /*#__PURE__*/React__default["default"].createElement(qe.Child, {
44486
44483
  as: React.Fragment,
@@ -44491,8 +44488,7 @@
44491
44488
  leaveFrom: "opacity-100",
44492
44489
  leaveTo: "opacity-0"
44493
44490
  }, /*#__PURE__*/React__default["default"].createElement("div", {
44494
- className: "fixed inset-0 bg-black bg-opacity-25",
44495
- onClick: handleBackgroundClick
44491
+ className: "fixed inset-0 bg-black bg-opacity-25"
44496
44492
  })), /*#__PURE__*/React__default["default"].createElement(qe.Child, {
44497
44493
  as: React.Fragment,
44498
44494
  enter: "ease-out duration-300",
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.171",
4
+ "version": "0.1.172",
5
5
  "private": false,
6
6
  "dependencies": {
7
7
  "@headlessui/react": "^1.7.18",
@@ -50,7 +50,7 @@ const ModalState = ({
50
50
  as="div"
51
51
  className="fixed inset-0 overflow-y-auto z-50"
52
52
  initialFocus={cancelButtonRef}
53
- onClose={onClose}
53
+ onClose={() => {}}
54
54
  static={false}
55
55
  >
56
56
  <Transition.Child
@@ -62,7 +62,7 @@ const ModalState = ({
62
62
  leaveFrom="opacity-100"
63
63
  leaveTo="opacity-0"
64
64
  >
65
- <div className="fixed inset-0 bg-black bg-opacity-25" onClick={handleBackgroundClick} />
65
+ <div className="fixed inset-0 bg-black bg-opacity-25" />
66
66
  </Transition.Child>
67
67
 
68
68
  <Transition.Child