@stylexjs/babel-plugin
Advanced tools
Comparing version 0.2.0-beta.21 to 0.2.0-beta.22
@@ -10,3 +10,3 @@ /** | ||
import type { PluginObj } from '@babel/core'; | ||
import type { PluginObj } from '../flow_modules/@babel/core'; | ||
/** | ||
@@ -13,0 +13,0 @@ * Entry point for the StyleX babel plugin. |
@@ -10,3 +10,3 @@ /** | ||
import type { NodePath } from '@babel/traverse'; | ||
import type { NodePath } from '../../flow_modules/@babel/traverse'; | ||
import StateManager from './state-manager'; | ||
@@ -13,0 +13,0 @@ export type FunctionConfig = { |
@@ -10,6 +10,12 @@ /** | ||
import * as t from '@babel/types'; | ||
import * as t from '../../flow_modules/@babel/types'; | ||
import { IncludedStyles } from '@stylexjs/shared'; | ||
type NestedStringObject = Readonly<{ | ||
[key: string]: string | null | boolean | NestedStringObject | IncludedStyles; | ||
[key: string]: | ||
| string | ||
| number | ||
| null | ||
| boolean | ||
| NestedStringObject | ||
| IncludedStyles; | ||
}>; | ||
@@ -16,0 +22,0 @@ export declare function convertObjectToAST( |
@@ -10,4 +10,4 @@ /** | ||
import type { PluginPass } from '@babel/core'; | ||
import type { NodePath } from '@babel/traverse'; | ||
import type { PluginPass } from '../../flow_modules/@babel/core'; | ||
import type { NodePath } from '../../flow_modules/@babel/traverse'; | ||
import type { | ||
@@ -43,2 +43,3 @@ CompiledNamespaces, | ||
readonly stylexImport: Set<string>; | ||
readonly stylexPropsImport: Set<string>; | ||
readonly stylexCreateImport: Set<string>; | ||
@@ -48,4 +49,4 @@ readonly stylexIncludeImport: Set<string>; | ||
readonly stylexKeyframesImport: Set<string>; | ||
readonly stylexCreateVarsImport: Set<string>; | ||
readonly stylexOverrideVarsImport: Set<string>; | ||
readonly stylexDefineVarsImport: Set<string>; | ||
readonly stylexCreateThemeImport: Set<string>; | ||
readonly stylexTypesImport: Set<string>; | ||
@@ -52,0 +53,0 @@ readonly styleMap: Map<string, CompiledNamespaces>; |
@@ -10,4 +10,4 @@ /** | ||
import * as t from '@babel/types'; | ||
import type { NodePath } from '@babel/traverse'; | ||
import * as t from '../../flow_modules/@babel/types'; | ||
import type { NodePath } from '../../flow_modules/@babel/traverse'; | ||
import StateManager from '../utils/state-manager'; | ||
@@ -14,0 +14,0 @@ export declare function readImportDeclarations( |
@@ -10,4 +10,4 @@ /** | ||
import * as t from '@babel/types'; | ||
import type { NodePath } from '@babel/traverse'; | ||
import * as t from '../../../flow_modules/@babel/types'; | ||
import type { NodePath } from '../../../flow_modules/@babel/traverse'; | ||
import StateManager from '../../utils/state-manager'; | ||
@@ -14,0 +14,0 @@ declare function transformStyleXCreate( |
@@ -11,4 +11,4 @@ /* eslint-disable no-unused-vars */ | ||
import type { NodePath } from '@babel/traverse'; | ||
import * as t from '@babel/types'; | ||
import type { NodePath } from '../../../flow_modules/@babel/traverse'; | ||
import * as t from '../../../flow_modules/@babel/types'; | ||
import StateManager from '../../utils/state-manager'; | ||
@@ -15,0 +15,0 @@ import { type FunctionConfig } from '../../utils/evaluate-path'; |
@@ -10,4 +10,4 @@ /** | ||
import * as t from '@babel/types'; | ||
import type { NodePath } from '@babel/traverse'; | ||
import * as t from '../../flow_modules/@babel/types'; | ||
import type { NodePath } from '../../flow_modules/@babel/traverse'; | ||
import StateManager from '../utils/state-manager'; | ||
@@ -14,0 +14,0 @@ declare function transformStyleXKeyframes( |
@@ -10,4 +10,4 @@ /** | ||
import type { NodePath } from '@babel/traverse'; | ||
import * as t from '@babel/types'; | ||
import type { NodePath } from '../../flow_modules/@babel/traverse'; | ||
import * as t from '../../flow_modules/@babel/types'; | ||
import StateManager from '../utils/state-manager'; | ||
@@ -14,0 +14,0 @@ export declare function skipStylexMergeChildren( |
@@ -10,9 +10,9 @@ /** | ||
import * as t from '@babel/types'; | ||
import type { NodePath } from '@babel/traverse'; | ||
import * as t from '../../flow_modules/@babel/types'; | ||
import type { NodePath } from '../../flow_modules/@babel/traverse'; | ||
import StateManager from '../utils/state-manager'; | ||
declare function transformStyleXOverrideVars( | ||
declare function transformStyleXCreateTheme( | ||
callExpressionPath: NodePath<t.CallExpression>, | ||
state: StateManager, | ||
): void; | ||
export default transformStyleXOverrideVars; | ||
export default transformStyleXCreateTheme; |
{ | ||
"name": "@stylexjs/babel-plugin", | ||
"version": "0.2.0-beta.21", | ||
"version": "0.2.0-beta.22", | ||
"description": "StyleX babel plugin.", | ||
@@ -15,3 +15,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@stylexjs/shared": "0.2.0-beta.21" | ||
"@stylexjs/shared": "0.2.0-beta.22" | ||
}, | ||
@@ -18,0 +18,0 @@ "peerDependencies": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
539985
6508
+ Added@stylexjs/shared@0.2.0-beta.22(transitive)
- Removed@stylexjs/shared@0.2.0-beta.21(transitive)