2.1.2 (2023-06-15)
- version: update
VERSION
correctly
2.1.1 (2023-06-13)
- viewport: add
ComparisonOperationLiteral
- deps: change peerDependency for rxjs to
>=6.0.0
- viewport:
ssvViewportMatcherVar
allow usage as{size: 'large', operation: '<='}
with template type validation
2.1.0 (2023-06-13)
- deps: update dependencies to support Angular v15
- deps: add dependency on
tslib: ^2.0.0
- viewport: make several utils/models internal only
- viewport: change
ViewportSizeType
andUX_VIEWPORT_DEFAULT_BREAKPOINTS
has been changed (see readme) - viewport: remove
ViewportService.calculateItemsPerRow
function
1.4.1 (2023-04-13)
- viewport:
ViewportService
- addresizeSnap$
,sizeTypeSnap$
,sizeSnap$
which are unthrottled - viewport:
ViewportDataService
get$
add option tothrottle
1.4.0 (2020-11-25)
- viewport: implement
ssvViewportMatcherVar
directive
1.3.0 (2020-11-11)
- viewport: implement viewport data -
ViewportDataService
,ssvViewportData
pipe (see doc for more info) - viewport: change
ViewportService.sizeTypeMap
- now maps by type (id) as well - viewport: add
ViewportService.sizeTypeSnapshot
- module: refactor main module config
1.2.2 (2020-10-30)
- viewport: add
size$
toViewportService
- viewport: throw error when invalid size type is used in matcher
1.2.1 (2020-10-28)
- build: down version several dependencies packages in order to support angular 8 (and possibly less)
- deps: revert dependency on tslib
^1.10.0
1.2.0 (2020-10-27)
- viewport: implement configurable breakpoints (thanks to contrib @joseph118)
- viewport: add util method
generateViewportSizeType
to generate a representation ofViewportSizeType
- deps: now depends on tslib
^1.10.0
- all: minor refactoring
- deps: update dev dependencies
- ci: update node version
- lint: migrate from tslint to eslint
1.1.1 (2020-05-29)
- viewport: use
documentElement.clientWidth
to check viewport width on Safari only - viewport:
getViewportSize
not being called on SSR
1.1.0 (2019-08-22)
- viewport: add additional viewport breakpoint size
xxlarge1 >=1920
1.0.0 (2019-06-11)
No new fixes/features in this release
- deps: update dev dependencies
- ci: update node version
0.2.0 (2019-05-20)
- viewport: width now includes scrollbar to be more inline with css media queries e.g.
window.innerWidth
instead ofdocumentElement.clientWidth
(same for height) - viewport: resize now emits more frequently, not only after stopping resizing for a duration of time e.g. use
auditTime
instead ofdebounceTime
- viewport: viewport size matching (including viewport matcher) size ranges now change according to the viewport size instead of the viewport container (e.g. scrollbar size is included)
0.1.5 (2018-02-26)
- viewport: implemented
calculateItemsPerRow
in service
0.1.4 (2018-02-21)
update tooling
0.1.3 (2018-01-31)
- viewport: fix
sizeType$
was returning the initialsizeType
on subscribe until resizing instead of the last value
0.1.2 (2018-11-27)
- viewport: fix
ssvViewportMatcher
when used onng-container
was trying to add cssClass and throwing an error
0.1.1 (2018-11-26)
- viewport: fix when using OnPush with
ssvViewportMatcher
0.1.0 (2018-11-23)
Initial release
- viewport: viewport service implementation
- viewport: viewport size matcher implementation