ng update
Clarity can now be updated using Angular CLI v6+ by simply running the following:
ng update @clr/angular
. You can use this
with any Angular CLI project, even if you've already started to work on it. You may need to run ng update @angular/core
first to update Angular by running ng update @angular/core
.
forRoot
and forChild
in ClarityModule
Clarity has had deprecated methods for the ClarityModule, both which have been removed in this release.
They are not utilized and if you use them just simply remove them so anywhere you import Clarity should
just be ClarityModule
in your imports array.
The new forms now have a Select component, which provides validation and behaviors for the HTML select element.
You can now pass in stronger typing information into Datagrid components. See PR 2347 for more details.
The wizard has had an undocumented ghost pages feature, which was removed. If you happened upon this feature and are using it, you'll need to remove it from your wizards.
The code highlight component was removed as it was deprecated and planned to be removed. If you use it, you have a few options.
The old grid push/pull functionality was deprecated and causes a number of issues with popovers and clipping overflow content. The solution is to migrate to the new grid formatting.
In 0.11, all non-prefixed Clarity classes were deprecated, such as Wizard
.
The correct implementation is always to use the prefixed version now like ClrWizard
.
This is a visual breaking change, where we removed the OK button from the datagrid column toggle popover.
If you have been using the clr-dg-column-toggle-button
button to localize the
button text, you can safely remove the OK button as well. This component will now only be used for the
Select All text localization. The clrType
binding has also been deprecated
since it will now not be needed.
The forms now include a radio component for managing your radio buttons in an Angular form.
Some icon shapes have been moved to a different set and this may impact your imports if you use those
specific icons. Verify if you are using the following and view the icons documentation for angle-double
,
bar-chart
, collapse
, line-chart
,
and wand
to see which set they belong to.
This release also includes all bugfixes from the 0.12 releases.