@@ -24,17 +24,15 @@ export interface CompilerOptions {
2424/**
2525 * A `react-native-css` StyleSheet
2626 */
27- export type ReactNativeCssStyleSheet = ReactNativeCssStyleSheet_V2 ;
28-
29- export interface ReactNativeCssStyleSheet_V2 {
27+ export interface ReactNativeCssStyleSheet {
3028 /** Feature flags */
3129 f ?: FeatureFlagRecord ;
3230 /** rem */
3331 r ?: number ;
3432 /** StyleRuleSets */
3533 s ?: ( readonly [ string , StyleRuleSet ] ) [ ] ;
3634 /** KeyFrames */
37- k ?: Animation_V2 [ ] ;
35+ k ?: Animation [ ] ;
3836 /** Root Variables */
3937 vr ?: RootVariables ;
4038 /** Universal Variables */
@@ -158,11 +156,11 @@ export type InlineVariable = {
158156 [ key : string ] : unknown | undefined ;
159157} ;
160158
161- /****************************** Animations V2 ******************************/
159+ /****************************** Animations ******************************/
162160
163- export type Animation_V2 = [ string , AnimationKeyframes_V2 [ ] ] ;
164- export type AnimationRecord = Record < string , AnimationKeyframes_V2 [ ] > ;
165- export type AnimationKeyframes_V2 = [ string | number , StyleDeclaration [ ] ] ;
161+ export type Animation = [ string , AnimationKeyframes [ ] ] ;
162+ export type AnimationRecord = Record < string , AnimationKeyframes [ ] > ;
163+ export type AnimationKeyframes = [ string | number , StyleDeclaration [ ] ] ;
166164
167165/****************************** Conditions ******************************/
168166
@@ -257,7 +255,7 @@ export type LoggerOptions = {
257255export interface CompilerCollection extends CompilerOptions {
258256 features : FeatureFlagRecord ;
259257 rules : Map < string , StyleRule [ ] > ;
260- keyframes : Map < string , AnimationKeyframes_V2 [ ] > ;
258+ keyframes : Map < string , AnimationKeyframes [ ] > ;
261259 darkMode ?: string | null ;
262260 rootVariables : VariableRecord ;
263261 universalVariables : VariableRecord ;
0 commit comments