Skip to content

16.0.0

Latest

Choose a tag to compare

@Jialecl Jialecl released this 04 Dec 11:53
· 196 commits to master since this release
bb0feb6

What's Changed

💥 Breaking changes

  • New token-based theming system based on a CSS-token architecture instead of a JSON structure. Check out our migration doc. 2213 2295 2298
  • All existing components have been updated with the new tokens architecture. Also to apply them correctly make sure to use the prop opinionatedTheme in the HalstackProvider instead of the previous theme prop.
  • <DxcTag> deprecated component removed. 2224
  • <DxcSlider> tabIndex prop removed. 2164
  • <DxcToggleGroup> label and helperText props have been removed, and disabled is now part of each toggle. 2183
  • <DxcTabs> legacy props removed. 2178
  • <DxcHeading> weight prop type changed to light, default and regular. 2214
  • <DxcNavTabs> iconPosition prop default value changed to left. 2211
  • <DxcApplicationLayout.Header> new design and implementation. 2328
  • <DxcApplicationLayout.Footer> new design and implementation. 2326
  • <DxcApplicationLayout.Sidenav> new design and implementation. 2319
  • <DxcApplicationLayout> updated to match compound components redesigns; the prop logo has been moved from DxcApplicationLayout.Header and DxcApplicationLayout.Sidenav to DxcApplicationLayout. 2337 2356

✨ New features

  • New <DxcAvatar> component. 2285 2312
  • New select all functionality for the <DxcSelect> component via the enableSelectAll prop. 2222
  • Added keyboard support for <DxcToast>. 2233
  • Added virtualization to the select component in the <DxcPaginator>. 2297
  • Added virtualization to <DxcSelect>. 2243
  • Added virtualization to <DxcResultsetTable>. 2230
  • <DxcSpinner> added new inheritColor prop to inherit the color. 2179
  • optional prop added to <DxcFileInput> component. 2273
  • New orientation prop in <DxcToggleGroup> to allow changing the stack orientation. 2183
  • Added a new level 6 to <DxcHeading>. 2214
  • New fullHeight prop in <DxcFlex> allowing the flex container to occupy the full height of its parent. 2346

🐛 Patches

  • Fixed problem when setting the hierarchical <DxcDataGrid> to an empty array. 2288
  • Fix to correctly handle loading indicators in <DxcDataGrid>. 2290
  • <DxcTabs> documentation and typing were fixed to state that the component needs either tabId or label. 2293
  • Fix to itemsPerPageOptions not affecting <DxcPaginator> display condition. 2236
  • <DxcDataGrid> styles in NextJS. 2266
  • Fix <DxcPaginator> component responsiveness. 2277
  • Fix background color in <DxcDataGrid>. 2335
  • <DxcApplicationLayout> improved to behave better with a custom header or footer. 2249
  • Fixed issues with the outline and active tab underline in <DxcTabs> 2211

Others

  • Emotion migration to remove styled components (which is now in maintenance mode). Emotion becomes a peer dependency instead of styled components. 2248