@master/css
Advanced tools
Comparing version 2.0.0-rc.17 to 2.0.0-rc.19
@@ -35,3 +35,3 @@ import mediaQueries from './media-queries'; | ||
export type VariableDefinitions = { | ||
[key in keyof typeof rules]?: VariableDefinition; | ||
[key in keyof typeof rules]?: VariableDefinition | VariableValue; | ||
} & { | ||
@@ -38,0 +38,0 @@ [key: string]: VariableDefinition | VariableValue; |
@@ -1,3 +0,4 @@ | ||
import { Rule, NativeRule, RegisteredRule } from './rule'; | ||
import { Rule, type NativeRule, type RegisteredRule } from './rule'; | ||
import type { Config, AnimationDefinitions } from './config'; | ||
import './types/global'; | ||
type VariableValue = { | ||
@@ -22,16 +23,2 @@ type: 'string'; | ||
}; | ||
export default interface MasterCSS { | ||
readonly style: HTMLStyleElement; | ||
styles: Record<string, string[]>; | ||
stylesBy: Record<string, string[]>; | ||
selectors: Record<string, [RegExp, string[]][]>; | ||
variables: Record<string, Variable>; | ||
mediaQueries: Record<string, string | number>; | ||
variablesNativeRules: Record<string, NativeRule>; | ||
hasKeyframesRule: boolean; | ||
animations: Record<string, AnimationDefinitions & { | ||
usage?: number; | ||
native?: NativeRule; | ||
}>; | ||
} | ||
export default class MasterCSS { | ||
@@ -96,2 +83,16 @@ customConfig: Config; | ||
export declare const masterCSSs: MasterCSS[]; | ||
export default interface MasterCSS { | ||
readonly style: HTMLStyleElement; | ||
styles: Record<string, string[]>; | ||
stylesBy: Record<string, string[]>; | ||
selectors: Record<string, [RegExp, string[]][]>; | ||
variables: Record<string, Variable>; | ||
mediaQueries: Record<string, string | number>; | ||
variablesNativeRules: Record<string, NativeRule>; | ||
hasKeyframesRule: boolean; | ||
animations: Record<string, AnimationDefinitions & { | ||
usage?: number; | ||
native?: NativeRule; | ||
}>; | ||
} | ||
export {}; |
import MasterCSS, { type Variable } from './core'; | ||
import { Layer } from './layer'; | ||
import { PropertiesHyphen } from 'csstype'; | ||
import { type PropertiesHyphen } from 'csstype'; | ||
export declare class Rule { | ||
@@ -5,0 +5,0 @@ readonly className: string; |
@@ -1,1 +0,1 @@ | ||
{"name":"@master/css","type":"module","scripts":{"build":"techor build \"src/**/*.ts\"","dev":"pnpm build --watch","test":"jest","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/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.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"},"dependencies":{"@master/normal.css":"^2.0.0-rc.17","@techor/extend":"^3.0.11"},"devDependencies":{"css-shared":"^2.0.0-rc.17","csstype":"^3.1.2"},"version":"2.0.0-rc.17"} | ||
{"name":"@master/css","type":"module","scripts":{"build":"techor build \"src/**/*.ts\"","dev":"pnpm build --watch","test":"jest","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/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.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/normal.css":"^2.0.0-rc.19","@techor/extend":"^3.0.16"},"devDependencies":{"css-shared":"^2.0.0-rc.19","csstype":"^3.1.3"},"version":"2.0.0-rc.19"} |
@@ -51,3 +51,3 @@ <br> | ||
</a> | ||
<a aria-label="Github Actions" href="https://github.com/1aron/repo/actions/workflows/release.yml"> | ||
<a aria-label="Github Actions" href="https://github.com/master-co/css/actions/workflows/release.yml"> | ||
<picture> | ||
@@ -54,0 +54,0 @@ <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/github/actions/workflow/status/master-co/css/release.yml?branch=rc&label=%20&message=twitter&color=212022&logo=githubactions&style=for-the-badge"> |
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
428477
97
12655
Updated@techor/extend@^3.0.16