@edvisor/product-language 0.8.0 → 0.8.1
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/index.js +5 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -10650,7 +10650,7 @@ const OverlayFrame = /*#__PURE__*/styled(Flex).withConfig({
|
|
|
10650
10650
|
const ModalFrame = /*#__PURE__*/styled(Flex).withConfig({
|
|
10651
10651
|
displayName: "modal-base__ModalFrame",
|
|
10652
10652
|
componentId: "r4sytz-1"
|
|
10653
|
-
})(["background-color:", ";z-index:20010;width:", ";position:
|
|
10653
|
+
})(["background-color:", ";z-index:20010;width:", ";position:fixed;transform:translate(-50%,-50%);", ";border-radius:8px;animation:", " .1s ease-in;"], Surface.Default.Default, ({
|
|
10654
10654
|
widthValue
|
|
10655
10655
|
}) => widthValue, shadowXl, grow);
|
|
10656
10656
|
const modalSizeToPixelSize = {
|
|
@@ -10691,7 +10691,10 @@ const ModalBase = props => {
|
|
|
10691
10691
|
useKeyDown('Escape', handleEscPress);
|
|
10692
10692
|
|
|
10693
10693
|
if (!is(open)) {
|
|
10694
|
+
document.body.style.overflow = 'unset';
|
|
10694
10695
|
return jsx(Nothing, {});
|
|
10696
|
+
} else {
|
|
10697
|
+
document.body.style.overflow = 'hidden';
|
|
10695
10698
|
}
|
|
10696
10699
|
|
|
10697
10700
|
const handleOverlayClick = event => {
|
|
@@ -10735,7 +10738,7 @@ const CloseButton = /*#__PURE__*/styled(IconMinor.Xmark).withConfig({
|
|
|
10735
10738
|
const ModalContent$1 = /*#__PURE__*/styled.div.withConfig({
|
|
10736
10739
|
displayName: "modal__ModalContent",
|
|
10737
10740
|
componentId: "sc-11jj4lm-2"
|
|
10738
|
-
})(["padding:", ";"], Padding.m);
|
|
10741
|
+
})(["max-height:70vh;overflow-y:scroll;padding:", ";"], Padding.m);
|
|
10739
10742
|
const ModalFooter$1 = /*#__PURE__*/styled.footer.withConfig({
|
|
10740
10743
|
displayName: "modal__ModalFooter",
|
|
10741
10744
|
componentId: "sc-11jj4lm-3"
|