23 Commits

Author SHA1 Message Date
Victor Berchet
acbf1d859c fix(core): fix pseudo-selector shimming ()
fixes 
fixes 
2016-11-07 13:56:04 -08:00
Victor Berchet
aa92512ac6 fix(compiler): properly shim :host:before and :host(:before) ()
fixes 
2016-10-10 09:15:15 -07:00
Victor Berchet
a63359689f fix(ShadowCss): fix attribute selectors in :host and :host-context ()
Fix a regression introduced in  while fixing 
2016-10-04 15:40:31 -07:00
Victor Berchet
9316f95467 fix(ShadowCss): support @page and @document CSS rules ()
fixes 
2016-09-30 16:26:24 -07:00
Victor Berchet
83d94b7504 fix(ShadowCss): support quoted attribute values
fixes 
2016-09-30 14:37:41 -07:00
Victor Berchet
a121136fae refactor(ShadowCss): add missing types 2016-09-30 14:37:41 -07:00
Victor Berchet
a6bb84e02b fix(ShadowCss): fix :host(tag) and :host-context(tag)
fixes 
2016-09-30 14:37:41 -07:00
Victor Berchet
6c4ec05a4a fix(ShadowCss): support [attr="value with space"]
fixes 
2016-09-30 10:27:35 -07:00
Victor Berchet
f7bfda31ff refactor(ShadowCss): cleanup 2016-09-30 10:27:35 -07:00
Alex Eagle
41c8c30973 chore(lint): remove unused imports ()
This was done automatically by tslint, which can now fix issues it finds.
The fixer is still pending in PR https://github.com/palantir/tslint/pull/1568
Also I have a local bugfix for https://github.com/palantir/tslint/issues/1569
which causes too many imports to be deleted.
2016-09-27 17:12:25 -07:00
esagawe
734b8b8c13 fix(compiler): [attribute~=value] selector ()
Change the seperator regular expression to ignore tildes which are followed by an equal sign.

Closes 
2016-09-18 15:58:19 -07:00
Victor Berchet
af63378fa0 fix(ShadowCss): properly shim selectors after :host and :host-context ()
fixes 

Before the change:

    // original CSS
    :host .foo .bar {...}
    .foo .bar {...}

    // translated to 
    [_nghost-shh-2] .foo .bar {...}
    .foo[_ngcontent-shh-2] .bar[_ngcontent-shh-2] {...}

Note that `.foo` and `.bar` where not scoped and would then apply to nested components.

With this change those selectors are scoped (as they are without  `:host`).

You can explicitly apply the style to inner component by using `>>>` or `/deep/`: `:host >>> .foo`
2016-08-26 16:11:57 -07:00
Zhicheng Wang
05d1312306 refactor(core): Replace all var with const and let 2016-08-14 10:10:07 -07:00
Zhicheng Wang
bc6d1c87a6 fix(core): don't strip sourceMappingURL ()
fix 
2016-08-14 10:10:07 -07:00
Jason Choi
99989f5d3f chore(facade): remove most facade/async functions 2016-08-05 12:26:28 -07:00
Jason Choi
83e2d3d1cb refactor(RegExpWrapper): remove the facade () 2016-08-05 09:50:49 -07:00
Julie Ralph
3d8eb8cbca fix(platform-browser/testing): clean up public api for platform-browser/testing ()
Mostly, removing things that were never intended to be exported publicy.

BREAKING CHANGE:

The following are no longer publicly exported APIs. They were intended as internal
utilities and you should use your own util:

```
browserDetection,
dispatchEvent,
el,
normalizeCSS,
stringifyElement,
expect (and custom matchers for Jasmine)
```
2016-06-23 16:42:25 -07:00
ScottSWu
ae75e3640a chore(lint): Added license headers to most TypeScript files
Relates to 
2016-06-23 09:47:54 -07:00
Alex Eagle
f39c9c9e75 style(lint): re-format modules/@angular 2016-06-09 17:00:15 -07:00
ScottSWu
86fbd50c3d refactor(TypeScript): Add noImplicitAny
We automatically insert explicit 'any's where needed. These need to be
addressed as in .

Fixes 
2016-06-08 16:20:50 -07:00
alexcastillo
cb84cbf545 feat(shadow_css): add encapsulation support for CSS @supports at-rule
Closes 
2016-05-20 13:02:24 -07:00
Igor Minar
a66cdb469f repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00
Igor Minar
505da6c0a8 repackaging: all the file moves 2016-05-01 20:51:00 -07:00