Skip to content

v3.4.0

Choose a tag to compare

@github-actions github-actions released this 07 Aug 10:23
· 428 commits to main since this release
7b58b21

@repo/ui v3.4.0

This release includes several minor and patch updates to improve the functionality and usability of the UI components.

Minor Changes

  • Color picker and date picker components now support a disabled state, preventing user interaction and visual changes to indicate the component is not interactive.
  • The BackTop component now correctly tracks and scrolls the window that renders it, even when portaled into an iframe.
  • Updated @jbpark/use-hooks to version 2.11.0.
  • Checkbox, radio, and switch components now use useControllableState for controlled and uncontrolled state management.
  • The Button component now supports antd-style visual presets and native button types.
  • Checkbox and radio components now support option groups, enabling users to group related options together.
  • The DatePicker component now supports a controlled open state, allowing users to customize the display of the date picker.
  • Checkboxes and radios now have native form field names, enabling participation in FormData when set.
  • Checkbox, radio, color picker, and select components now support a disabled state.
  • The Input component now supports a ref.
  • RadioGroup components now support rendering Button elements as radio buttons, enabling real radio semantics and improved accessibility.
  • Skeleton and Spin components now support custom class names and styles.

Patch Changes

  • Fixed internal event handling in Checkbox and Radio components to trigger state changes directly without relying on DOM element IDs.

What's Changed

  • 🐛 fix: use direct onChange instead of DOM query in icons-mode radio/checkbox by @pjb0811 in #160
  • 🔧 chore: retry Gemini API calls on transient 5xx/429 errors by @pjb0811 in #162
  • ✨ feat: add disabled prop to DatePicker and ColorPicker by @pjb0811 in #163
  • chore: switch release-note polishing to NVIDIA API by @pjb0811 in #164
  • 🐛 fix: track/scroll the correct window in BackTop by @pjb0811 in #166
  • ⬆️ chore: bump @jbpark/use-hooks to 2.11.0 by @pjb0811 in #167
  • ♻️ refactor: replace duplicated controlled/uncontrolled state with useControllableState by @pjb0811 in #168
  • 🐛 fix: add Button htmlType and block clicks while loading by @pjb0811 in #169
  • ♻️ refactor: extract shared OptionValue/normalizeOptions for Radio/Checkbox groups by @pjb0811 in #170
  • ✨ feat: add Popover controlled open API, close DatePicker on select by @pjb0811 in #171
  • 🐛 fix: use real value for Radio/Checkbox's Radix identity, support name by @pjb0811 in #172
  • 🐛 fix: export missing atom Props, tighten icons/disabled/onChange gaps by @pjb0811 in #173
  • 🐛 fix: forward Input ref, fix Search disabled/onKeyDown/onClear by @pjb0811 in #174
  • ♿ fix: give optionType="button" RadioGroup real radio semantics by @pjb0811 in #175
  • 🐛 fix: unify Spin/Skeleton className target and prop precedence by @pjb0811 in #176
  • 🔖 chore: version packages by @github-actions[bot] in #161

Full Changelog: v3.3.0...v3.4.0