@molecule/app-styling 1.0.4 → 1.0.6

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
3
3
  Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
4
4
  Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
5
5
  To change this document, edit the module-level JSDoc in src/index.ts.
6
- Generated: 2026-10-16T23:38:16.166Z
6
+ Generated: 2026-11-08T06:24:47.822Z
7
7
  -->
8
8
 
9
9
  # @molecule/app-styling
@@ -120,7 +120,7 @@ Tailwind bond registers `tailwind-merge`), conflicting utilities such as two
120
120
  as-is.
121
121
 
122
122
  ```typescript
123
- function cn(classes?: ClassValue[]): string
123
+ function cn(...classes: ClassValue[]): string
124
124
  ```
125
125
 
126
126
  - `classes` — Class values to merge (strings, booleans, objects, arrays).
@@ -134,7 +134,7 @@ Given a base class and variant configuration, returns a function that
134
134
  resolves the final class string based on selected variants.
135
135
 
136
136
  ```typescript
137
- function cva(
137
+ function cva<T extends Record<string, Record<string, string>>>(
138
138
  base: string,
139
139
  config?: CVAConfig<T>,
140
140
  ): (props?: { [K in keyof T]?: keyof T[K] } & { class?: string }) => string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/app-styling",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Styling interface and utilities for molecule.dev",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",