@master/css
Advanced tools
Comparing version 2.0.0-beta.200 to 2.0.0-beta.201
@@ -24,4 +24,2 @@ import { Rule, NativeRule, RuleDefinition } from './rule'; | ||
readonly style: HTMLStyleElement; | ||
readonly host: Element; | ||
readonly root: Document | ShadowRoot; | ||
styles: Record<string, string[]>; | ||
@@ -46,18 +44,8 @@ stylesBy: Record<string, string[]>; | ||
readonly classesUsage: {}; | ||
readonly observing = false; | ||
readonly config: Config; | ||
private readonly semanticRuleOptions; | ||
private readonly ruleOptions; | ||
observer: MutationObserver; | ||
constructor(customConfig?: Config); | ||
resolve(): void; | ||
/** | ||
* Observe the DOM for changes and update the running stylesheet. (browser only) | ||
* @param targetRoot root element to observe. default: document | ||
* @param options mutation observer options | ||
* @returns this | ||
*/ | ||
observe(targetRoot: Document | ShadowRoot | null | undefined, options?: MutationObserverInit): this; | ||
disconnect(): void; | ||
/** | ||
* Match check if Master CSS class syntax | ||
@@ -78,2 +66,3 @@ * @param syntax class syntax | ||
refresh(customConfig?: Config): void; | ||
reset(): void; | ||
destroy(): void; | ||
@@ -106,5 +95,5 @@ /** | ||
private getExtendedConfig; | ||
private handleRuleWithAnimationNames; | ||
private handleRuleWithVariableNames; | ||
private pushVariableNativeRule; | ||
handleRuleWithAnimationNames(rule: Rule, initializing?: boolean): void; | ||
handleRuleWithVariableNames(rule: Rule, initializing?: boolean): void; | ||
pushVariableNativeRule(theme: string, variableCSSRule: CSSStyleRule): NativeRule; | ||
} | ||
@@ -114,5 +103,3 @@ declare global { | ||
MasterCSS: typeof MasterCSS; | ||
masterCSSConfig: Config; | ||
masterCSSs: MasterCSS[]; | ||
masterCSS: MasterCSS; | ||
} | ||
@@ -119,0 +106,0 @@ namespace NodeJS { |
@@ -1,2 +0,2 @@ | ||
import { MasterCSS } from '../core'; | ||
import { RuntimeCSS } from '../runtime'; | ||
import type { Config } from '../config'; | ||
@@ -9,2 +9,2 @@ /** | ||
*/ | ||
export default function initRuntime(config?: Config, targetRoot?: Document | ShadowRoot | null): MasterCSS; | ||
export default function initRuntime(config?: Config): RuntimeCSS; |
export { MasterCSS, MasterCSS as default } from './core'; | ||
export { RuntimeCSS } from './runtime'; | ||
export { Rule, NativeRule, MediaFeatureComponent, MediaQuery } from './rule'; | ||
@@ -3,0 +4,0 @@ export { CONFIG_TEXT } from './constants/config-text'; |
@@ -1,1 +0,1 @@ | ||
{"name":"@master/css","scripts":{"build":"techor pack --external @master/css-renderer @master/css-extractor","dev":"pnpm run build --watch --no-declare","test":"jest","type-check":"tsc --noEmit","lint":"eslint src"},"license":"MIT","description":"A markup-driven CSS language with enhanced syntax","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/css"},"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.bundle.js","jsnext:main":"./dist/index.bundle.mjs","esnext":"./dist/index.bundle.mjs","module":"./dist/index.bundle.mjs","browser":"./dist/index.browser.bundle.js","types":"./dist/index.d.ts","exports":{".":{"browser":{"import":"./dist/index.bundle.mjs","types":"./dist/index.browser.d.ts"},"require":"./dist/index.bundle.js","import":"./dist/index.bundle.mjs","types":"./dist/index.d.ts"}},"files":["dist"],"bin":{"mcss":"./dist/bin/index.bundle.js","mastercss":"./dist/bin/index.bundle.js"},"publishConfig":{"access":"public"},"dependencies":{"@master/normal.css":"^2.0.0-beta.200","@techor/fs":"^2.5.4","@techor/log":"^2.5.4","commander":"^11.0.0"},"devDependencies":{"@techor/extend":"^2.5.4","@techor/pack":"^2.5.4","css-shared":"^2.0.0-beta.200","csstype":"^3.1.2","puppeteer":"^21.0.1","vite":"^4.2.1"},"version":"2.0.0-beta.200"} | ||
{"name":"@master/css","scripts":{"build":"techor pack --external @master/css-renderer @master/css-extractor","dev":"pnpm run build --watch --no-declare","test":"jest","type-check":"tsc --noEmit","lint":"eslint src"},"license":"MIT","description":"A markup-driven CSS language with enhanced syntax","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/css"},"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.bundle.js","jsnext:main":"./dist/index.bundle.mjs","esnext":"./dist/index.bundle.mjs","module":"./dist/index.bundle.mjs","browser":"./dist/runtime.browser.bundle.js","types":"./dist/index.d.ts","exports":{".":{"browser":{"import":"./dist/index.bundle.mjs","types":"./dist/runtime.browser.d.ts"},"require":"./dist/index.bundle.js","import":"./dist/index.bundle.mjs","types":"./dist/index.d.ts"}},"files":["dist"],"bin":{"mcss":"./dist/bin/index.bundle.js","mastercss":"./dist/bin/index.bundle.js"},"publishConfig":{"access":"public"},"dependencies":{"@master/normal.css":"^2.0.0-beta.201","@techor/fs":"^2.5.4","@techor/log":"^2.5.4","commander":"^11.0.0"},"devDependencies":{"@techor/extend":"^2.5.4","@techor/pack":"^2.5.4","css-shared":"^2.0.0-beta.201","csstype":"^3.1.2","puppeteer":"^21.0.1","vite":"^4.2.1"},"version":"2.0.0-beta.201"} |
Sorry, the diff of this file is too big to display
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
249593
40
2172