v5.0.0-alpha.17
Pre-release
Pre-release
·
82 commits
to alpha
since this release
5.0.0-alpha.17 (2023-04-12)
Bug Fixes
- add a hidden
inputelement inComboBoxFieldandLookupFieldto assign their selected key to their field name (d2bf7ba), closes #20 #56 - Button: incorrect display mode when used as a polymorphed element (a8af1f1)
- Button: omit hover styles while disabled (b9566e6)
- CheckboxIcon and RadioIcon: prevent the icons from being compressed when their following text is very long (a5d655c), closes #25 #45
- CheckboxIcon: incorrect ARIA role (74430e7)
- CheckboxIcon: incorrect colors when disabled (3e1d462)
- Details: hide the detail marker in Safari (4326081), closes #1 #43
- disable prettier errors when using the VSCode plugin (62c68ce)
- FormErrors: incorrect type for errorMessage keys (2819ad4)
- Icon: missing aria-label when role is img (56e28ac)
- NecessityIndicator: set
aria-labelinstead of label (b558ddd) - NumberField: add a hidden
inputelement to tie aNumberField's numberValue to its name inFormData(3c2dc46), closes #55 #60 - RadioIcon: incorrect colors when disabled (39293f0)
- RadioSetField: prevent react-aria warnings (9f24b80), closes #61
- react-aria warnings when children or aria-label were not provided to the hook (c4a7acd)
- ScrollArea: adaptive height when the viewport is smaller than the area limits (62c416f)
- SwitchIcon: set a min width to prevent resizing (70b499f)
- useScreenSize: screens larger than xxl do not get correct breakpoints applied (f7fe24c), closes #48
- YesNoField: fix exposed types in value/onChange (9540655)
Features
- Add
Sectioncomponent to avoid needing to expose react-stately to consumers (c449b18) - add Figma token file for use with Tokens Studio (a24c203)
- add ProgressBar component (0eef567), closes #13
- Arrow: add
sizeprop (286cfd7) - CheckboxSetField: add
placeholderprop and compatibility with React Stately lists (9ba9ffc) - Icon: add optional
labelprop to set role toimgwhen defined (9269141) - ListBox: add support for sections (dc2770a)
- Menu: add
isDisabledprop (9dd8b2b), closes #54 - Menu: add support for sections (e4c6d58)
- RadioSetField: support custom item renderers (9f4be1d)
- Tooltip: add placement and offset props (e5b6b06)
- UnstyledButton: add
data-disabledwhen the disabled state is passed down (e8ed19b)
Performance Improvements
- refactoring dependencies to reduce bundle size (fe24bff)