|
1 | 1 | # www |
2 | 2 |
|
| 3 | +## 0.0.10 |
| 4 | + |
| 5 | +### Patch Changes |
| 6 | + |
| 7 | +- bccc349: Add NumberField and Textarea components |
| 8 | + |
| 9 | + Two new form input components with pixel-art styling and full accessibility support. |
| 10 | + |
| 11 | + **NumberField Component:** |
| 12 | + |
| 13 | + - New NumberField compound component built on Base UI NumberField primitive |
| 14 | + - Sub-components: Root, Group, Input, Increment, Decrement, ScrubArea, ScrubAreaCursor |
| 15 | + - Supports controlled and uncontrolled modes with value/defaultValue |
| 16 | + - Increment/decrement buttons with customizable step values |
| 17 | + - Min/max value constraints with automatic boundary enforcement |
| 18 | + - Optional scrub area for drag-to-change functionality with configurable direction and sensitivity |
| 19 | + - States: disabled, readonly, required |
| 20 | + - All standard variants (base, primary, secondary, accent, ghost, error, success, warning) |
| 21 | + - Five size options (xs, sm, md, lg, xl) |
| 22 | + - Pixel-art styling with box-shadow borders and instant transitions |
| 23 | + - Comprehensive keyboard navigation (Arrow keys, Page Up/Down, Home/End, Enter) |
| 24 | + - Full accessibility support with ARIA attributes |
| 25 | + - Comprehensive MDX documentation with interactive examples |
| 26 | + |
| 27 | + **Textarea Component:** |
| 28 | + |
| 29 | + - New Textarea component as styled wrapper around native textarea element |
| 30 | + - Supports controlled and uncontrolled modes |
| 31 | + - States: disabled, readonly |
| 32 | + - All standard variants (base, primary, secondary, accent, ghost, error, success, warning) |
| 33 | + - Five size options (xs, sm, md, lg, xl) |
| 34 | + - Custom onValueChange callback for convenient value handling |
| 35 | + - Pixel-art styling with box-shadow borders, no resize handle, instant transitions |
| 36 | + - Dark mode support for all variants with proper contrast |
| 37 | + - Full accessibility with native textarea semantics |
| 38 | + - Supports all standard HTML textarea attributes (rows, cols, maxLength, etc.) |
| 39 | + - Comprehensive MDX documentation with interactive examples including character counter and auto-resize patterns |
| 40 | + |
| 41 | +- Updated dependencies [bccc349] |
| 42 | + - @joacod/pixel-ui@0.10.0 |
| 43 | + |
3 | 44 | ## 0.0.9 |
4 | 45 |
|
5 | 46 | ### Patch Changes |
|
0 commit comments