@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
|
@@ -14,18 +14,18 @@ export type ClassObject = Record<string, boolean>;
|
|
|
14
14
|
* @param {ClassObject} defaultClasses - design system component classes to apply
|
|
15
15
|
* @returns {ClassObject} - with all classes
|
|
16
16
|
*/
|
|
17
|
-
export declare const setClasses: (customClasses: AttrsObject |
|
|
17
|
+
export declare const setClasses: (customClasses: AttrsObject | undefined, defaultClasses: ClassObject) => ClassObject;
|
|
18
18
|
/**
|
|
19
19
|
* Set an object of attributes to be used in a given component.
|
|
20
20
|
*
|
|
21
|
-
* @param {AttrsObject
|
|
21
|
+
* @param {AttrsObject} attributes - The custom attributes passed to the component
|
|
22
22
|
* @param {AttrsObject} [defaults={}] - An optional object of the default attributes of a component
|
|
23
23
|
* @param {string} className - Default classes to apply to the component
|
|
24
24
|
*
|
|
25
25
|
* Use when applying attributes such as a className directly to a react component.
|
|
26
26
|
* @returns {AttrsObject} - An object of component attributes
|
|
27
27
|
*/
|
|
28
|
-
export declare const setAttributes: (attributes: AttrsObject |
|
|
28
|
+
export declare const setAttributes: (attributes: AttrsObject | undefined, defaults?: AttrsObject, className?: string) => AttrsObject;
|
|
29
29
|
/**
|
|
30
30
|
* Generates unique identifier
|
|
31
31
|
*
|