Skip to content

Releases: angular/components

v18.2.0-rc.0

07 Aug 20:34
Compare
Choose a tag to compare
v18.2.0-rc.0 Pre-release
Pre-release

18.2.0-rc.0 "wicker-whirlwind" (2024-08-07)

material

Commit Description
feat - ddc307e284 button-toggle: allow disabled buttons to be interactive (#29550)
fix - 7370eb92fc chips: missing tokens in M3 (#29531)
fix - d22a24d667 list: checkmark not visible in high contrast mode (#29546)
fix - 626164ba5f sidenav: disable focus trap while closed (#29548)
fix - fd416a30e8 tooltip: remove aria-describedby when disabled (#29520)

v18.1.4

07 Aug 20:04
Compare
Choose a tag to compare

18.1.4 "pewter-polka" (2024-08-07)

material

Commit Description
fix - 2b5ae8c0ed chips: missing tokens in M3 (#29531)
fix - b98432839e sidenav: disable focus trap while closed (#29548)

v18.2.0-next.3

31 Jul 20:37
Compare
Choose a tag to compare
v18.2.0-next.3 Pre-release
Pre-release

18.2.0-next.3 "gold-medal" (2024-07-31)

material

Commit Description
feat - 0af3b61750 radio: add the ability to interact with disabled radio buttons (#29490)
feat - 4292e1b3a0 slide-toggle: add the ability to interact with disabled toggle (#29502)
fix - 5403b2b316 chips: remove tab-index attribute from mat-chip host (#29436)
fix - 6d701146cc core: custom system-level variable prefix not used in some mixins (#29513)
fix - 95d1354cdd dialog: invalid font-family declaration (#29516)
fix - fd47a0e60d radio: avoid error if destroyed quickly (#29507)
fix - 5892acfde3 slide-toggle: don't trigger active state for entire container (#29514)
fix - 1aa8512ebe slide-toggle: remove divs from button (#29485)

cdk

Commit Description
fix - c9078d1d1a coercion: Return undefined when the fallback value is undefined (#29491)

multiple

Commit Description
feat - db5b8dc29b fallback to system level variables (#29480)

v18.1.3

31 Jul 20:14
Compare
Choose a tag to compare

18.1.3 "plastic-beach" (2024-07-31)

material

Commit Description
fix - caf4b61ead chips: remove tab-index attribute from mat-chip host (#29436)
fix - 913267c0b1 core: custom system-level variable prefix not used in some mixins (#29513)
fix - 70048ef226 dialog: invalid font-family declaration (#29516)
fix - d7d82e1455 slide-toggle: don't trigger active state for entire container (#29514)
fix - d237e7d2c7 slide-toggle: remove divs from button (#29485)

cdk

Commit Description
fix - 2c76917779 coercion: Return undefined when the fallback value is undefined (#29491)

v18.2.0-next.2

24 Jul 20:44
Compare
Choose a tag to compare
v18.2.0-next.2 Pre-release
Pre-release

18.2.0-next.2 "velvet-guitar" (2024-07-24)

material

Commit Description
feat - 8417601015 checkbox: add the ability to interact with disabled checkboxes (#29474)
feat - a018fb0ee8 tooltip: replicate tooltipClass to default MatTooltipDefaultOptions (#29467)
fix - d6aed80446 chips: remove button is too small (#29351)
fix - 13aef8cf87 form-field: hiding a label after it has been (#29461)
fix - 10da6c6375 input: Number input not changing on wheel interaction (#29449)

Breaking Changes

material

  • updates chip remove button touch target to increase accessibility of the button especially on touch/mobile devices.
  • refactor(material/chips): chip remove touch target size is insufficient

Updates fix to Autocomplete Component Chips component where the
touch target size is too small and fails minimum accessibility
size of 48x48 px. Addresses nit fixes from PR review.

Fixes b/286959517

  • updates padding size of remove touch target to
    satisfy minimum 48x48 accessibility size.

    • fix(material/chip): remove button is too small

    Fixes Angular Components Chip component where the touch target of the
    remove button of a chip is too small. Updates .mat-mdc-chip-remove to
    target more specific styles to override original style of padding: 8px
    so that the user has a larger touch target particularly on mobile
    devices.

    Fixes b/286959517

    • refactor(material/chips): remove button is too small

    Fixes lint errors from previous commit for Angular Components
    Chip component where the remove button touch target is too small,
    particularly for touch/mobile devices. Increases padding on all
    sides.

    Fixes b/286959517

    • fix(material/chips): increase chip remove button touch target size

    Fixes issue with Angular Component Chip's touch target size by
    increasing the padding on chips with a trailing icon that has
    an action.

    Fixes b/286959517

  • updates chip remove button touch target to increase accessibility of the button especially on touch/mobile devices.

  • fix(material/chips): chips remove touch target is too small to be accessible

Updates Angular Components Chips component by increasing its
.mat-mdc-chip-remove::after styles to increase the size of the
touch target to make it more accessible/clickable.

Fixes b/286959517

  • refactor(material/chips): fix lint errors

Updates fix for Angular Components Chips component where there
were lint formatting errors.

  • refactor(material/chips): replace px with _trailing-icon-size variable

Updates previous Angular Components Chip component fix and makes it
adaptable by swapping the hard-coded 18px offset to equal the
variable for -icon-size.

  • refactor(material/chips): updates touch target centering method

Updates previous Angular Component Chip component fix which
added padding to the ::after pseudo-element and attempted to
calculate centering. Changes calculation based on using
with padding values countered
with margin negative values to center the touch target.

  • refactor(material/chips): updates ::after styles and fix lint errors

Updates Angular Component Chips component fix to change ::after
background property changes to be background-color specifically to
avoid overriding background-clip styles. Suppresses lint warning
material/no-prefixes for background-clip since it's majority
compatible with browsers.

Fixes b/286959517

v18.1.2

24 Jul 20:13
Compare
Choose a tag to compare

18.1.2 "velvet-violin" (2024-07-24)

material

Commit Description
fix - cf61af53bd chips: remove button is too small (#29351)
fix - c79ec264aa form-field: hiding a label after it has been (#29461)
fix - 15238d255f input: Number input not changing on wheel interaction (#29449)

Breaking Changes

material

  • updates chip remove button touch target to increase accessibility of the button especially on touch/mobile devices.
  • refactor(material/chips): chip remove touch target size is insufficient

Updates fix to Autocomplete Component Chips component where the
touch target size is too small and fails minimum accessibility
size of 48x48 px. Addresses nit fixes from PR review.

Fixes b/286959517

  • updates padding size of remove touch target to
    satisfy minimum 48x48 accessibility size.

    • fix(material/chip): remove button is too small

    Fixes Angular Components Chip component where the touch target of the
    remove button of a chip is too small. Updates .mat-mdc-chip-remove to
    target more specific styles to override original style of padding: 8px
    so that the user has a larger touch target particularly on mobile
    devices.

    Fixes b/286959517

    • refactor(material/chips): remove button is too small

    Fixes lint errors from previous commit for Angular Components
    Chip component where the remove button touch target is too small,
    particularly for touch/mobile devices. Increases padding on all
    sides.

    Fixes b/286959517

    • fix(material/chips): increase chip remove button touch target size

    Fixes issue with Angular Component Chip's touch target size by
    increasing the padding on chips with a trailing icon that has
    an action.

    Fixes b/286959517

  • updates chip remove button touch target to increase accessibility of the button especially on touch/mobile devices.

  • fix(material/chips): chips remove touch target is too small to be accessible

Updates Angular Components Chips component by increasing its
.mat-mdc-chip-remove::after styles to increase the size of the
touch target to make it more accessible/clickable.

Fixes b/286959517

  • refactor(material/chips): fix lint errors

Updates fix for Angular Components Chips component where there
were lint formatting errors.

  • refactor(material/chips): replace px with _trailing-icon-size variable

Updates previous Angular Components Chip component fix and makes it
adaptable by swapping the hard-coded 18px offset to equal the
variable for -icon-size.

  • refactor(material/chips): updates touch target centering method

Updates previous Angular Component Chip component fix which
added padding to the ::after pseudo-element and attempted to
calculate centering. Changes calculation based on using
with padding values countered
with margin negative values to center the touch target.

  • refactor(material/chips): updates ::after styles and fix lint errors

Updates Angular Component Chips component fix to change ::after
background property changes to be background-color specifically to
avoid overriding background-clip styles. Suppresses lint warning
material/no-prefixes for background-clip since it's majority
compatible with browsers.

Fixes b/286959517

(cherry picked from commit d6aed80)

v18.2.0-next.1

17 Jul 13:01
Compare
Choose a tag to compare
v18.2.0-next.1 Pre-release
Pre-release

18.2.0-next.1 "osmium-opal" (2024-07-17)

cdk

Commit Description
fix - 565566151 drag-drop: remove preview after animate to placeholder animation completes (#29439)

material

Commit Description
fix - 095947c8c button: support palettes for icon button in M3 (#29433)
fix - e69b2b09e chips: fix focus issue (#29427)
fix - b116643a0 core: require theme for option typography (#29416)
fix - 92ab713a6 tabs: prevent tab header from collapsing when empty inside a drop list (#29418)
fix - ff36c80f9 tree: add levelAccessor, childrenAccessor, TreeKeyManager; a11y and docs improvements (#29062)

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.1

17 Jul 13:12
Compare
Choose a tag to compare

18.1.1 "tantalum-tale" (2024-07-17)

material

Commit Description
fix - b7959c241 button: support palettes for icon button in M3 (#29433)
fix - ffe1c35c0 chips: fix focus issue (#29427)
fix - 57cc0b04b core: require theme for option typography (#29416)
fix - 2e5e415ec tabs: prevent tab header from collapsing when empty inside a drop list (#29418)

cdk

Commit Description
fix - ca634cb7b drag-drop: remove preview after animate to placeholder animation completes (#29439)

v18.2.0-next.0

10 Jul 18:17
Compare
Choose a tag to compare
v18.2.0-next.0 Pre-release
Pre-release

18.2.0-next.0 "pumice-reverie" (2024-07-10)

material

Commit Description
fix - 1f992d06c6 tree: aria-expanded attribute should not appear in the leaf node (#29273)

cdk

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

v18.1.0

10 Jul 18:04
Compare
Choose a tag to compare

18.1.0 "coral-odyssey" (2024-07-10)

cdk-experimental

Commit Description
fix - fc6beeae18 popover-edit: Fix dialog role and allow aria label on popup (#29380)

material

Commit Description
feat - 5da528e44d button: allow button color to be configured through DI (#29297)
feat - 6f698fa4e2 core: add option to configure prefix of system variables (#29139)
fix - 5a97c03928 chips: navigate between rows on up/down arrow (#29364)
fix - 566057b8f5 divider: non-text color contrast issues (#28995)
fix - 65b56400bd tabs: remove visibility style when hydrating (#29220)

cdk

Commit Description
feat - 0bc6583892 drag-drop: add mixed orientation support
feat - b5e30156c1 drag-drop: add the ability to specify an alternate drop list container (#29283)
fix - 03d4e134c8 drag-drop: reset pointer events on descendants (#29370)

multiple

Commit Description
fix - aa17c2d128 remove workarounds for formControl directive (#29296)