Select to view content in your preferred language

Calcite and SDK Versions in Angular

205
3
4 weeks ago
MauricioBarrera
Emerging Contributor

Hello!

I'm starting a new Angular project with Angular 19. I've installed the latest versions of @ArcGIS/core and @ArcGIS/map-components (4.31.6)

When I try to install the latest @esri/calcite-components (3.0.2) I get some peer dependency errors, that I can override with the --legacy-peer-deps flag, but the issue comes at build time where the @arcigs/map-components zoom controls can't resolve the Calcite Button:

"Could not resolve "@esri/calcite-components/dist/components/calcite-button.js"

I guess this comes from the difference in dependant versions.

Is there a plan to align all libraries so the latest versions can be used simultaneously?

0 Kudos
3 Replies
OmarKawach
Esri Contributor

Hi @MauricioBarrera!

With the v4.31 release of `@arcgis/core`, the core API package had a dependency on Calcite for `^2.13.0` of https://developers.arcgis.com/javascript/latest/4.31/#additional-packages which only applies to 

  • 2.13.0
  • 2.13.1
  • 2.13.2

according to the npm SemVer Calculator at https://semver.npmjs.com/ 

Sometime within this month, v4.32 of the core API and components should be available with updates to the dependency on Calcite (e.g., from`^2.13.0` to `^3.0.2`. )

Please let me know if you have any further questions! Thanks 🙂

0 Kudos
MauricioBarrera
Emerging Contributor

Thanks Omar! Looking forward to that release.

Another question that I have related to this is, but maybe it belongs in the Calcite section: there used to be an arcgis/map-components-angular package that is now deprecated. There still is an esri/calcite-components-angular package with version 2.13.2. Will this be deprecated or updated?

0 Kudos
DitwanDPrice
Esri Contributor

Hey @MauricioBarrera,

The esri/calcite-components-angular package is not planned to receive further updates, as Calcite 3.0 no longer requires an Angular wrapper. We will update the README of the angular package to reflect this.

0 Kudos