@muraldevkit/ui-toolkit 1.13.2 → 1.14.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/dist/components/form/MrlSelect/select.d.ts +1 -1
- package/dist/components/form/MrlSelectMenu/index.d.ts +1 -1
- package/dist/components/modal/MrlModal/index.d.ts +1 -1
- package/dist/components/svg/MrlSvg/MrlSvg.d.ts +1 -1
- package/dist/components/tooltip/MrlTooltip/MrlTooltip.d.ts +1 -1
- package/dist/components/tooltip/MrlTooltipContent/MrlTooltipContent.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/utils/setAttributes/setAttributes.d.ts +3 -3
- package/package.json +1 -1
|
@@ -30,7 +30,7 @@ export interface MrlSelectProptypes extends React.HTMLAttributes<HTMLDivElement>
|
|
|
30
30
|
* Otherwise, the value object needs to be stringified to not receive `"[Object object]"`.
|
|
31
31
|
* Example: `attrs='{ "tabindex": "1" }'`
|
|
32
32
|
*/
|
|
33
|
-
attrs?: AttrsObject
|
|
33
|
+
attrs?: AttrsObject;
|
|
34
34
|
/**
|
|
35
35
|
* menu - list of options for the user to chose from; expects an `MrlSelectMenu` component
|
|
36
36
|
*/
|
|
@@ -24,7 +24,7 @@ export interface MrlSelectMenuProptypes extends React.HTMLAttributes<HTMLDivElem
|
|
|
24
24
|
* Otherwise, the value object needs to be stringified to not receive `"[Object object]"`.
|
|
25
25
|
* Example: `attrs='{ "tabindex": "0" }'`
|
|
26
26
|
*/
|
|
27
|
-
attrs?: AttrsObject
|
|
27
|
+
attrs?: AttrsObject;
|
|
28
28
|
/**
|
|
29
29
|
* menu - list of options for the user to chose from; expects an `MrlSelectMenu` component
|
|
30
30
|
*/
|
|
@@ -24,7 +24,7 @@ interface ModalProps extends MrlComponentProps {
|
|
|
24
24
|
* @param {ModalSize} props.size - The size of the modal container. Defaults to 'defaults.size'
|
|
25
25
|
* @param {ModalState} props.state - Current state of the modal. Defaults to 'close'
|
|
26
26
|
* @param {Function} props.hookClose - Callback function to be run when the modal closes
|
|
27
|
-
* @param {AttrsObject
|
|
27
|
+
* @param {AttrsObject} props.attrs - Additional HTML attributes to be passed in
|
|
28
28
|
* @param {React.ReactElement} props.children - Children to be rendered within the modal. The first child is used as the trigger.
|
|
29
29
|
* @returns {React.ReactElement} an instance of the MrlModal
|
|
30
30
|
*/
|
|
@@ -15,7 +15,7 @@ export interface SvgPropTypes extends Omit<MrlComponentProps, 'style'>, React.Co
|
|
|
15
15
|
*/
|
|
16
16
|
style?: Record<string, unknown>;
|
|
17
17
|
/** The SVG object to parse into an HTML SVG element */
|
|
18
|
-
svg: Record<string, unknown
|
|
18
|
+
svg: Record<string, unknown>;
|
|
19
19
|
/** The theme associated to an SVG Component */
|
|
20
20
|
theme?: string;
|
|
21
21
|
}
|
|
@@ -9,7 +9,7 @@ interface MrlTooltipProps {
|
|
|
9
9
|
*
|
|
10
10
|
* Example usage: html attributes, custom data attributes (data-qa), aria
|
|
11
11
|
*/
|
|
12
|
-
attrs?: AttrsObject
|
|
12
|
+
attrs?: AttrsObject;
|
|
13
13
|
/**
|
|
14
14
|
* Children to be rendered within the tooltip. The first child is used as the trigger.
|
|
15
15
|
*
|
|
@@ -14,7 +14,7 @@ interface MrlTooltipContentProps {
|
|
|
14
14
|
*
|
|
15
15
|
* Example usage: html attributes, custom data attributes (data-qa), aria
|
|
16
16
|
*/
|
|
17
|
-
attrs: AttrsObject
|
|
17
|
+
attrs: AttrsObject;
|
|
18
18
|
/** The id of the tooltip used for aria-describedby in the parent component */
|
|
19
19
|
id: string;
|
|
20
20
|
/** The placement of the tooltip in relation to its trigger */
|