Skip to content

Commit 87910db

Browse files
committed
docs: release notes for the v18.1.2 release
1 parent 8417601 commit 87910db

File tree

1 file changed

+91
-0
lines changed

1 file changed

+91
-0
lines changed

CHANGELOG.md

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,94 @@
1+
<a name="18.1.2"></a>
2+
# 18.1.2 "velvet-violin" (2024-07-24)
3+
## Breaking Changes
4+
### material
5+
- updates chip remove button touch target to increase accessibility of the button especially on touch/mobile devices.
6+
7+
* refactor(material/chips): chip remove touch target size is insufficient
8+
9+
Updates fix to Autocomplete Component Chips component where the
10+
touch target size is too small and fails minimum accessibility
11+
size of 48x48 px. Addresses nit fixes from PR review.
12+
13+
Fixes b/286959517
14+
- updates padding size of remove touch target to
15+
satisfy minimum 48x48 accessibility size.
16+
17+
* fix(material/chip): remove button is too small
18+
19+
Fixes Angular Components Chip component where the touch target of the
20+
remove button of a chip is too small. Updates .mat-mdc-chip-remove to
21+
target more specific styles to override original style of padding: 8px
22+
so that the user has a larger touch target particularly on mobile
23+
devices.
24+
25+
Fixes b/286959517
26+
27+
* refactor(material/chips): remove button is too small
28+
29+
Fixes lint errors from previous commit for Angular Components
30+
Chip component where the remove button touch target is too small,
31+
particularly for touch/mobile devices. Increases padding on all
32+
sides.
33+
34+
Fixes b/286959517
35+
36+
* fix(material/chips): increase chip remove button touch target size
37+
38+
Fixes issue with Angular Component Chip's touch target size by
39+
increasing the padding on chips with a trailing icon that has
40+
an action.
41+
42+
Fixes b/286959517
43+
- updates chip remove button touch target to increase accessibility of the button especially on touch/mobile devices.
44+
45+
* fix(material/chips): chips remove touch target is too small to be accessible
46+
47+
Updates Angular Components Chips component by increasing its
48+
.mat-mdc-chip-remove::after styles to increase the size of the
49+
touch target to make it more accessible/clickable.
50+
51+
Fixes b/286959517
52+
53+
* refactor(material/chips): fix lint errors
54+
55+
Updates fix for Angular Components Chips component where there
56+
were lint formatting errors.
57+
58+
* refactor(material/chips): replace px with _trailing-icon-size variable
59+
60+
Updates previous Angular Components Chip component fix and makes it
61+
adaptable by swapping the hard-coded 18px offset to equal the
62+
variable for -icon-size.
63+
64+
* refactor(material/chips): updates touch target centering method
65+
66+
Updates previous Angular Component Chip component fix which
67+
added padding to the ::after pseudo-element and attempted to
68+
calculate centering. Changes calculation based on using
69+
with padding values countered
70+
with margin negative values to center the touch target.
71+
72+
* refactor(material/chips): updates ::after styles and fix lint errors
73+
74+
Updates Angular Component Chips component fix to change ::after
75+
background property changes to be background-color specifically to
76+
avoid overriding background-clip styles. Suppresses lint warning
77+
material/no-prefixes for background-clip since it's majority
78+
compatible with browsers.
79+
80+
Fixes b/286959517
81+
82+
(cherry picked from commit d6aed804460d4b75082d7d04e051f2cae9b4f8f6)
83+
### material
84+
| Commit | Type | Description |
85+
| -- | -- | -- |
86+
| [cf61af53bd](https://github.com/angular/components/commit/cf61af53bdb5178cfc80157b9abae2ca1819f4b0) | fix | **chips:** remove button is too small ([#29351](https://github.com/angular/components/pull/29351)) |
87+
| [c79ec264aa](https://github.com/angular/components/commit/c79ec264aa454b31f6cefa6a1b032884c565ae2e) | fix | **form-field:** hiding a label after it has been ([#29461](https://github.com/angular/components/pull/29461)) |
88+
| [15238d255f](https://github.com/angular/components/commit/15238d255f563348677fd81690735a708d3bda5c) | fix | **input:** Number input not changing on wheel interaction ([#29449](https://github.com/angular/components/pull/29449)) |
89+
90+
<!-- CHANGELOG SPLIT MARKER -->
91+
192
<a name="18.1.1"></a>
293
# 18.1.1 "tantalum-tale" (2024-07-17)
394
### cdk

0 commit comments

Comments
 (0)