Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: angular/components
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 18.1.1
Choose a base ref
...
head repository: angular/components
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 18.1.2
Choose a head ref
  • 14 commits
  • 199 files changed
  • 9 contributors

Commits on Jul 17, 2024

  1. fix(material/chips): remove button is too small (#29351)

    * 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
    
    BREAKING CHANGE:  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
    
    BREAKING CHANGE: 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
    
    BREAKING CHANGE:  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)
    essjay05 authored and crisbeto committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    cf61af5 View commit details
    Browse the repository at this point in the history
  2. Revert "fix(material/chips): remove button is too small (#29351)" (#2…

    …9451)
    
    This reverts commit d6aed80.
    
    (cherry picked from commit d283622)
    andrewseguin committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    aee1be8 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. docs(cdk/drag-drop): fix show scrollbar in preview of the last element (

    #29450)
    
    (cherry picked from commit e517789)
    josuVazquez authored and crisbeto committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    dcdc00b View commit details
    Browse the repository at this point in the history
  2. refactor(material/core): remove unused/unnecessary utilities (#29444)

    Removes a few utilities that either aren't necessary anymore or aren't being used.
    
    (cherry picked from commit 174cf42)
    crisbeto committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    cb3433a View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. fix(material/input): Number input not changing on wheel interaction (#…

    …29449)
    
    In blink and webkit browsers the default behavior of increasing or decreasing a focused number input on wheel events is broken until a wheel event listener is explicitly added.
    
    Fixes #29074
    
    (cherry picked from commit 10da6c6)
    ChristophWieske authored and crisbeto committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    15238d2 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. fix(material/form-field): hiding a label after it has been (#29461)

    shown leaves a blank space
    
    There is a method _shouldLabelFloat that determines if the label
    should float. A check was added `_hasFloatingLabel` to see if a
    floating label exists before deciding whether the label should
    float. Examples were added at the end of the input-demo file,
    where you can see inputs without labels (both fixed and dynamic).
    Removing the solution also allows you to simulate the described
    error. Unit tests were added to validate the solution.
    
    Fixes #29401
    
    (cherry picked from commit 13aef8c)
    jullierme authored and crisbeto committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    c79ec26 View commit details
    Browse the repository at this point in the history
  2. docs(material/table): table multiple row example #27621 (#29421)

    * docs(material/table): table multiple row example
    
    Added an example of how to use the multiTemplateDataRows template to the docs.
    
    Fixes #27621
    
    * ci: fix formatting issues
    
    ---------
    
    Co-authored-by: Miles Malerba <mmalerba@google.com>
    (cherry picked from commit 4a86a65)
    2 people authored and crisbeto committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    133c5e8 View commit details
    Browse the repository at this point in the history
  3. refactor(material/core): vendor the M3 token definitions (#29468)

    Moves the definitions for the M3 tokens into our repo.
    
    (cherry picked from commit a5d2c75)
    crisbeto committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    37a04ff View commit details
    Browse the repository at this point in the history
  4. refactor(material/core): simplify elevation styles (#29462)

    Simplifies the elevation styles to make them more maintainable.
    
    (cherry picked from commit 564a63b)
    crisbeto committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    3e2853d View commit details
    Browse the repository at this point in the history
  5. refactor(material/core): simplify typography setup (#29464)

    Simplifies the typography setup to make it easier to maintain.
    
    (cherry picked from commit 2e62309)
    crisbeto committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    1f9d800 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. build: docs incorrectly outputting function parameters with object li…

    …teral type (#29471)
    
    We were extracting the type of a function parameter by splitting on `:` and taking the second item. The problem is that if the type is an object literal, it'll have more than one colon in its text.
    
    These changes fix the issue by only looking for the first colon and extracting the name based on it.
    
    (cherry picked from commit 315ebf1)
    crisbeto committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    9af3494 View commit details
    Browse the repository at this point in the history
  2. build: remove unused dependencies (#29472)

    We no longer depend on the `@material` packages so they can be removed, together with the infrastructure that was used to support them.
    
    (cherry picked from commit c4f033c)
    crisbeto committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    6f17ccd View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. docs(material/chips): describe how to use chips in forms #22906 (#29405)

    * docs(material/chips): describe how to use chips in forms
    
    Added a description and examples in the docs of how to use chips in both reactive and template-driven forms.
    
    Fixes #22906
    
    * docs(material/chips): describe how to use chips in forms
    
    Updated indentation
    
    (cherry picked from commit 9ca2a0a)
    HermanWKeuris authored and crisbeto committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    26a8158 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dcc411a View commit details
    Browse the repository at this point in the history
Loading