File tree 3 files changed +30
-10
lines changed
3 files changed +30
-10
lines changed Original file line number Diff line number Diff line change 6
6
"strictMode" : true ,
7
7
"lazy" : false ,
8
8
"noInterop" : false
9
+ },
10
+ "jsc" : {
11
+ "parser" : {
12
+ "syntax" : " typescript" ,
13
+ "tsx" : false
14
+ }
9
15
}
10
16
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @adam.plesnik/tailwindcss-scroll-driven-animations" ,
3
- "version" : " 0.0.7 " ,
3
+ "version" : " 0.0.8 " ,
4
4
"author" :
" Adam Plesnik <[email protected] >" ,
5
5
"scripts" : {
6
6
"build" : " swc ./src/index.js --out-dir ./dist"
Original file line number Diff line number Diff line change @@ -59,7 +59,18 @@ module.exports = plugin(
59
59
animationRangeStart : value ,
60
60
} ) ,
61
61
} ,
62
- { values : { DEFAULT : 'entry' , exit : 'exit' , ...theme ( 'rangeValues' ) } }
62
+ {
63
+ values : {
64
+ DEFAULT : 'entry' ,
65
+ exit : 'exit' ,
66
+ normal : 'normal' ,
67
+ contain : 'contain' ,
68
+ cover : 'cover' ,
69
+ 'entry-crossing' : 'entry-crossing' ,
70
+ 'exit-crossing' : 'exit-crossing' ,
71
+ } ,
72
+ modifiers : 'any' ,
73
+ }
63
74
)
64
75
65
76
matchUtilities (
@@ -68,7 +79,17 @@ module.exports = plugin(
68
79
animationRangeEnd : value ,
69
80
} ) ,
70
81
} ,
71
- { values : { DEFAULT : 'exit' , entry : 'entry' , ...theme ( 'rangeValues' ) } }
82
+ {
83
+ values : {
84
+ DEFAULT : 'exit' ,
85
+ entry : 'entry' ,
86
+ normal : 'normal' ,
87
+ contain : 'contain' ,
88
+ cover : 'cover' ,
89
+ 'entry-crossing' : 'entry-crossing' ,
90
+ 'exit-crossing' : 'exit-crossing' ,
91
+ } ,
92
+ }
72
93
)
73
94
} ,
74
95
@@ -79,13 +100,6 @@ module.exports = plugin(
79
100
block : 'block' ,
80
101
x : 'x' ,
81
102
} ,
82
- rangeValues : {
83
- normal : 'normal' ,
84
- contain : 'contain' ,
85
- cover : 'cover' ,
86
- 'entry-crossing' : 'entry-crossing' ,
87
- 'exit-crossing' : 'exit-crossing' ,
88
- } ,
89
103
} ,
90
104
}
91
105
)
You can’t perform that action at this time.
0 commit comments