717 Commits

Author SHA1 Message Date
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
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
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
George Kalpakas
99d330a1b7 style(aio): remove background from lazy-loading concept icon ()
Fixes 

PR Close 
2018-05-21 16:08:08 -04:00
Stefanie Fluin
b7c417f618 feat(aio): add brand and concept icons, img style class more flexible ()
PR Close 
2018-05-15 15:36:06 -07:00
George Kalpakas
474dbf09ec fix(aio): make background transparent in 144x144 PWA icon ()
Fixes 

PR Close 
2018-05-11 12:38:21 -04:00
Igor Minar
b25e15c317 feat(aio): add v6 release notification ()
PR Close 
2018-05-04 15:23:36 -07:00
George Kalpakas
3b067c8579 fix(aio): remove main background color when printing ()
PR Close 
2018-05-04 15:21:13 -07:00
George Kalpakas
57cf5509e6 fix(aio): fix code-example print styles when printing backgrounds ()
Fixes 

PR Close 
2018-05-04 15:21:13 -07:00
George Kalpakas
3f20a5c7c8 refactor(aio): use the same selectors for screen and print styles ()
PR Close 
2018-05-04 15:21:13 -07:00
George Kalpakas
14d8a98001 refactor(aio): include print styles last to overwrite other styles ()
PR Close 
2018-05-04 15:21:13 -07:00
Ardeshir81
297723d0bc refactor(aio): move right margin from .home image to .home anchor ()
This makes the outline of `.home` symmetric.

PR Close 
2018-05-02 15:54:14 -07:00
Ardeshir81
bb07fbde76 style(aio): add space between .home and .hamburger ()
When the `.hamburger` icon is clicked, it's background is drawn until
the very edge of `.home`'s image, leaving no space.

PR Close 
2018-05-02 15:54:14 -07:00
George Kalpakas
aad3444a58 test(aio): fix failing tests ()
PR Close 
2018-04-17 14:09:02 -07:00
Igor Minar
7493435911 test(aio): move reflect-metadata polyfills to test.ts ()
This resolves https://github.com/angular/angular-cli/issues/10333 and nicely cleans up the code.

PR Close 
2018-04-17 14:09:02 -07:00
George Kalpakas
76f8ae31ad test(aio): fix tests and update testing infra ()
PR Close 
2018-04-17 14:09:02 -07:00
Igor Minar
103846a51d build(aio): update tslint and codelyzer ()
PR Close 
2018-04-17 14:09:02 -07:00
Igor Minar
d35f84a167 build(aio): update to @angular/material@6.0.0-rc.1 ()
PR Close 
2018-04-17 14:09:02 -07:00
Igor Minar
fc5af69fb2 build(aio): update to @angular/cli@6.0.0-rc.2 + project layout update ()
project layout was updated using:
yarn ng update @angular/cli --migrate-only --from=1.7.3

PR Close 
2018-04-17 14:09:02 -07:00
Rafael
639d52fe71 refactor: ensure all 'TODO's are consistent ()
PR Close 
2018-04-13 13:11:01 -07:00
George Kalpakas
eac36d7e1a test(aio): fix DocViewerComponent tests ()
Obsolete assertions left over from .

PR Close 
2018-04-13 08:06:19 -07:00
Amit Portnoy
c2a53bbf61 fix(aio): remove additional 'googlebot' reference ()
according to https://developers.google.com/search/reference/robots_meta_tag
googlebot is only used as a google specific override of 'robots'- there's no need for override in this case

PR Close 
2018-04-13 00:35:29 -07:00
George Kalpakas
3b607e60e9 refactor(aio): remove unused images ()
PR Close 
2018-04-05 10:12:09 -07:00
JiaLi.Passion
c560423b52 build: upgrade zone.js ()
PR Close 
2018-04-04 08:24:02 -07:00
George Kalpakas
8c10df30d7 fix(aio): wait for the app to stabilize before registering the SW ()
This commit also waits for the app to stabilize, before starting to
check for ServiceWorker updates. This avoids setting up a long timeout,
which would prevent the app from stabilizing and thus cause issues with
Protractor.

PR Close 
2018-03-30 15:26:50 -07:00
Teamop
7de13b60d6 style(aio): fix typo in the scrollbar ()
PR Close 
2018-03-29 08:57:41 -07:00
Veres Lajos
0ebdb3d12f style: typo fix amendments ()
PR Close 
2018-03-27 14:51:53 -04:00
Veres Lajos
de90314304 style: typos fixed - https://github.com/vlajos/misspell-fixer ()
PR Close 
2018-03-27 14:51:53 -04:00
George Kalpakas
01d2dd2a3a refactor(aio): switch to pipeable RxJS operators ()
PR Close 
2018-03-23 12:53:58 -04:00
George Kalpakas
91503e538e test(aio): minor improvements ()
PR Close 
2018-03-23 12:53:58 -04:00
George Kalpakas
53227abe7b build(aio): upgrade rxjs to 6.0.0-beta.0 ()
PR Close 
2018-03-23 12:53:58 -04:00
Igor Minar
328511be8e build(aio): update to typescript@2.7.2 ()
PR Close 
2018-03-23 12:53:58 -04:00
Andrew Seguin
cf3ff7d219 feat(elements): another polyfill solution ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
d72f44556d feat(elements): rebase ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
167fdf745c feat(elements): rename API to createCustomElement ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
87f60bccfd feat(elements): injector create ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
46efd4b938 feat(elements): George's comments ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
19368085aa feat(elements): provide type, not factory; remove config need ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
44f637a88b feat(elements): fix test ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
863aff1a77 feat(elements): add polyfill for elements es5 shim ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
7c9b411777 feat(aio): migrate embedded comp to elements ()
PR Close 
2018-03-16 12:39:07 -07:00
Pete Bacon Darwin
d509bd6849 build(aio): improve the API Pipe pages ()
This change adds:

* an impure badge for Pipes that are marked as  `pure: false`
* a pipe specific overview that shows the syntax for using a pipe in a template.
* an "input value" section describing the type of the value that the pipe expects.
* a "pipe params" section describing any additional params that a pipe expects.

PR Close 
2018-03-14 14:21:11 -07:00
Pete Bacon Darwin
049757b237 fix(aio): constrain error logging to improve reporting ()
The `Logger.error()` method now only accepts a single `Error` parameter
and passes this through to the error handler.
This allows the error handler to serialize the error more accurately.

The various places that use `Logger.error()` have been updated.

See #21943#issuecomment-370230047

PR Close 
2018-03-14 10:52:11 -07:00
Pete Bacon Darwin
94bc277b1b fix(aio): tidy up embedded ToC styling ()
The spacing didn't work well when the screen was narrow.

PR Close 
2018-03-05 21:25:09 -08:00
Pete Bacon Darwin
8ea4c57174 fix(aio): reposition and shrink the API badges ()
Closes 

PR Close 
2018-03-05 21:25:09 -08:00
Pete Bacon Darwin
53b0fe8144 feat(aio): allow template to position embedded ToC ()
Previously the doc-viewer would insert an embedded `<aio-toc>` element
into the DOM directly after the H1 element. Now it will not do this
if there is already a such element in the doc contents.

This allows the content-author/template-developer to position the ToC
for specific cases.

PR Close 
2018-03-05 21:25:09 -08:00