TimUnderhay / ngx-panzoom

DEPRECATED Pan/Zoom library for Angular
https://timunderhay.github.io/ngx-panzoom/
78 stars 25 forks source link

[BUG] - Can't use the library in v18 #68

Closed imadhy closed 20 hours ago

imadhy commented 3 months ago

Describe the bug The imports are not good anymore and we have a console error :

image

Instead of :

import { PanZoomAPI, PanZoomComponent, PanZoomConfig } from 'ngx-panzoom';

Here is the console error :

image

To Reproduce Steps to reproduce the behavior: Just install the v18 of the library.

Expected behavior A clear and concise description of what you expected to happen.

Additional context The tree files of the installed library is not good :

image

We have an ngx-panzoom folder that shouldn't be here.

I think the library was build and published in a bad environment. Because when I try to build and npm pack it locally, it works great.

geromegrignon commented 3 months ago

Breaking changes upon the configuration and the api explained on npm: https://www.npmjs.com/package/ngx-panzoom

TimUnderhay commented 20 hours ago

Please update to version 19. It will be the final major version of this library.