Skip to content

Releases: GovTechSG/sgds-govtech-react

v2.7.4

08 Oct 06:43
Compare
Choose a tag to compare

Fixes

Tooltip, Overlay

  • Remove arrowProps dependent props to fix development environment console warnings described in #281

v2.7.2

03 Oct 05:47
Compare
Choose a tag to compare

##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

03 Oct 05:43
Compare
Choose a tag to compare

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

30 Aug 04:34
Compare
Choose a tag to compare

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

14 Aug 07:18
Compare
Choose a tag to compare

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

01 Aug 08:27
Compare
Choose a tag to compare

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

01 Aug 08:25
Compare
Choose a tag to compare

Fixes

Pagination

  • Fix duplicate first page button when showFirstPage prop is set and item length is within the limit.

2.5.2

15 Jul 04:02
Compare
Choose a tag to compare

Fixes

Stepper

  • export StepperProps interface

2.5.1

13 May 02:14
Compare
Choose a tag to compare

Fixes

Datepicker

  • circular dependency for internal functions and types
  • replaced react-input-mask library to fix deprecated findDomNode console warning

v2.5.0

30 Apr 09:04
Compare
Choose a tag to compare

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