angular/packages/animations/browser
dario-piotrowicz 65a28a9ea3 fix(animations): make sure falsy values are added to _globalTimelineStyles (#46863)
style values get added to the `_globalTimelineStyles` map in order to keep
them so that they can be used across different timelines

`_globalTimelineStyles` was previously a plain object but has been
refactored to a map in #44482, as part of the update a check has been
changed from a ternary operation to an or (||), causing falsy values (as 0)
not to be added to the map anymore, apply the nullish coalescing operator (??)
instead to make sure only `undefined` and `null` are filtered out

also since this aspect was clearly not covered by tests, add a new test
to ensure that such regression doesn't happen in the future

resolves #46833

PR Close #46863
2022-07-18 21:46:12 +00:00
..
src fix(animations): make sure falsy values are added to _globalTimelineStyles (#46863) 2022-07-18 21:46:12 +00:00
test refactor(animations): refactor non-animatable check to be timeline based (#46666) 2022-07-12 22:36:22 +00:00
testing feat(bazel): speed up dev-turnaround by bundling types only when packaging (#45405) 2022-04-21 11:09:39 -07:00
BUILD.bazel build: remove now redundant bundle_dts = True attribute (#29128) 2019-03-07 10:47:20 -08:00
index.ts docs: fix spelling (#46713) 2022-07-08 20:54:52 +00:00
PACKAGE.md docs: add api doc to sub-packages (#33801) 2019-11-20 14:48:50 -08:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00