Releases: GovTechSG/sgds-govtech-react
Releases · GovTechSG/sgds-govtech-react
v2.7.4
Fixes
Tooltip, Overlay
- Remove arrowProps dependent props to fix development environment console warnings described in #281
v2.7.2
##Fixes
Datepicker
- call onChangeDate when input is emptied to update the value of input #267
- set type="button" to buttons in CalendarHeader to prevent default form submission #268. Fixes made in courtesy of @sxwei123
v2.7.1
Whats New
###Tooltip
- Updated design of tooltip. New Tooltip has no tooltip-arrow
- Clickable Tooltip's close button is also removed. Click trigger or outside of trigger to close the tooltip
v2.7.0
What's New
Badge
- New filterMethod prop. Defaults to
startsWith
. Also support include
. Pass in your custom filtering method to this prop for a more customise filter.
v2.6.1
Fixes
Datepicker
- Call onChangeDate handler when keyboard inputs valid date in single mode
- Call onChangeDate handler when keyboard inputs both valid start and end date in range mode
2.6.0
What's New
Badge
- New
outlined
prop added to switch to outlined badges style.
Fixes
Sidenav
- Add
.active
class when sidenav is added to the activeKey. i.e. when sidenav is clicked or in its open state
2.5.3
Fixes
Pagination
- Fix duplicate first page button when showFirstPage prop is set and item length is within the limit.
2.5.2
Fixes
Stepper
- export StepperProps interface
2.5.1
Fixes
Datepicker
- circular dependency for internal functions and types
- replaced react-input-mask library to fix deprecated findDomNode console warning
v2.5.0
What's new
Sidenav
- New
sticky
prop to enable the sidenav to sticky to a given --sgds-sidenav-sticky-top
value (defaults to 0rem)
- See documentation
Datepicker
- Added appropriate aria attributes added for full support to the screen readers' users .
Fixes
Datepicker
- Clicking reset button will now reset the calendar view to day view
- Focus back to input when calendar closes to allow screenreader to announce date in the input.
QuantityToggle
- Prevent the users from entering the negative("-") value or any other alphabets
- Reset the value to 0 when the value is blank (deletion)
- disable button when number reach 0 / minimum / maximum value
Accordion
- accordion button styling when
alwaysOpen
prop is set to true
- aria-expanded value for button when
alwaysOpen
prop is set to true
- accordion behaviour that doesn't reflect correctly when toggling
alwaysOpen
prop