@@ -34,36 +34,36 @@ declare namespace juice {
3434 export interface Callback { ( err : Error , html : string ) : any ; }
3535
3636 interface Options {
37- extraCss ?: string ;
37+ applyAttributesTableElements ?: boolean ;
38+ applyHeightAttributes ?: boolean ;
3839 applyStyleTags ?: boolean ;
39- removeStyleTags ?: boolean ;
40- removeInlinedSelectors ?: boolean ;
41- preserveMediaQueries ?: boolean ;
40+ applyWidthAttributes ?: boolean ;
41+ decodeStyleAttributes ?: boolean ;
42+ extraCss ?: string ;
43+ inlineDuplicateProperties ?: boolean ;
44+ inlinePseudoElements ?: boolean ;
45+ insertPreservedExtraCss ?: boolean ;
4246 preserveFontFaces ?: boolean ;
47+ preserveImportant ?: boolean ;
4348 preserveKeyFrames ?: boolean ;
49+ preserveMediaQueries ?: boolean ;
4450 preservePseudos ?: boolean ;
45- insertPreservedExtraCss ?: boolean ;
46- applyWidthAttributes ?: boolean ;
47- applyHeightAttributes ?: boolean ;
48- applyAttributesTableElements ?: boolean ;
51+ removeInlinedSelectors ?: boolean ;
52+ removeStyleTags ?: boolean ;
53+ resolveCSSVariables ?: boolean ;
4954 webResources ?: WebResourcesOptions ;
50- inlinePseudoElements ?: boolean ;
5155 xmlMode ?: boolean ;
52- preserveImportant ?: boolean ;
53- resolveCSSVariables ?: boolean ;
54- decodeStyleAttributes ?: boolean ;
55- inlineDuplicateProperties ?: boolean ;
5656 }
5757
5858 interface WebResourcesOptions {
5959 fileContent ?: string ;
60- inlineAttribute ?: string ;
6160 images ?: boolean | number ;
62- svgs ?: boolean | number ;
63- scripts ?: boolean | number ;
61+ inlineAttribute ?: string ;
6462 links ?: boolean | number ;
65- relativeTo ?: string ;
6663 rebaseRelativeTo ?: string ;
64+ relativeTo ?: string ;
65+ scripts ?: boolean | number ;
6766 strict ?: boolean ;
67+ svgs ?: boolean | number ;
6868 }
6969}
0 commit comments