this change addresses #13. it lets spring generate keyframes for parenthesized values. it's a naive implementation — it doesn't care if there's a trailing parenthesis and can't handle multiple comma separated values, like transform: translate(30px, 30px). it also isn't smart enough to generate keyframes for start and end values like transform: scale(4) and transform: none. but it will work for multiple values, so transform: translateX(30px) translateY(30px) will work
i updated the tests with a couple new test cases and updated the snapshots to include keyframes with a transform
this change addresses #13. it lets
spring
generate keyframes for parenthesized values. it's a naive implementation — it doesn't care if there's a trailing parenthesis and can't handle multiple comma separated values, liketransform: translate(30px, 30px)
. it also isn't smart enough to generate keyframes for start and end values liketransform: scale(4)
andtransform: none
. but it will work for multiple values, sotransform: translateX(30px) translateY(30px)
will worki updated the tests with a couple new test cases and updated the snapshots to include keyframes with a
transform