@master/css 2.0.0-alpha.26 → 2.0.0-alpha.28
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/css.d.ts +12 -13
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/interfaces/config.d.ts +1 -0
- package/master-css.min.js +1 -1
- package/package.json +1 -1
- package/render.js +1 -1
- package/render.js.map +1 -1
- package/rule.d.ts +3 -5
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
|
|
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
|
-
|
|
28
|
+
themeName: string;
|
|
30
29
|
cssRule?: CSSRule;
|
|
31
30
|
}[];
|
|
32
31
|
static id: string;
|
|
@@ -36,9 +35,8 @@ export declare class MasterCSSRule {
|
|
|
36
35
|
static symbol: string;
|
|
37
36
|
static unit: string;
|
|
38
37
|
static colorful: boolean;
|
|
39
|
-
static rootSize: number;
|
|
40
38
|
static match(name: string, colorNames: string[]): RuleMatching;
|
|
41
|
-
constructor(name: string,
|
|
39
|
+
constructor(name: string, matching: RuleMatching, css: MasterCSS);
|
|
42
40
|
}
|
|
43
41
|
export interface MasterCSSRule {
|
|
44
42
|
readonly order?: number;
|