Releases: dxc-technology/halstack-react
Releases · dxc-technology/halstack-react
6.1.0
✨ Minor changes:
- Upgrade to React 18. #1250
- Remove material ui from Button. #1199
- Remove material ui from Progress bar. #1200
- Remove material ui from Dialog. #1203
- Remove material ui from Switch. #1207
- Remove material ui from Header. #1232
- Remove material ui from Dropdown. #1245
- Update logo in Header to the correct one. #1232
🐛 Patches:
- Link. Fix link with icon is not inline with text. #1236
- Select. Fix onBlur event is executing when disabled. #1249
- Select. Fix pop over in Firefox. #1249
- Progress Bar. Fix component is indeterminate or determinate depending on prop showValue instead of value. #1261
- Slider. Fix component to change slider value to 0 from an external way. #1265
- Slider. Group title is selected when one option inside of it is selected. #1235
- Sidenav. Fix sidenav poping in responsive mode. #1247
- Replaced deprecated keycode for key in several components. #1262
6.0.0
💥 Breaking changes:
- Bleed and Inset. Prop values are now actual CSS values instead of token names. This is to avoid ambiguity and might change in the future with improvements in the token architecture semantics. #1141 #1139
- Radio. This component has been removed after being deprecated. Use the Radio group component instead. #1098
- Progress Bar.
overlayproperty now defaults tofalse. #1042 - Wizard. When
orientationisvertical, the default width now adapts to the content instead of adjusting to the parent. #987 - Checkbox and Switch.
requiredproperty has been removed. Mark your non-required inputs as optional with theoptionalprop instead of usingrequired. #925 - Application Layout. Responsive re-design. #821
- Application Layout. Added
header,footerandside navprops. #821 - Header. This component is now exported as part of the Application Layout component. #1146
- Footer. This component is now exported as part of the Application Layout component. #1146
- Sidenav. This component is now exported as part of the Application Layout component. #1146
- Sidenav. New API for sidenav content. #1146
- Link. Review API for client-side routing libraries. #822
- Breakpoint responsive values have changed. #825
✨ New features:
- Quicknav. New component. #824
- Typography. New component. #816
- Paragraph. New component. #816
- Bulleted List. New component. #817
- Flex. New component. #815
- Nav Tabs. New component. #823
- Select. Add popup edge collision detection and position re-calculation. #1115
- Add the
defaultValueprop to all uncontrolled components. #857 - Allow internationalization of the hardcoded strings. #929
🐛 Patches:
5.0.0
💥 Breaking changes:
ThemeProviderchanges name toHalstackProvider, in preparation for receiving not just themes, but also additional configuration that applies globally.- New component Radio Group.
Old Radio component will remain as deprecated during one release before being discontinued. - Button and Text Input components don't send the event parameter to the
onClickcallback prop. - Textarea and Text Input components'
lengthprop gets replaced byminLengthandmaxLengthprops. onBlurandonChangecallback props receive the error parameter asundefinedinstead ofnull, when there is no validation error. This change affects Textarea, Select, Date, Text Input, Number Input, and Password components.- Functionality change in how input components handle the
errorprop:nullorundefinedmeans there is no error in the input.- An empty string also means there is no error, but the component will keep that space in case an error comes up later. This helps avoiding layout shifting and facilitates aligning multiple fields when only some of them have error.
- Non-empty strings display the error as usual.
requiredproperty has been removed from checkbox and switch components. Instead of usingrequired, use the newoptionalproperty in the optional fields.- Changes in the responsive breakpoint values that affect multiple components.
- Removed deprecated
iconSrcfrom Button, Toggle Group, Footer, Tabs, Wizard, Tag, Accordion, Accordion Group, Dropdown and Link. - Removed deprecated
prefixIconSrcandsuffixIconSrcfrom Chip. - Previously deprecated components are removed in this release.
✨ New features:
- Added TypeScript definitions to all components' props.
- Added
defaultValueprop to the input components that can be used as uncontrolled. - (Experimental) New layout primitive components (stack, row, bleed, inset).
- (Experimental) New Text component.
- (Experimental) New List component.
🐛 Patches:
- Multiple accessibility improvements.
- Bug fixing.
4.0.0
💥 Breaking changes:
- DxcDateInput. New component. Full re-implementation of DxcDate component. DxcDate component will remain as deprecated during one release before being discontinued.
- DxcTextInput. New component. Full re-implementation of DxcInput component. DxcInput component will remain as deprecated during one release before being discontinued.
- DxcFileInput. New component. Full re-implementation of DxcUpload component. DxcUpload component will remain as deprecated during one release before being discontinued.
- DxcSelect. Full re-implementation. Old version will remain available as deprecated (as V3DxcSelect) during one release before being discontinued.
- DxcTextarea. Full re-implementation. Old version will remain available as deprecated (as V3DxcTextarea) during one release before being discontinued.
✨ New features:
- DxcNumberInput. New component.
- DxcPasswordInput. New component.
- DxcToggleGroup. Visual re-design.
🐛 Patches:
- Multiple accessibility improvements.
- Bug fixing.
3.4.1
3.4.0
3.3.0
3.2.0
Minor changes
- Adding tabIndex to interactive components. #216
- contentPadding prop added to Card component.
Patches
- Image becomes optional in the Card component.
- Fix autocomplete list not showing in the dialog box. #234
- type=button added when Link renders as a button. #246
- Fix AccordionGroup when has only one child.
- Remove the z-index from the Alert component when the mode is inline. #259
- When a wrong mode is used on the Button, it defaults to "primary". #264
- A higher z-index is set for ApplicationLayout. #262
3.1.0
3.0.0
New Features
- SVG icons support:
- Added icon prop to: button, accordion, chip, dropdown, input text, link, select, tag, tabs, toggle group, wizard.
- Added logo prop to footer socialLinks.
- New props in Paginator: itemsPerPageOptions, itemsPerPageFunction and showGoToPage
- Added itemsPerPageOptions and itemsPerPageFunction props to resultset table.
- New DxcAccordionGroup component.
- New design in Tabs component. Added new props: notificationNumber, iconPosition, onTabHover.
- New design in Accordion and Accordion Group components.
Breaking Changes
- Theme input properties have new names.
- ThemeContext.Provider replaced by ThemeProvider.
- nextFunction, prevFunction, lastFunction and firstFunction replaced by onPageChange in Paginator.
Bug Fixes
- Fix issue when sidenav is closed in responsive mode and resized to desktop mode.
- Supporting React 17.
- onBlur fuction is called when the datePicker is closed.
- Disabled link working as expected.
- Fix wizard styles.