-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Comparing changes
Open a pull request
base repository: angular/components
base: 18.1.1
head repository: angular/components
compare: 18.1.2
- 14 commits
- 199 files changed
- 9 contributors
Commits on Jul 17, 2024
-
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)
Configuration menu - View commit details
-
Copy full SHA for cf61af5 - Browse repository at this point
Copy the full SHA cf61af5View commit details -
Configuration menu - View commit details
-
Copy full SHA for aee1be8 - Browse repository at this point
Copy the full SHA aee1be8View commit details
Commits on Jul 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dcdc00b - Browse repository at this point
Copy the full SHA dcdc00bView commit details -
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)
Configuration menu - View commit details
-
Copy full SHA for cb3433a - Browse repository at this point
Copy the full SHA cb3433aView commit details
Commits on Jul 19, 2024
-
fix(material/input): Number input not changing on wheel interaction (#…
Configuration menu - View commit details
-
Copy full SHA for 15238d2 - Browse repository at this point
Copy the full SHA 15238d2View commit details
Commits on Jul 22, 2024
-
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)
Configuration menu - View commit details
-
Copy full SHA for c79ec26 - Browse repository at this point
Copy the full SHA c79ec26View commit details -
docs(material/table): table multiple row example #27621 (#29421)
Configuration menu - View commit details
-
Copy full SHA for 133c5e8 - Browse repository at this point
Copy the full SHA 133c5e8View commit details -
refactor(material/core): vendor the M3 token definitions (#29468)
Moves the definitions for the M3 tokens into our repo. (cherry picked from commit a5d2c75)
Configuration menu - View commit details
-
Copy full SHA for 37a04ff - Browse repository at this point
Copy the full SHA 37a04ffView commit details -
refactor(material/core): simplify elevation styles (#29462)
Simplifies the elevation styles to make them more maintainable. (cherry picked from commit 564a63b)
Configuration menu - View commit details
-
Copy full SHA for 3e2853d - Browse repository at this point
Copy the full SHA 3e2853dView commit details -
refactor(material/core): simplify typography setup (#29464)
Simplifies the typography setup to make it easier to maintain. (cherry picked from commit 2e62309)
Configuration menu - View commit details
-
Copy full SHA for 1f9d800 - Browse repository at this point
Copy the full SHA 1f9d800View commit details
Commits on Jul 23, 2024
-
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)
Configuration menu - View commit details
-
Copy full SHA for 9af3494 - Browse repository at this point
Copy the full SHA 9af3494View commit details -
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)
Configuration menu - View commit details
-
Copy full SHA for 6f17ccd - Browse repository at this point
Copy the full SHA 6f17ccdView commit details
Commits on Jul 24, 2024
-
docs(material/chips): describe how to use chips in forms #22906 (#29405)
Configuration menu - View commit details
-
Copy full SHA for 26a8158 - Browse repository at this point
Copy the full SHA 26a8158View commit details -
Configuration menu - View commit details
-
Copy full SHA for dcc411a - Browse repository at this point
Copy the full SHA dcc411aView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 18.1.1...18.1.2