Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MDC 38/39 #281

Closed
48 tasks done
jamesmfriedman opened this issue Jul 30, 2018 · 0 comments
Closed
48 tasks done

MDC 38/39 #281

jamesmfriedman opened this issue Jul 30, 2018 · 0 comments

Comments

@jamesmfriedman
Copy link
Collaborator

jamesmfriedman commented Jul 30, 2018

Bug Fixes

  • chips: Remove color change from selected filter chips (#3093) (19e3d7f)
  • infrastructure: Rework goog.module positioning (#3098) (fbbf58a)
  • infrastructure: update saucelabs windows 8 to windows 10 IE11 browser (#3234) (547a980)
  • list: add list to webpack js bundler (#3244) (b95d4e7)
  • select: reduce adapter apis not used in MDCReact and update events to new pattern (#3204) (e29742a)
  • theme: Allow CSS variables to be passed to mdc-theme-prop (#3086) (b47fe7d)

Code Refactoring

  • chips: Register handlers in component instead of foundation (#3146) (36e2755)

Features

  • auto-init: return initialized components (#1333) (19955bf)
  • floating-label: Add max-width mixin (#2956) (66f8bf7)
  • icon-button: update event handling to new standard (#3165) (531867e)
  • list: Add single selection (#2970) (cd1f972)
  • list: Updated two-line list to use typography baseline to match spec. (#3085) (4d11b37)
  • switch: Merge updated switch into master (#3214) (19724f1), closes #2825
  • tab-bar: Launch tab, tab indicator, tab scroller, tab bar (#3252) (78bf4bc)
  • 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)
  • notched-outline: Add alignment (#3349) (ee93c61)
  • snackbar: Doesn't close while other element is focused (#2183) (e161cc0)
  • text-field: Adjust the baseline of text field's helper text to match spec (#3069) (36acc28)
  • text-field: Fix label shake bug. Update invalid screenshots to show required star. (#3338) (1245573)
  • text-field: Input position and textarea size (#3321) (5160241), closes #2826

Features

  • chips: Pass chip ids instead of foundations in events (#3265) (7ce0fba)
  • icon-button: Add SVG support (#3310) (25fa51e)
  • menu: Adds new menu, menu-surface. (#3311) (6439c5b)
  • switch: Move component specific logic out of foundation (#3342) (e1e4465)
  • tab: Move event registration to component (#3331) (f2ac793)
  • tab-bar: Support manual and automatic activation behavior (#3303) (7182fa1)
  • tab-indicator: Remove transitionend event handling (#3337) (c8af69b)
  • 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.
jamesmfriedman added a commit that referenced this issue Aug 22, 2018
…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
@jamesmfriedman jamesmfriedman changed the title MDC 38 MDC 38/39 Aug 23, 2018
@jamesmfriedman jamesmfriedman mentioned this issue Aug 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant