You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typography: New mixin to set exact baseline height of text elements. (#3083) (dd3817a)
BREAKING CHANGES
tab-bar: mdc-tabs is deprecated and no longer bundled in the material-components-web package. You are encouraged to use the new mdc-tab-bar and related packages instead.
switch: MDC Switch DOM structure and Sass APIs have changed, and JavaScript APIs have been added. See the documentation for more information.
icon-button: Removed some adapter APIs (registerInteractionHandler, deregisterInteractionHandler) and shifted responsibility of event handling out of the foundation and into the component.
select: Removed some adapter APIs (setDisabled, setSelectedIndex, getSelectedIndex, setValue, registerInteractionHandler, deregisterInteractionHandler) and shifted responsibility of event handling and programmatic select element updates out of the foundation and into the component.
chips:MDCChip/MDCChipSet registerEventHandler adapter methods were removed, and corresponding handlers were made public in MDCChipFoundation/MDCChipSetFoundation.
MDC 39
Bug Fixes
menu-surface: Remove overflow hidden during menu-surface animation. (#3358) (951a3ae)
text-field: New API to enable/disable native input validation for custom validity (#3084) (bd49920)
text-field: Support for types- color, date, datetime-local, etc (#2854) (0d02f1f)
typography: Reverted baseline mixin to use display inline-block because of IE issues (#3297) (ded07d0)
BREAKING CHANGES
switch: We've removed the isChecked and isDisabled methods from MDCSwitchFoundation. Please update any call to MDCSwitchFoundation.handleChange so it passes in the change event. And note that isNativeControlChecked and isNativeControlDisabled are no longer required methods in MDCSwitchAdapter
text-field: Setting the validity state using setValid no longer ignores native input validation. New API useNativeValidation is introduced to enable / disable native validation for custom validity.
menu: Menu positioning logic has been split into its own package (mdc-menu-surface). mdc-menu is rebuilt to use mdc-menu-surface and mdc-list styles and JavaScript.
text-field: The mdc-text-field--upgraded class has been removed. mdc-text-field__input position has changed by 2px to match spec. mdc-text-field--textarea width in IE and Edge now matches other browsers.
tab: Removes handleTransitionEnd foundation API. Removes [de]registerEventHandler adapter APIs. Event registration is now the component's responsibility.
icon-button: Removes the previous data attributes and no longer dynamically changes the label. Allows developers to add both elements to the button, with one indicated as the on state by using a data-toggle-on attribute. State is now changed by adding/removing the mdc-icon-button--on class to the mdc-icon-button element. All icon elements should have the mdc-icon-button__icon class.
tab-indicator: Removes handleTransitionEnd foundation API. Removes [de]registerEventHandler adapter APIs.
typography: Helper text and MDC List two-line text that uses new typography baseline mixin should strip the white-space.
chips:MDCChip takes an id, no longer exposes its foundation, and has selected as a property. Custom event details require a chipId instead of chipFoundation. New methods added to MDCChipSetAdapter and MDCChipSetFoundation.
text-field: Removed bottom margin from both text field and helper text.
snackbar: Adds a new adapter method that is required isFocused.
tab-bar: Adds focusTabAtIndex and getFocusedTabIndex MDCTabBarAdapter APIs; adds focus MDCTab component API used by MDCTabBar.
The text was updated successfully, but these errors were encountered:
…sts. For multi line lists, it is required as a wrapper for PrimaryText and SecondaryText. If you’re using SimpleListItem, everything should just keep working without any changes. #281
Bug Fixes
Code Refactoring
Features
BREAKING CHANGES
MDCChip
/MDCChipSet
registerEventHandler adapter methods were removed, and corresponding handlers were made public inMDCChipFoundation
/MDCChipSetFoundation
.MDC 39
Bug Fixes
Features
BREAKING CHANGES
isChecked
andisDisabled
methods fromMDCSwitchFoundation
. Please update any call toMDCSwitchFoundation.handleChange
so it passes in the change event. And note thatisNativeControlChecked
andisNativeControlDisabled
are no longer required methods inMDCSwitchAdapter
setValid
no longer ignores native input validation. New APIuseNativeValidation
is introduced to enable / disable native validation for custom validity.mdc-text-field--upgraded
class has been removed.mdc-text-field__input
position has changed by 2px to match spec.mdc-text-field--textarea
width in IE and Edge now matches other browsers.MDCChip
takes anid
, no longer exposes itsfoundation
, and hasselected
as a property. Custom event details require achipId
instead ofchipFoundation
. New methods added toMDCChipSetAdapter
andMDCChipSetFoundation
.isFocused
.The text was updated successfully, but these errors were encountered: