@vention/machine-ui 3.41.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/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Machine UI is Vention's component library for building applications and Human-Ma
|
|
|
4
4
|
|
|
5
5
|
## 📚 Documentation
|
|
6
6
|
|
|
7
|
-
Complete documentation, including component examples, design system guidelines, and usage instructions can be found at:
|
|
7
|
+
Complete documentation, including component examples, design system guidelines, and usage instructions, can be found at:
|
|
8
8
|
|
|
9
9
|
**[https://assets.vention.com/machine-ui-storybook/](https://assets.vention.com/machine-ui-storybook/index.html?path=/docs/guides-introduction--documentation)**
|
|
10
10
|
|
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": "
|
|
11382
|
+
"data-testid": props["data-testid"],
|
|
11382
11383
|
icon: jsx(VentionCheckboxIcon, {
|
|
11383
11384
|
size: sizeStyle,
|
|
11384
11385
|
checked: false,
|
package/package.json
CHANGED
|
@@ -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;
|