Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changelog
(2020-02-13)
Bug Fixes
Code Refactoring
Features
Reverts
BREAKING CHANGES
PiperOrigin-RevId: 294259413
text-field: Redundant mixins
mdc-text-field-textarea-fill-color
,mdc-text-field-textarea-stroke-color
,mdc-text-field-fullwidth-bottom-line-color
removed. Instead, usemdc-text-field-fill-color
,mdc-text-field-outline-color
, andmdc-text-field-bottom-line-color
respectively to achieve the same effect.textfield: Filled textfields will no longer show a floating label at certain densities. This can be overridden by setting
$mdc-text-field-minimum-height-for-filled-label: 40px
chips: Both
MDCChipAdapter
andMDCChipSetAdapter
have new methods.MDCChipSetFoundation
event handlers now accept the corresponding chip event detail interface as the sole argument. Theroot
property has been removed from theMDCChipRemovalEventDetail
interface.line-ripple:
mdc-line-ripple-color()
mixin has been renamed tomdc-line-ripple-active-color()
grid-list: Per the deprecation notice for grid-list, this component has been
removed from MDC-Web. Some of its functionalities are available in the MDC Image List package instead. It is recommended that you migrate to the mdc-image-list package to continue to receive new features and updates.
Four variables and a mixin in mdc-textfield were renamed to use a mdc-text-field- prefix when depended on via @import (formerly mdc-required-text-field-label-asterisk_, now required-label-asterisk_).
textfield: icons must use
.mdc-text-field__icon--leading
or.mdc-text-field__icon--trailing
classes.mdc-text-field-icon-color()
mixin has been split intomdc-text-field-leading-icon-color()
andmdc-text-field-trailing-icon-color()
.chore(textfield): use --leading/trailing modifiers for icons
chore(textfield): docs typo
chore(textfield): revert hover fix
chore(textfield): fix unclosed css block
chore(textfield): separate position mixins for leading/trailing icons
chore(textfield): restore two-icons position mixin
chore(textfield): update component test with icon classes
chore(textfield): update foundation test for preventDefault error
switch: Added setNativeControlAttr method in mdc-switch adapter.
textfield: filled text fields must include a
<div class="mdc-text-field__ripple"></div>
PiperOrigin-RevId: 292641405
Co-authored-by: Material Web Copybara Robot [email protected]
$mdc-button-disabled-container-fill-color
renamed to
$mdc-button-disabled-container-color
.$edgeOptOut
option frommdc-theme-prop()
Sass mixin.