/var/www/cobraambalaj/node_modules/postcss/lib
NameSizeModeActions
at-rule.d.ts22050644editdlrm
at-rule.js4740644editdlrm
comment.d.ts10950644editdlrm
comment.js2040644editdlrm
container.d.ts127260644editdlrm
container.js101830644editdlrm
css-syntax-error.d.ts48300644editdlrm
css-syntax-error.js22990644editdlrm
declaration.d.ts26500644editdlrm
declaration.js4970644editdlrm
fromJSON.d.ts1070644editdlrm
fromJSON.js15070644editdlrm
input.d.ts28160644editdlrm
input.js45490644editdlrm
lazy-result.d.ts48330644editdlrm
lazy-result.js122790644editdlrm
list.d.ts8500644editdlrm
list.js11700644editdlrm
map-generator.js73060644editdlrm
node.d.ts113480644editdlrm
node.js69090644editdlrm
parse.d.ts890644editdlrm
parse.js11480644editdlrm
parser.js133230644editdlrm
postcss.d.ts105690644editdlrm
postcss.js25130644editdlrm
postcss.mjs8550644editdlrm
previous-map.d.ts16180644editdlrm
previous-map.js39600644editdlrm
processor.d.ts29440644editdlrm
processor.js19650644editdlrm
result.d.ts40860644editdlrm
result.js7500644editdlrm
root.d.ts11950644editdlrm
root.js12130644editdlrm
rule.d.ts20780644editdlrm
rule.js5720644editdlrm
stringifier.js79960644editdlrm
stringify.d.ts1070644editdlrm
stringify.js2140644editdlrm
symbols.js570644editdlrm
terminal-highlight.js13600644editdlrm
tokenize.js65420644editdlrm
warn-once.js2250644editdlrm
warning.d.ts19350644editdlrm
warning.js6500644editdlrm
Edit: /var/www/cobraambalaj/node_modules/postcss/lib/rule.d.ts (2078B)
import Container, { ContainerProps } from './container.js' interface RuleRaws { /** * The space symbols before the node. It also stores `*` * and `_` symbols before the declaration (IE hack). */ before?: string /** * The space symbols after the last child of the node to the end of the node. */ after?: string /** * The symbols between the selector and `{` for rules. */ between?: string /** * Contains `true` if the last child has an (optional) semicolon. */ semicolon?: boolean /** * Contains `true` if there is semicolon after rule. */ ownSemicolon?: string /** * The rule’s selector with comments. */ selector?: { value: string raw: string } } export interface RuleProps extends ContainerProps { selector?: string selectors?: string[] raws?: RuleRaws } /** * Represents a CSS rule: a selector followed by a declaration block. * * ```js * Once (root, { Rule }) { * let a = new Rule({ selector: 'a' }) * a.append(…) * root.append(a) * } * ``` * * ```js * const root = postcss.parse('a{}') * const rule = root.first * rule.type //=> 'rule' * rule.toString() //=> 'a{}' * ``` */ export default class Rule extends Container { type: 'rule' raws: RuleRaws /** * The rule’s full selector represented as a string. * * ```js * const root = postcss.parse('a, b { }') * const rule = root.first * rule.selector //=> 'a, b' * ``` */ selector: string /** * An array containing the rule’s individual selectors. * Groups of selectors are split at commas. * * ```js * const root = postcss.parse('a, b { }') * const rule = root.first * * rule.selector //=> 'a, b' * rule.selectors //=> ['a', 'b'] * * rule.selectors = ['a', 'strong'] * rule.selector //=> 'a, strong' * ``` */ selectors: string[] constructor (defaults?: RuleProps) clone (overrides?: Partial): this cloneBefore (overrides?: Partial): this cloneAfter (overrides?: Partial): this }