Skip to content

Releases: dxc-technology/halstack-react

16.0.0

04 Dec 11:53
bb0feb6

Choose a tag to compare

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

🐛 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

15.3.2

03 Dec 16:14

Choose a tag to compare

✨ New features

  • <DxcContainer> exposes the ref. 2346
  • <DxcFlex> can fill the whole height when the prop fullHeight is set to true. 2346
  • Searchable <DxcSelect> can now be searched with 'startsWith' mode. 2358

🐛 Patches

  • Improved <DxcTabs> visibility when the active tab is changed in responsive mode. 2334

15.2.2

11 Nov 13:46

Choose a tag to compare

🐛 Patches

  • <DxcQuicknav> Fixed interaction with hashRouter. 2318
  • <DxcSelect> <DxcNumber> Tooltip is no longer displayed when disabled. 2316 2329
  • <DxcNavTabs> Implement as functionalty to check if href is defined. 2310
  • Improved PopOver and <DxcDialog> behavior with the z-index and where it appears in the DOM. 2292 2295
  • <DxcBreadcrumbs> Fixed a bug that did not allow the component to navigate when clicked. 2330

15.2.1

19 Sep 12:53

Choose a tag to compare

🐛 Patches

  • Fixed incorrect internal prop value that does not affect users.

15.2.0

19 Sep 12:35

Choose a tag to compare

🐛 Patches

  • <DxcDataGrid> <DxcResultsetTable> Improved paginator visibility condition for the datagrid and the resultsetTable. 2172 2236
  • <DxcDatagrid> Improved internal state management in the datagrid, this fixes some inconsistencies in the behaviour. 2238
  • <DxcNavTabs> Now correctly supports onClick. 2265
  • <DxcFileInput> Better compatibility with stricter CSP. 2286
  • <DxcResultsetTable> Fixed sort icon resizing when it should not.

✨ New features

  • <DxcDatagrid> Trigger event added for hierarchical expand. 2241
  • <DxcTabs> Active tab is focused by default when rendered in responsive mode. 2254
  • <DxcTextInput> Alignment prop added. 2264

15.1.3

23 Jul 12:54

Choose a tag to compare

🐛 Patches

  • <DxcResultsetTable> Improved resultsetTable header structure.
  • <DxcPaginator> Paginator buttons localization support.
  • z-index values overhaul to improve interactions between components.

15.1.2

28 May 09:49

Choose a tag to compare

🐛 Patches

  • <DxcTabs.Tab> Fixed a typing bug related to the legacy Tabs.

15.1.1

28 May 08:56

Choose a tag to compare

🐛 Patches

  • <DxcTabs.Tab> label is no longer required. A new prop tabId is used instead to identify internally the tab when no label is available. 2232 2227

15.1.0

21 May 08:41

Choose a tag to compare

🐛 Patches

  • <DxcDatagrid> checkbox is no longer selected in the header if it is empty. 2174
  • <DxcDatagrid> no longer behaves incorrectly if the uniqueRowId is invalid. 2174
  • <DxcDatagrid> fixed a style issue when editing a cell in a dark themed system. 2209
  • <DxcAccordion> Label is no longer missaligned when the subLabel is longer than the label. (text-align: left applied to the label)

✨ New features

  • Added the option to have rows expanded by default in the <DxcDatagrid>. 2206
  • Added the option to select the page in which the <DxcDatagrid> is rendered by default. 2209

15.0.1

19 Mar 12:56

Choose a tag to compare

🐛 Patches

  • Change react-data-grid to the peer dependencies to solve incompatibilities. 2191
  • Added small improvements to the package.json. 2191
  • Vulnerability fixes. 2191