cexbrayat
ae0fce613f
docs: more info on currency digits ( #24661 )
...
Adds an example of using the `currency` pipe with a currency that has no cents like CLP,
which will format the amount with no digits if `digitsInfo` is not provided:
<!-- outputs CA$14.00 -->
{{ 14 | currency:'CAD' }}
<!-- outputs CLP14 -->
{{ 14 | currency:'CLP' }}
Amends the docs, adds an example and fix an error with a current example.
PR Close #24661
2018-07-20 10:33:07 -07:00
Victor Berchet
3c93d07124
fix(common): format fractional seconds ( #24844 )
...
fix a bug introduced in #24831
PR Close #24844
2018-07-11 14:32:33 -07:00
Victor Berchet
0746485136
fix(common): do not round factional seconds ( #24831 )
...
fixes #24384
PR Close #24831
2018-07-10 18:48:06 -07:00
Olivier Combe
a92f111b66
fix(common): use correct currency format for locale de-AT ( #24658 )
...
Fixes #24609
PR Close #24658
2018-07-09 15:10:07 -07:00
riren
0437598609
docs(common): fix in the documentation of PUT ( #24528 )
...
PR Close #24528
2018-07-06 10:13:20 -07:00
Sergej
bc2bf184a2
docs: describe rounding behaviour of 'DecimalPipe' ( #24303 )
...
PR Close #24303
2018-07-06 10:13:00 -07:00
Rafael
ada486a1dd
docs: fix typos in 'Httpclient' docs ( #19127 )
...
PR Close #19127
2018-07-06 10:09:41 -07:00
Miško Hevery
dd931c73ec
ci: fix broken build ( #24747 )
2018-07-03 13:30:17 -07:00
Trotyl
9a98de941d
fix(common): properly update collection reference in NgForOf ( #24684 )
...
closes #24155
PR Close #24684
2018-06-29 06:43:45 -07:00
Olivier Combe
64a8584a92
fix(common): use correct ICU plural for locale mk ( #24659 )
...
PR Close #24659
2018-06-27 15:03:34 -07:00
Judy Bogart
3341a97154
docs: test doc for decorator templates ( #23902 )
...
PR Close #23902
2018-06-25 10:58:00 -07:00
Jason Aden
2056e1f05c
Revert "docs: test doc for decorator templates ( #23902 )"
...
This reverts commit 3938a8be75240a9a59dae9f2c999e936b98de429.
2018-06-25 10:54:47 -07:00
Judy Bogart
3938a8be75
docs: test doc for decorator templates ( #23902 )
...
PR Close #23902
2018-06-25 10:09:15 -07:00
Judy Bogart
65744e4ae1
docs: test api doc for pipes ( #24141 )
...
PR Close #24141
2018-06-25 09:37:30 -07:00
Pete Bacon Darwin
7fd9918024
docs: remove unnecessary @linkDocs
tags ( #24000 )
...
It is cleaner and simpler to use just a straightforward link.
PR Close #24000
2018-06-13 16:47:42 -07:00
Alex Eagle
b3089b4963
build: update buildifier to latest ( #24296 ) ( #24453 )
...
this matches the version in ngcontainer:0.3.1
PR Close #24296
PR Close #24453
2018-06-13 11:19:59 -07:00
Vikram Subramanian
2991b1b217
fix(platform-server): avoid dependency cycle when using http interceptor ( #24229 )
...
Fixes #23023 .
When a HTTP Interceptor injects HttpClient it causes a DI cycle. This fix is to use Injector to lazily inject HTTP_INTERCEPTORS while setting up the HttpHandler on the server so as to break the cycle.
PR Close #24229
2018-06-01 08:33:46 -07:00
Alex Eagle
ad6052e397
test: switch to ts_web_test_suite ( #23859 )
...
Unit tests now run on Firefox too
PR Close #23859
2018-05-15 11:41:58 -07:00
swseverance
12dcb313af
style: remove empty comments ( #23404 )
...
PR Close #23404
2018-05-10 15:48:13 -07:00
Igor Minar
ecde15298a
build: update to rxjs@6.0.0 ( #23679 )
...
PR Close #23679
2018-05-03 10:53:39 -07:00
Olivier Combe
540626a3a6
build(common): mark locales files as side-effect-full ( #23509 )
...
Fixes https://github.com/angular/angular-cli/issues/10322
PR Close #23509
2018-04-24 11:14:52 -07:00
Olivier Combe
d1177c75f8
refactor: update CLDR data for closure locale & use a const for undefined ( #23372 )
...
PR Close #23372
2018-04-13 16:30:23 -07:00
Igor Minar
aa27155618
build(common): mark locales files as side-effect-full ( #23366 )
...
These files are in the UMD format for greater portablity, and as such
can't be marked as side-effect-free by webpack/build-optimizer/uglify.
PR Close #23366
2018-04-13 13:09:13 -07:00
Olivier Combe
ce40e85cbb
refactor(common): update CLDR data to v33.0.0 ( #23265 )
...
PR Close #23265
2018-04-11 15:34:46 -07:00
Olivier Combe
5706810af2
fix(common): replace i18n locale undefined values by a const ( #23265 )
...
Fixes #22988
PR Close #23265
2018-04-11 15:34:46 -07:00
Pete Bacon Darwin
4b96a58c5a
docs: remove all deprecated @stable
jsdoc tags ( #23210 )
...
These are no longer needed as stable docs are computed as those that
do not have `@experimental` or `@deprecated` tags.
PR Close #23210
2018-04-10 21:49:32 -07:00
Alex Eagle
5a298b1c5e
fix(common): workaround UMD/webpack limitation ( #23271 )
...
Fixes #23217
PR Close #23271
2018-04-09 15:16:12 -07:00
Pete Bacon Darwin
381da1af45
build(aio): move "optional" and "default" to end of param description ( #23062 )
...
PR Close #23062
2018-04-05 09:25:15 -07:00
Pete Bacon Darwin
cdd05bd2ca
docs(common): move Pipe param docs to transform
function ( #23062 )
...
PR Close #23062
2018-04-05 09:25:15 -07:00
Pete Bacon Darwin
079d8e57d5
docs(common): migrate @whatItDoes
tags to the description ( #23062 )
...
We get the overview for the doc by splitting off the first
paragraph.
PR Close #23062
2018-04-05 09:25:15 -07:00
Pete Bacon Darwin
46ba7f69dd
docs(common): migrate @howToUse
tags ( #23062 )
...
In pipes the content of these tags is now generated automatically.
In directives these tags have been converted to `@usageNotes` tags,
but in the future me might find a way to generate that usage too.
PR Close #23062
2018-04-05 09:25:15 -07:00
Pawel Kozlowski
aaefd51a88
refactor(common): simplify NgClass code, add comments ( #21937 )
...
PR Close #21937
2018-04-04 09:41:17 -07:00
Pawel Kozlowski
4a426696c9
fix(common): properly take className changes into account ( #21937 )
...
Fixes #21932
PR Close #21937
2018-04-04 09:41:16 -07:00
Alex Eagle
46eadb5cfb
build: fix common locales in npm package ( #23153 )
...
PR Close #23153
2018-04-04 08:23:07 -07:00
Alan Agius
7ca772060b
fix(common): locales
are not being shipped ( #23136 )
...
Closes : #23140 , #23103
PR Close #23136
2018-04-03 10:47:51 -07:00
Igor Minar
92724b396b
build: update to rxjs@6.0.0-rc.0 ( #23106 )
...
PR Close #23106
2018-04-03 10:00:24 -07:00
Alex Eagle
15278784fc
release(bazel): change publish-next script to publish bazel artifacts ( #23097 )
...
PR Close #23097
2018-03-30 14:03:05 -07:00
Igor Minar
6f7d14064c
build: update to rxjs@6.0.0-beta.4 ( #23084 )
...
PR Close #23084
2018-03-30 13:07:03 -07: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
Matias Niemelä
bf6a416bce
revert: docs(common): add HttpParamsOptions
to the public API ( #20332 )
...
This reverts commit 7b7757dd3d38a95ed20a6dd2d6db44f269eec087.
2018-03-26 16:29:46 -04:00
George Kalpakas
7b7757dd3d
docs(common): add HttpParamsOptions
to the public API ( #20332 )
...
Fixes #20276
PR Close #20332
2018-03-23 16:31:10 -04:00
sergeome
7966744a44
fix(common): titlecase pipe ( #22600 )
...
PR Close #22600
2018-03-23 13:42:51 -04:00
Igor Minar
8768665587
fix: correct peerDependencies declaration on rxjs
2018-03-20 22:48:41 -07:00
Igor Minar
7d095b96cd
fix: correct several esm2015 entry-points in package.jsons ( #22892 )
...
PR Close #22892
2018-03-20 13:30:08 -07:00
Alex Eagle
689f351092
build: expose flatModuleOutFile option on ng_module ( #22814 )
...
This lets projects like Material change ng_package "bundle index" files to non-conflicting paths
Currently packages like @angular/core ship with the generated metadata
in a path like 'core.js' which overwrites one of the inputs.
Angular material puts the generated file in a path like 'index.js'
Either way these files generated by ng_module rules have the potential
to collide with inputs given by the user, which results in an error.
Instead, give users the freedom to choose a different non-conflicting name.
Also this refactors the ng_package rule, removing the redundant
secondary_entry_points attribute.
Instead, we assume that any ng_module in the deps with a module_name
attribute is a secondary entry point.
PR Close #22814
2018-03-20 13:28:57 -07:00
Igor Minar
b43f8bc7d3
feat(core): upgrade rxjs to 6.0.0-alpha.4 ( #22573 )
...
PR Close #22573
2018-03-19 21:51:51 -07:00
Igor Minar
ce63dc6f95
feat: update the package output of build.sh to APF v6 ( #22808 )
...
PR Close #22808
2018-03-18 09:33:51 -07:00
Alex Eagle
f9247e4b2e
build: enable importHelpers in tsconfig ( #22812 )
...
This is the primary tsconfig file used for Bazel builds.
Previously, we enabled this option only for releases.
PR Close #22812
2018-03-15 21:16:03 -07:00
Igor Minar
44de10e2db
feat: mark angular packages as side-effect free ( #22785 )
...
This flag is picked up by webpack v4 and used for more agressive optimizations.
Our code is already side-effect free, because that's what we needed for build-optimizer to work.
PR Close #22785
2018-03-15 14:52:40 -07:00
Alex Eagle
88b3198c80
feat(bazel): change ng_package rule to APF v6 ( #22782 )
...
Angular Package Format v6 stops bundling files in the esm5 and esm2015
directories, now that Webpack 4 can tree-shake per-file.
Adds some missing files like package.json to make packages closer to
what we publish today.
Refactor ng_package to be a type of npm_package and re-use the packaging
action from that rule.
PR Close #22782
2018-03-15 11:38:31 -07:00