@master/css
Advanced tools
Comparing version
@@ -7,3 +7,2 @@ import { SyntaxRule } from './syntax-rule'; | ||
import { AnimationDefinitions, Config } from './types/config'; | ||
import { Vendors } from './types/common'; | ||
export default class MasterCSS { | ||
@@ -117,4 +116,4 @@ customConfig?: Config | undefined; | ||
export default interface MasterCSS { | ||
supportVendors: Set<Vendors>; | ||
style: HTMLStyleElement | null; | ||
Native: typeof CSS; | ||
} |
@@ -12,3 +12,6 @@ import MasterCSS from './core'; | ||
fixedClass?: string | undefined; | ||
readonly at: Record<string, AtComponent[]>; | ||
readonly layerAtComponents?: AtComponent[]; | ||
readonly supportsAtComponents?: AtComponent[]; | ||
readonly mediaAtComponents?: AtComponent[]; | ||
readonly containerAtComponents?: AtComponent[]; | ||
readonly priority: number; | ||
@@ -19,2 +22,3 @@ readonly order: number; | ||
readonly layer: Layer; | ||
readonly supportUnknown?: boolean; | ||
animationNames?: string[]; | ||
@@ -21,0 +25,0 @@ variableNames?: string[]; |
import { SyntaxRuleDefinition } from './config'; | ||
export type AtComponent = AtArbitraryComponent | AtFeatureComponent | AtOperatorComponent; | ||
export interface AtArbitraryComponent { | ||
@@ -21,2 +20,3 @@ type: 'arbitrary'; | ||
} | ||
export type AtComponent = AtArbitraryComponent | AtFeatureComponent | AtOperatorComponent; | ||
export type ValueComponent = StringValueComponent | NumericValueComponent | FunctionValueComponent | VariableValueComponent | SeparatorValueComponent; | ||
@@ -23,0 +23,0 @@ export interface StringValueComponent { |
import type { SyntaxRule } from '../syntax-rule'; | ||
export default function areRuleAtEqual(aSyntaxRule: SyntaxRule, bSyntaxRule: SyntaxRule): boolean; | ||
export default function areRuleAtEqual(a: SyntaxRule, b: SyntaxRule): boolean; |
@@ -1,1 +0,1 @@ | ||
{"name":"@master/css","type":"module","scripts":{"build":"techor build \"src/**/*.ts\"","dev":"pnpm build --watch","test":"vitest","type-check":"tsc --noEmit","lint":"eslint"},"license":"MIT","description":"The CSS language and framework for rapidly building modern and high-performance websites","author":"Aoyue Design LLC.","funding":"https://rc.css.master.co/sponsor","homepage":"https://css.master.co","bugs":{"url":"https://github.com/master-co/css/issues"},"repository":{"type":"git","url":"https://github.com/master-co/css.git","directory":"packages/core"},"keywords":["style","styles","html","variants","virtual","virtual-css","utility","css","ui","lightweight","class","webpack","plugin","integration","vite","parcel","build-tools","mastercss"],"sideEffects":false,"main":"./dist/index.cjs","jsnext:main":"./dist/index.mjs","esnext":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"bin":"./dist/bin/index.mjs","files":["dist"],"publishConfig":{"access":"public","provenance":true},"dependencies":{"@master/colors":"^2.1.0","@master/normal.css":"^3.1.0","@techor/extend":"^3.2.0","csstype":"^3.1.3"},"devDependencies":{"shared":"^2.0.0-rc.60"},"version":"2.0.0-rc.60"} | ||
{"name":"@master/css","type":"module","scripts":{"build":"techor build \"src/**/*.ts\"","dev":"pnpm build --watch","test":"vitest","type-check":"tsc --noEmit","lint":"eslint"},"license":"MIT","description":"The CSS language and framework for rapidly building modern and high-performance websites","author":"Aoyue Design LLC.","funding":"https://rc.css.master.co/sponsor","homepage":"https://css.master.co","bugs":{"url":"https://github.com/master-co/css/issues"},"repository":{"type":"git","url":"https://github.com/master-co/css.git","directory":"packages/core"},"keywords":["style","styles","html","variants","virtual","virtual-css","utility","css","ui","lightweight","class","webpack","plugin","integration","vite","parcel","build-tools","mastercss"],"sideEffects":false,"main":"./dist/index.cjs","jsnext:main":"./dist/index.mjs","esnext":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"bin":"./dist/bin/index.mjs","files":["dist"],"publishConfig":{"access":"public","provenance":true},"dependencies":{"@master/colors":"^2.1.0","@master/normal.css":"^3.1.0","@techor/extend":"^3.2.0","csstype":"^3.1.3"},"devDependencies":{"shared":"^2.0.0-rc.61"},"version":"2.0.0-rc.61"} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
467017
0.43%129
2.38%13713
0.09%