@cdx-ui/utils 0.0.1-beta.179 → 0.0.1-beta.180

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 +2 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -24,6 +24,7 @@ pnpm add @cdx-ui/utils
24
24
  | `mergeRefs(...refs)` | Combines multiple refs (callback or object) into one ref callback. |
25
25
  | `flattenChildren(children)` | Recursively flattens React `children` (including Fragments) into a flat array with re-keyed elements. |
26
26
  | `ariaAttr(condition)` | Returns `true` (boolean) or `undefined` — shorthand for boolean ARIA attribute values. |
27
+ | `cva(base, config)` | Class Variance Authority helper for authoring variant-driven `className` builders. `VariantProps<typeof fn>` derives the prop type. |
27
28
 
28
29
  ### Context
29
30
 
@@ -58,6 +59,7 @@ Low-level form-field state used by the `Field` and `Input` primitives.
58
59
  | Type | Source |
59
60
  | ---------------------------- | ------------ |
60
61
  | `UseControllableStateParams` | common |
62
+ | `VariantProps` | common |
61
63
  | `Focusable` | form-control |
62
64
  | `FormControlContextValue` | form-control |
63
65
  | `FormControlFieldProps` | form-control |
@@ -65,7 +67,6 @@ Low-level form-field state used by the `Field` and `Input` primitives.
65
67
  | `FormControlRootReturn` | form-control |
66
68
  | `FormControlState` | form-control |
67
69
  | `StyleContextMap` | style |
68
- | `WithStyleContextProps` | style |
69
70
 
70
71
  ## Testing
71
72
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdx-ui/utils",
3
- "version": "0.0.1-beta.179",
3
+ "version": "0.0.1-beta.180",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",