@muraldevkit/ui-toolkit 1.13.3 → 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.
@@ -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 | string | undefined, defaultClasses: ClassObject) => ClassObject;
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 | string} attributes - The custom attributes passed to the component
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 | string | undefined, defaults?: AttrsObject, className?: string) => AttrsObject;
28
+ export declare const setAttributes: (attributes: AttrsObject | undefined, defaults?: AttrsObject, className?: string) => AttrsObject;
29
29
  /**
30
30
  * Generates unique identifier
31
31
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muraldevkit/ui-toolkit",
3
- "version": "1.13.3",
3
+ "version": "1.14.0",
4
4
  "description": "Mural's UI Toolkit",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",