@master/css 2.0.0-alpha.26 → 2.0.0-alpha.27

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/rule.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { MasterCSSMedia } from './interfaces/media';
2
- import { MasterCSSConfig } from './interfaces/config';
3
2
  import { MasterCSS } from './css';
4
3
  import { MasterCSSDeclaration } from './interfaces/css-property-info';
5
4
  export interface RuleMatching {
@@ -18,7 +17,7 @@ export declare class MasterCSSRule {
18
17
  readonly media: MasterCSSMedia;
19
18
  readonly at: Record<string, string>;
20
19
  readonly direction: string;
21
- readonly theme: string;
20
+ readonly themeName: string;
22
21
  readonly unitToken: string;
23
22
  readonly hasWhere: boolean;
24
23
  readonly prioritySelectorIndex: number;
@@ -26,7 +25,7 @@ export declare class MasterCSSRule {
26
25
  unit: string;
27
26
  value: string | Record<string, string | number>;
28
27
  text: string;
29
- theme: string;
28
+ themeName: string;
30
29
  cssRule?: CSSRule;
31
30
  }[];
32
31
  static id: string;
@@ -38,7 +37,7 @@ export declare class MasterCSSRule {
38
37
  static colorful: boolean;
39
38
  static rootSize: number;
40
39
  static match(name: string, colorNames: string[]): RuleMatching;
41
- constructor(name: string, { breakpoints, mediaQueries, semantics }: MasterCSSConfig, values: Record<string, string | number>, colorsThemesMap: Record<string, Record<string, Record<string, string>>>, relationThemesMap: Record<string, string[]>, themes: string[], matching: RuleMatching, css: MasterCSS);
40
+ constructor(name: string, matching: RuleMatching, css: MasterCSS);
42
41
  }
43
42
  export interface MasterCSSRule {
44
43
  readonly order?: number;