This repository was archived by the owner on Aug 25, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { DOCUMENT } from '@angular/common' ;
22import { Inject , Injectable } from '@angular/core' ;
33import { ɵSharedStylesHost as SharedStylesHost } from '@angular/platform-browser' ;
4- import { processAutoPx } from './process-auto-px' ;
5- import { autoPx } from '../meta/compiler' ;
4+ import { autoPx , processAutoPx } from './process-auto-px' ;
65import { StyleDef } from '../meta/def' ;
76import { Style } from '../meta/style' ;
87import { isString } from '../utils/is-string' ;
Original file line number Diff line number Diff line change 11import { isString } from '../utils/is-string' ;
22
3+ export const autoPx = [
4+ 'border-radius' ,
5+ 'border-top-left-radius' ,
6+ 'border-top-right-radius' ,
7+ 'border-bottom-right-radius' ,
8+ 'border-bottom-left-radius' ,
9+ 'border-width' ,
10+ 'border-top-width' ,
11+ 'border-right-width' ,
12+ 'border-bottom-width' ,
13+ 'border-left-width' ,
14+ 'bottom' ,
15+ 'height' ,
16+ 'left' ,
17+ 'line-height' ,
18+ 'margin' ,
19+ 'margin-bottom' ,
20+ 'margin-left' ,
21+ 'margin-right' ,
22+ 'margin-top' ,
23+ 'max-height' ,
24+ 'max-width' ,
25+ 'min-height' ,
26+ 'min-width' ,
27+ 'padding' ,
28+ 'padding-bottom' ,
29+ 'padding-left' ,
30+ 'padding-right' ,
31+ 'padding-top' ,
32+ 'right' ,
33+ 'top' ,
34+ 'width' ,
35+ ] ;
336export function processAutoPx ( rawValue : string | number ) {
437 return isString ( rawValue )
538 ? rawValue
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11export * from './color' ;
2- export * from './compiler' ;
32export * from './component' ;
43export * from './css' ;
54export * from './def' ;
You can’t perform that action at this time.
0 commit comments