@teacss/preset-standard 0.4.7 → 0.5.1
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.
- package/README.md +82 -315
- package/dist/constants.d.ts +298 -298
- package/dist/index.d.ts +4 -5
- package/dist/index.js +140 -30
- package/dist/mappings-CGGqku6p.js +1 -0
- package/dist/merge.d.ts +5 -6
- package/dist/merge.js +1 -1
- package/package.json +5 -5
- package/dist/mappings-CpTay2Ob.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Arrayable,
|
|
1
|
+
import { Arrayable, PresetOptions, Rule, SourceCodeTransformer, UserConfig } from "@teacss/core";
|
|
2
2
|
//#region src/transformers/compile-class.d.ts
|
|
3
3
|
interface CompileClassOptions {
|
|
4
4
|
/**
|
|
@@ -135,7 +135,6 @@ interface ThemeVariant extends Omit<Theme, "animation" | "modes" | "defaultMode"
|
|
|
135
135
|
}>;
|
|
136
136
|
}
|
|
137
137
|
type CustomRule = Rule<Theme>;
|
|
138
|
-
type CustomShortcut = StaticShortcut | DynamicShortcut<Theme>;
|
|
139
138
|
/** Ancestor selectors for the class-triggered `dark` / `light` modes. @default `.dark` / `.light` */
|
|
140
139
|
interface ModeSelectors {
|
|
141
140
|
dark?: string;
|
|
@@ -164,7 +163,7 @@ interface PresetStandardOptions extends PresetOptions {
|
|
|
164
163
|
}
|
|
165
164
|
//#endregion
|
|
166
165
|
//#region src/index.d.ts
|
|
167
|
-
declare const presetStandard: import("@teacss/core").PresetFactory<PresetStandardOptions, object>;
|
|
168
|
-
declare function defineConfig<T extends object = Theme>(config: UserConfig<T>): UserConfig<T>;
|
|
166
|
+
export declare const presetStandard: import("@teacss/core").PresetFactory<PresetStandardOptions, object>;
|
|
167
|
+
export declare function defineConfig<T extends object = Theme>(config: UserConfig<T>): UserConfig<T>;
|
|
169
168
|
//#endregion
|
|
170
|
-
export { type CompileClassOptions, type CustomRule, type
|
|
169
|
+
export { type CompileClassOptions, type CustomRule, type Theme, presetStandard as default, transformerCompileClass };
|