sag_components 2.0.0-beta345 → 2.0.0-beta347

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.d.ts CHANGED
@@ -1519,7 +1519,7 @@ declare function OverlayDropdown({ data, value, onSelectClick, label, labelEmpty
1519
1519
  margin?: string;
1520
1520
  }): any;
1521
1521
 
1522
- declare function MessageBox({ isOpen, isDisabled, onClose, onConfirm, title, primaryText, secondaryText, width, height, color, hoverColor, opacity, secondaryColor, seperateSectionBorder, children, tooltipContent, }: {
1522
+ declare function MessageBox({ isOpen, isDisabled, onClose, onConfirm, title, primaryText, secondaryText, width, height, color, hoverColor, opacity, secondaryColor, seperateSectionBorder, children, tooltipContent, disableBackdropClose, }: {
1523
1523
  isOpen?: boolean;
1524
1524
  isDisabled?: boolean;
1525
1525
  onClose?: () => void;
@@ -1536,6 +1536,7 @@ declare function MessageBox({ isOpen, isDisabled, onClose, onConfirm, title, pri
1536
1536
  seperateSectionBorder?: boolean;
1537
1537
  children: any;
1538
1538
  tooltipContent?: string;
1539
+ disableBackdropClose?: boolean;
1539
1540
  }): any;
1540
1541
 
1541
1542
  declare function ToasterMessageBox({ color, messageText, linkText, duration, width, icon, onLinkClick, onClose }: {
package/dist/index.esm.js CHANGED
@@ -42869,12 +42869,12 @@ const NotAvailableText = styled.div`
42869
42869
  color: #8B8989;
42870
42870
  font-family: inherit;
42871
42871
  font-size: inherit;
42872
- line-height: normal;
42872
+ line-height: inherit;
42873
42873
  cursor: pointer;
42874
42874
  padding: 1px 2px;
42875
42875
  border: 1px solid #D1D5DB;
42876
42876
  border-radius: 4px;
42877
- background: #F3F4F6;
42877
+ background: white;
42878
42878
 
42879
42879
  &:hover {
42880
42880
  border-color: rgba(0, 0, 0, 0.6);
@@ -43018,10 +43018,12 @@ const MessageBox = _ref => {
43018
43018
  secondaryColor = "#ffffff",
43019
43019
  seperateSectionBorder = false,
43020
43020
  children,
43021
- tooltipContent = "Please fill in all required details"
43021
+ tooltipContent = "Please fill in all required details",
43022
+ disableBackdropClose = false
43022
43023
  } = _ref;
43023
43024
  if (!isOpen) return null;
43024
43025
  const handleOverlayClick = e => {
43026
+ if (disableBackdropClose) return;
43025
43027
  if (e.target === e.currentTarget) {
43026
43028
  onClose();
43027
43029
  }