@@ -38,7 +38,6 @@ export function globalCss(selector: string, rule: GlobalCSSRule) {
3838 } ) ;
3939 }
4040}
41- export const globalStyle = globalCss ;
4241
4342// TODO: Make more type-safe
4443type UnknownObject = Record < string , unknown > ;
@@ -105,7 +104,6 @@ function hoistSelectors(input: CSSRule): HoistResult {
105104export function css ( style : ComplexCSSRule , debugId ?: string ) {
106105 return vStyle ( transform ( style ) , debugId ) ;
107106}
108- export const style = css ;
109107
110108// == CSS Variants =============================================================
111109// TODO: Need to optimize
@@ -138,7 +136,6 @@ export function cssVariants<
138136 return processVariants ( styleMap , ( style ) => style , debugId ) ;
139137 }
140138}
141- export const styleVariants = cssVariants ;
142139
143140function isMapDataFunction <
144141 Data extends Record < string | number , unknown > ,
@@ -203,7 +200,7 @@ if (import.meta.vitest) {
203200 } ) ;
204201
205202 it ( "composition" , ( ) => {
206- const base = style ( { padding : 12 } , "base" ) ;
203+ const base = css ( { padding : 12 } , "base" ) ;
207204 const result = css ( [ base , { color : "red" } ] , debugId ) ;
208205
209206 assert . isString ( result ) ;
@@ -244,7 +241,7 @@ if (import.meta.vitest) {
244241 } ) ;
245242
246243 it ( "Mapping Variants with composition" , ( ) => {
247- const base = style ( { padding : 12 } , "base" ) ;
244+ const base = css ( { padding : 12 } , "base" ) ;
248245 const result = cssVariants (
249246 {
250247 primary : "blue" ,
0 commit comments