@trackunit/css-class-variance-utilities 2.1.3 → 2.1.5
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 +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,6 +25,8 @@ Because `cx` goes through the same hook, it resolves conflicts too: `cx("p-2", "
|
|
|
25
25
|
|
|
26
26
|
Authoring guide (what to write in a `.variants.ts` file, and when to use `cx`): Storybook [Foundations → Styling variants](https://design.iris.trackunit.com/?path=/docs/foundations-styling-variants--docs).
|
|
27
27
|
|
|
28
|
+
AI agents should use the machine-readable index at [`/llms.txt`](https://design.iris.trackunit.com/llms.txt) instead of the Storybook HTML; it links to per-component docs at `/ai?storyId=<id>`.
|
|
29
|
+
|
|
28
30
|
To compose variant functions, use the `composes` property on a `cva` config.
|
|
29
31
|
|
|
30
32
|
## Migrating from `cvaMerge`
|