@vention/machine-ui 3.30.4 → 3.30.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vention/machine-ui",
3
- "version": "3.30.4",
3
+ "version": "3.30.5",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/VentionCo/machine-cloud.git"
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
+ import { VentionModalBaseProps } from "../vention-modal-base/vention-modal-base";
2
3
  import { VentionButtonProps } from "../vention-button/button-utils";
3
- import { Sizes, StrictExtract } from "../../theme/machine-ui-theme";
4
4
  export interface VentionModalProps {
5
5
  titleText: string;
6
6
  /**
@@ -9,9 +9,9 @@ export interface VentionModalProps {
9
9
  */
10
10
  body: string | React.ReactElement;
11
11
  type: "positive" | "info" | "warning" | "negative" | "none";
12
- modalSize?: StrictExtract<Sizes, "small" | "medium" | "large" | "x-large" | "xx-large">;
12
+ modalSize?: VentionModalBaseProps["modalSize"];
13
13
  isTouchDevice?: boolean;
14
- isOpen: boolean;
14
+ isOpen: VentionModalBaseProps["isOpen"];
15
15
  onClose: () => void;
16
16
  primaryButton?: {
17
17
  text: string;
@@ -37,7 +37,7 @@ export interface VentionModalProps {
37
37
  * The custom width will override the modals' default from the {@link modalSize}.
38
38
  * If nothing is provided, {@link modalSize} will drive the width.
39
39
  */
40
- width?: `${number}px`;
40
+ width?: VentionModalBaseProps["width"];
41
41
  }
42
42
  export declare const VentionModal: (props: VentionModalProps) => import("react/jsx-runtime").JSX.Element;
43
43
  export declare const ventionModalTestIds: {
@@ -12,7 +12,7 @@ export interface VentionModalBaseProps {
12
12
  * The custom width will override the modals' default from the {@link modalSize}.
13
13
  * If nothing is provided, {@link modalSize} will drive the width.
14
14
  */
15
- width?: `${number}px`;
15
+ width?: `${number}px` | `${number}%`;
16
16
  }
17
17
  export declare const VentionModalBase: (props: VentionModalBaseProps) => import("react/jsx-runtime").JSX.Element;
18
18
  export declare const ventionModalBaseTestIds: {