Releases: GovTechSG/sgds-web-component
Releases · GovTechSG/sgds-web-component
v2.1.2
v2.1.1
v2.1.0
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
v2.0.0
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
v1.3.1
v1.3.0
v1.2.2
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.