@@ -38,7 +38,7 @@ export const animations: Rule<Theme>[] = [
3838 [ / ^ a n i m a t e - e a s e (?: - ( .+ ) ) ? $ / , ( [ , d ] , { theme } ) => ( { 'animation-timing-function' : theme . ease ?. [ d || 'DEFAULT' ] ?? h . bracket . cssvar ( d , theme ) } ) , { autocomplete : [ 'animate-ease' , 'animate-ease-$ease' ] } ] ,
3939
4040 // fill mode
41- [ / ^ a n i m a t e - ( f i l l - m o d e - | f i l l - | m o d e - ) ? ( .+ ) $ / , ( [ , t , d ] ) => [ 'none' , 'forwards' , 'backwards' , 'both' , ...[ t ? globalKeywords : [ ] ] ] . includes ( d ) ? { 'animation-fill-mode' : d } : undefined , {
41+ [ / ^ a n i m a t e - ( f i l l - m o d e - | f i l l - | m o d e - ) ? ( .+ ) $ / , ( [ , t , d ] ) => [ 'none' , 'forwards' , 'backwards' , 'both' , ...( t ? globalKeywords : [ ] ) ] . includes ( d ) ? { 'animation-fill-mode' : d } : undefined , {
4242 autocomplete : [
4343 'animate-(fill|mode|fill-mode)' ,
4444 'animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)' ,
@@ -47,7 +47,7 @@ export const animations: Rule<Theme>[] = [
4747 } ] ,
4848
4949 // direction
50- [ / ^ a n i m a t e - ( d i r e c t i o n - ) ? ( .+ ) $ / , ( [ , t , d ] ) => [ 'normal' , 'reverse' , 'alternate' , 'alternate-reverse' , ...[ t ? globalKeywords : [ ] ] ] . includes ( d ) ? { 'animation-direction' : d } : undefined , {
50+ [ / ^ a n i m a t e - ( d i r e c t i o n - ) ? ( .+ ) $ / , ( [ , t , d ] ) => [ 'normal' , 'reverse' , 'alternate' , 'alternate-reverse' , ...( t ? globalKeywords : [ ] ) ] . includes ( d ) ? { 'animation-direction' : d } : undefined , {
5151 autocomplete : [
5252 'animate-direction' ,
5353 'animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)' ,
@@ -57,7 +57,7 @@ export const animations: Rule<Theme>[] = [
5757
5858 // others
5959 [ / ^ a n i m a t e - (?: i t e r a t i o n - c o u n t - | i t e r a t i o n - | c o u n t - ) ( .+ ) $ / , ( [ , d ] , { theme } ) => ( { 'animation-iteration-count' : h . bracket . cssvar ( d , theme ) ?? d . replace ( / - / g, ',' ) } ) , { autocomplete : [ 'animate-(iteration|count|iteration-count)' , 'animate-(iteration|count|iteration-count)-<num>' ] } ] ,
60- [ / ^ a n i m a t e - ( p l a y - s t a t e - | p l a y - | s t a t e - ) ? ( .+ ) $ / , ( [ , t , d ] ) => [ 'paused' , 'running' , ...[ t ? globalKeywords : [ ] ] ] . includes ( d ) ? { 'animation-play-state' : d } : undefined , {
60+ [ / ^ a n i m a t e - ( p l a y - s t a t e - | p l a y - | s t a t e - ) ? ( .+ ) $ / , ( [ , t , d ] ) => [ 'paused' , 'running' , ...( t ? globalKeywords : [ ] ) ] . includes ( d ) ? { 'animation-play-state' : d } : undefined , {
6161 autocomplete : [
6262 'animate-(play|state|play-state)' ,
6363 'animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)' ,
0 commit comments