@vention/machine-ui 6.6.10 → 6.6.12

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.esm.js CHANGED
@@ -7084,6 +7084,7 @@ const VentionModalBase = props => {
7084
7084
  backDropClickClosable = true,
7085
7085
  width,
7086
7086
  maxHeight = DEFAULT_MODAL_MAX_HEIGHT,
7087
+ overflowY = "auto",
7087
7088
  dataTestId
7088
7089
  } = props;
7089
7090
  const {
@@ -7093,7 +7094,8 @@ const VentionModalBase = props => {
7093
7094
  modalSize,
7094
7095
  isTouchDevice,
7095
7096
  width,
7096
- maxHeight
7097
+ maxHeight,
7098
+ overflowY
7097
7099
  });
7098
7100
  const handleClose = (event, reason) => {
7099
7101
  if (!backDropClickClosable && reason === "backdropClick") {
@@ -7173,6 +7175,7 @@ const useStyles$C = tss.withParams().create(({
7173
7175
  isTouchDevice,
7174
7176
  width,
7175
7177
  maxHeight,
7178
+ overflowY,
7176
7179
  theme
7177
7180
  }) => {
7178
7181
  const modalStyle = getModalStyle(modalSize, width);
@@ -7192,7 +7195,7 @@ const useStyles$C = tss.withParams().create(({
7192
7195
  flexDirection: "column",
7193
7196
  width: modalStyle.width,
7194
7197
  maxHeight,
7195
- overflowY: "auto",
7198
+ overflowY,
7196
7199
  backgroundColor: theme.palette.background.paper,
7197
7200
  padding: isTouchDevice ? theme.spacing(9, 8, 8, 8) : theme.spacing(8, 7, 7, 7),
7198
7201
  borderRadius: 8,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vention/machine-ui",
3
- "version": "6.6.10",
3
+ "version": "6.6.12",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/VentionCo/machine-cloud.git"
@@ -20,6 +20,8 @@ export interface VentionModalBaseProps {
20
20
  * leaving the title and buttons always visible.
21
21
  */
22
22
  maxHeight?: Property.MaxHeight;
23
+ /** Use "visible" when the content positions itself outside the container. */
24
+ overflowY?: Property.OverflowY;
23
25
  }
24
26
  export declare const VentionModalBase: (props: VentionModalBaseProps) => import("react/jsx-runtime").JSX.Element;
25
27
  export declare const ventionModalBaseTestIds: {