@salty-css/core 0.0.1-alpha.260 → 0.0.1-alpha.261
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
|
|
1
1
|
import { StyledParams } from '../types';
|
2
|
-
import { SaltyConfig } from '../types/config-types';
|
2
|
+
import { CachedConfig, SaltyConfig } from '../types/config-types';
|
3
3
|
export interface StylesGeneratorBuildTimeProps {
|
4
4
|
callerName?: string;
|
5
5
|
isProduction?: boolean;
|
6
|
-
config?: SaltyConfig;
|
6
|
+
config?: SaltyConfig & CachedConfig;
|
7
7
|
classNames?: string[];
|
8
8
|
}
|
9
9
|
export declare class StylesGenerator<const STYLE_PARAMS extends StyledParams = StyledParams> {
|
@@ -17,6 +17,6 @@ export declare class StylesGenerator<const STYLE_PARAMS extends StyledParams = S
|
|
17
17
|
get classNames(): string;
|
18
18
|
get cssFileName(): string;
|
19
19
|
get css(): Promise<string>;
|
20
|
-
getTemplateClasses(config?: SaltyConfig | undefined): string[];
|
20
|
+
getTemplateClasses(config?: (SaltyConfig & CachedConfig) | undefined): string[];
|
21
21
|
_withBuildContext(context: StylesGeneratorBuildTimeProps): this;
|
22
22
|
}
|