@vention/machine-ui 3.42.1 → 3.43.0

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
@@ -11329,7 +11329,8 @@ const defaultProps = {
11329
11329
  textAlign: "left",
11330
11330
  disabled: false,
11331
11331
  labelText: undefined,
11332
- helperText: undefined
11332
+ helperText: undefined,
11333
+ "data-testid": "VentionCheckbox"
11333
11334
  };
11334
11335
  const VentionCheckbox = checkboxProps => {
11335
11336
  const props = applyDefaultProps(checkboxProps, defaultProps);
@@ -11378,7 +11379,7 @@ const VentionCheckbox = checkboxProps => {
11378
11379
  inputProps: props.inputProps,
11379
11380
  value: props.value,
11380
11381
  name: props.name,
11381
- "data-testid": "VentionCheckbox",
11382
+ "data-testid": props["data-testid"],
11382
11383
  icon: jsx(VentionCheckboxIcon, {
11383
11384
  size: sizeStyle,
11384
11385
  checked: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vention/machine-ui",
3
- "version": "3.42.1",
3
+ "version": "3.43.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/VentionCo/machine-cloud.git"
@@ -17,5 +17,6 @@ export interface VentionCheckboxProps extends Omit<FormControlLabelProps, "contr
17
17
  disabled?: boolean;
18
18
  className?: string;
19
19
  inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
20
+ "data-testid"?: string;
20
21
  }
21
22
  export declare const VentionCheckbox: (checkboxProps: VentionCheckboxProps) => import("react/jsx-runtime").JSX.Element;