react-magma-dom 5.1.0-rc.18 → 5.1.0-rc.19

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.
@@ -34,3 +34,6 @@ export declare const Default: {
34
34
  export declare const SiteNavigation: {
35
35
  render: (args: React.JSX.IntrinsicAttributes & DrawerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element;
36
36
  };
37
+ export declare const WithLongContent: {
38
+ render: (args: React.JSX.IntrinsicAttributes & DrawerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element;
39
+ };
package/dist/esm/index.js CHANGED
@@ -21334,7 +21334,9 @@ var Drawer = /*#__PURE__*/forwardRef(function (props, _ref) {
21334
21334
  isAnimated = _props$isAnimated === void 0 ? false : _props$isAnimated,
21335
21335
  rest = _objectWithoutPropertiesLoose(props, _excluded$1H);
21336
21336
  var theme = useContext(ThemeContext);
21337
- var drawerStyle = _extends({}, theme.drawer["default"], theme.drawer[DrawerPosition[position]]);
21337
+ var drawerStyle = _extends({}, theme.drawer["default"], theme.drawer[DrawerPosition[position]], {
21338
+ overflowY: 'auto'
21339
+ });
21338
21340
  var containerTransition;
21339
21341
  if (isAnimated) {
21340
21342
  containerTransition = position ? transitionPreset[DrawerPosition[position]] : transitionPreset[DrawerPosition[DrawerPosition.top]];