[ ] ๐ Documentation (updates to the documentation, readme or JSDoc annotations)
[x] ๐ Bug fix (a non-breaking change that fixes an issue)
[ ] ๐ Enhancement (improving an existing functionality like performance)
[ ] โจ New feature (a non-breaking change that adds functionality)
[ ] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
[ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
It looks like the delay prop was not applied to variants in the same way as it did for directives, this fixes that. I also refactored the logic slightly to avoid repetition as well as make it more consistent between component and directive, this also acts as preparation to add support for a duration prop which will work just like delay.
๐ Linked issue
โ Type of change
๐ Description
It looks like the
delay
prop was not applied to variants in the same way as it did for directives, this fixes that. I also refactored the logic slightly to avoid repetition as well as make it more consistent between component and directive, this also acts as preparation to add support for aduration
prop which will work just likedelay
.๐ Checklist