/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/declaration.d.ts (2650B)
import Node from './node.js' interface DeclarationRaws { /** * The space symbols before the node. It also stores `*` * and `_` symbols before the declaration (IE hack). */ before?: string /** * The symbols between the property and value for declarations. */ between?: string /** * The content of the important statement, if it is not just `!important`. */ important?: string /** * Declaration value with comments. */ value: { value: string raw: string } } export interface DeclarationProps { prop: string value: string raws?: DeclarationRaws } /** * Represents a CSS declaration. * * ```js * Once (root, { Declaration }) { * let color = new Declaration({ prop: 'color', value: 'black' }) * root.append(color) * } * ``` * * ```js * const root = postcss.parse('a { color: black }') * const decl = root.first.first * decl.type //=> 'decl' * decl.toString() //=> ' color: black' * ``` */ export default class Declaration extends Node { type: 'decl' raws: DeclarationRaws /** * The declaration's property name. * * ```js * const root = postcss.parse('a { color: black }') * const decl = root.first.first * decl.prop //=> 'color' * ``` */ prop: string /** * The declaration’s value. * * This value will be cleaned of comments. If the source value contained * comments, those comments will be available in the `raws` property. * If you have not changed the value, the result of `decl.toString()` * will include the original raws value (comments and all). * * ```js * const root = postcss.parse('a { color: black }') * const decl = root.first.first * decl.value //=> 'black' * ``` */ value: string /** * `true` if the declaration has an `!important` annotation. * * ```js * const root = postcss.parse('a { color: black !important; color: red }') * root.first.first.important //=> true * root.first.last.important //=> undefined * ``` */ important: boolean /** * `true` if declaration is declaration of CSS Custom Property * or Sass variable. * * ```js * const root = postcss.parse(':root { --one: 1 }') * let one = root.first.first * one.variable //=> true * ``` * * ```js * const root = postcss.parse('$one: 1') * let one = root.first * one.variable //=> true * ``` */ variable: boolean constructor (defaults?: DeclarationProps) clone (overrides?: Partial): this cloneBefore (overrides?: Partial): this cloneAfter (overrides?: Partial): this }