Skip to content

Releases: GovTechSG/sgds-web-component

v2.1.2

30 Sep 03:29
Compare
Choose a tag to compare

Fix

  • checkbox, radio: alignment of long labels against input

v2.1.1

18 Sep 08:35
Compare
Choose a tag to compare

Fix

restrict use client to react components only

v2.1.0

16 Sep 10:08
Compare
Choose a tag to compare

What's New

Improvements for NextJS users

  • To enable better user experience for the NextJS users, we have added "use client" directive for our react wrapped components. From version 2.1.0 onwards, NextJS users can use the components out of the box without having to configure the "use client" directive. Read more in our documentation

2.0.1

12 Sep 11:20
Compare
Choose a tag to compare

Fixes

Masthead

  • Replace unintentional css nesting for browsers that do not support css nesting

v2.0.0

03 Sep 08:39
Compare
Choose a tag to compare

Whats New

  • Reduced bundle size per component to from an average of ~200kb to about 30kb to 40kb.
  • New theming system for the web components !

Please see migration guide for full details
https://webcomponent.designsystem.tech.gov.sg/?path=/docs/getting-started-migration--docs

v1.4.0

01 Aug 08:52
Compare
Choose a tag to compare

What's New

Modal

  • noCloseButton prop introduced to allow removal of close button from modal

Fixes

AccordionItem

  • Set a fallback value for active colour for AccordionItem. For cases when users are using single AccordionItem without Accordion

v1.3.1

04 Jul 02:38
Compare
Choose a tag to compare

Fixes

Accordion

  • Fix animation glitching in GSIB hardened browsers
  • Handle keyboard behaviour for when allowMultiple=false

##Refactor

Accordion

  • Change caret to svg element so that it inherits color of its parent

v1.3.0

04 Jul 02:35
Compare
Choose a tag to compare

What's new

Accordion

  • New css tokens to customise the active colour of Accordion, --accordion-active-color: var(--sgds-primary);

v1.2.2

28 May 06:55
Compare
Choose a tag to compare

Fixes

This patch handles the programmatic appearance of <a target="_blank"> icon and updates any downstream components that are affected by this change.

SgdsElement

  • Set icon for <a target="_blank"> programmatically for all components and any slotted elements

##Refactor

Card

  • Refactor stretchedLink Card to use ::before selector to avoid clash with <a target="_blank">using ::after selector

Footer, Masthead

  • Remove hard coded svg element of <a target="_blank"> for the new approach

Button

  • Remove slot styles affecting icon appearance in <a target="_blank">

FileUpload

  • Update icon and text positioning with the change in Button component above.

v1.2.1

28 May 06:47
Compare
Choose a tag to compare

Fixes

Card

  • stretchedLink prop not working as expected previously. Expected to be able to click the card and navigate to the href link when stretchedLink to true