This is a migrated thread and some comments may be shown as answers.

Compile with Warnings with latest npm install @progress/kendo-theme-default

1 Answer 378 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chau
Top achievements
Rank 1
Chau asked on 15 May 2020, 02:43 PM

 

Hello,

I want to use kendo-floatinglabel in my project. After running npm install --save @progress/kendo-angular-label @progress/kendo-angular-common, the documentation required to install @progress/kendo-theme-default.

Before using kendo-floatinglabel, the version I had for @progress/kendo-theme-default was at 2.56.

The latest installed version of @progress/kendo-theme-default is at 4.18.1.

The attached file shows all the warnings with compiling the project. The grids in my app seem to work OK, so is it safe to ignore these warnings? Or what do I need to update to eliminate these warnings?

If I ran npm install of a previous version of kendo-theme-default, e.g. npm install --save @progress/kendo-theme-default@2.63, I did not get the warnings during compile time, but the kendo-floatinglabel was not working as expected (i.e. floatinglabel text not showing as placeholder in the input text control). So I think I do need to use the latest version of @progress/kendo-theme-default@4.18.1.

Thanks for any advice,

Chau

 

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 19 May 2020, 09:49 AM

Hi Chau,

Thank you for the attached details about this case.

What makes me an impression from the provided package.json file is that outdated versions are used (Angular 6). In general, Kendo UI for Angular supports the latest official version of Angular and those currently being under LTS (Long Term Support):

https://angular.io/guide/releases#support-policy-and-schedule

Having said that Angular versions 6 and 7 are not supported by Kendo UI for Angular. All Kendo components are marked as compatible with Angular 9 and the new Ivy compiler. This can be seen in the Change Log section of any package.

We typically recommend using the latest versions of all kendo packages in order to benefit from the most recent features and bug fixes. To update all kendo packages please check the following article from our documentation:

https://www.telerik.com/kendo-angular-ui/components/installation/up-to-date/

Since the FloatingLabel component was released in Jan 2020 (in v2.1.0), the version of the default theme needs to be at least 4.11.0:

https://www.telerik.com/kendo-angular-ui/components/styling/theme-default/changelog/

However, I am afraid that even with version 4.11.0 of the theme the warning will still present because of the Angular version.

Please try updating the used versions and get back to us if any further questions come up.

Regards,
Martin
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
General Discussions
Asked by
Chau
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or