Skip to content

Commit bf17e32

Browse files
Merge branch 'main' into fix/form_field/outline_label_when_prefix_not_visible
2 parents 5264fd2 + 27503ed commit bf17e32

File tree

315 files changed

+15057
-15374
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

315 files changed

+15057
-15374
lines changed

.github/CODEOWNERS

Lines changed: 16 additions & 316 deletions
Large diffs are not rendered by default.

CHANGELOG.md

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,90 @@
1+
<a name="18.1.0-next.2"></a>
2+
# 18.1.0-next.2 "ivory-infinity" (2024-06-12)
3+
### cdk
4+
| Commit | Type | Description |
5+
| -- | -- | -- |
6+
| [0bc6583892](https://github.com/angular/components/commit/0bc65838926e88723bfc677fc3e4de81826cfe5b) | feat | **drag-drop:** add mixed orientation support |
7+
### material
8+
| Commit | Type | Description |
9+
| -- | -- | -- |
10+
| [6f698fa4e2](https://github.com/angular/components/commit/6f698fa4e24ef4637b2c83f43cb608df967a78b5) | feat | **core:** add option to configure prefix of system variables ([#29139](https://github.com/angular/components/pull/29139)) |
11+
| [e7312037f7](https://github.com/angular/components/commit/e7312037f75dad5482b06868542ec2a715c116fc) | fix | **dialog:** Make autofocus work with animations disabled ([#29195](https://github.com/angular/components/pull/29195)) |
12+
| [3b32d0e7c9](https://github.com/angular/components/commit/3b32d0e7c95b358d30f8b7e6b0570ab8ba815a06) | fix | **dialog:** Make focus behavior consistent across zoneful/zoneless apps ([#29192](https://github.com/angular/components/pull/29192)) |
13+
| [566057b8f5](https://github.com/angular/components/commit/566057b8f58fab1b5328cbd4336b7b19ea412fd3) | fix | **divider:** non-text color contrast issues ([#28995](https://github.com/angular/components/pull/28995)) |
14+
| [e3abc65d7d](https://github.com/angular/components/commit/e3abc65d7d191f2adf1c294bdb84f532d4eac05c) | fix | **radio:** mark radio-group for check on touch ([#29203](https://github.com/angular/components/pull/29203)) |
15+
| [3da43230e6](https://github.com/angular/components/commit/3da43230e62c8983af5c21c4c1fc66ea2e5e7d52) | fix | **schematics:** estimate missing hues in M3 schematic ([#29231](https://github.com/angular/components/pull/29231)) |
16+
| [d717de5150](https://github.com/angular/components/commit/d717de51501e04a0410217c07fc31929ff2e983a) | fix | **snack-bar:** fix overrides mixin name typo ([#29180](https://github.com/angular/components/pull/29180)) |
17+
18+
<!-- CHANGELOG SPLIT MARKER -->
19+
20+
<a name="18.0.3"></a>
21+
# 18.0.3 "gossamer-glacier" (2024-06-12)
22+
### material
23+
| Commit | Type | Description |
24+
| -- | -- | -- |
25+
| [f6b993fdb7](https://github.com/angular/components/commit/f6b993fdb7fbdcfbe0297d320a5961097002308d) | fix | **dialog:** Make autofocus work with animations disabled ([#29195](https://github.com/angular/components/pull/29195)) |
26+
| [6dd1689b51](https://github.com/angular/components/commit/6dd1689b519abf287098d30f7698fc37197e3db0) | fix | **dialog:** Make focus behavior consistent across zoneful/zoneless apps ([#29192](https://github.com/angular/components/pull/29192)) |
27+
| [81d4527f91](https://github.com/angular/components/commit/81d4527f9130605f69dea31a092a60261bde25db) | fix | **radio:** mark radio-group for check on touch ([#29203](https://github.com/angular/components/pull/29203)) |
28+
| [0f4d1862d3](https://github.com/angular/components/commit/0f4d1862d30366978176a4a87b7799915d3caedd) | fix | **schematics:** estimate missing hues in M3 schematic ([#29231](https://github.com/angular/components/pull/29231)) |
29+
| [faf348438d](https://github.com/angular/components/commit/faf348438d57db80e8ac5187ffe3900fe398fe77) | fix | **snack-bar:** fix overrides mixin name typo ([#29180](https://github.com/angular/components/pull/29180)) |
30+
31+
<!-- CHANGELOG SPLIT MARKER -->
32+
33+
<a name="18.1.0-next.1"></a>
34+
# 18.1.0-next.1 "velvet-violoncello" (2024-06-05)
35+
### cdk
36+
| Commit | Type | Description |
37+
| -- | -- | -- |
38+
| [f4387fda12](https://github.com/angular/components/commit/f4387fda12e3e647e807111344c793efa1d14235) | fix | **testing:** TestbedHarnessEnvironment should work when Zone is not present ([#29176](https://github.com/angular/components/pull/29176)) |
39+
### material
40+
| Commit | Type | Description |
41+
| -- | -- | -- |
42+
| [c4a1407e75](https://github.com/angular/components/commit/c4a1407e75d9e408b0edbd5a106e1b520eb5ad2e) | fix | **core:** hide ripples inside drag&drop elements ([#29184](https://github.com/angular/components/pull/29184)) |
43+
| [b9fedfe9f9](https://github.com/angular/components/commit/b9fedfe9f900111d749262b2e25cc2fff8aac01f) | fix | **datepicker:** Move aria-live attribute so month can also be announced when using previous and next month buttons ([#29137](https://github.com/angular/components/pull/29137)) |
44+
| [71297ad7ef](https://github.com/angular/components/commit/71297ad7ef74baa058607356692b8e955791c484) | fix | **radio:** Ensure focus and selected states stay linked ([#29082](https://github.com/angular/components/pull/29082)) |
45+
| [c9e1d4aedd](https://github.com/angular/components/commit/c9e1d4aedd929b611b908633afac28a2bfb474d2) | fix | **schematics:** theming API migration not working with CRLF line endings ([#29171](https://github.com/angular/components/pull/29171)) |
46+
| [3314414e17](https://github.com/angular/components/commit/3314414e174a3fda90d18c8d00cf284a77f04e9c) | fix | **slider:** Tick marks changes position as the slider is changed (for a step that is decimal number) ([#29108](https://github.com/angular/components/pull/29108)) |
47+
48+
<!-- CHANGELOG SPLIT MARKER -->
49+
50+
<a name="18.0.2"></a>
51+
# 18.0.2 "velvet-viola" (2024-06-05)
52+
### cdk
53+
| Commit | Type | Description |
54+
| -- | -- | -- |
55+
| [5ef11b1e15](https://github.com/angular/components/commit/5ef11b1e157ff76ad2e92cb047bfc1bd0c60943c) | fix | **testing:** TestbedHarnessEnvironment should work when Zone is not present ([#29176](https://github.com/angular/components/pull/29176)) |
56+
### material
57+
| Commit | Type | Description |
58+
| -- | -- | -- |
59+
| [dfc19e2884](https://github.com/angular/components/commit/dfc19e28845b149aafa060e5b334bdd99b3c3bff) | fix | **core:** hide ripples inside drag&drop elements ([#29184](https://github.com/angular/components/pull/29184)) |
60+
| [51488a2b7e](https://github.com/angular/components/commit/51488a2b7e807a41d03753c49bd18aee091fab7a) | fix | **datepicker:** Move aria-live attribute so month can also be announced when using previous and next month buttons ([#29137](https://github.com/angular/components/pull/29137)) |
61+
| [3945ed62cd](https://github.com/angular/components/commit/3945ed62cd102db07a600d2c3d1eae51844dcae6) | fix | **radio:** Ensure focus and selected states stay linked ([#29082](https://github.com/angular/components/pull/29082)) |
62+
| [8d44ed99c6](https://github.com/angular/components/commit/8d44ed99c69e9ee40881a80b1916998383a0cddf) | fix | **schematics:** theming API migration not working with CRLF line endings ([#29171](https://github.com/angular/components/pull/29171)) |
63+
| [5e3d13d559](https://github.com/angular/components/commit/5e3d13d559c963b8b913ef35569cfbfe01ea207a) | fix | **slider:** Tick marks changes position as the slider is changed (for a step that is decimal number) ([#29108](https://github.com/angular/components/pull/29108)) |
64+
65+
<!-- CHANGELOG SPLIT MARKER -->
66+
67+
<a name="18.1.0-next.0"></a>
68+
# 18.1.0-next.0 "plastic-moose" (2024-05-29)
69+
70+
<!-- CHANGELOG SPLIT MARKER -->
71+
72+
<a name="18.0.1"></a>
73+
# 18.0.1 "plastic-baby" (2024-05-29)
74+
### material
75+
| Commit | Type | Description |
76+
| -- | -- | -- |
77+
| [d96b5e39e0](https://github.com/angular/components/commit/d96b5e39e08945b5b4ec92dbc89a7ef44dec1baa) | fix | **core:** M3 themes not inserting loaded marker |
78+
| [b7c0a6ef56](https://github.com/angular/components/commit/b7c0a6ef56ade6d99e9b097e0d616e9e3bb5a9f5) | fix | **form-field:** outline label position ([#29123](https://github.com/angular/components/pull/29123)) |
79+
| [24de3d4884](https://github.com/angular/components/commit/24de3d4884677c427e036258eb2e999a89da03e5) | fix | **menu:** prevent divider styles from bleeding out ([#29111](https://github.com/angular/components/pull/29111)) |
80+
| [2110f2c97e](https://github.com/angular/components/commit/2110f2c97ec8d9b84ee4f8bcd47ca7b95d398879) | fix | **tabs:** avoid pagination infinite loop in safari ([#29121](https://github.com/angular/components/pull/29121)) |
81+
### youtube-player
82+
| Commit | Type | Description |
83+
| -- | -- | -- |
84+
| [466e249cd1](https://github.com/angular/components/commit/466e249cd1eb4b8ce9dd2f9f74c3f4c3cb33cf65) | fix | error when interacting with the player before the API has been loaded ([#29127](https://github.com/angular/components/pull/29127)) |
85+
86+
<!-- CHANGELOG SPLIT MARKER -->
87+
188
<a name="18.0.0"></a>
289
# 18.0.0 "satin-sasquatch" (2024-05-22)
390
## Breaking Changes

guides/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ determine which features to include:
2828

2929
1. Choose a prebuilt theme name, or "custom" for a custom theme:
3030

31-
You can choose from [prebuilt material design themes](https://material.angular.io/guide/theming#using-a-pre-built-theme) or set up an extensible [custom theme](https://material.angular.io/guide/theming#defining-a-theme).
31+
You can choose from [prebuilt material design themes](https://material.angular.io/guide/theming#pre-built-themes) or set up an extensible [custom theme](https://material.angular.io/guide/theming#defining-a-theme).
3232

3333
2. Set up global Angular Material typography styles:
3434

guides/schematics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The Angular Material `ng add` schematic helps you set up an Angular CLI project
2626

2727
- Ensure [project dependencies](./getting-started#step-1-install-angular-material-angular-cdk-and-angular-animations) are placed in `package.json`
2828
- Enable the [BrowserAnimationsModule](./getting-started#step-2-configure-animations) in your app module
29-
- Add either a [prebuilt theme](./theming#using-a-pre-built-theme) or a [custom theme](./theming#defining-a-custom-theme)
29+
- Add either a [prebuilt theme](./theming#pre-built-themes) or a [custom theme](./theming#defining-a-custom-theme)
3030
- Add Roboto fonts to your `index.html`
3131
- Add the [Material Icon font](./getting-started#step-6-optional-add-material-icons) to your `index.html`
3232
- Add global styles to

guides/theming.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,28 @@ more about these terms):
9191

9292
##### Pre-built themes
9393

94-
There are a number of color palettes available in `@angular/material` that can be
95-
used with the `primary` and `tertiary` options:
94+
Angular Material includes several pre-built theme CSS files, each with different palettes selected.
95+
You can use one of these pre-built themes if you don't want to define a custom theme with Sass.
96+
97+
| Theme | Light or dark? | Specification |
98+
|------------------------|----------------|----------------------------------|
99+
| `azure-blue.css` | Light | Material Design 3 |
100+
| `rose-red.css` | Light | Material Design 3 |
101+
| `cyan-orange.css` | Dark | Material Design 3 |
102+
| `magenta-violet.css` | Dark | Material Design 3 |
103+
| `deeppurple-amber.css` | Light | Material Design 2 |
104+
| `indigo-pink.css` | Light | Material Design 2 |
105+
| `pink-bluegrey.css` | Dark | Material Design 2 |
106+
| `purple-green.css` | Dark | Material Design 2 |
107+
108+
These files include the CSS for every component in the library. To include only the CSS for a subset
109+
of components, you must use the Sass API detailed in [Defining a theme](#defining-a-theme) above.
110+
You can [reference the source code for these pre-built themes](https://github.com/angular/components/blob/main/src/material/core/theming/prebuilt) to see examples of complete theme definitions.
111+
112+
##### Pre-defined palettes
113+
114+
The pre-built themes are based on a set of pre-defined palettes that can be used with the `primary`
115+
and `tertiary` options:
96116

97117
- `$red-palette`
98118
- `$green-palette`

0 commit comments

Comments
 (0)