@muraldevkit/ui-toolkit 2.47.2 → 2.48.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.
|
@@ -7,13 +7,13 @@ interface MrlLabelWithDescriptionProps {
|
|
|
7
7
|
description?: string | React.ReactNode;
|
|
8
8
|
/** The id that's linked to the form element "aria-describedby" attribute */
|
|
9
9
|
descriptionId?: string;
|
|
10
|
-
/**
|
|
10
|
+
/** Disabled state */
|
|
11
11
|
isDisabled?: boolean;
|
|
12
|
-
/**
|
|
12
|
+
/** Indeterminate state */
|
|
13
13
|
isIndeterminate?: boolean;
|
|
14
|
-
/**
|
|
14
|
+
/** Selected state */
|
|
15
15
|
isSelected?: boolean;
|
|
16
|
-
/** Adjusts the styles of the label, icon and description when the label is multiline */
|
|
16
|
+
/** Adjusts the styles of the label, icon, and description when the label is multiline */
|
|
17
17
|
hasMultilineLabel?: boolean;
|
|
18
18
|
/** ID of the form elements so all users can understand the relationship between the two elements */
|
|
19
19
|
htmlFor: string;
|
|
@@ -28,5 +28,5 @@ interface MrlLabelWithDescriptionProps {
|
|
|
28
28
|
* @param {MrlLabelWithDescriptionProps} props - the component props
|
|
29
29
|
* @returns a form control label with description
|
|
30
30
|
*/
|
|
31
|
-
export declare function MrlLabelWithDescription({ className, description, descriptionId, isDisabled, isIndeterminate, isSelected, hasMultilineLabel, htmlFor, icon, label }: MrlLabelWithDescriptionProps): JSX.Element;
|
|
31
|
+
export declare function MrlLabelWithDescription({ className, description, descriptionId, isDisabled, isIndeterminate, isSelected, hasMultilineLabel, htmlFor, icon, label, ...rest }: MrlLabelWithDescriptionProps): JSX.Element;
|
|
32
32
|
export {};
|
|
@@ -34,6 +34,8 @@ interface MrlRadioButtonProps extends React.ComponentPropsWithoutRef<'input'> {
|
|
|
34
34
|
* }>
|
|
35
35
|
*/
|
|
36
36
|
description?: string | React.ReactNode;
|
|
37
|
+
/** Data attribute for QA testing */
|
|
38
|
+
['data-qa']?: string;
|
|
37
39
|
}
|
|
38
40
|
/**
|
|
39
41
|
* Form element with an associated text label and description that allows the user to select one
|