ISSUE-045 - Venetian Blinds - Improvements to Venetian Blinds prototype controls.
Now you have 10 different options (5 for position flag and 5 for driver portrait) to play with, as well as a slot selector to choose different starting corners. I have to admit that I didn't want to deal with type juggling with DriverId so I do a pretty hacky job. This is just for prototyping purposes so it really shouldn't be much of a focus for me, right? Added an overall delay prop for VenetianBlindsTransition so that I don't need to deal with special timing issues for the DriverChyron animation in the future.
This commit is contained in:
1 parent
9518f934ae
commit
16c29df42f
6 files changed
+70
-23
No files matched your search
@@ -48,11 +48,11 @@ export const VenetianBlindsFilter = styled.div<VenetianBlindsFilterProps>`
|
||||
${({ blindsColorFadeDelay = 0 }) => blindsColorFadeDelay}ms;
|
||||
}
|
||||
|
||||
${({ blindsClosing, spanBlinkDuration }) => (
|
||||
${({ blindsClosing, spanBlinkDuration, spanBlinkDelay = 0 }) => (
|
||||
blindsClosing && spanBlinkDuration
|
||||
? css`
|
||||
span {
|
||||
animation: ${spanBlinkAnimation} ${spanBlinkDuration}ms step-end;
|
||||
animation: ${spanBlinkAnimation} ${spanBlinkDuration}ms step-end ${spanBlinkDelay}ms;
|
||||
};
|
||||
`
|
||||
: null)
|
||||
|
||||
Reference in new issue
Block a user