classix 1.1.0 → 1.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/README.md CHANGED
@@ -50,7 +50,7 @@ cx(
50
50
 
51
51
  | | classix | clsx | classnames |
52
52
  | ------------ | ------------------------------------------------ | --------------------------------------------- | --------------------------------------------------- |
53
- | **Size** | [281B](https://bundlephobia.com/package/classix) | [330B](https://bundlephobia.com/package/clsx) | [454B](https://bundlephobia.com/package/classnames) |
53
+ | **Size** | [277B](https://bundlephobia.com/package/classix) | [330B](https://bundlephobia.com/package/clsx) | [454B](https://bundlephobia.com/package/classnames) |
54
54
  | **Ops/s\*** | 29M | 28M | 7M |
55
55
  | **Strings** | Yes | Yes | Yes |
56
56
  | **Numbers** | Yes | Yes | Yes |
@@ -60,7 +60,7 @@ cx(
60
60
 
61
61
  \*Operations per second on an AMD Ryzen 5 5600x
62
62
 
63
- \*\*classix aims to provide the fastest and tiniest utility by ommiting the object API, which it considers less ergonomic than standard function arguments:
63
+ \*\*classix aims to provide the fastest and tiniest utility by omitting the object API, which it considers less ergonomic than standard function arguments:
64
64
 
65
65
  ```js
66
66
  // 🚫
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare type Argument = string | boolean | number;
1
+ declare type Argument = string | boolean | number | null | undefined;
2
2
  /**
3
3
  * Conditionally join classNames into a single string
4
4
  * @param {...String} args The expressions to evaluate
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "classix",
3
- "version": "1.1.0",
4
- "description": "A tiny utility for conditionally joining classNames.",
3
+ "version": "1.2.1",
4
+ "description": "The fastest and tiniest utility for conditionally joining classNames.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "author": "Alex Nault",