Pete Bacon Darwin
74b250b146
feat(docs-infra): enable filtering by package on API list page ( #24631 )
...
PR Close #24631
2018-07-13 19:45:55 -04:00
Pete Bacon Darwin
d8c828c9b1
build(docs-infra): implement the 'package' API template ( #24631 )
...
PR Close #24631
2018-07-13 19:45:54 -04:00
George Kalpakas
e01b539ee5
refactor: infer type for it()
assertion functions ( #19904 )
...
PR Close #19904
2018-07-06 13:48:02 -07:00
Pete Bacon Darwin
8c51ce6f3b
build(docs-infra): move overload short description above syntax ( #24526 )
...
PR Close #24526
2018-06-25 07:56:36 -07:00
Stefanie Fluin
a26965812b
feat(docs-infra): Add GitHub and Twitter external icon links to topnav toolbar ( #24542 )
...
PR Close #24542
2018-06-20 16:50:15 -07:00
Pete Bacon Darwin
39af314e29
build(aio): add github links to API doc members ( #24000 )
...
This change adds Github edit and view links to methods
and decorator options.
It is possible to add these to properties also but the
UI is rather tight as these are displayed in a table.
PR Close #24000
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin
66f6a48210
fix(aio): tidy up API doc styles ( #24000 )
...
* Code anchors should inherit the font size from their container
* Table headings should align with content
PR Close #24000
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin
e371b226fa
build(aio): rearrange decorator API doc template ( #24000 )
...
The overview of the decorator options is now a table.
The detailed description of each option is now a full section.
PR Close #24000
2018-06-13 16:47:40 -07:00
Michał Gołębiowski-Owczarek
8be6892777
fix(docs-infra): use script nomodule to load IE polyfills, skip other polyfills ( #24317 )
...
This commit includes two changes:
1. It changes the unreliable dynamic way of loading IE polyfills to use
`<script nomodule>` instead - for IE it's equivalent to a regular script tag
while modern browsers will ignore it.
2. It removes other polyfills for browsers not supporting `Object.assign` as
this API is supported by Chrome 45+, Firefox 34+ and Safari 9+ i.e. it's been
supported for some time.
Note that as of June 2018 Googlebot uses Chrome 41 to render sites to be
indexed. Chrome 41 doesn't support `Object.assign` but it also doesn't support
ES6 modules so it'll load polyfills meant for IE - which it should do anyway
as it doesn't support most of ES6.
Fixes #23647
PR Close #24317
2018-06-08 13:34:06 -07:00
George Kalpakas
255463ed48
fix(aio): remove unnecessary scrollbar in code-tabs
( #24207 )
...
PR Close #24207
2018-06-04 12:07:25 -07:00
George Kalpakas
b4bbdb4ce2
fix(aio): add right-margin to .home
link ( #24207 )
...
PR Close #24207
2018-06-04 12:07:25 -07:00
George Kalpakas
c2e131119b
refactor(aio): rename method (loadContainingCustomElements --> loadContainedCustomElements) ( #23944 )
...
PR Close #23944
2018-05-29 18:00:33 -04:00
George Kalpakas
7866684f2b
fix(aio): avoid loading the ToC component until it is necessary ( #23944 )
...
PR Close #23944
2018-05-29 18:00:33 -04:00
George Kalpakas
6e05ae02a2
fix(aio): show embedded ToC ( #23944 )
...
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 #23944
2018-05-29 18:00:33 -04:00
George Kalpakas
431a42a238
feat(aio): add component for lazy-loading custom element ( #23944 )
...
PR Close #23944
2018-05-29 18:00:33 -04:00
George Kalpakas
7a9c987e56
refactor(aio): order custom elements by selector ( #23944 )
...
PR Close #23944
2018-05-29 18:00:33 -04:00
George Kalpakas
ae86cb3be0
fix(aio): do not load custom elements again while already loading ( #23944 )
...
PR Close #23944
2018-05-29 18:00:33 -04:00
Pete Bacon Darwin
ddd6124802
feat(aio): display code-tabs in a Material Design "card" ( #24027 )
...
This helps to connect the "content" of the tab to its label.
Closes #23985
PR Close #24027
2018-05-29 16:52:06 -04:00
Pete Bacon Darwin
96a0e131bf
feat(aio): render hover status on code-tabs ( #24027 )
...
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 #23985
PR Close #24027
2018-05-29 16:52:06 -04:00
George Kalpakas
f8c6947205
fix(aio): avoid unnecessary re-calculations in live-examples ( #23960 )
...
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 #23960
2018-05-21 16:10:12 -04:00
George Kalpakas
41fea84957
fix(aio): allow setting live-example title from content ( #23960 )
...
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 #23960
2018-05-21 16:10:12 -04:00
George Kalpakas
a7b07defe1
refactor(aio): clean up attribute-utils
( #23960 )
...
PR Close #23960
2018-05-21 16:10:12 -04:00
George Kalpakas
99d330a1b7
style(aio): remove background from lazy-loading
concept icon ( #23950 )
...
Fixes #23938
PR Close #23950
2018-05-21 16:08:08 -04:00
Zhicheng Wang
f7a6ccbb5d
fix: merge code & fix some issues
2018-05-16 08:19:28 +08:00
Stefanie Fluin
b7c417f618
feat(aio): add brand and concept icons, img style class more flexible ( #23589 )
...
PR Close #23589
2018-05-15 15:36:06 -07:00
Zhicheng Wang
8136953a09
Merge branch 'en-master' into aio
...
# Conflicts:
# aio/content/examples/dynamic-component-loader/src/app/ad-banner.component.ts
# aio/content/examples/reactive-forms/src/app/hero-list/hero-list.component.ts
# aio/content/examples/upgrade-module/src/systemjs.config.1.js
# aio/content/guide/aot-compiler.md
# aio/content/guide/architecture-components.md
# aio/content/guide/architecture-modules.md
# aio/content/guide/architecture-next-steps.md
# aio/content/guide/architecture-services.md
# aio/content/guide/architecture.md
# aio/content/guide/bootstrapping.md
# aio/content/guide/cheatsheet.md
# aio/content/guide/comparing-observables.md
# aio/content/guide/component-styles.md
# aio/content/guide/dependency-injection-in-action.md
# aio/content/guide/dependency-injection.md
# aio/content/guide/deployment.md
# aio/content/guide/docs-style-guide.md
# aio/content/guide/dynamic-component-loader.md
# aio/content/guide/elements.md
# aio/content/guide/glossary.md
# aio/content/guide/hierarchical-dependency-injection.md
# aio/content/guide/http.md
# aio/content/guide/lifecycle-hooks.md
# aio/content/guide/ngmodule-faq.md
# aio/content/guide/npm-packages.md
# aio/content/guide/observables.md
# aio/content/guide/providers.md
# aio/content/guide/quickstart.md
# aio/content/guide/reactive-forms.md
# aio/content/guide/releases.md
# aio/content/guide/router.md
# aio/content/guide/service-worker-config.md
# aio/content/guide/service-worker-devops.md
# aio/content/guide/service-worker-getting-started.md
# aio/content/guide/service-worker-intro.md
# aio/content/guide/setup.md
# aio/content/guide/singleton-services.md
# aio/content/guide/styleguide.md
# aio/content/guide/testing.md
# aio/content/guide/typescript-configuration.md
# aio/content/guide/universal.md
# aio/content/guide/updating.md
# aio/content/guide/upgrade.md
# aio/content/marketing/features.html
# aio/content/navigation.json
# aio/content/tutorial/toh-pt0.md
# aio/content/tutorial/toh-pt3.md
# aio/content/tutorial/toh-pt4.md
# aio/content/tutorial/toh-pt5.md
# aio/content/tutorial/toh-pt6.md
# aio/package.json
# aio/src/app/documents/document.service.ts
# aio/src/app/layout/doc-viewer/doc-viewer.component.ts
# aio/src/app/shared/toc.service.ts
# aio/tools/transforms/templates/api/base.template.html
# aio/yarn.lock
2018-05-15 23:26:31 +08:00
George Kalpakas
474dbf09ec
fix(aio): make background transparent in 144x144 PWA icon ( #23851 )
...
Fixes #23827
PR Close #23851
2018-05-11 12:38:21 -04:00
Igor Minar
b25e15c317
feat(aio): add v6 release notification ( #23690 )
...
PR Close #23690
2018-05-04 15:23:36 -07:00
George Kalpakas
3b067c8579
fix(aio): remove main background color when printing ( #23538 )
...
PR Close #23538
2018-05-04 15:21:13 -07:00
George Kalpakas
57cf5509e6
fix(aio): fix code-example
print styles when printing backgrounds ( #23538 )
...
Fixes #23431
PR Close #23538
2018-05-04 15:21:13 -07:00
George Kalpakas
3f20a5c7c8
refactor(aio): use the same selectors for screen and print styles ( #23538 )
...
PR Close #23538
2018-05-04 15:21:13 -07:00
George Kalpakas
14d8a98001
refactor(aio): include print styles last to overwrite other styles ( #23538 )
...
PR Close #23538
2018-05-04 15:21:13 -07:00
Ardeshir81
297723d0bc
refactor(aio): move right margin from .home
image to .home
anchor ( #23624 )
...
This makes the outline of `.home` symmetric.
PR Close #23624
2018-05-02 15:54:14 -07:00
Ardeshir81
bb07fbde76
style(aio): add space between .home
and .hamburger
( #23624 )
...
When the `.hamburger` icon is clicked, it's background is drawn until
the very edge of `.home`'s image, leaving no space.
PR Close #23624
2018-05-02 15:54:14 -07:00
George Kalpakas
aad3444a58
test(aio): fix failing tests ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
7493435911
test(aio): move reflect-metadata polyfills to test.ts ( #23234 )
...
This resolves https://github.com/angular/angular-cli/issues/10333 and nicely cleans up the code.
PR Close #23234
2018-04-17 14:09:02 -07:00
George Kalpakas
76f8ae31ad
test(aio): fix tests and update testing infra ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
103846a51d
build(aio): update tslint and codelyzer ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
d35f84a167
build(aio): update to @angular/material@6.0.0-rc.1 ( #23234 )
...
PR Close #23234
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 ( #23234 )
...
project layout was updated using:
yarn ng update @angular/cli --migrate-only --from=1.7.3
PR Close #23234
2018-04-17 14:09:02 -07:00
Rafael
639d52fe71
refactor: ensure all 'TODO's are consistent ( #23252 )
...
PR Close #23252
2018-04-13 13:11:01 -07:00
George Kalpakas
eac36d7e1a
test(aio): fix DocViewerComponent
tests ( #23359 )
...
Obsolete assertions left over from #23249 .
PR Close #23359
2018-04-13 08:06:19 -07:00
Amit Portnoy
c2a53bbf61
fix(aio): remove additional 'googlebot' reference ( #23249 )
...
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 #23249
2018-04-13 00:35:29 -07:00
George Kalpakas
3b607e60e9
refactor(aio): remove unused images ( #23018 )
...
PR Close #23018
2018-04-05 10:12:09 -07:00
JiaLi.Passion
c560423b52
build: upgrade zone.js ( #23108 )
...
PR Close #23108
2018-04-04 08:24:02 -07:00
George Kalpakas
8c10df30d7
fix(aio): wait for the app to stabilize before registering the SW ( #22483 )
...
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 #22483
2018-03-30 15:26:50 -07:00
Teamop
7de13b60d6
style(aio): fix typo in the scrollbar ( #23064 )
...
PR Close #23064
2018-03-29 08:57:41 -07:00
Zhicheng Wang
da6669fdcc
fix: 修改维护者
2018-03-28 16:14:09 +08:00
Veres Lajos
0ebdb3d12f
style: typo fix amendments ( #22975 )
...
PR Close #22975
2018-03-27 14:51:53 -04:00
Veres Lajos
de90314304
style: typos fixed - https://github.com/vlajos/misspell-fixer ( #22975 )
...
PR Close #22975
2018-03-27 14:51:53 -04:00