10417 Commits

Author SHA1 Message Date
George Kalpakas
c2e131119b refactor(aio): rename method (loadContainingCustomElements --> loadContainedCustomElements) ()
PR Close 
2018-05-29 18:00:33 -04:00
George Kalpakas
7866684f2b fix(aio): avoid loading the ToC component until it is necessary ()
PR Close 
2018-05-29 18:00:33 -04:00
George Kalpakas
6e05ae02a2 fix(aio): show embedded ToC ()
On narrow screens (where there is not enough room on the right to show
the floating ToC), an embedded ToC is shown (via an `<aio-toc embedded>`
element in the document). Since ToC was not a custom element, the
component was not instantiated for the embedded element.

This commit fixes it by making `aio-toc` a custom element and loading it
manually for the floating ToC (if necessary).

PR Close 
2018-05-29 18:00:33 -04:00
George Kalpakas
431a42a238 feat(aio): add component for lazy-loading custom element ()
PR Close 
2018-05-29 18:00:33 -04:00
George Kalpakas
7a9c987e56 refactor(aio): order custom elements by selector ()
PR Close 
2018-05-29 18:00:33 -04:00
George Kalpakas
ae86cb3be0 fix(aio): do not load custom elements again while already loading ()
PR Close 
2018-05-29 18:00:33 -04:00
George Kalpakas
a6f34be9f5 build(aio): update payload size limits ()
PR Close 
2018-05-29 18:00:33 -04:00
Danny Rademacher
d74078fb88 docs(http): correct spelling error ()
Correct a spelling error. I changed HttpParms to HttpParams
PR Close 
2018-05-29 16:55:06 -04:00
Pete Bacon Darwin
ddd6124802 feat(aio): display code-tabs in a Material Design "card" ()
This helps to connect the "content" of the tab to its label.

Closes 

PR Close 
2018-05-29 16:52:06 -04:00
Pete Bacon Darwin
96a0e131bf feat(aio): render hover status on code-tabs ()
The Material Design spec states that there should be a change
of background when hovering over a tab label.

See https://material.io/design/components/tabs.html#states

Related to 

PR Close 
2018-05-29 16:52:06 -04:00
Alex Eagle
e43d3fa4b7 build: pick up rules_typescript karma fix ()
Error was Cannot find module 'karma/bin/karma'

PR Close 
2018-05-29 16:50:11 -04:00
Juri
7657535718 docs(aio): fix link to correct bio image ()
PR Close 
2018-05-29 16:27:49 -04:00
Mashhood Rastgar
3de80fc7fb docs(aio): Added Mashhood as GDE in contributors ()
PR Close 
2018-05-29 16:20:05 -04:00
Victor Berchet
729c797890 fix(ivy): pipeBindV takes an array of values ()
PR Close 
2018-05-25 13:46:50 -04:00
Victor Berchet
188ff848d2 fix(ivy): pureFunctionV takes an array of values ()
PR Close 
2018-05-25 13:46:50 -04:00
Victor Berchet
280a784fe3 refactor(ivy): remove insignificant '...' in the compiler tests ()
PR Close 
2018-05-25 13:46:50 -04:00
Victor Berchet
4f36340de7 feat(ivy): add support for short-circuiting ()
Short-circuitable expressions (using ternary & binary operators) could not use
the regular binding mechanism as it relies on the bindings being checked every
single time - the index is incremented as part of checking the bindings.

Then for pure function kind of bindings we use a different mechanism with a
fixed index. As such short circuiting a binding check does not mess with the
expected binding index.

Note that all pure function bindings are handled the same wether or not they
actually are short-circuitable. This allows to keep the compiler and compiled
code simple - and there is no runtime perf cost anyway.

PR Close 
2018-05-25 13:46:50 -04:00
Tiago Temporin
83bb5d1922 docs(aio): add material community components ()
PR Close 
2018-05-25 13:45:40 -04:00
George Kalpakas
3e39fef274 refactor(aio): improve logging output in update-preview-server.sh ()
PR Close 
2018-05-25 13:44:44 -04:00
Juri
36cc72ee5b docs(aio): add Juri Strumpflohner to GDE resources ()
PR Close 
2018-05-25 13:43:50 -04:00
alexzuza
01b5acd7cf fix(compiler): generate core-compliant hostBindings property ()
This makes `hostBindings` code, generated by compiler and used in core package, identical.

Fix 

