Releases: appfolio/react-gears
Correct ExpandableSection to allow controlled `open` component
This release corrects ExpandableSection to allow controlled open
prop
Add reverse option for SummaryBox and SummaryBoxItem
MonthInput accessibility, correct Alert content
This release updates the MonthInput component accessibility.
This also corrects the Alert component content width to allow for filled/right aligned content.
Update StateInput
Order US states by displayed code, not (unseen) name
Correct AddressInput
This release corrects an issue with AddressInput where inputs could not be reset to '' values
Correct Select issue
Corrects click issue described in #530
Update Notes
SortableTable, TypeScript updates
This release adds SortableTable support for row selection and expansion columns, previously only available in UncontrolledTable:
New props:
allSelected?: boolean;
expandableColumn?: Partial<SortableColumn<T>>;
onExpand?: (row: T) => void;
onSelect?: (row: T, selected: boolean) => void;
onSelectAll?: (selected: boolean) => void;
rowSelected?: (row: T) => boolean;
Also TypeScript definitions have been updated to support TypeScript 3.x and added missing SortableTable d.ts
SortableTable update, DateInput clear button fix, remove console warnings
SortableTable:
- rowOnClick prop now gets passed the click event in addition to the row
DateInput:
- DateInput should return false in second argument when the date is invalid
Console warnings:
- ClickableContainer no longer pukes up propTypes warnings
Correct Reorderable HasManyFIelds
Release corrects issue with HasManyField inputs losing focus on change, details in #520