Releases: angular/components
v18.2.3
v19.0.0-next.2
19.0.0-next.2 "bronze-book" (2024-08-28)
cdk
Commit | Description |
---|---|
drag-drop: error if ngDevMode is undefined (#29634) | |
overlay: avoid having to manually load structural styles | |
text-field: avoid having to manually load text field styles | |
tree: avoid breaking change in constructor (#29648) | |
tree: capturing focus on load (#29641) |
material
Commit | Description |
---|---|
core: add experimental theme demo (#29636) | |
core: add missing system variables (#29624) | |
core: avoid having to manually load ripple styles | |
core: stop manually instantiating MatRipple directive (#29630) | |
schematics: Add the missing neutral tones for the M3 color palettes (#29644) | |
tooltip: Avoid unneeded calls to clearTimeout (#29643) |
multiple
Commit | Description |
---|---|
consolidate strong focus indicators (#29623) | |
stop exposing internal ripple implementation (#29622) |
Breaking Changes
material
-
- The ripples styles are now loaded slightly later than before which can change their specificity. You may have to update any ripple style overrides.
cdk
-
- The overlay stays are now loaded slightly later than before which can change their specificity. You may have to update any overlay style overrides.
multiple
-
MatButton.ripple
is no longer available.MatCheckbox.ripple
is no longer available.MatChip.ripple
is no longer available.
v18.2.2
18.2.2 "steel-sword" (2024-08-28)
material
Commit | Description |
---|---|
schematics: Add the missing neutral tones for the M3 color palettes (#29644) | |
tooltip: Avoid unneeded calls to clearTimeout (#29643) |
cdk
Commit | Description |
---|---|
drag-drop: error if ngDevMode is undefined (#29634) | |
tree: avoid breaking change in constructor (#29648) | |
tree: capturing focus on load (#29641) | |
tree: fix issue where isExpanded wouldn't be set if placed before isExpandable (#29565) (#29647) |
v19.0.0-next.1
19.0.0-next.1 "plastic-moose" (2024-08-22)
cdk
Commit | Description |
---|---|
drag-drop: preview positioned incorrectly when RTL is set on the body (#29606) |
material
Commit | Description |
---|---|
input: add the ability to interact with disabled inputs (#29574) | |
datepicker: calendar font tokens not being picked up (#29610) | |
icon: update error message for missing HttpClient (#29589) | |
menu: inconsistent layout of submenu icon (#29603) | |
tabs: switch pagination to not use native buttons (#29605) |
multiple
Commit | Description |
---|---|
account for mixed declarations in latest Sass version (#29596) | |
change fallbacks to use m3 (#29528) |
Breaking Changes
multiple
-
- In order for Material to be compatible with recent changes in Sass and upcoming changes in the CSS standard, tokens are now emitted in-place, rather the being hoisted to the top of the selector. As a result, some token overrides might not apply anymore. This is relevant primarily for the cases like
@include mat.button-theme($theme); --mat-button-color: red;
. It can be resolved by wrapping the overrides with& {}
, for example@include mat.button-theme($theme); & { --mat-button-color: red; }
.
- In order for Material to be compatible with recent changes in Sass and upcoming changes in the CSS standard, tokens are now emitted in-place, rather the being hoisted to the top of the selector. As a result, some token overrides might not apply anymore. This is relevant primarily for the cases like
v18.2.1
18.2.1 "plastic-panda" (2024-08-22)
material
Commit | Description |
---|---|
datepicker: calendar font tokens not being picked up (#29610) (#29615) | |
icon: update error message for missing HttpClient (#29589) | |
menu: inconsistent layout of submenu icon (#29603) | |
tabs: switch pagination to not use native buttons (#29605) |
cdk
Commit | Description |
---|---|
drag-drop: preview positioned incorrectly when RTL is set on the body (#29606) |
v19.0.0-next.0
19.0.0-next.0 "yttrium-igloo" (2024-08-14)
cdk
Commit | Description |
---|---|
tree: fix issue where isExpanded wouldn't be set if placed before isExpandable (#29565) |
v18.2.0
18.2.0 "technetium-tapas" (2024-08-14)
cdk
Commit | Description |
---|---|
drag-drop: add input to specify dragged item scale (#29392) |
material
Commit | Description |
---|---|
button-toggle: allow disabled buttons to be interactive (#29550) | |
checkbox: add the ability to interact with disabled checkboxes (#29474) | |
radio: add the ability to interact with disabled radio buttons (#29490) | |
slide-toggle: add the ability to interact with disabled toggle (#29502) | |
tooltip: replicate tooltipClass to default MatTooltipDefaultOptions (#29467) | |
checkbox: account for disabledInteractive in harness | |
list: checkmark not visible in high contrast mode (#29546) | |
radio: account for disabledInteractive in harness | |
radio: avoid error if destroyed quickly (#29507) | |
slide-toggle: account for disabledInteractive in harness | |
tooltip: remove aria-describedby when disabled (#29520) | |
tree: add levelAccessor, childrenAccessor, TreeKeyManager; a11y and docs improvements (#29062) | |
tree: aria-expanded attribute should not appear in the leaf node (#29273) |
multiple
Commit | Description |
---|---|
fallback to system level variables (#29480) |
Deprecations
material
-
Tree controller deprecated. Use one of levelAccessor or childrenAccessor instead. To be removed in a future version.
- BaseTreeControl, TreeControl, FlatTreeControl, and NestedTreeControl deprecated
- CdkTree#treeControl deprecated. Provide one of CdkTree#levelAccessor or CdkTree#childrenAccessor instead.
- MatTreeFlattener deprecated. Use MatTree#childrenAccessor and MatTreeNode#isExpandable instead.
- MatTreeFlatDataSource deprecated. Use one of levelAccessor or childrenAccessor instead of TreeControl.
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.
- MatTreeNode#tabIndex deprecated. MatTreeNode ignores Input tabIndex and manages its own focus behavior.
- MatTreeNode#defaultTabIndex deprecated. MatTreeNode ignores defaultTabIndex and manages its own focus behavior.
- MatNestedTreeNode#tabIndex deprecated. MatTreeNode ignores Input defaultTabIndex and manages its own focus behavior.
- LegacyTreeKeyManager and LEGACY_TREE_KEY_MANAGER_FACTORY_PROVIDER deprecated. Inject a TreeKeyManagerFactory to customize keyboard behavior.
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.
- CdkTreeNode#disabled deprecated and alias to CdkTreeNode#isDisabled
v18.1.5
v18.2.0-rc.0
18.2.0-rc.0 "wicker-whirlwind" (2024-08-07)
material
Commit | Description |
---|---|
button-toggle: allow disabled buttons to be interactive (#29550) | |
chips: missing tokens in M3 (#29531) | |
list: checkmark not visible in high contrast mode (#29546) | |
sidenav: disable focus trap while closed (#29548) | |
tooltip: remove aria-describedby when disabled (#29520) |