Carbon component updates
The latest version of Carbon provides several component updates and improvements that you can use after you update your customizations.
The latest Carbon component updates include the following items. For more information about
additional changes that are related to Carbon components, see the Common changes section of the Upgrade guide. Common changes
section of the Upgrade guide.
- Buttons
- Buttons now use md and no longer support field size. Buttons migrated from button[iconOnly="true"] to cds-icon-button. You can still use button[iconOnly="true"] but it will not support a tooltip.
- Check boxes and toggles
- To emit a change event, use checkedChangenow. buc-checkbox / buc-toggle no longer emits a change event. Minimal backwards comparability exists.
- Lists
- buc-structured-list no longer has border or nowrap attributes. Remove these.
- Comboboxes
- Combo box now emits an array of selected items instead of an object with items key that has an array value. New added backwards comparability for the current version. This will be removed in future releases.
- Tables
- Tables no longer support multi-row headers. Tables only support the following sizes: sm, md, lg, xl, and 2xl. Since we use stricter table types, you may need to type cast to use BucTableHeaderItem.
- Page headers
- For all page header component buttons, remove sm sizing (instead use md size, which is the default. This helps to align the buttons and icons.
- Tooltips
- Tool tips are now inline for accessibility reasons. In some cases tooltips may be clipped. For best tooltip placement, pass [autoAlign]="true". Also, buc-tooltip-icon is deprecated and will be removed in the next major version.
- Progress indicators
- The stepClicked event is now deprecated. It was redundant with the stepSelected event.