Skip to content

Latest commit

 

History

History
452 lines (299 loc) · 40 KB

CHANGELOG.md

File metadata and controls

452 lines (299 loc) · 40 KB

0.15.0 (2017-07-10)

Bug Fixes

Features

  • checkbox: Annotate mdc-checkbox for closure (#867) (a6956b8), closes #334
  • framework-examples: Add Vue continuous slider example (#827) (6e0a8c9)
  • infrastructure: Create script for that rewrites .scss imports (#831) (bd0123b)
  • layout-grid: Add fixed column width layout grid modifier. (#816) (94d62ad), closes [(#816](https://github.com/(/issues/816) #748
  • layout-grid: Implement layout grid alignment. (#885) (1528ed7), closes #749
  • menu: annotate mdc-menu for closure compiler (b188d4f), closes #339
  • menu: Export util (#824) (7d0394b), closes #823
  • ripple: Add layout() method to component (ef99024)
  • ripple: Annotate mdc-ripple for closure (#856) (f0f0a86), closes #341
  • ripple: export util from @material/ripple (#751) (27c172a), closes #253
  • ripple: Reduce the fade out time for foreground ripple effect (9394b5f)
  • slider: Implement discrete slider and discrete slider with marker (#842) (e681aae), closes #25
  • snackbar: Implement full-featured Snackbar component (#852) (4be947f)
  • textfield: Implement text field boxes (cfa3737), closes #673

BREAKING CHANGES

  • snackbar: Adds adapter methods to capture blur, focus, and interaction events

0.14.0 (2017-06-26)

Bug Fixes

  • base: Fix compiler warnings (#788) (56d8fff), closes [(#788](https://github.com/(/issues/788)
  • button: Sets text on raised buttons on dark theme to text-primary-on-primary (#853) (49170d6)
  • infrastructure: Harden closure declaration source rewriting (#835) (7c6da3a)
  • ripple: Remove fg deactivation class when animation finishes (4985b4b)
  • toolbar: Adjusting sibling elements on mobile landscape (#846) (798091f)

Features

  • infrastructure: Create script for that rewrites .scss imports (#831) (bd0123b)
  • layout-grid: Add fixed column width layout grid modifier. (#816) (94d62ad), closes [(#816](https://github.com/(/issues/816) #748
  • menu: annotate mdc-menu for closure compiler (b188d4f), closes #339
  • menu: Export util (#824) (7d0394b), closes #823
  • ripple: Add layout() method to component (ef99024)
  • ripple: export util from @material/ripple (#751) (27c172a), closes #253
  • ripple: Reduce the fade out time for foreground ripple effect (9394b5f)
  • textfield: Implement text field boxes (cfa3737), closes #673

0.13.0 (2017-06-12)

Bug Fixes

  • demos: Fix non-unique ids in radio demo (#792) (cada61a), closes [(#792](https://github.com/(/issues/792)
  • dialog: Add 8dp padding for side-by-side buttons in RTL (#752) (07f4ee7), closes #750
  • dialog: Incorrect Text (#744) (d38756f)
  • drawer: Prevent scrolling on body when temporary drawer open (#807) (8686d85)
  • infrastructure: set Travis CI node version to 7 (#758) (75ddf28)
  • menu: Add disabled list items to menu (#780) (ef44d3d)
  • menu: Fix wrong menu styling properties (#789) (76714f2), closes [(#789](https://github.com/(/issues/789)
  • toolbar: Improve layout and scrolling logic of items in toolbars (#764) (f0ff94d)
  • toolbar: rename ambiguous identifiers (#765) (#773) (0471f1f)

Features

  • layout-grid: make layout grid nestable (#804) (dec20ab)
  • layout-grid: parameterize layout grid (#795) (99d2bbd)
  • slider: Implement continuous slider component (#781) (a9d46ab)

BREAKING CHANGES

  • drawer: Adapter API for temporary drawers contains two new methods: addBodyClass and removeBodyClass.
  • layout-grid: Add mdc-layout-grid__inner as a wrapper for mdc-layout-grid__cell. All existing implementation need to add this extra wrapper layer after upgrade to the latest layout grid.

This is for proper alignment both in nesting and removing the restriction that margin need to be at least half size of the padding.

  • menu: Rename symmetric registerDocumentClickHandler/deregisterDocumentClickHandler adapter methods to registerBodyClickHandler/deregisterBodyClickHandler
  • layout-grid: the css custom properties for customize margins and gutters are exposed in format of mdc-layout-grid-margin-#{$size}, where valid sizes are desktop, tablet and phone. The old name mdc-layout-grid-margin and mdc-layout-grid-gutter is no longer available in the new version. Sass variables change from single numeric value to Sass map to accomendate margins and gutters for different screens as well. Visually, the default value of margins and gutters change from 16px to 24px on desktop, while remain the same on tablet and mobile.
  • toolbar: The adapter method getFlexibleRowElementOffsetHeight has been renamed to getFirstRowElementOffsetHeight. Please update your code accordingly.

0.12.1 (2017-05-31)

Bug Fixes

  • Include the JavaScript for linear-progress (#760) (#759) (94e2221), closes #759

0.12.0 (2017-05-30)

Bug Fixes

Features

  • base: Annotate mdc-base for closure (#730) (e21ec90), closes #331
  • linear-progress: Implement Linear Progress indicators (#672) (c47d1c2)
  • snackbar: Added dismissOnAction option to show method (#459) (1d2d800)
  • tabs: Implement a tab bar scroller component (#689) (6c1043e)

Performance Improvements

  • ripple: Use passive event listeners on adapter instantiation (#649) (3dd9a13), closes #629

BREAKING CHANGES

  • dialog: - Dialogs do not require a style="visibility:hidden" attribute in html.
  • registerTransitionEndHandler, deregisterTransitionEndHandler, and isDialog methods must be implemented by the adapter

0.11.1 (2017-05-17)

Bug Fixes

  • tabs: Use proper import for animation (#651) (c3cb0e0)

0.11.0 (2017-05-15)

Bug Fixes

  • drawer: Always remove overlay when drawer is swiped to close (#555) (95dbcd0), closes [(#555](https://github.com/(/issues/555)
  • infrastructure: Disable webpack-dev-server host checking (#571) (023c851)
  • infrastructure: update stylefmt command to the new params and format (#573) (c54a797)
  • menu: Add z-index to MDC Menu to correct stacking related issue (#615) (01c6ca5)
  • ripple: Ripple should not activate on disabled label click (#532) (7cc3dc8)
  • tabs: Typo in package.json (c031d83)
  • textfield: Add badInput validity check to textfield (#570) (e80fe7d)
  • textfield: Make bar respect invalid styling (#585) (3e11d33)

Features

  • card: Improve RTL support in Cards (#545) (398c883)
  • tabs: Implement a tab component (#581) (0c00d3f)

0.10.0 (2017-05-01)

Bug Fixes

  • checkbox: Add --disabled modifier to checkbox root element to prevent hover state (#533) (eb51e32)
  • drawer: Remove -16px left positioning for interactive list items (#550) (9229e0b), closes #526
  • radio: Center align radio box (#538) (83d1815)
  • select: Nest list-divider style in mdc-select declaration (#516) (a3d2928)
  • toolbar: Prevent cut-offs of the toolbar section content (#540) (4affc5c)

Features

  • animation: Annotate for closure compiler (f28f465), closes #332
  • drawer: Emit open/close events on slidable drawers (#530) (be85871), closes [(#530](https://github.com/(/issues/530)
  • ripple: Move getMatchesProperty into createAdapter for Ripple. (#469) (#523) (74d6e6b), closes #523
  • toolbar: Implement flexible and waterfall toolbar. (#448) (#499) (43cef6c)

0.9.1 (2017-04-18)

Bug Fixes

  • auto-init: Register MDCPersistentDrawer (#528) (bba6e3e), closes #527
  • infrastructure: correct reason why component is shown in summary table. (#519) (f96a1ca)
  • package: Change scss file to use slash for comment. (#517) (afec470)

0.9.0 (2017-04-17)

Bug Fixes

  • checkbox: Prevent checkboxes and radios from changing size with multiline label (#497) (2e1023c)
  • dialog: Ensure isOpen() returns false when dialog is closed (#465) (6abc3ee), closes [(#465](https://github.com/(/issues/465)
  • dialog: Handle focus trapping correctly (#491) (12bd03e)
  • grid-list: Updates the grid-list's foundation to NOT center tile… (#467) (a758519)
  • infrastructure: Print the entire invalid git commit message. (#510) (ea8f862)
  • list: Update interactive list's with ripple-upgrade to be narrower (#468) (c062319), closes #463
  • toolbar: Make Toolbar accommodated very long section (130246f), closes #508

Features

  • checkbox: Add value property to the component and foundation. (#492) (ff772ad)
  • drawer: Implement persistent drawer (#488) (79a2352)
  • radio: Add a value property to the component and foundation. (#490) (279d3fd)

BREAKING CHANGES

  • dialog: There are a few changes that need to be taken into account for this commit:
  • Dialogs no longer require an aria-hidden="true" attribute.
  • Dialogs do require a style="visibility:hidden" attribute for correct first render.
  • trapFocusOnSurface and untrapFocusOnSurface methods must be implemented for the adapter
  • hasClass, setAttr, registerFocusTrappingHandler, deregisterFocusTrappingHandler, numFocusableTargets, setDialogFocusFirstTarget, setInitialFocus, getFocusableElements, saveElementTabState, restoreElementTabState, makeElementUntabbable, setBodyAttr, rmBodyAttr, getFocusedTarget, and setFocusedTarget have all been removed from the adapter.
  • applyPassive, saveElementTabState, and restoreElementTabState have all been removed from mdcDialog.util.
  • grid-list: Adds getNumberOfTiles to grid-list's adapter API. Please update adapters to implement getNumberOfTiles.

0.8.0 (2017-04-03)

Bug Fixes

Features

  • drawer: Export util methods (#423) (1babd7c), closes #422
  • ripple: Implement subset of improved interaction response guidelines (#419) (046e337), closes #190
  • toolbar: Improve toolbar to support multiple row. (#448) (14ffe53)

BREAKING CHANGES

  • toolbar: All existing toolbar need to add
    to properly align its contents.

0.7.0 (2017-03-20)

Bug Fixes

  • infrastructure: Update publishConfig.ignore to commands.publish.ignore. (#383) (cc939ea)

Features

  • dialog: Implement a dialog component (#395) (413b54e)
  • grid-list: Implement mdc-grid-list (#47) (#359) (5b84e73)

0.6.0 (2017-03-06)

Bug Fixes

  • checkbox: Ensure correct positioning in RTL context (#381) (e296032), closes #375
  • form-field: Make gap btn control and label clickable (#373) (61a65f6), closes #371
  • framework-examples: Fix template syntax in VueJS example (#365) (465a674), closes [(#365](https://github.com/(/issues/365)
  • ripple: Provide fallbacks for all custom properties (#367) (d5873f6)
  • switch: Remove checkbox references from SCSS (#352) (ac88267), closes #322
  • textfield: Adjust labels when initializing pre-filled textfields (f8d72ba), closes #300
  • toolbar: Correct class name for mdc-toolbar-fixed-adjust (#321) (cd5238f), closes #320

Features

  • menu: Move current time retrieval to adapter. (4d0d587)
  • ripple: Implement improved graceful degradation (bfac404)
  • select: Add value retrieval mechanisms to JS API (33d2008), closes #232

BREAKING CHANGES

  • select: New adapter method: getValueForOptionAtIndex(index: string) => string should return the "value" of the option at the given index. Please add this method to your adapter implementations.
  • menu: adapters have to implement the new getAccurateTime method.

0.5.0 (2017-02-21)

Bug Fixes

  • base: Ensure this.root_ is available within getDefaultFoundation() (#279) (c637cb6), closes #242
  • checkbox: Added box-sizing to component (a7f6221)
  • checkbox: Disable transitions when using mdc-checkbox-anim* classes (#285) (3effc35), closes #205
  • demos: Fix missing whitespace in select demo (#262) (8a14374), closes [(#262](https://github.com/(/issues/262)
  • drawer: Fix Temporary Drawer on IE11 (19ff4b7)
  • icon-toggle: Remove duplicate "main" property from package.json (#277) (7f26bfc)
  • scripts: Ensure determine-pkg-versions outputs correct info (#261) (1097e6f)
  • scripts: Generate semver tag within post-release.sh (#263) (82c3ffe)
  • select: Ensure disabled styles render correctly (#286) (8d77853), closes #276
  • textfield: Fix "colr" typo of "color" property. (#316) (6157b98), closes [(#316](https://github.com/(/issues/316)
  • toolbar: Add z-index to fixed toolbars (#317) (1916a81), closes [(#317](https://github.com/(/issues/317) #315
  • webpack: Fix tests unable to run (1cd9e07)
  • webpack: Fix uglifyjs breaking and disable modules for webpack tree shaking to work (c25d387)

Features

  • button: Add user-select: none; to button (#270) (2b319dd)
  • form-field: Make form field labels trigger input ripples. (c441157)
  • toolbar: Implement mdc-toolbar (#38) (#267) (3ca957c)
  • npm-keywords: Add keywords to components package.json files (f3cc9ab)
  • ripple: Add programmatic ripple activation/deactivation. (acccc9e)
  • typography: Add !default to variables (23a0a12)

0.4.0 (2017-02-06)

Bug Fixes

  • button: Add text-decoration: none to mdc-button to allow link styles (#210) (eef6fe8)
  • card: Add bottom margin for 3x media in horizontal blocks (#207) (2151bd4)
  • checkbox: Ensure ripple is activated on keydown (#241) (b661dae)
  • checkbox: Use correct animation end event type in adapter (#220) (fd04c83)
  • demos: Fix closing HTML tags in typography demo (#199) (e53b11b)
  • demos: Remove superfluous anchor tags for drawer demo (#223) (7fa157c)
  • drawer: Adds z-index to temporary drawer (#212) (65b05bf)
  • icon-toggle: Use correct fn signature for rmAttr adapter method (#216) (c82d447)
  • scripts: Update release scripts for newest lerna version (#259) (912f5da)

Features

  • checkbox: Add ripples to checkboxes (#206) (8aa1c3d)
  • framework-examples: Add ripple support to React checkbox example (#233) (db6a6db)
  • layout-grid: Add initial implementation of the layout grid. (a2e3e04)
  • ripple: Implement improved origin point rules (#249) (fc20d1a)
  • ripple: Implement new ripple sizing requirements (#244) (f0d26e6), closes #187
  • switch: Implement css switch component (#235) (625aa51)

0.3.0 (2017-01-23)

Bug Fixes

Features

  • button: Add ink ripple support (7ef4d9a)
  • fab: Add ink ripple support (7460030)
  • list: Add interactivity and ink ripple support to mdc-list-item (#191) (ce0bbf6)
  • select: Add multi-select styles to select component (#172) (c78e7f4)

BREAKING CHANGES

  • textfield: Adapter API for textfields contains two new methods. registerInputInputHandler and registerInputKeydownHandler. To upgrade add these methods to your adapter.

0.2.0 (2017-01-09)

Bug Fixes

BREAKING CHANGES

  • fab: Button implementations in certain browsers such as Mobile Safari and IE11 do not adhere to flexbox rules. To center icons in all supported browsers, add a span element as a child of the button and give it a class of mdc-fab__icon

example:

<button class="mdc-fab material-icons">
  <span class="mdc-fab__icon">
    favorite_border
  </span>
</button>