@trackunit/css-tailwind-custom-properties-plugin 0.0.7 → 0.0.8

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/index.cjs CHANGED
@@ -10,6 +10,7 @@ var plugin__default = /*#__PURE__*/_interopDefaultLegacy(plugin);
10
10
 
11
11
  /**
12
12
  * Converts an array of keys to a valid CSS custom property name.
13
+ *
13
14
  * @param keys An array of strings representing the keys to be converted to a CSS custom property name.
14
15
  * @returns A string representing the CSS custom property name.
15
16
  */
@@ -39,6 +40,7 @@ const flattenVariablesDeclerationValues = (values, output = {}, keys = []) => {
39
40
  };
40
41
  /**
41
42
  * Converts a object containing CSS variables to an array of CSS rules.
43
+ *
42
44
  * @param variablesDecleration An object containing the CSS variables and their corresponding values.
43
45
  * @returns An array of CSS rules.
44
46
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/css-tailwind-custom-properties-plugin",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "main": "./index.cjs",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",
@@ -4,6 +4,7 @@ export type VariablesDeclerationObject = {
4
4
  };
5
5
  /**
6
6
  * Converts an array of keys to a valid CSS custom property name.
7
+ *
7
8
  * @param keys An array of strings representing the keys to be converted to a CSS custom property name.
8
9
  * @returns A string representing the CSS custom property name.
9
10
  */
@@ -21,6 +22,7 @@ export declare const keysToCssVariableName: (keys: string[]) => string;
21
22
  export declare const flattenVariablesDeclerationValues: (values: object, output?: VariablesDeclerationObject, keys?: string[]) => VariablesDeclerationObject;
22
23
  /**
23
24
  * Converts a object containing CSS variables to an array of CSS rules.
25
+ *
24
26
  * @param variablesDecleration An object containing the CSS variables and their corresponding values.
25
27
  * @returns An array of CSS rules.
26
28
  */