@angular/material
Advanced tools
Changelog
18.2.2 "steel-sword" (2024-08-28)
| Commit | Type | Description |
| -- | -- | -- |
| 39d3d01340 | fix | drag-drop: error if ngDevMode is undefined (#29634) |
| b1c5ed7260 | fix | tree: avoid breaking change in constructor (#29648) |
| ff95692125 | fix | tree: capturing focus on load (#29641) |
| f888b3d95a | fix | tree: fix issue where isExpanded
wouldn't be set if placed before isExpandable
(#29565) (#29647) |
| Commit | Type | Description | | -- | -- | -- | | 3ce4e9fc2a | fix | schematics: Add the missing neutral tones for the M3 color palettes (#29644) | | f93d0f4095 | perf | tooltip: Avoid unneeded calls to clearTimeout (#29643) |
<!-- CHANGELOG SPLIT MARKER --><a name="18.2.1"></a>
Changelog
18.2.1 "plastic-panda" (2024-08-22)
| Commit | Type | Description | | -- | -- | -- | | 3a2d13e2e4 | fix | drag-drop: preview positioned incorrectly when RTL is set on the body (#29606) |
| Commit | Type | Description | | -- | -- | -- | | bad94fda58 | fix | datepicker: calendar font tokens not being picked up (#29610) (#29615) | | c4c62b8549 | fix | icon: update error message for missing HttpClient (#29589) | | b2a32e9898 | fix | menu: inconsistent layout of submenu icon (#29603) | | 5f0c89030e | fix | tabs: switch pagination to not use native buttons (#29605) |
<!-- CHANGELOG SPLIT MARKER --><a name="18.2.0"></a>
Changelog
18.2.0 "technetium-tapas" (2024-08-14)
Tree controller deprecated. Use one of levelAccessor or childrenAccessor instead. To be removed in a future version.
Note when upgrading: isExpandable works differently on Trees using treeControl than trees using childrenAccessor or levelAccessor. Nodes on trees that have a treeControl are expandable by default. Nodes on trees using childrenAccessor or levelAccessor are not expandable by default. Provide isExpandable to override default behavior.
Setting tabindex of tree nodes deprecated. By default, Tree ignores tabindex passed to tree nodes.
Note when upgrading: an opt-out is available for keyboard functionality changes. Provide LEGACY_TREE_KEY_MANAGER_FACTORY_PROVIDER to opt-out of Tree managing its own focus. When provided, Tree does not manage it’s own focus and respects tabindex passed to TreeNode. When provided, have the same focus behavior as before this commit is applied.
Add Legacy Keyboard Interface demo, which shows usage of LEGACY_TREE_KEY_MANAGER_FACTORY_PROVIDER. Add Custom Key Manager, which shows usage of injecting a TreeKeyManagerStrategy
disabled renamed to isDisabled.
| Commit | Type | Description | | -- | -- | -- | | ddc307e28 | feat | button-toggle: allow disabled buttons to be interactive (#29550) | | 841760101 | feat | checkbox: add the ability to interact with disabled checkboxes (#29474) | | 0af3b6175 | feat | radio: add the ability to interact with disabled radio buttons (#29490) | | 4292e1b3a | feat | slide-toggle: add the ability to interact with disabled toggle (#29502) | | a018fb0ee | feat | tooltip: replicate tooltipClass to default MatTooltipDefaultOptions (#29467) | | aaf0d5156 | fix | checkbox: account for disabledInteractive in harness | | d22a24d66 | fix | list: checkmark not visible in high contrast mode (#29546) | | a259b016b | fix | radio: account for disabledInteractive in harness | | fd47a0e60 | fix | radio: avoid error if destroyed quickly (#29507) | | 08d2e3e69 | fix | slide-toggle: account for disabledInteractive in harness | | fd416a30e | fix | tooltip: remove aria-describedby when disabled (#29520) | | ff36c80f9 | fix | tree: add levelAccessor, childrenAccessor, TreeKeyManager; a11y and docs improvements (#29062) | | 1f992d06c | fix | tree: aria-expanded attribute should not appear in the leaf node (#29273) |
| Commit | Type | Description | | -- | -- | -- | | b2c051d2c | feat | drag-drop: add input to specify dragged item scale (#29392) |
| Commit | Type | Description | | -- | -- | -- | | db5b8dc29 | feat | fallback to system level variables (#29480) |
<!-- CHANGELOG SPLIT MARKER --><a name="18.1.5"></a>
Changelog
18.1.5 "ruthenium-roulette" (2024-08-14)
| Commit | Type | Description | | -- | -- | -- | | b2e728db9 | fix | form-field: update state if control changes (#29573) | | 1c438b312 | fix | schematics: Generate more accurate tonal palettes for M3 schematic (#29536) | | 838d1a45a | fix | tabs: allow for tablist aria-label and aria-labelledby to be set (#29562) |
<!-- CHANGELOG SPLIT MARKER --><a name="18.1.4"></a>
Changelog
18.1.4 "pewter-polka" (2024-08-07)
| Commit | Type | Description | | -- | -- | -- | | 2b5ae8c0ed | fix | chips: missing tokens in M3 (#29531) | | b98432839e | fix | sidenav: disable focus trap while closed (#29548) |
<!-- CHANGELOG SPLIT MARKER --><a name="18.1.3"></a>
Changelog
18.1.3 "plastic-beach" (2024-07-31)
| Commit | Type | Description | | -- | -- | -- | | 2c76917779 | fix | coercion: Return undefined when the fallback value is undefined (#29491) |
| Commit | Type | Description | | -- | -- | -- | | caf4b61ead | fix | chips: remove tab-index attribute from mat-chip host (#29436) | | 913267c0b1 | fix | core: custom system-level variable prefix not used in some mixins (#29513) | | 70048ef226 | fix | dialog: invalid font-family declaration (#29516) | | d7d82e1455 | fix | slide-toggle: don't trigger active state for entire container (#29514) | | d237e7d2c7 | fix | slide-toggle: remove divs from button (#29485) |
<!-- CHANGELOG SPLIT MARKER --><a name="18.1.2"></a>