All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.
17.0.7 (2024-12-10)
17.0.6 (2024-12-10)
- move tslib back to dependencies (25a5c44)
- update packages to fix github dependabot security warnings (f694405)
- update packages to fix github dependabot security warnings (bb0dadc)
- update packages to fix github dependabot security warnings (531705c)
- update packages to fix github dependabot security warnings (f585304)
17.0.5 (2024-09-26)
- update packages to fix dependabot security warning (e3cc73c)
- update packages to fix github dependabot security warnings (dfc6225)
17.0.4 (2024-08-14)
- update packages to fix dependabot security warning (cc11c6a)
17.0.3 (2024-07-02)
17.0.2 (2024-03-02)
17.0.1 (2023-12-23)
- update peerDependencies in library project (541e1da)
17.0.0 (2023-12-23)
- update to angular v17
16.0.0 (2023-12-21)
- tha project now requires angular v16
- ElementDisplayPosition entries changed to 6 positions
- keydownEvents() changed to keydownEvents$ observable
- config object changed - use provider to get image data
- add data provider object as a config element - solve issue #225 (3529929)
- add interface 'ThumbnailProvider' to add thumbnails to provider (2b7baa7)
- define new positions for image description (c0245b6)
- demo: add alt and title tag to images of objectImages (a4a2f99)
- demo: add option to select css class for backdrop (aa89de1)
- demo: add trackBy function to ngFor of objectImages thumbnails (d9aed51)
- demo: dynamically set height and width of thumnail image (25e1daa)
- demo: get thumbnails for object datasource from provider (a31a9a4)
- demo: image show and single image selection on all image sources (4a63c51)
- demo: make 'external navigation' show more variants (bdc1503)
- limit width of image description to width of image (6b78deb)
- prepare to show thumbnail while loading - thumbnail still missing (84680da)
- show image description as tooltip of description element (8199515)
- update to angular v16 (a8446de)
- change default value of data-loaded attribute from '' to 'false' (795367b)
- demo: use option for backdrop for second example too (3ec357a)
- don't emit 'imageClicked' when clicking the navigation buttons (aef33b5)
- externally closing the overlay does not emit lastImageIndex (8069ccf)
- give thumbnail the right dimensions (dd10f61)
- initial size of thumbnail image (8d1c08e)
- lib: mske MatImageOverlayRef._componentInstance protected (094bd96)
- lib: prevent hiding images, when going to image already shown (5e7f396)
- make dafault max-x of images 0px instead of 0vw/0vh (18f2a19)
- make description (position=top) move in from above (ec7cb9d)
- make description shown on top not to cover close button (6d21487)
- make image disappear without animation (29d63c8)
- make margin in objectSource same as in stringSource (8168280)
- make resize events update image while resizing (65d7528)
- make sure that all internal subscriptions get unsubscribed (3dcdcbc)
- make thumbnail hide on 'gotoImage' (9360a6b)
- prevent click event of navigation buttons to bubble up (4c2a47b)
- reactivate automatic image show in demo project (1a53ff4)
- reduce decbounce time for resize events (9a0a20c)
- replace 'event.stopPropagation()' with angular way of doing it (759cff1)
- replace the global handler of click events by click handler of img (a548d26)
- reset data-loaded attributes when going to new image (8dc01d7)
- set initial / default size of image (1245df6)
- unsubscribe from subscriptions, when overlay is destroyed (012fb5d)
- update declarations list in test of demo project (a0742bc)
- update used images in demo project (51621be)
15.1.4 (2023-11-02)
15.1.3 (2023-05-24)
15.1.2 (2023-05-24)
15.1.1 (2023-01-14)
15.1.0 (2023-01-14)
- drops 'imageClickHandler' from configuration and moves it as an observable to 'MatImageOverlayRef'
- embed roboto font instead of linking it (de1fab3)
- replace option 'imageClickHandler' with observable (70c9442)
15.0.0 (2023-01-04)
- errors from stylelint (99e4cea)
- type error in event handler (712b2c6)
- warnings from upgrading to angular v15 (a87f141)
3.0.3 (2022-07-10)
3.0.2 (2022-01-30)
3.0.1 (2022-01-30)
3.0.0 (2022-01-30)
- remove 'with' and filter from MatImageOverlayHarness as this feature is unnecessary (only 1 MatImageOverlay can be created at one time).
- add 'imageUrl' and 'sendKeys' to MatImageOverlayHarness (e08547a)
- move host() of MatImageOverlayHarness to overlayContainer (3becd0d)
- remove 'with' and filter from MatImageOverlayHarness (e577640)
- remove sendKeysWithModifiers as modifiers are not evaluated (eb57718)
2.0.0 (2022-01-26)
- add navigation to ImageOverlayComponentRef. 'Law of demeter' says that accessing properties of components in another component is bad practice.
- images in config is now required; optional parameters don't have a default value anymore.
- use MatImageOverlayConfig as parameter of 'open' to combine all parameters into one single parameter.
- 'open()' requires index of image not url
- component names changed to be consistent with project names
- activate events (58d57a2)
- add config class to public api (742f65d)
- add config option for position of description when style='onHover' (94805ea)
- add demo with minimal required configuration (2d0b664)
- add gotoImage and gotoLastImage to automatic demo (fbcd5ed)
- add home and end button to move in list of images (4281aa1)
- add navigation buttons to overlay image (cda1c84)
- add option 'descriptionForImage' to string source demo (615bf8e)
- add option for click event handler of image (e054290)
- add option to access description of image (3e3f835)
- add option to set display style for overlay buttons (f28d663)
- add property to optionally display an image description (c01df2d)
- add testHarness for mat-image-overlay (1a12bba)
- add title and short description to demo page (72254c4)
- add tooltip to link images of demo page (9052f14)
- always show buttons on devices that do not support 'hover' (f7198e5)
- change call signature of 'open' method of MatImageOverlay (2dc7f02)
- default implementation for 'urlForImage' accecpts empty 'images' (6b7fe6f)
- define start image in overlay via index (not url) (8c1e980)
- descriptionDisplayStyle 'onHover' shows text on bottom of image (d8de396)
- extend demo to show external navigation (38d95cc)
- hide buttons for next / previous image on limits of list (2499c29)
- hide description if value is undefined or empty string (461ced8)
- increase size of images to fill viewport (db57483)
- make 'mat-image-overlay-ref' available in mat-image-overlay (04ec39f)
- make 'open' return a MatImageOverlayRef object (c084f0f)
- make configuration of datasource more flexible (4d5b766)
- make images a required parameter of MatImageOverlayConfig (7082f31)
- make MatImageOverlayConfig an interface (560f6de)
- make option 'urlForImage' optional (4511ad9)
- make sure that only 1 instance of MatImageOverlay exists (e03e01c)
- remove 'panelClass' from config and mat-image-overlay-ref (0ea0987)
- remove access to OverlayComponent in OverlayComponentRef (f8119d6)
- show options in demo page in right column (85fbb87)
- activate configuration parameter 'backdropClass' (af220c7)
- add css to keep ascpect ratio of image when resizing browser (6fd2bcc)
- add visibility of public methods, remove unnecessary 'getState' (b877798)
- change svg icons to constants (dd18545)
- prevent keystrokes from overlay to be sent to parent page (e4f12c5)
- remove base from index.html of demo (01d21e0)
- rename 'AngularMaterialImageOverlay...' to 'MatImageOverlay...' (c55177b)
- stop loop when 'imgage show' is manually closed (d632a93)
- stylelint request shorthand for css grid (5cec9fa)
- update demo to show different data sources (214be52)
- update layout of demo page (c0803a0)
- update tests to current version (20479b8)
1.0.0 (2021-12-16)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.