chore: Release #1
Open
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-28)
Bug Fixes
overflow: visibleto button. (#4973) (905e84e)<div>s with<span>(765caef)Code Refactoring
Features
Reverts
BREAKING CHANGES
PiperOrigin-RevId: 294259413
chips: Chips markup, adapters, foundations, and events have changed.
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: 40pxchips: Both
MDCChipAdapterandMDCChipSetAdapterhave new methods.MDCChipSetFoundationevent handlers now accept the corresponding chip event detail interface as the sole argument. Therootproperty has been removed from theMDCChipRemovalEventDetailinterface.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--leadingor.mdc-text-field__icon--trailingclasses.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.
checkbox: remove event listener for 'change' and add event listener for 'click'.
$mdc-button-disabled-container-fill-colorrenamed to
$mdc-button-disabled-container-color.$edgeOptOutoption frommdc-theme-prop()Sass mixin.<div class="mdc-text-field__ripple"></div>PiperOrigin-RevId: 292641405
Co-authored-by: Material Web Copybara Robot [email protected]
mdc-text-field-textarea-fill-color,mdc-text-field-textarea-stroke-color,mdc-text-field-fullwidth-bottom-line-colorremoved. Instead, usemdc-text-field-fill-color,mdc-text-field-outline-color, andmdc-text-field-bottom-line-colorrespectively to achieve the same effect.mdc-checkbox-ink-colormixin now only applies to enabled checkboxesforceLayoutmethodhoistMenuToBodyadapter method removed. In MDCSelect, HTML structure changed: the select anchor is now wrapped in a parent element, and the anchor's sibling is the select menu. Support for native select removed. Support added for select with no label. MDCSelectAdapter methods removed:getValue,setValue,isMenuOpen,setSelectedIndex,checkValidity,setValid,toggleClassAtIndex. MDCSelectAdapter methods added:hasLabel,getSelectedMenuItem,setSelectedText,isSelectedTextFocused,get/setSelectedTextAttr,getAnchorElement,setMenuAnchorElement,setMenuAnchorCorner,setMenuWrapFocus,set/removeAttributeAtIndex,focusMenuItemAtIndex,getMenuItemValues,getMenuItemCount,getMenuItemCount,getMenuItemAttr,getMenuItemTextAtIndex,add/removeClassAtIndex. MDCSelectFoundationsetValuemethod removed;getDisabled,handleMenuItemAction,getSelectedIndex,get/setRequired,initadded.$mdc-radio-touch-area=>$mdc-radio-ripple-size&$mdc-radio-ui-size=>$mdc-radio-icon-sizeto be consistent with checkbox. Also, removed$mdc-radio-ui-pctsass variable.mdc-list-item-shape-radius()=>mdc-list-single-line-shape-radius()mdc-data-table-header-row-height=>mdc-data-table-header-cell-height&mdc-data-table-row-height=>mdc-data-table-cell-height. Also removedmdc-button--densevariant, use button's density mixin instead.$mdc-notched-outline-transition-duration.OLD
NEW
appendTrackMarkers,removeTrackMarkers,setLastTrackMarkersStyleProperty, and add adapter methodsetTrackMarkers.mdc-button__rippleelement.OLD
NEW