@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.
Files changed (2) hide show
  1. package/index.js +5 -2
  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:absolute;", ";border-radius:8px;animation:", " .1s ease-in;"], Surface.Default.Default, ({
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"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edvisor/product-language",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "license": "MIT",
5
5
  "description": "Edvisor.io product-language components",
6
6
  "repository": "https://github.com/edvisor-io/front-end/",