PR Close 
2018-05-25 13:42:53 -04:00
Stephen Fluin
186118e684 docs(aio): remove outdated rangle link ()
PR Close 
2018-05-25 13:41:59 -04:00
Kara Erickson
609e6b9787 refactor(ivy): move child from LNode to TNode ()
PR Close 
2018-05-25 13:41:00 -04:00
Kara Erickson
68bf8c36c6 refactor(ivy): move type from LNode to TNode ()
PR Close 
2018-05-25 13:40:59 -04:00
Kara Erickson
8216657681 refactor(ivy): add tNodes for view nodes and hosts ()
PR Close 
2018-05-25 13:40:59 -04:00
Matias Niemelä
13cb75da8b release: cut the v6.0.3 release 2018-05-22 16:43:05 -07:00
Judy Bogart
23a98b9e51 docs: add doc to event-management api ()
PR Close 
2018-05-22 17:33:49 -04:00
JoostK
bd149e5d67 fix(ivy): compile interpolated bindings without superfluous bind instruction ()
This fixes the case where the compiler would generate a bind(interpolation#())
instruction.

PR Close 
2018-05-22 17:05:41 -04:00
thebyteman
fb906a87e8 docs(aio): fix typo ()
PR Close 
2018-05-22 16:35:17 -04:00
Heo Sangmin
0bdd30e34f fix(service-worker): check platformBrowser before accessing navigator.serviceWorker ()
PR Close 
2018-05-22 15:09:31 -04:00
Miško Hevery
373fa78d7f fix: merge collision ()
PR Close 
2018-05-22 14:49:38 -04:00
Jeremy Elbourn
26fbf1d13c feat(platform-browser): add HammerJS lazy-loader symbols to public API ()
PR Close 
2018-05-22 13:41:16 -04:00
Brandon Roberts
608c3748e8 docs(aio): Remove outdated README.md from cli-quickstart zip ()
Closes 

PR Close 
2018-05-22 13:37:15 -04:00
Patrick McDonald
6d8c847e7b docs: fix typo ()
"Made" doesn't make sense (redoing and closing )
PR Close 
2018-05-22 13:35:13 -04:00
Alex Rickabaugh
919f42fea1 feat(ivy): first steps towards JIT compilation ()
This commit adds a mechanism by which the @angular/core annotations
for @Component, @Injectable, and @NgModule become decorators which,
when executed at runtime, trigger just-in-time compilation of their
associated types. The activation of these decorators is configured
by the ivy_switch mechanism, ensuring that the Ivy JIT engine does
not get included in Angular bundles unless specifically requested.

PR Close 
2018-05-21 19:13:50 -04:00
Miško Hevery
1b6b936ef4 test(ivy): Add bazel flag to control building ViewEngine or Ivy ()
PR Close 
2018-05-21 19:13:50 -04:00
Brandon Roberts
db2329ef6a docs(aio): Add missing dependencies and files to testing zip file download ()
Closes 

PR Close 
2018-05-21 16:12:40 -04:00
VTHINKXIE
de267e97c9 docs(aio): add ant design of angular in resources ()
PR Close 
2018-05-21 16:11:13 -04:00
George Kalpakas
f8c6947205 fix(aio): avoid unnecessary re-calculations in live-examples ()
With `plnkrs`, we used to choose a different plnkr mode (normal vs
embedded) based on the size of the screen. This affected the layout of
the plnkr page ("embedded" plnkr mode was usable on small screens, while
"normal" mode wasn't). This is not to be confused with the live-example
mode we use today to determine whether the live-example should be a link
(that open StackBlitz on a new page) or embedded into the document
(using an iframe).

Since we no longer need to change the live-example URL based on the
screen size, there is no need to listen for rezise events on Window. The
necessary properties can be computed once and certain variables are
obsolete.

PR Close 
2018-05-21 16:10:12 -04:00
George Kalpakas
41fea84957 fix(aio): allow setting live-example title from content ()
Previously, it was possible to set the live-example title as content in
the `<live-example>` element. This relied on our custom loader
functionality that extracted the content from the DOM element before
passing it to the Angular compiler and stored it on a property for later
retrieval.
Since we switched to custom elements (and got rid of the custom loader),
the property is no longer populated with the contents. As a result, many
live examples show the default title ("live example") instead of the one
specified as content.

This commit fixes it by projecting the content into an invisible node
for later retrieval  (similar to what we do in other components, such as
the `CodeExampleComponent`).

PR Close 
2018-05-21 16:10:12 -04:00
George Kalpakas
a7b07defe1 refactor(aio): clean up attribute-utils ()
PR Close 
2018-05-21 16:10:12 -04:00
Kara Erickson
6e7d071c6b fix(ivy): move next property to TNode ()
PR Close 
2018-05-21 16:09:12 -04:00
George Kalpakas
99d330a1b7 style(aio): remove background from lazy-loading concept icon ()
Fixes 

PR Close 
2018-05-21 16:08:08 -04:00
mhartington
3cdf5afc6e docs(aio): add mhartington to gde ()
PR Close 
2018-05-21 16:05:18 -04:00
Akihito Tamagawa
ea4321d912 docs(aio): fix typo ()
are are -> are
PR Close 
2018-05-21 16:04:08 -04:00
Collin Klopfenstein
88ab1d0e55 docs(aio): changed 'onVoted' output property to 'voted' to be in line with the styleguide ()
PR Close 
2018-05-16 17:23:05 -04:00
Brandon Roberts
20d76374ed docs(aio): Expose server and CLI configuration for universal in guide ()
Closes 

PR Close 
2018-05-16 17:21:44 -04:00
Fabian Wiles
8ee25e6b58 ci: ensure github-robot listens on circleci builds ()
PR Close 
2018-05-16 17:20:43 -04:00
Alex Eagle
43597279d6 test: don't run unit tests on Firefox ()
PR Close 
2018-05-16 17:19:45 -04:00
Alexander Burakevych
55103419e9 docs(aio): add Angular Conf Australia to events ()
Angular Conf Australia 2018 will be held at June 22 in Melbourne, Australia! 

https://www.angularconf.com.au/
PR Close 
2018-05-16 17:18:46 -04:00