Repository navigation
v0.4.2
What's New
Form Component Enhancements
- Horizontal Layout Support: Form.Item now supports
layout="horizontal"for side-by-side label and input positioning with proper spacing (gap-4) - Improved Label Spacing: Vertical layout labels now have better spacing (mb-2) between label and input for improved readability
InputNumber Improvements
- Block Prop: Added
blockprop (defaults totrue) for explicit width controlblock={true}: Full-width (w-full) - ideal for form layoutsblock={false}: Inline width (inline-block) - similar to Ant Design default
- Form Integration: InputNumber now properly fills container width in grid layouts
Changes
- Form.tsx: Add horizontal layout support and improved label spacing
- InputNumber.tsx: Add block prop for width control
- package.json: Bump version to 0.4.2
Full Changelog: v0.4.1...v0.4.2