Skip to content

Releases: angular/components

v18.2.4

12 Sep 14:37
Compare
Choose a tag to compare

18.2.4 "aramid-angle" (2024-09-12)

material

Commit Description
fix - 651b448e8 badge: change legacy container size default (#29713)
fix - 0e6dee30a form-field: Don't allow label to grow larger than input (#29673)
fix - 57028df23 select: Update checkbox color to match the selected label text color (#29684)

cdk

Commit Description
fix - 7cc0d3a6d overlay: avoid leaking memory through afterNextRender (#29709)

v19.0.0-next.3

04 Sep 21:09
Compare
Choose a tag to compare
v19.0.0-next.3 Pre-release
Pre-release

19.0.0-next.3 "quicksilver-quintessence" (2024-09-04)

cdk

Commit Description
feat - f4a02adb77 a11y: use native media query for high contrast detection (#29678)
fix - 5439460d1f scrolling: adds ngTemplateContextGuard (#27276)

material

Commit Description
fix - 90eea1bf70 core: Allow system variables to be formatted for opacity (#29665)
fix - edce90652a core: delete deprecated APIs (#29651)
fix - 4771931c2f core: Fix incorrect color role mappings (#29655)
fix - 9333de0537 tooltip: remove old IE workaround (#29674)

multiple

Commit Description
fix - b3a9062edf ripples not showing up in some cases (#29672)

Breaking Changes

material

    • mixinColor and CanColor have been removed. Use a host binding instead.
    • mixinDisableRipple and CanDisableRipple have been removed. Use input transforms instead.
    • mixinDisabled and CanDisable have been removed. Use input transforms instead.
    • mixinInitialized and HasInitialized have been removed. Use a Subject that emits in ngOnInit instead.
    • mixinTabIndex and HasTabIndex have been removed. Use input transforms instead.

cdk

    • Since cdk.high-contrast targets a media query instead of a class, the specificity of the styles it emits is lower than before.
    • Virtual scrolling lists now have proper type checking which can reveal some previously-hidden compilation errors.

    • fix(cdk/scrolling): adds ngTemplateContextGuard

    implements ngTemplateContextGuard for CdkVirtualForOf directive

v18.2.3

04 Sep 20:59
Compare
Choose a tag to compare

18.2.3 "parchment-deluge" (2024-09-04)

material

Commit Description
fix - 0f07b25d12 badge: resolve memory leak (#29676)
fix - fe3f30ff2f core: Allow system variables to be formatted for opacity (#29665)
fix - 5d93395442 core: Fix incorrect color role mappings (#29655)
fix - 4a79052ae0 tooltip: remove old IE workaround (#29674)

v19.0.0-next.2

29 Aug 13:49
Compare
Choose a tag to compare
v19.0.0-next.2 Pre-release
Pre-release

19.0.0-next.2 "bronze-book" (2024-08-28)

cdk

Commit Description
fix - 2f1fe03ae9 drag-drop: error if ngDevMode is undefined (#29634)
fix - df21d2b091 overlay: avoid having to manually load structural styles
fix - ad18e6d74e text-field: avoid having to manually load text field styles
fix - a6835ef6a7 tree: avoid breaking change in constructor (#29648)
fix - 8b34fb7e8d tree: capturing focus on load (#29641)

material

Commit Description
feat - 64ed7ca715 core: add experimental theme demo (#29636)
fix - fcb76d3ed1 core: add missing system variables (#29624)
fix - 855ed49482 core: avoid having to manually load ripple styles
fix - d0e178b75e core: stop manually instantiating MatRipple directive (#29630)
fix - 3bf0e31f77 schematics: Add the missing neutral tones for the M3 color palettes (#29644)
perf - 64cf19ccdb tooltip: Avoid unneeded calls to clearTimeout (#29643)

multiple

Commit Description
fix - a9da72ed15 consolidate strong focus indicators (#29623)
fix - 485bd9923b 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

28 Aug 21:02
Compare
Choose a tag to compare

18.2.2 "steel-sword" (2024-08-28)

material

Commit Description
fix - 3ce4e9fc2a schematics: Add the missing neutral tones for the M3 color palettes (#29644)
perf - f93d0f4095 tooltip: Avoid unneeded calls to clearTimeout (#29643)

cdk

Commit Description
fix - 39d3d01340 drag-drop: error if ngDevMode is undefined (#29634)
fix - b1c5ed7260 tree: avoid breaking change in constructor (#29648)
fix - ff95692125 tree: capturing focus on load (#29641)
fix - f888b3d95a tree: fix issue where isExpanded wouldn't be set if placed before isExpandable (#29565) (#29647)

v19.0.0-next.1

22 Aug 17:28
Compare
Choose a tag to compare
v19.0.0-next.1 Pre-release
Pre-release

19.0.0-next.1 "plastic-moose" (2024-08-22)

cdk

Commit Description
fix - 04ce4d2648 drag-drop: preview positioned incorrectly when RTL is set on the body (#29606)

material

Commit Description
feat - 1abb484aa7 input: add the ability to interact with disabled inputs (#29574)
fix - 7cf8c6c464 datepicker: calendar font tokens not being picked up (#29610)
fix - 4f2bc4da78 icon: update error message for missing HttpClient (#29589)
fix - adf413670f menu: inconsistent layout of submenu icon (#29603)
fix - 357f6f27a5 tabs: switch pagination to not use native buttons (#29605)

multiple

Commit Description
fix - 01711b1804 account for mixed declarations in latest Sass version (#29596)
fix - cb1450fc76 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; }.

v18.2.1

22 Aug 16:50
Compare
Choose a tag to compare

18.2.1 "plastic-panda" (2024-08-22)

material

Commit Description
fix - bad94fda58 datepicker: calendar font tokens not being picked up (#29610) (#29615)
fix - c4c62b8549 icon: update error message for missing HttpClient (#29589)
fix - b2a32e9898 menu: inconsistent layout of submenu icon (#29603)
fix - 5f0c89030e tabs: switch pagination to not use native buttons (#29605)

cdk

Commit Description
fix - 3a2d13e2e4 drag-drop: preview positioned incorrectly when RTL is set on the body (#29606)

v19.0.0-next.0

14 Aug 18:35
Compare
Choose a tag to compare
v19.0.0-next.0 Pre-release
Pre-release

19.0.0-next.0 "yttrium-igloo" (2024-08-14)

cdk

Commit Description
fix - bd84c2a67 tree: fix issue where isExpanded wouldn't be set if placed before isExpandable (#29565)

v18.2.0

14 Aug 17:46
Compare
Choose a tag to compare

18.2.0 "technetium-tapas" (2024-08-14)

cdk

Commit Description
feat - b2c051d2c drag-drop: add input to specify dragged item scale (#29392)

material

Commit Description
feat - ddc307e28 button-toggle: allow disabled buttons to be interactive (#29550)
feat - 841760101 checkbox: add the ability to interact with disabled checkboxes (#29474)
feat - 0af3b6175 radio: add the ability to interact with disabled radio buttons (#29490)
feat - 4292e1b3a slide-toggle: add the ability to interact with disabled toggle (#29502)
feat - a018fb0ee tooltip: replicate tooltipClass to default MatTooltipDefaultOptions (#29467)
fix - aaf0d5156 checkbox: account for disabledInteractive in harness
fix - d22a24d66 list: checkmark not visible in high contrast mode (#29546)
fix - a259b016b radio: account for disabledInteractive in harness
fix - fd47a0e60 radio: avoid error if destroyed quickly (#29507)
fix - 08d2e3e69 slide-toggle: account for disabledInteractive in harness
fix - fd416a30e tooltip: remove aria-describedby when disabled (#29520)
fix - ff36c80f9 tree: add levelAccessor, childrenAccessor, TreeKeyManager; a11y and docs improvements (#29062)
fix - 1f992d06c tree: aria-expanded attribute should not appear in the leaf node (#29273)

multiple

Commit Description
feat - db5b8dc29 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

14 Aug 17:39
Compare
Choose a tag to compare

18.1.5 "ruthenium-roulette" (2024-08-14)

material

Commit Description
fix - b2e728db9 form-field: update state if control changes (#29573)
fix - 1c438b312 schematics: Generate more accurate tonal palettes for M3 schematic (#29536)
fix - 838d1a45a tabs: allow for tablist aria-label and aria-labelledby to be set (#29562)