Skip to content

v10.5.0

Choose a tag to compare

@github-actions github-actions released this 27 Oct 00:28
· 13 commits to main since this release
c234937

Version 10.5.0 adds accessibility improvements for form controls, new customization options for Splitter handles, and better dark‑mode support for Calendar.

Accessibility Enhancements

  • DatePicker, Checkbox, Select, and RichTextEditor now accept aria-label, aria-labelledby, aria-describedby, and aria-invalid on the element that receives focus.
  • DatePicker also accepts an id for its trigger.
  • Checkbox places id and the aria-* props on the checkbox control instead of the wrapper div.
  • When using icons, the focusable icon is named by its visible label.

Splitter Customization

  • Splitter now exposes handleProps to set attributes and handlers (aria-label, id, data-*, onKeyDown, etc.) on the separators between panels.
  • Pass an object for each separator or a function that receives the separator’s index.
  • handleProps.className is merged with handleClassName.
  • The SplitterHandleProps type is exported.

Calendar Dark‑Mode Fix

  • Calendar now sets a matching text color when used under a dark Config and the surrounding page has no text color, ensuring readability.
  • Inside popovers or cards with transparent backgrounds, Calendar continues to inherit the surrounding text color.

What's Changed

  • refactor(ui): group the Select and Mentions files into component folders by @pjb0811 in #555
  • refactor(ui): make lib/utils a single file instead of a folder around index.ts by @pjb0811 in #556
  • feat(ui): forward id and aria attributes to the focus target of four form controls by @pjb0811 in #557
  • test(docs): cover the interaction criteria of Calendar, Anchor, Statistic, Divider and Mentions by @pjb0811 in #563
  • chore(deps): update dependency playwright to v1.64.1 by @renovate[bot] in #558
  • chore(deps): update dependency postcss to v8.5.31 by @renovate[bot] in #559
  • chore(deps): update dependency react-resizable-panels to v4.14.8 by @renovate[bot] in #561
  • chore(deps): update dependency postcss-import to v17.0.1 by @renovate[bot] in #560
  • docs: remove emoji from the READMEs and CLAUDE.md, and list coding-style section I by @pjb0811 in #569
  • docs: link the public skills repository and list repo-settings by @pjb0811 in #571
  • feat(splitter): forward handleProps to the separators between panels by @pjb0811 in #570
  • chore(deps): update dependency @codemirror/merge to v6.12.3 by @renovate[bot] in #572
  • chore(deps): update dependency @tsdown/css to v0.23.2 by @renovate[bot] in #573
  • chore(deps): update dependency tsdown to v0.23.2 by @renovate[bot] in #574
  • chore(deps): update dependency vite to v8.3.5 by @renovate[bot] in #575
  • docs(web): align the footer copyright and code-block theme with the other docs sites by @pjb0811 in #576
  • fix(calendar): keep dates readable under a dark Config, and add RTL and Dark stories by @pjb0811 in #578
  • chore: version packages by @github-actions[bot] in #562

Full Changelog: v10.4.0...v10.5.0