This project is mirrored from https://github.com/angular/angular.git.
Pull mirroring updated .
- Jan 16, 2025
-
-
arturovt authored
Switches to using `RuntimeError` and drops the error message in production by replacing it with an error code. PR Close #59471
-
Matthieu Riegler authored
This commit introduces an update to the official recommendations when it comes to class & styles bindings. `[class]` & `[style]` bindings are now recommended for basic uses cases. `[ngClass]` and `[ngStyle]` allow more advanced bindings (like space separated keys) or keys with units (for `ngStyle`) which are not supported by the native bindings. They still require the dedicated directives. PR Close #59240
-
Angular Robot authored
Updated Angular CLI help contents. PR Close #59536
-
Jeremy Elbourn authored
We recently saw some confusion around this, so it's worth adding a sentence to clarify PR Close #59533
- Jan 15, 2025
-
-
carimatics authored
The input tags written within the flowcharts in the document were not being escaped, so we did that. This change will ensure that the flowcharts in the document are properly displayed. PR Close #59517
-
Sandeep Salwan authored
PR Close #59526
-
Andrew Kushnir authored
This reverts commit e15226a4. PR Close #59523
-
Abdul Wahab authored
PR Close #59521
-
Angular Robot authored
See associated pull request for more information. PR Close #59520
-
hawkgs authored
There are some code blocks that slipped through the initial Regex-es. Related to #59026 PR Close #59088
-
hawkgs authored
Fix issues related to scrolling in the API reference: - Scroll to the top of the page when navigating to the API details page - Preserve scroll position when navigating back from the API details page PR Close #59207
-
arturovt authored
Prior to this commit, the `this.lcpObserver?.updateImage` expression was still preserved in the production code because it wasn't wrapped with `ngDevMode`. The observer is injected only in development mode. Additionally, we moved the logic from `ngOnDestroy` to avoid having an empty method in production. PR Close #59481
-
Angular Robot authored
See associated pull request for more information. Closes #59494 as a takeover pull request PR Close #59519
-
arturovt authored
In this commit, we replace `isPlatformServer` runtime call with the `ngServerMode` in the `transferCacheInterceptorFn` in order to make the functionality tree-shakable between client and server bundles. PR Close #59439
-
Kristiyan Kostadinov authored
Currently when we swap out the component during HMR, we remove the renderer from the cache, but we never destroy it which means that its styles are still in the DOM. This can cause the old styles to leak into the component after they're replaced. These changes add a `destroy` call to ensure that they're removed. PR Close #59514
-
hawkgs authored
Change the order from left-right to top-down (columns) and additionally make columns equal width. PR Close #58655
-
hawkgs authored
Fix SCSS "declarations after nested rules" and `@import` warnings. PR Close #59115
-
Matthieu Riegler authored
Those 2 clases weren't imported anywhere. PR Close #59297
-
Andrew Kushnir authored
This commit updates incremental hydration-related annotation logic to avoid serializing parent block id when it's `null` (for top-level blocks). PR Close #59190
-
Angular Robot authored
See associated pull request for more information. PR Close #59508
-
hawkgs authored
Generate the `NavigationItem`-s as part of adev/shared-docs pipeline and use the output JSON files instead of the hardcoded objects in the `sub-navigation-data.ts`. PR Close #59355
-
- Jan 14, 2025
-
-
Angular Robot authored
See associated pull request for more information. PR Close #59510
-
Angular Robot authored
See associated pull request for more information. PR Close #59511
-
Angular Robot authored
See associated pull request for more information. PR Close #59513
-
Pawel Kozlowski authored
Use case-sensitive user name. PR Close #59516
-
RafaelJCamara authored
Improved the initialization of the headers map to enhance performance and code readability. No breaking changes. PR Close #59268
-
arturovt authored
In this commit, we lazy-load the `EmbeddedTutorialManager` in the editor UI state as done in other parts of the code. PR Close #59509
-
Charles Lyding authored
As of 19.1, component HMR for both styles and templates is considered stable and enabled by default. This includes support for both inline and file-based component styles/templates. PR Close #59503
-
arturovt authored
In this commit, we lazy-load the `EmbeddedTutorialManager` in the code editor component as done in other parts of the code. PR Close #59505
-
AleksanderBodurri authored
It looks like this height property was redundant prior to upgrading to angular/material 19.1.0-rc.0. An interaction between this property and that update caused elements inside of material expansion panels to be hidden. This PR removes this unnecessary height assignment entirely. PR Close #59493
-
Angular Robot authored
See associated pull request for more information. PR Close #59474
-
arturovt authored
In this commit, we extract content types into a variable to eliminate extra bytes, as these values are duplicated in multiple places. PR Close #59467
-
arturovt authored
Note: this enums are not a part of the public API. Prior to this commit, the compiler produced: ```js var DateType; (function (DateType) { DateType[DateType["FullYear"] = 0] = "FullYear"; DateType[DateType["Month"] = 1] = "Month"; DateType[DateType["Date"] = 2] = "Date"; DateType[DateType["Hours"] = 3] = "Hours"; DateType[DateType["Minutes"] = 4] = "Minutes"; DateType[DateType["Seconds"] = 5] = "Seconds"; DateType[DateType["FractionalSeconds"] = 6] = "FractionalSeconds"; DateType[DateType["Day"] = 7] = "Day"; })(DateType || (DateType = {})); ``` With these changes, we allow objects to be dropped entirely and inlined. PR Close #59468
-
arturovt authored
We change the `enum` to a plain `const` to eliminate extra bytes, as `enum` is not really required. We might not be able to switch to `const enum` due to single-file compilation restrictions. PR Close #59469
-
Kristiyan Kostadinov authored
Adds a test for the fix from #59452 now that we know what caused the issue. PR Close #59497
-
- Jan 13, 2025
-
-
Kristiyan Kostadinov authored
Fixes a typo in the `AstVisitor.visitTypeofExpresion` method's name. PR Close #59479
-
Amy Sorto authored
PR Close #59078
-
arturovt authored
In this commit, we lazy-load `EmbeddedTutorialManager` in the home editor component via `injectAsync` as done in other parts of the code. PR Close #59491
-
Bobokhuja authored
PR Close #59312
-