@gov-design-system-ce/react
v3.4.0
Published
## 3.4.0
Readme
Change log
3.4.0
♻️ Changed
- Split the
labelprop into two separate props:labelExpandedandlabelCollapsed.
🐛 Fixed
- Fixed the disabled state of the
GovFormSwitchcomponent. - Fixed propagation of the
disabledstate in theGovFormCheckboxcomponent. - Fixed propagation of the
disabledstate in theGovFormRadiocomponent. - Fixed the removal of the
GovToastcomponent from the DOM.
3.3.4
🐛 Fixed
- Fixed the behavior of the
GovFormFilecomponent when theresetAfterPickprop is set.
3.3.3
🐛 Fixed
- Fixed closing the
GovDropdowncomponent when clicking outside.
3.3.2
🐛 Fixed
- Removed state from
GovWizardItem.
3.3.1
🐛 Fixed
- Fixed losing focus on every
keydownevent in theGovDialogcomponent. - Fixed the icon display in the
GovInfobarcomponent.
3.3.0
✨ Added
- Added the
noBorderprop to theGovTilecomponent.
♻️ Changed
- Updated the
titleprop of theGovTilecomponent. It now supports defining a link.
3.2.0
✨ Added
- Introduced the
asChildprop to theGovLinkcomponent to allow rendering custom link wrappers and other elements as children.
♻️ Changed
- Changed the
labelprop of theGovDropdowncomponent fromstringtoReactNode. - Removed internal state management from the
GovFormFilecomponent for better external control.
🐛 Fixed
- Fixed display of the
labelkey in theGovMultiSelectautocomplete. - Correctly propagated the
classNameprop to theGovChipcomponent. - Correctly propagated the
classNameprop to theGovCardcomponent. - Updated the
onPageprop value handling in theGovPaginationcomponent. - Ensured correct rendering of the
slotprops in theGovErrorCodecomponent for proper icon display.
3.1.1
🐛 Fixed
- Corrected the return type of the
onChangeprop in theGovDropdowncomponent. - Fixed rendering and attribute handling of the
GovInfobarcomponent to ensure correct display.
3.1.0
✨ Added
- Added
forwardRefsupport to theGovWizardItemcomponent. - Added the
onChangecallback to theGovTabscomponent. - Added the
onChangecallback to theGovAccordionItemcomponent. - Added the
onChangecallback to theGovDropdowncomponent. - Introduced the
asChildprop to theGovCardcomponent to allow rendering custom link wrappers and other elements as children. - Introduced the
asChildprop to theGovChipcomponent for custom element support.
♻️ Changed
- Replaced wildcard exports (
export *) with explicit named exports. - Marked applicable components with the
"use client"directive.
🛠️ Removed
- Removed link-related props from the
GovCardcomponent in favor ofasChild. - Removed link and button-related props from the
GovChipcomponent in favor ofasChild.
🐛 Fixed
- Fixed rendering and attribute handling of the
GovMessagecomponent for correct display.
