fix(animation): handle transition-delay property correctly

The code also handles situations with multiple different
delay and duration values.

E.g. in the following example, the correct duration would
be 3 seconds:

property    |    duration    |   delay
height      |     1s         |   2s
left        |     2s         |   1s
opacity     |     1s         |   2s