classix 2.1.41 → 2.2.1

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/classix.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- type Argument = string | boolean | null | undefined;
1
+ type ClassName = string | boolean | null | undefined;
2
2
  /**
3
3
  * Conditionally join classNames into a single string
4
4
  * @param {...String} args The expressions to evaluate
5
5
  * @returns {String} The joined classNames
6
6
  */
7
- declare function cx(...args: Argument[]): string;
7
+ declare function cx(...args: ClassName[]): string;
8
8
 
9
- export { cx, cx as default };
9
+ export { type ClassName, cx, cx as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "classix",
3
- "version": "2.1.41",
3
+ "version": "2.2.1",
4
4
  "description": "The fastest and tiniest utility for conditionally joining classNames.",
5
5
  "main": "./dist/cjs/classix.js",
6
6
  "module": "./dist/esm/classix.mjs",