@stylexjs/babel-plugin
Advanced tools
Comparing version 0.4.1 to 0.5.0-alpha.1
@@ -21,9 +21,13 @@ /** | ||
type ModuleResolution = | ||
| { type: 'commonJS'; rootDir: string; themeFileExtension?: string } | ||
| { type: 'haste'; themeFileExtension?: string } | ||
| { | ||
| Readonly<{ | ||
type: 'commonJS'; | ||
rootDir: string; | ||
themeFileExtension?: null | undefined | string; | ||
}> | ||
| Readonly<{ type: 'haste'; themeFileExtension?: null | undefined | string }> | ||
| Readonly<{ | ||
type: 'experimental_crossFileParsing'; | ||
rootDir: string; | ||
themeFileExtension?: string; | ||
}; | ||
themeFileExtension?: null | undefined | string; | ||
}>; | ||
export type StyleXOptions = Readonly< | ||
@@ -42,3 +46,3 @@ Omit< | ||
genConditionalClasses: boolean; | ||
unstable_moduleResolution: void | ModuleResolution; | ||
unstable_moduleResolution: null | undefined | ModuleResolution; | ||
}) | ||
@@ -55,3 +59,3 @@ > & { | ||
genConditionalClasses: boolean; | ||
unstable_moduleResolution: void | ModuleResolution; | ||
unstable_moduleResolution: null | undefined | ModuleResolution; | ||
} | ||
@@ -65,3 +69,3 @@ >; | ||
| (null | undefined | string) | ||
| Readonly<{ from: string; as: string }>; | ||
| Readonly<{ from: string; as: null | undefined | string }>; | ||
}) | ||
@@ -71,3 +75,3 @@ > & { | ||
| (null | undefined | string) | ||
| Readonly<{ from: string; as: string }>; | ||
| Readonly<{ from: string; as: null | undefined | string }>; | ||
} | ||
@@ -80,2 +84,3 @@ >; | ||
readonly stylexPropsImport: Set<string>; | ||
readonly stylexAttrsImport: Set<string>; | ||
readonly stylexCreateImport: Set<string>; | ||
@@ -93,4 +98,7 @@ readonly stylexIncludeImport: Set<string>; | ||
inStyleXCreate: boolean; | ||
readonly options: StyleXStateOptions; | ||
constructor(state: PluginPass); | ||
get options(): StyleXStateOptions; | ||
setOptions(options: { | ||
readonly [$$Key$$: string]: unknown; | ||
}): StyleXStateOptions; | ||
get importPathString(): string; | ||
@@ -104,3 +112,3 @@ get importSources(): ReadonlyArray<string>; | ||
| undefined | ||
| Readonly<{ from: string; as?: string }>; | ||
| Readonly<{ from: string; as?: null | undefined | string }>; | ||
get isDev(): boolean; | ||
@@ -107,0 +115,0 @@ get isTest(): boolean; |
{ | ||
"name": "@stylexjs/babel-plugin", | ||
"version": "0.4.1", | ||
"version": "0.5.0-alpha.1", | ||
"description": "StyleX babel plugin.", | ||
@@ -16,4 +16,4 @@ "main": "lib/index.js", | ||
"@babel/helper-module-imports": "^7.22.15", | ||
"@stylexjs/shared": "0.4.1", | ||
"@stylexjs/stylex": "0.4.1", | ||
"@stylexjs/shared": "0.5.0-alpha.1", | ||
"@stylexjs/stylex": "0.5.0-alpha.1", | ||
"@babel/core": "^7.23.6", | ||
@@ -20,0 +20,0 @@ "@babel/traverse": "^7.23.6", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
574461
43
7230
+ Added@stylexjs/shared@0.5.0-alpha.1(transitive)
+ Added@stylexjs/stylex@0.5.0-alpha.1(transitive)
- Removed@stylexjs/shared@0.4.1(transitive)
- Removed@stylexjs/stylex@0.4.1(transitive)