@luscii-healthtech/web-ui 2.19.4 → 2.19.6

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.
@@ -8,7 +8,6 @@ export declare type ModalBaseProps = Omit<ModalHeaderProps, "title"> & {
8
8
  withExtraMarginTop?: boolean;
9
9
  withContentPaddingY?: boolean;
10
10
  isOpen?: boolean;
11
- shouldCloseOnOverlayClick?: boolean;
12
11
  title?: string;
13
12
  onCloseClick: (event: React.MouseEvent<Element, MouseEvent> | React.KeyboardEvent<Element>) => void;
14
13
  } & ModalFooterProps;
@@ -1691,10 +1691,6 @@ video {
1691
1691
  padding-left: 0.25rem;
1692
1692
  }
1693
1693
 
1694
- .pr-4 {
1695
- padding-right: 1rem;
1696
- }
1697
-
1698
1694
  .pl-4 {
1699
1695
  padding-left: 1rem;
1700
1696
  }
@@ -1749,9 +1749,7 @@ var ModalBase = function ModalBase(props) {
1749
1749
  _props$withContentPad = props.withContentPaddingY,
1750
1750
  withContentPaddingY = _props$withContentPad === void 0 ? true : _props$withContentPad,
1751
1751
  _props$isOpen = props.isOpen,
1752
- isOpen = _props$isOpen === void 0 ? false : _props$isOpen,
1753
- _props$shouldCloseOnO = props.shouldCloseOnOverlayClick,
1754
- shouldCloseOnOverlayClick = _props$shouldCloseOnO === void 0 ? true : _props$shouldCloseOnO;
1752
+ isOpen = _props$isOpen === void 0 ? false : _props$isOpen;
1755
1753
  ReactModal.setAppElement("body");
1756
1754
  return /*#__PURE__*/React__default.createElement("div", {
1757
1755
  "data-test-id": "clicking-propagation-preventer",
@@ -1765,7 +1763,7 @@ var ModalBase = function ModalBase(props) {
1765
1763
  overlayClassName: classNames("px-2 py-15", "z-20", "fixed top-0 bottom-0 left-0 right-0", "overflow-x-hidden overflow-y-auto", "bg-overlay"),
1766
1764
  onRequestClose: props.onCloseClick,
1767
1765
  shouldFocusAfterRender: false,
1768
- shouldCloseOnOverlayClick: shouldCloseOnOverlayClick,
1766
+ shouldCloseOnOverlayClick: false,
1769
1767
  className: classNames("my-0 mx-auto", "relative", "bg-white outline-none rounded-lg shadow-lg", {
1770
1768
  "mt-17": props.withExtraMarginTop,
1771
1769
  "w-80": size === "small",
@@ -2747,7 +2745,6 @@ var ConfirmationDialog = function ConfirmationDialog(props) {
2747
2745
  isOpen: props.isOpen,
2748
2746
  withExtraMarginTop: true,
2749
2747
  onCloseClick: handleOnCloseClick,
2750
- shouldCloseOnOverlayClick: false,
2751
2748
  footerTrailingComponents: {
2752
2749
  primaryButtonProps: {
2753
2750
  text: props.texts.confirmLabel,
@@ -4323,7 +4320,6 @@ var CheckboxListModal = function CheckboxListModal(_ref) {
4323
4320
  isOpen: isOpen,
4324
4321
  title: texts.title,
4325
4322
  onCloseClick: handleOnCloseClick,
4326
- shouldCloseOnOverlayClick: true,
4327
4323
  footerTrailingComponents: {
4328
4324
  primaryButtonProps: {
4329
4325
  text: texts.confirmLabel,
@@ -4335,7 +4331,7 @@ var CheckboxListModal = function CheckboxListModal(_ref) {
4335
4331
  }
4336
4332
  }
4337
4333
  }, /*#__PURE__*/React.createElement("div", {
4338
- className: "max-h-135 overflow-y-auto pr-4"
4334
+ className: "max-h-135 overflow-y-auto"
4339
4335
  }, isLoadingInitialItems && /*#__PURE__*/React.createElement(LoadingIndicator, null), hasSearch && !isLoadingInitialItems && /*#__PURE__*/React.createElement(SearchInput, {
4340
4336
  className: "w-130 mb-2",
4341
4337
  value: search,
@@ -6585,7 +6581,6 @@ var ImagePickerInner = function ImagePickerInner(_ref) {
6585
6581
  }))), /*#__PURE__*/React__default.createElement(ModalBase, {
6586
6582
  size: "wide",
6587
6583
  onCloseClick: handleCloseModal,
6588
- shouldCloseOnOverlayClick: true,
6589
6584
  footerTrailingComponents: {
6590
6585
  primaryButtonProps: {
6591
6586
  onClick: handleConfirmSelection,