Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade @angular/cdk from 18.1.1 to 18.1.2 #67

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tFaster
Copy link
Owner

@tFaster tFaster commented Aug 15, 2024

snyk-top-banner

Snyk has created this PR to upgrade @angular/cdk from 18.1.1 to 18.1.2.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 1 version ahead of your current version.

  • The recommended version was released on 21 days ago.

Release notes
Package name: @angular/cdk
  • 18.1.2 - 2024-07-24

    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)

  • 18.1.1 - 2024-07-17
from @angular/cdk GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade @angular/cdk from 18.1.1 to 18.1.2.

See this package in npm:
@angular/cdk

See this project in Snyk:
https://app.snyk.io/org/tfaster/project/8cc9703d-771a-4121-83ec-ac8b68258701?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants