@master/css
Advanced tools
Comparing version 2.0.0-rc.39 to 2.0.0-rc.40
@@ -1,2 +0,2 @@ | ||
import queries from './queries'; | ||
import at from './at'; | ||
import selectors from './selectors'; | ||
@@ -12,3 +12,3 @@ import utilities from './utilities'; | ||
declare const config: Config; | ||
export { config, queries, selectors, utilities, rules, functions, animations, variables, modes }; | ||
export { config, at, selectors, utilities, rules, functions, animations, variables, modes }; | ||
export type VariableValue = number | string | Array<number | string>; | ||
@@ -27,4 +27,4 @@ export type VariableDefinition = { | ||
}; | ||
export type MediaQueryDefinitions = { | ||
[key: string]: number | string | MediaQueryDefinitions; | ||
export type AtDefinitions = { | ||
[key: string]: number | string | AtDefinitions; | ||
}; | ||
@@ -60,3 +60,3 @@ export type StyleDefinitions = { | ||
styles?: StyleDefinitions; | ||
queries?: MediaQueryDefinitions; | ||
at?: AtDefinitions; | ||
selectors?: SelectorDefinitions; | ||
@@ -63,0 +63,0 @@ utilities?: UtilityDefinitions; |
@@ -422,7 +422,2 @@ declare const variables: { | ||
min: string; | ||
'font-family': { | ||
mono: string[]; | ||
sans: string[]; | ||
serif: string[]; | ||
}; | ||
screen: { | ||
@@ -441,2 +436,7 @@ '4xs': number; | ||
}; | ||
'font-family': { | ||
mono: string[]; | ||
sans: string[]; | ||
serif: string[]; | ||
}; | ||
'font-weight': { | ||
@@ -443,0 +443,0 @@ thin: number; |
@@ -29,3 +29,3 @@ import { Rule, type NativeRule, type RegisteredRule } from './rule'; | ||
export default class MasterCSS { | ||
customConfig: Config; | ||
customConfig?: Config | undefined; | ||
static config: Config; | ||
@@ -37,3 +37,3 @@ readonly rules: Rule[]; | ||
readonly Rules: RegisteredRule[]; | ||
constructor(customConfig?: Config); | ||
constructor(customConfig?: Config | undefined); | ||
resolve(): void; | ||
@@ -94,3 +94,3 @@ /** | ||
variables: Record<string, Variable>; | ||
queries: Record<string, string | number>; | ||
at: Record<string, string | number>; | ||
variablesNativeRules: Record<string, NativeRule>; | ||
@@ -97,0 +97,0 @@ hasKeyframesRule: boolean; |
@@ -11,3 +11,3 @@ export * from './config'; | ||
export { default as areRuleModesEqual } from './utils/are-rule-modes-equal'; | ||
export { default as areRuleQueriesEqual } from './utils/are-rule-queries-equal'; | ||
export { default as areRuleAtEqual } from './utils/are-rule-at-equal'; | ||
export { default as areRuleSelectorsEqual } from './utils/are-rule-selectors-equal'; | ||
@@ -14,0 +14,0 @@ export { default as areRuleStatesEqual } from './utils/are-rule-states-equal'; |
import type { Config } from '../config'; | ||
export default function extendConfig(...configs: Config[]): Config; | ||
export default function extendConfig(...configs: (Config | undefined)[]): Config; |
@@ -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 src"},"license":"MIT","description":"The CSS language and framework for rapidly building modern and high-performance websites","author":"Aoyue Design LLC.","funding":"https://css.master.co/docs/donate","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":{".":{"require":"./dist/index.cjs","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"bin":"./dist/bin/index.mjs","files":["dist"],"publishConfig":{"access":"public","provenance":true},"dependencies":{"@master/colors":"^2.0.0","@master/normal.css":"^3.0.0","@techor/extend":"^3.0.22","csstype":"^3.1.3"},"devDependencies":{"@master/css-shared":"^2.0.0-rc.39"},"version":"2.0.0-rc.39"} | ||
{"name":"@master/css","type":"module","scripts":{"build":"techor build \"src/**/*.ts\"","dev":"pnpm build --watch","test":"vitest","type-check":"tsc --noEmit","lint":"eslint src"},"license":"MIT","description":"The CSS language and framework for rapidly building modern and high-performance websites","author":"Aoyue Design LLC.","funding":"https://css.master.co/docs/donate","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":{".":{"require":"./dist/index.cjs","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"bin":"./dist/bin/index.mjs","files":["dist"],"publishConfig":{"access":"public","provenance":true},"dependencies":{"@master/colors":"^2.0.0","@master/normal.css":"^3.0.0","@techor/extend":"^3.0.22","csstype":"^3.1.3"},"devDependencies":{"@master/css-shared":"^2.0.0-rc.40"},"version":"2.0.0-rc.40"} |
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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
429452
100
12620