Skip to content

v0.12.57

Choose a tag to compare

@edadma edadma released this 22 Dec 00:36
· 83 commits to main since this release

Component Improvements

data-testid Support

Added data-testid prefix support to 11 components for easier testing:

  • Modal: TestIds for overlay, content, header, body, footer, close button
  • Dropdown: TestIds for trigger and menu
  • Pagination: TestIds for prev/next buttons and page items
  • Tabs: TestIds for tab list, individual tabs, and panels
  • Popconfirm: TestIds for trigger, popover, confirm/cancel buttons
  • Upload: TestIds for dropzone and input
  • DatePicker: Added ref forwarding, testIds for input and calendar
  • InputNumber: TestIds for input, increment, and decrement buttons
  • OTPInput: Indexed testIds for each input field (input-0, input-1, etc.)
  • Menu: TestId for the main menu element
  • Transfer: TestIds for source list, target list, and move buttons

Documentation

  • Updated API tables for all 11 components with data-testid prop
  • Both main docs (.mdx) and AI-readable docs (.md) updated