@muraldevkit/ui-toolkit 2.36.0 → 2.37.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.
|
@@ -16,6 +16,10 @@ interface TooltipConfig {
|
|
|
16
16
|
* The anchor of the tooltip relative to the button
|
|
17
17
|
*/
|
|
18
18
|
anchor?: MrlTooltipAnchor;
|
|
19
|
+
/**
|
|
20
|
+
* The data-qa attribute for the tooltip
|
|
21
|
+
*/
|
|
22
|
+
dataQa?: string;
|
|
19
23
|
}
|
|
20
24
|
export interface MrlButtonProps extends Omit<MrlComponentProps, 'style'>, React.ComponentProps<'button'> {
|
|
21
25
|
/**
|
|
@@ -9,6 +9,8 @@ interface MrlTooltipProps {
|
|
|
9
9
|
* Attributes that are applied to the component during the initial render.
|
|
10
10
|
*
|
|
11
11
|
* Example usage: html attributes, custom data attributes (data-qa), aria
|
|
12
|
+
*
|
|
13
|
+
* @deprecated please use props for component instead
|
|
12
14
|
*/
|
|
13
15
|
attrs?: AttrsObject;
|
|
14
16
|
/**
|
|
@@ -18,6 +20,8 @@ interface MrlTooltipProps {
|
|
|
18
20
|
* are passed in the component will not have event handling for the additional child elements.
|
|
19
21
|
*/
|
|
20
22
|
children: React.ReactElement;
|
|
23
|
+
/** The data-qa attribute for the tooltip */
|
|
24
|
+
dataQa?: string;
|
|
21
25
|
/** The kind of tooltip to be rendered */
|
|
22
26
|
kind?: MrlTooltipVariant;
|
|
23
27
|
/** The placement of the tooltip in relation to its trigger */
|
|
@@ -13,8 +13,12 @@ interface MrlTooltipContentProps {
|
|
|
13
13
|
* Attributes that are applied to the component during the initial render.
|
|
14
14
|
*
|
|
15
15
|
* Example usage: html attributes, custom data attributes (data-qa), aria
|
|
16
|
+
*
|
|
17
|
+
* @deprecated please use props for component instead
|
|
16
18
|
*/
|
|
17
19
|
attrs: AttrsObject;
|
|
20
|
+
/** dataQa attribute for tooltip */
|
|
21
|
+
dataQa?: string;
|
|
18
22
|
/** The kind of tooltip to be rendered */
|
|
19
23
|
kind: MrlTooltipVariant;
|
|
20
24
|
/** The id of the tooltip used for aria-describedby in the parent component */
|