Skip to content

v0.4.2

Choose a tag to compare

@edadma edadma released this 23 Nov 22:41
· 399 commits to main since this release

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 block prop (defaults to true) for explicit width control
    • block={true}: Full-width (w-full) - ideal for form layouts
    • block={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