@master/css 2.0.0-alpha.32 → 2.0.0-alpha.34

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,12 +1,12 @@
1
1
  import { MasterCSSMedia } from './interfaces/media';
2
- import { MasterCSS } from './css';
3
- import { MasterCSSDeclaration } from './interfaces/css-property-info';
2
+ import MasterCSS from './css';
3
+ import { MasterCSSDeclaration } from './interfaces/declaration';
4
4
  export interface RuleMatching {
5
5
  origin: 'matches' | 'semantics' | 'symbol';
6
6
  value?: string;
7
7
  }
8
8
  export declare class MasterCSSRule {
9
- readonly name: string;
9
+ readonly className: string;
10
10
  readonly matching: RuleMatching;
11
11
  readonly prefix: string;
12
12
  readonly symbol: string;
@@ -28,7 +28,6 @@ export declare class MasterCSSRule {
28
28
  themeName: string;
29
29
  cssRule?: CSSRule;
30
30
  }[];
31
- static id: string;
32
31
  static propName: string;
33
32
  static matches: RegExp;
34
33
  static colorStarts: string;
@@ -36,7 +35,7 @@ export declare class MasterCSSRule {
36
35
  static unit: string;
37
36
  static colorful: boolean;
38
37
  static match(name: string, colorNames: string[]): RuleMatching;
39
- constructor(name: string, matching: RuleMatching, css: MasterCSS);
38
+ constructor(className: string, matching: RuleMatching, css: MasterCSS);
40
39
  }
41
40
  export interface MasterCSSRule {
42
41
  readonly order?: number;
@@ -1,6 +1,5 @@
1
1
  import { MasterCSSRule } from '../rule';
2
2
  export declare class BorderColor extends MasterCSSRule {
3
- static id: string;
4
3
  static matches: RegExp;
5
4
  static colorStarts: string;
6
5
  static colorful: boolean;
@@ -1,6 +1,5 @@
1
1
  import { MasterCSSRule } from '../rule';
2
2
  export declare class BorderRadius extends MasterCSSRule {
3
- static id: string;
4
3
  static matches: RegExp;
5
4
  get(declaration: any): {
6
5
  [key: string]: any;
@@ -1,6 +1,5 @@
1
1
  import { MasterCSSRule } from '../rule';
2
2
  export declare class BorderStyle extends MasterCSSRule {
3
- static id: string;
4
3
  static matches: RegExp;
5
4
  get(declaration: any): {
6
5
  [key: string]: any;
@@ -1,6 +1,5 @@
1
1
  import { MasterCSSRule } from '../rule';
2
2
  export declare class BorderWidth extends MasterCSSRule {
3
- static id: string;
4
3
  static matches: RegExp;
5
4
  get(declaration: any): {
6
5
  [key: string]: any;
package/rules/border.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { MasterCSSRule } from '../rule';
2
2
  export declare class Border extends MasterCSSRule {
3
- static id: string;
4
3
  static matches: RegExp;
5
4
  static colorful: boolean;
6
5
  get(declaration: any): {
@@ -1,6 +1,5 @@
1
1
  import { MasterCSSRule } from '../rule';
2
2
  export declare class FontSmoothing extends MasterCSSRule {
3
- static id: string;
4
3
  static matches: RegExp;
5
4
  static unit: string;
6
5
  get(declaration: any): {
package/rules/gap.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { MasterCSSRule } from '../rule';
2
2
  export declare class Gap extends MasterCSSRule {
3
- static id: string;
4
3
  static matches: RegExp;
5
4
  get(declaration: any): {
6
5
  [key: string]: any;
package/rules/group.d.ts CHANGED
@@ -1,8 +1,7 @@
1
1
  import { MasterCSSRule } from '../rule';
2
- import { MasterCSS } from '../css';
3
- import { MasterCSSDeclaration } from 'src/interfaces/css-property-info';
2
+ import MasterCSS from '../css';
3
+ import { MasterCSSDeclaration } from 'src/interfaces/declaration';
4
4
  export declare class Group extends MasterCSSRule {
5
- static id: string;
6
5
  static matches: RegExp;
7
6
  static unit: string;
8
7
  getThemeProps(declaration: MasterCSSDeclaration, css: MasterCSS): Record<string, Record<string, string>>;
package/rules/lines.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { MasterCSSRule } from '../rule';
2
2
  export declare class Lines extends MasterCSSRule {
3
- static id: string;
4
3
  static matches: RegExp;
5
4
  static unit: string;
6
5
  get(declaration: any): {
package/rules/margin.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { MasterCSSRule } from '../rule';
2
2
  export declare class Margin extends MasterCSSRule {
3
- static id: string;
4
3
  static matches: RegExp;
5
4
  get(declaration: any): {
6
5
  [key: string]: any;
@@ -1,6 +1,5 @@
1
1
  import { MasterCSSRule } from '../rule';
2
2
  export declare class Overflow extends MasterCSSRule {
3
- static id: string;
4
3
  static matches: RegExp;
5
4
  get(declaration: any): {
6
5
  [key: string]: any;
@@ -1,6 +1,5 @@
1
1
  import { MasterCSSRule } from '../rule';
2
2
  export declare class OverscrollBehavior extends MasterCSSRule {
3
- static id: string;
4
3
  static matches: RegExp;
5
4
  get(declaration: any): {
6
5
  [key: string]: any;
@@ -1,6 +1,5 @@
1
1
  import { MasterCSSRule } from '../rule';
2
2
  export declare class Padding extends MasterCSSRule {
3
- static id: string;
4
3
  static matches: RegExp;
5
4
  get(declaration: any): {
6
5
  [key: string]: any;
@@ -1,6 +1,5 @@
1
1
  import { MasterCSSRule } from '../rule';
2
2
  export declare class ScrollMargin extends MasterCSSRule {
3
- static id: string;
4
3
  static matches: RegExp;
5
4
  get(declaration: any): {
6
5
  [key: string]: any;
@@ -1,6 +1,5 @@
1
1
  import { MasterCSSRule } from '../rule';
2
2
  export declare class ScrollPadding extends MasterCSSRule {
3
- static id: string;
4
3
  static matches: RegExp;
5
4
  get(declaration: any): {
6
5
  [key: string]: any;
@@ -1,6 +1,5 @@
1
1
  import { MasterCSSRule } from '../rule';
2
2
  export declare class Spacing extends MasterCSSRule {
3
- static id: string;
4
3
  static matches: RegExp;
5
4
  get(declaration: any): {
6
5
  [key: string]: any;
@@ -1,6 +1,5 @@
1
1
  import { MasterCSSRule } from '../rule';
2
2
  export declare class TextFillColor extends MasterCSSRule {
3
- static id: string;
4
3
  static matches: RegExp;
5
4
  static colorStarts: string;
6
5
  static colorful: boolean;
@@ -1,6 +1,5 @@
1
1
  import { MasterCSSRule } from '../rule';
2
2
  export declare class TextSize extends MasterCSSRule {
3
- static id: string;
4
3
  static matches: RegExp;
5
4
  get(declaration: any): {
6
5
  [key: string]: any;
@@ -1,6 +1,5 @@
1
1
  import { MasterCSSRule } from '../rule';
2
2
  export declare class TextStrokeColor extends MasterCSSRule {
3
- static id: string;
4
3
  static matches: RegExp;
5
4
  static colorStarts: string;
6
5
  static colorful: boolean;
@@ -1,6 +1,5 @@
1
1
  import { MasterCSSRule } from '../rule';
2
2
  export declare class TextStrokeWidth extends MasterCSSRule {
3
- static id: string;
4
3
  static matches: RegExp;
5
4
  get(declaration: any): {
6
5
  [key: string]: any;
@@ -1,6 +1,5 @@
1
1
  import { MasterCSSRule } from '../rule';
2
2
  export declare class TextStroke extends MasterCSSRule {
3
- static id: string;
4
3
  static matches: RegExp;
5
4
  get(declaration: any): {
6
5
  [key: string]: any;
@@ -1,6 +1,5 @@
1
1
  import { MasterCSSRule } from '../rule';
2
2
  export declare class Variable extends MasterCSSRule {
3
- static id: string;
4
3
  static matches: RegExp;
5
4
  static unit: string;
6
5
  get(declaration: any): {
package/rules/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import { Group } from './group';
2
- export declare const Rules: (typeof Group)[];