Skip to content

Latest commit

 

History

History
2454 lines (1478 loc) · 201 KB

CHANGELOG.md

File metadata and controls

2454 lines (1478 loc) · 201 KB

1.0.1 (2019-04-13)

Features

1.0.0 (2019-04-11)

Bug Fixes

  • demos: Scroll behavior for standard top-app-bar (#1827) (eb9e8f5), closes #1826
  • radio: Should set default checked with multiple groups (#1857) (fa89c0e), closes #1834
  • select: Enhanced variant exception using FormControl (#1856) (3a9f95c), closes #1852
  • text-field: Move init to AfterContentInit for transcluded content (#1830) (c18afcd), closes #1828

Features

material-components-web improvements

0.44.0 (2019-02-22)

Bug Fixes

Features

Build

  • Include .map sourcemap files in npm release
  • Enable all strict type checking

BREAKING CHANGES

  • As per #1154. Delete deprecated Grid List component.

0.43.7 (2019-01-29)

Bug Fixes

0.43.6 (2019-01-27)

Bug Fixes

0.43.5 (2019-01-24)

Bug Fixes

0.43.4 (2019-01-21)

Bug Fixes

  • select: Should not trigger ng-dirty on initialize (#1755) (9038146), closes #1739
  • text-field: Prevent reset of validity style during change check (#1743) (9fcb7ac), closes #1740
  • top-app-bar: Move scroll event to component (#1750) (38a2df9), closes #1753

Features

0.43.3 (2019-01-16)

Bug Fixes

Features

0.43.2 (2019-01-14)

Bug Fixes

Features

MdcSwitch

  • Adds toggle()
  • Adds @Input() required: boolean
  • Adds aria-label
  • Adds aria-labelledby
  • Fixes issues using with forms

0.43.1 (2019-01-12)

Bug Fixes

Features

New for MdcSelect

  • Adds reset(): void

New for MdcList

  • Adds @Input() disableRipple: boolean
  • Adds setSelectedValue(value: any): void
  • Adds getSelectedItem(): MdcListItem | undefined
  • Adds getListItemByValue(value: any): MdcListItem | undefined
  • Adds getListItemByIndex(index: number): MdcListItem | undefined
  • Adds getListItemIndexByValue(value: any): number
  • Adds reset(): void

0.43.0 (2019-01-10)

Bug Fixes

Features

BREAKING CHANGES

  • snackbar: Snackbar API changed to match the latest design guidelines. See the Snackbar documentation for more information.
  • text-field: Please update your event code accordingly. (change) - Emitted when an alteration to the element's value is committed. (input) - Emitted synchronously when the value has been altered.

0.42.6 (2019-01-08)

Bug Fixes

0.42.5 (2019-01-07)

Bug Fixes

  • slider: Min, Max and step value fail to initialize (#1653) (01766cd)
  • text-field: Should display and float [value] (#1652) (839c26b), closes #1651

Features

0.42.4 (2019-01-06)

Bug Fixes

Features

BREAKING CHANGES

  • typography: Deprecated selectors removed. Please update your code accordingly.

0.42.3 (2019-01-04)

Bug Fixes

  • demos: Close drawer when route change for small screen devices (#1640) (1d52c8e)
  • select: Should update value asynchronously (#1642) (bf8f1fa), closes #1638
  • select: Update validity style on reset (#1636) (aa22f63)
  • tab-bar: focusOnActivate not respecting false (#1645) (6c7b143), closes #1644

0.42.2 (2018-12-30)

Bug Fixes

  • dialog: Complete streams when destroying injectable (#1628) (e658ab8)
  • select: Check ngControl value on initialize (#1632) (464dad8), closes #1631
  • text-field: Reuse coerced disabled value (#1634) (edb3613)

0.42.1 (2018-12-19)

Bug Fixes

  • demos: Drawer navigation on keypress (#1618) (8d161be)
  • form-field: Remove experimental gap mixin (#1601) (4e69e55)
  • helper-text: Support deprecated exports and selectors (#1625) (09daf9f)
  • icon: Support query params when prefixing (#1597) (197cfa4)
  • tab: Deduplicate synthetic ripple event on touch devices (#1615) (1fcb59f)
  • text-field: Prevent synthetic event on touch devices (#1613) (b158a7c)
  • Use 'ngx' prefix naming for extended Sass (#1598) (7e61941)

Features

BREAKING CHANGES

  • mdcTextFieldHelperText and mdcSelectHelperText are deprecated and are to be removed in the near future. Please update your code to use mdcHelperText or mdc-helper-text selectors.

0.42.0 (2018-12-07)

Bug Fixes

Features

BREAKING CHANGES

  • select: Renamed the property floatingLabel to floatLabel. Please update your code to use floatLabel.

0.41.4 (2018-11-27)

Bug Fixes

0.41.3 (2018-11-22)

Bug Fixes

Features

0.41.2 (2018-11-19)

Bug Fixes

Features

0.41.1 (2018-11-05)

Bug Fixes

Features

0.41.0 (2018-11-02)

Bug Fixes

Features

Performance Improvements

BREAKING CHANGES

  • chips: Removes deselect() from chip-set. Update your code to use select() for toggling.
  • button: Removes the deprecated icon property from button, as it's no longer needed.

0.40.2 (2018-10-13)

Bug Fixes

Features

Performance Improvements

  • text-field: Speed and refactoring of foundation classes (#1431) (f8677f1)

0.40.1 (2018-10-02)

Bug Fixes

  • portal: Define attached host for portals when attach to hosts (#1391) (3a52dc1)
  • radio: Should not show ripple if disabled (#1394) (7b5fc3a)
  • snackbar: Should check if action button exists (#1390) (31bac8e)

Features

0.40.0 (2018-09-30)

Bug Fixes

  • card: Remove erroneous directive config line (b69198d)
  • checkbox: Prevent bubbling for second event (#1385) (870d360)
  • chips: Use rxjs for event listening (#1358) (cbd01b8)
  • drawer: Fix focus-trap import and use factory (#1370) (6007f89), closes #1369
  • drawer: Run transitionend listener outside angular with filter (#1349) (79eb2fb)
  • select: Set transform origin for line ripple (#1386) (b1c5242)
  • tab-scroller: Should run outside angular, and filter on transitionend (#1346) (91c6956)
  • top-app-bar: Should destroy ripple (#1355) (aff2c87)

Features

Performance Improvements

BREAKING CHANGES

  • dialog: MDCDialog has been reimplemented to support more use cases, so APIs and the DOM structure have changed. See the updated documentation for more information.
  • MDC Shape package has been removed and replaced with mixins implementing the Shape system. This system implements only rounded corners to provide a straightforward CSS-only solution. Replaced all *-corner-radius component mixins with *-shape-radius mixins to integrate with Shape system.
  • linear-progress: Please reference updated documentation for implementation details.
  • card: MdcRipple is now automatically injected into mdc-card-primary-action, so just remove previous mdc-ripple directives applied manually.
  • card: Removed icons: boolean from mdc-card-actions. Please update your code to use mdc-card-action-icons.
  • card: Removed buttons: boolean from mdc-card-actions. Please update your code to use mdc-card-action-buttons.
  • fab: Position values renamed to bottomLeft and bottomRight.
  • drawer: Removed open() and close() methods. Please update your code to use open: boolean.
  • drawer: Removed isOpen() method. Please use open: boolean
  • text-field: Use directive mdcTextFieldIcon on an mdc-icon inside an mdc-text-field.
  • text-field: Renamed nativeValidation to useNativeValidation
  • text-field: Removed getValue() method, please update your code to use value.
  • text-field: Removed setValid() method, please update your code to use valid.
  • text-field: Removed focused property, this is now handled by the foundation.
  • text-field: Removed setHelperTextContent() property.
  • menu: Removed open() and close() methods. Please update your code to use open: boolean.

0.39.3 (2018-09-16)

Bug Fixes

Features

0.39.1 (2018-09-08)

Bug Fixes

Features

0.39.0 (2018-09-07)

Bug Fixes

  • list: Should correctly listen and handle async changes
  • checkbox: Should listen on input element for change (#1233) (7cb5ec1)
  • demos: Cleanup and fixes for outlined change (#1257) (9fba0ff)
  • select: Default autosize to false and coerce string value (#1244) (99414ad), closes #1241
  • select: Only add line ripple listeners when line ripple is present (#1274) (8164c53)
  • select: Should display outlined with coerced value (#1238) (2da3857), closes #1237
  • snackbar: Doesn't close while other element is focused (#1242) (9f2f912)
  • tab: Fixed width indicator should be same width as content (#1285) (4ad5780), closes #1236
  • tab-bar: Adds new MDC adapter methods (#1270) (c3ea7fe)
  • Use directive configurations + clean-up (#1295) (ec0393e)

Features

  • checkbox: Move component specific logic out of foundation (#1273) (fa46240)
  • chips: Add select, deselect and getSelectedChipIds methods (#1254) (db60366), closes #1252
  • chips: Pass chip ids instead of foundations in events (#1253) (79471a8)
  • drawer: Add optional selectors + refactoring (#1292) (6dd62d0)
  • drawer: Improved navigation drawer (#1279) (0400ea8), closes #1255
  • fab: Add icon property (#1294) (a638359)
  • icon-button: Add icon prop for non-toggling icon (#1289) (4c14d31)
  • icon-button: Improved MDC Icon Button (#1265) (f58160f), closes #1245
  • list: Add wrapFocus property (#1269) (2ccdae4)
  • switch: Move component specific logic out of foundation (#1246) (757f696)
  • tab: Add focus() method (#1271) (ebe3939)
  • tab-indicator: Remove transitionend event handling (#1243) (5c49274)
  • Implement platform detection service (#1277) (a72f550)
  • Move [materialIcons] selector to MdcIconModule (#1281) (23b6285)
  • Implement MDC Menu Surface, improved Menu (#1280) (4f3f0cc), closes #1255
  • text-field: Add nativeValidation to enable/disable custom validity (#1258) (f7c4f49), closes #1256
  • text-field: Remove box property and make box variant new default (#1247) (e2edbe3), closes #1049
  • text-field: Rename property outline to outlined (#1249) (c181cee)
  • top-app-bar: Implement MDC Top App Bar (#1261) (1a3f979), closes #1260
  • list: Add singleSelection property
  • list: Add disabled property for list item
  • list: Add useActivatedClass property
  • list: Add useSelectedClass property
  • list: Add verticalOrientation property
  • Update material-components-web to v0.39.1 (#1275) (b88dad6)

BREAKING CHANGES

  • drawer: Drawer has new DOM structure, mixins and properties. Please reference documentation for implementation details.
  • icon-button: Icon Button has new DOM structure, mixins and properties. Please reference documentation for implementation details.
  • menu: Menu has new DOM structure, mixins and properties. Please reference documentation for implementation details.
  • top-app-bar: Insert top prefix for all existing selectors (e.g.: mdc-app-bar to mdc-top-app-bar)
  • text-field: Removes the margin-top from the mdc-text-field container. This can cause a UI to shift/change.
  • text-field: Removes box property and makes box the new default style.
  • text-field: Property outline was renamed to outlined.
  • text-field: Setting the validity state using setValid no longer ignores native input validation. New API nativeValidation is introduced to enable / disable native validation for custom validity.
  • list: Removed selection property. Please use singleSelection instead.
  • list: Removed lines property. Please use twoLine: boolean to increase the height of a row.
  • list: Removed clearSelected method.
  • Removed MdcThemeModule. Import MdcIconModule to use [materialIcons] directive if needed.
  • select: Property autosize defaults to false, please update your code accordingly.

0.38.2 (2018-08-17)

Bug Fixes

  • app-bar: Execute prominent app-bar following timeout (#1229) (f8a3eb6), closes #1226
  • tab-bar: Should reset subscriptions listening for tab changes (#1225) (ea09759), closes #1223
  • text-field: Should compare using coerced value (#1231) (f40759f)

Features

How to handle browser refresh with Tabs

View a StackBlitz example: trimox#1206

BREAKING CHANGES

  • list: Removed multiple: boolean from mdc-list. Please update your code accordingly.

0.38.1 (2018-08-11)

Bug Fixes

  • chips: Add return value type to handleTrailingIconInteraction (#1189) (c2b16ed)
  • chips: Fix event interactions and selections + improvements (#1196) (f0d812f), closes #1195
  • demos: Add alternate color example for mdc-switch (#1187) (cf038b1)
  • dialog: Coerce accept, cancel and action props to boolean (#1192) (9448a5e)
  • slider: Null check before calling destroy (#1191) (ca40ad6), closes #1190

Features

  • ripple: Remove usage of EventRegistry (#1194) (18b00bc)
  • snackbar: Use ChangeDetectionStrategy.OnPush + refactoring (#1199) (d5bc071)

0.38.0 (2018-08-08)

Bug Fixes

  • chips: Should use foundation handleChipRemoval method (#1185) (c930820)
  • list: Coerce border and dense string values to boolean (#1163) (17bbdf3)
  • text-field: Coerce disabled, persistent and validation strings to boolean (#1182) (992031a)
  • text-field: Should set outline if value is coerced (#1161) (8467030)

Features

BREAKING CHANGES

  • toolbar: mdc-toolbar is deprecated and no longer bundled. You are encouraged to use the new mdc-app-bar package.
  • icon-toggle: mdc-icon-toggle is deprecated and no longer bundled. You are encouraged to use the new mdc-icon-button package.
  • tabs: mdc-tabs is deprecated and no longer bundled. You are encouraged to use the new mdc-tab / mdc-tab-bar / mdc-tab-scroller / mdc-tab-indicator package(s) by importing MdcTabBarModule. Please see documentation for implementation.
  • select: Removed setValue(value: any), please use setSelectionByValue(value: any) instead.
  • Added source argument for selectionChange(source: MdcSelect, index: number, value: string)

0.37.3 (2018-07-26)

Bug Fixes

Features

BREAKING CHANGES:

  • Added selection: boolean property to mdc-list; enables whether or not the list items are selectable. Default is false.

0.37.2 (2018-07-18)

Bug Fixes

Features

0.37.1 (2018-07-11)

Bug Fixes

Features

0.37.0 (2018-07-09)

Bug Fixes

Features

BREAKING CHANGES

  • elevation: Renamed [mdc-elevation] to [mdcElevation], please update your code accordingly.
  • dialog: - Add required directive mdc-dialog-surface as child to mdc-dialog. Please review the updated dialog documentation.
  • text-field: As per material spec updates, the default variant for Text Field is box.
  • list: - Removed deprecated selectors:
    • [mdc-list-divider] use mdcListDivider
    • [mdc-list-group-subheader], use mdcListGroupSubheader
    • [mdc-list-group], use mdcListGroup
    • [mdc-list-item-graphic], use mdcListItemGraphic
    • [mdc-list-item-meta], use mdcListItemMeta
    • [mdc-list-item-text], use mdcListItemText
    • [mdc-list-item-secondary], use mdcListItemSecondary

0.36.3 (2018-06-20)

Bug Fixes

Features

0.36.2 (2018-06-15)

Features

Text Field improvements

  • Should allow changing variants (e.g.: outline to box).
  • Add label[mdcFloatingLabel] selector
  • Add mdcLineRipple selector
  • Rewrote notched-outline component
  • Should not set type on mdc-textarea
  • Should set type on mdc-text-field, if not set
  • Remove Renderer2 usage
  • Fixed quite a few issues for mdc-text-field

0.36.0 (2018-06-12)

Bug Fixes

  • app-bar: Should follow material spec (#1042) (6ebeb2c), closes #998
  • checkbox: Remove unneeded FormsModule import (#1034) (b395dc9)
  • checkbox: Should call ControlValueAccessor setDisabledState() (#1032) (3dbd7ac), closes #1030
  • checkbox: Should check vendor prefixes in registerAnimationEndHandler (#1033) (12f1a63)
  • ripple: Should not ripple for disabled inputs (#1036) (f493770), closes #1035
  • select: Should not autosize with empty placeholder (#997) (a41b524), closes #996
  • text-field: Make ValidationAttributeChangeHandler expect array of strings (#1013) (00038b2)

Features

0.35.7 (2018-05-24)

Features

0.35.6 (2018-05-18)

Bug Fixes

  • package: Should transpile material-components-web (#990) (68d55a5), closes #988

0.35.5 (2018-05-18)

Bug Fixes

  • app-bar: Should remove mdc-top-app-bar--short-has-action-item (#973) (5875ab5), closes #972
  • form-field: Should interact with control label (#987) (73c026a), closes #986
  • select: Should float label for selected html option (#979) (ccb0133), closes #976 #963

Features

0.35.3 (2018-05-11)

Features

BREAKING CHANGES

  • shape: Removed mdc-shape-container-corner, please update your code accordingly to use mdcShapeContainerCorner.

0.35.2 (2018-05-08)

Bug Fixes

  • card: Remove unneeded display: inline-flex (#950) (550e360)

Features

0.35.1 (2018-05-05)

Bug Fixes

  • app-bar: Should remove short-collapsed class (#946) (2f06042)

Features

0.35.0 (2018-05-05)

Bug Fixes

  • demo-app: Overflow scroll for demo-content__drawer (#905) (3e4001e)
  • select: Should clear value on empty option selected (#926) (5d6a41c), closes #923
  • text-field: Should clear ngModel when empty (#940) (ea18f49), closes #939
  • toolbar: Should remove margin-top on destroy (#934) (1e6253d), closes #933

Features

BREAKING CHANGES

  • typography: All legacy typography directives will continue to work for the near future.
  • card: Renamed stroked property to outlined
  • button: Property stroked renamed to outlined
  • Sass mixin mdc-button-stroked-width renamed to mdc-button-outline-width
  • Sass mixin mdc-button-stroked-color renamed to mdc-button-outline-color
  • dialog: Removes layoutFooterRipples() as per material-components-web v0.35.0
  • linear-progress: Removed indeterminate property, please update your code accordingly.

0.34.5 (2018-04-22)

Bug Fixes

Features

0.34.4 (2018-04-20)

Bug Fixes

Features

BREAKING CHANGES

  • radio: Update mdc-radio change event listener to use MdcRadioChange class.
  • card: Renamed [rectangle] to [wide]. Please update your code accordingly.
  • slider: Update mdc-slider (change) and (input) listeners to use class MdcSliderChange.
  • Update your code to use MdcMenuChange class for select event listener.
  • Update your code to bind an element to [anchor] property. Please refer to documentation.
  • Removed @Input() direction
  • Removed isFocused(): boolean method
  • Removed getFocusedItemIndex(): number method
  • Removed hasAnchor(): boolean method
  • Removed isRtl(): boolean method

0.34.3 (2018-04-14)

Features

  • checkbox: Add public methods + improvements (#866) (a2096a9)
  • switch: New UX state methods + improvements (#868) (405b367)
  • text-field: Add public methods for UX states (#867) (fc77f64)

BREAKING CHANGES

  • switch: Update (change) event listener to match MdcSwitchChange class.
  • checkbox: Update (change) event listener to match MdcCheckboxChange class.

0.34.2 (2018-04-13)

Bug Fixes

  • app-bar: Should remove short-collapsed class (#852) (1743f01)
  • checkbox: Set ripple interaction to native input (#853) (d748635)
  • checkbox: Should use stopPropagation for click event (#854) (ad6b2b1)
  • dialog: Remove unused declarations (#862) (e7353cf)
  • text-field: Errors for Outlined init (#849) (9baabfa)
  • text-field: Set display property for mdc-text-field-helper-text (#851) (4d48108)
  • text-field: Should reset ngModel and FormControl values (#861) (f31df0e), closes #848

Features

BREAKING CHANGES

  • Removed toggle(), select() and deselect() methods from mdc-list-item. Please update your code to use setSelected(selected: boolean).

0.34.1 (2018-04-09)

Bug Fixes

  • chips: Casing for isLeadingIconVisibile method (#844) (ee622e9)
  • line-ripple: Rename adapter method setAttr to setStyle (#835) (e46730e)
  • select: Use templateRef for options (#845) (aca8fa2)
  • text-field: Should display notched outline (#827) (6f5d6b6)

Features

  • Update to material-components-web v0.34.1 (#841) (4c239b8)
  • app-bar: Add dense property (#831) (3d86e1c)
  • app-bar: Rename collapsed to shortCollapsed (#832) (d4f6ad5)
  • notched-outline: Add MDC Foundation methods (#836) (8b87e14)
  • select: Replace menu with native html select (#834) (61a3171)

BREAKING CHANGES

  • app-bar: Renamed [collapsed] to [shortCollapsed]. Please update your code accordingly.
  • select: - The template and adapter APIs have changed to take advantage of the native select element; see the MDC Select README for more information.
  • select: - Removed mdc-select-item component. Replace with HTML5's native option element.

0.33.0 (2018-04-01)

Bug Fixes

  • text-field: Add return type for setValidation (#814) (299e9aa)
  • text-field: Apply ripple when text-field is box (#802) (6dccd59)
  • text-field: Clicking icon should not cause ripple (#822) (840dd8d)
  • text-field: Clicking mdc-floating-label should focus textfield (#821) (13f9fa0)

Features

  • app-bar: Add prominent property (#805) (8112fbe), closes #789
  • chips: Replace leading icon with checkmark in selected filter chips (#810) (0f47eba), closes #790
  • grid-list: Implement MDC Grid List (#813) (a0c8d52), closes #772
  • icon: Add clickable property (#818) (00fc5df), closes #792 #593
  • notched-outline: Implement MDC Notched Outline (#806) (601c8a6)
  • radio: Make Radio button MDC Foundation methods public (#812) (120acb9)
  • ripple: Add mdcRipple directive + attachTo property (#809) (f60a7d8), closes #808
  • typography: Remove mdc-typography-adjust-margin directive (#816) (3fe0b39), closes #815
  • Updated to material-components-web v0.33.0

BREAKING CHANGES

  • typography: Removed the mdc-typography-adjust-margin feature. Please update your code accordingly.

0.32.1 (2018-03-21)

Bug Fixes

  • tabs: Ink color for hover state (#797) (395bf62)
  • tabs: Set active tab from mdcRouter (#791) (cec662f)
  • text-field: Numeric value returned by ControlValueAccessor (#794) (6895446), closes #773
  • text-field: Value undefined for floating label (#795) (07b7120)

Features

Performance Improvements

  • demo: Improve Sass processing time (#780) (b0ec2f3)
  • drawer: Use passive event listener for interactions (#787) (d5f4cbd)

BREAKING CHANGES

  • text-field: - mdc-text-field-box directive is deprecated and no longer supported. Please update your code accordingly. Example: <mdc-text-field [box]="true"></mdc-text-field>

0.32.0 (2018-03-16)

Bug Fixes

  • chips: Set enabled chip tabindex to 0 (#747) (2dcd1ee)
  • select: Fix prefilled select set as dirty (#734) (32b24fa), closes #733
  • tabs: Add/remove tabs asynchronously (#771) (bdb9986)
  • tabs: Wrong color on inactive and disabled tabs (#767) (cfd79d9)
  • text-field: Disable validation check in setRequired (#748) (f052c86)
  • text-field: Make Outline use OnInit and OnDestroy (#749) (f2bd30a)

Features

  • app-bar: Add fixedAdjustElement property (#763) (b8ab99a)
  • app-bar: Implement MDC App Bar (#757) (e2d4a59), closes #724
  • button: Remove compact property (#759) (fc83408)
  • chips: Add chip subscriptions interaction handling (#774) (4c7a56f)
  • chips: Add choice property to mdc-chip-set (#744) (e4b11fb), closes #743
  • chips: Add filter property to mdc-chip-set (#745) (1200ae6), closes #725
  • chips: Emit selectionChangeEvent on chip toggle (#756) (fa82cf3)
  • chips: New MDCChipAdapter methods for handling trailing icons (#750) (73542e0)
  • Update material-components-web to v0.32 (#738) (ec148e8)
  • floating-label: Implement MDC Floating Label (#742) (5cb8127), closes #741
  • tabs: Add [mdcRouter] for [@angular](https://github.com/angular)/router support (#770) (a5e30c8), closes #735
  • tabs: Improvements + fixes (#732) (009057d), closes #720 #729 #730
  • tabs: Re-add active property to mdc-tab (#768) (c3abbbc)
  • text-field: Use mdc-floating-label (#746) (582620e)

BREAKING CHANGES

  • button: The compact variant of MDC Button is removed.

Tabs

  • Removed select event from mdc-tab.
  • Removed change event from mdc-tab-bar. Please update your code to use selectedTabChange: EventEmitter<MdcTabChangeEvent>.
  • Moved disableRipple: boolean to mdc-tab-bar
  • Moved primary and secondary to mdc-tab-bar

0.31.1 (2018-02-27)

Features

  • Transpile material-components-web + IE11 support (#719) (3fc92c2), closes #708

0.31.0 (2018-02-21)

Bug Fixes

  • dialog: Remove uneeded MdcButtonModule import (#677) (e2f3907)
  • icon: Handle values with extra spaces (#683) (4938f07)
  • icon-toggle: Fix primary/secondary class on icon element (#660) (456d250)
  • icon-toggle: Listen for keydown events + fix ripple (#667) (6ab3a8e)
  • list: Prevent multiple activated items on option change (#668) (8f32136), closes #637
  • menu: Close when list-item on page clicked (#628) (ec9c0c7), closes #621
  • select: Call change event for formGroup and formControl values (#641) (67d05ba), closes #640
  • select: Check if ngControl valueAccessor exists (#685) (ee2f566)
  • select: Style floating label on propagation of changes (#703) (25be844)
  • Compilation errors found with fullTemplateTypeCheck (#680) (54b7948)
  • tabs: Clicking tab with *ngFor results in ExpressionChangedAfterItHasBeenCheckedError (b9b5851), closes #664
  • text-field: Import MdcLineRippleModule (#676) (70f5e9b)
  • text-field: Set _focused inside onFocus() (#654) (f759410)
  • text-field: Set disabled state with formControl (#690) (31c0138), closes #636
  • toolbar: Fix mobile flexible toolbar title alignment (#695) (fe933be)
  • toolbar: Line height on flexible toolbar title (#655) (db8f348)
  • toolbar: z-index of mdc-menu positioned over mdc-tab (#656) (df405d9), closes #638

Features

Performance Improvements

  • form-field: Use ChangeDetectionStrategy.OnPush (#642) (bf9c4ff)
  • icon: Use ChangeDetectionStrategy.OnPush (#650) (7bcc62c)

BREAKING CHANGES

  • theme: Removed dark theme component per MDC v0.30.0. Please design application theme choices with Sass.
  • list: Removed twoLine property. Please use lines: number with a value of 2.
  • button: MdcButton no longer automatically adds mdc-button__icon class, if mdc-icon is detected. Please update your code to use [icon]: boolean property.
  • card: All directives for content layouts have been removed. Developers should decide what kind of layout is best for their specific use case. Please see Card documentation for updated examples.

0.7.5 (2018-02-06)

Bug Fixes

  • toolbar: Alignment for mdc-toolbar-title if flexible toolbar (#611) (7f48474)
  • toolbar: Instantiate MDCToolbarFoundation before lifecycles (#612) (fccd90d)

0.7.4 (2018-02-05)

Bug Fixes

  • drawer: Change fixedAdjustElement type (#606) (9e0f100)
  • select: Menu flickers before disappearing (#599) (ac5d438), closes #509
  • text-field: Fix error if disabled prior to foundation init (#589) (25bf71f), closes #588

Features

  • drawer: Add exportAs declarations (#608) (0dbea96)
  • drawer: Remove mdc-elevation(1) on fixed drawer (#601) (c39881c)
  • drawer: Use ChangeDetectionStrategy.OnPush (#607) (59365d9)
  • select: Add selectionChange event (#600) (f4990ac), closes #591
  • toolbar: Add exportAs declarations (#605) (c932ea6)
  • toolbar: ChangeDetection OnPush + fixedAdjustElement improvements (#603) (749d173)
  • toolbar: Use passive event listener on scroll (#604) (0771432)

0.7.3 (2018-01-30)

Features

  • drawer: Add [primary] on mdc-drawer-header-content (#583) (500021f)

0.7.2 (2018-01-30)

Bug Fixes

  • text-field: Workaround for outlined float MDC bug (#577) (ad4736d)

Features

  • drawer: Dynamic drawer switching (#580) (8700191), closes #579
  • toolbar: Add [fixedAdjustElement] input property (#578) (ced579f)

BREAKING CHANGES

  • Rename instances of mdc-drawer-temporary, mdc-drawer-persistent or mdc-drawer-permanent to mdc-drawer.
  • Set drawer type via drawer: string property. Valid values are 'permanent' | 'persistent' | 'temporary'
  • Removed [absolute] input property. Logic replaced with fixedAdjustElement input use.

0.7.1 (2018-01-24)

Bug Fixes

  • text-field: Fix outlined border missing if prefilled (#569) (1476c9d)

Features

  • Update to material-components-web v0.29.0 (#570) (cb8a274)
  • text-field: Add getValue() method (#573) (7f265cb)
  • text-field: Add setPersistent and setValidation methods (#572) (80e9d7b)
  • text-field: Add setRequired() and isRequired() methods (#574) (76b32f0)

0.7.0 (2018-01-21)

Bug Fixes

  • build: Wrong sourcemap paths (#541) (bd23934)
  • dialog: Fix DOM cleanup on close (#560) (d14de0e), closes #538
  • drawer: Content is overlapping the drawer in rtl (#502) (c4cf2c9)
  • slider: Workaround for MDC foundation export (#542) (3cd3d4f)
  • text-field: Set custom validity with setValid(isValid) (#563) (d5af654), closes #562

Features

  • drawer: Rename permanent drawer (#530) (58f60df), closes #529
  • drawer: Rename persistent drawer (#532) (94a8962), closes #531
  • drawer: Rename temporary drawer (#535) (e4c439a), closes #534
  • drawer: Toggle visibility of a persistent drawer (#533) (378c11c)
  • icon-toggle: Add on property for toggle binding (#555) (182701c), closes #554
  • linear-progress: Add progress and buffer properties (#544) (2b783a4)
  • linear-progress: Set progress buffer color to $mdc-theme-secondary-light (#543) (4865295)
  • menu: Add new anchor positioning APIs (#519) (349ea76), closes #511
  • ripple: Add new DocumentInteractionHandler APIs (#528) (40b5a6e), closes #440 #513
  • ripple: Add primary + secondary Sass color mixin (#522) (3f3b67b), closes #518
  • ripple: Add setUnbounded() method (#546) (127aad0), closes #527
  • ripple: Expose MdcRippleOrchestration on mdc-ripple (#545) (23866e6)
  • select: Add autosize property to set width automatically (#496) (cfaf961), closes #495
  • Create export of [@angular-mdc](https://github.com/angular-mdc)/web/theme directives (#501) (67ebf4a)
  • snackbar: Add show/hide events + refactoring (#552) (8de4fff), closes #520
  • text-field: Add helperText property to expand functionality (#559) (d23ac40)
  • text-field: Add blur(value) EventEmitter (#558) (35a0f61), closes #557
  • text-field: Implement MDC Outlined Text Field (#564) (0624a94), closes #521
  • text-field: Support custom validity checks for valid() (#565) (d0afe72)
  • textfield: Add [focused] property + styling (#547) (3bd8209), closes #517
  • textfield: Add RTL support via [direction] property (#548) (098bd97)
  • textfield: Implement MDCTextFieldIconFoundation (#549) (8945629), closes #514
  • textfield: Implement MDCTextFieldLabelFoundation (#550) (ecb1119), closes #512

BREAKING CHANGES

  • menu: * Removed openFrom property. Please update your code to use the anchorCorner property.
  • drawer: * Renamed selector mdc-persistent-drawer to mdc-drawer-permanent.
  • drawer: * Renamed selector mdc-persistent-drawer to mdc-drawer-permanent.
  • drawer: * Renamed selector mdc-temporary-drawer to mdc-drawer-temporary.
  • Renamed class MdcPersistentDrawer to MdcDrawerPersistent.
  • Renamed selector mdc-persistent-drawer-spacer to mdc-drawer-spacer.
  • Renamed selector mdc-persistent-drawer-content to mdc-drawer-content.
  • Renamed mdc-persistent-drawer-header to mdc-drawer-header
  • Renamed mdc-persistent-drawer-header-content to mdc-drawer-header-content
  • Renamed class MdcPermanentDrawer to MdcDrawerPermanent.
  • Renamed selector mdc-permanent-drawer-spacer to mdc-drawer-spacer.
  • Renamed selector mdc-permanent-drawer-content to mdc-drawer-content.
  • Removed MdcMaterialIconModule. If needed, please use MdcThemeModule instead.

0.6.6 (2017-12-20)

Bug Fixes

  • dialog: Inaccurate hasAttached result + portal cleared if attached early (#490) (a4ec3f2)
  • select: Correctly set aria-disabled based on disabled value (#494) (5c39a02), closes #493
  • textfield: Fix setting disabled on text fields (#477) (579eb2d), closes #476

Features

Performance Improvements

  • linear-progress: ChangeDetection set to OnPush (#462) (dec4c4f)

BREAKING CHANGES

  • list: Removed disableRipple property. Please update your code to use interactive property.
  • list: Renamed active property to selected.
  • list: Renamed mdc-list-item-start to mdc-list-item-graphic
  • list: Renamed mdc-list-item-end to mdc-list-item-meta
  • list: Removed isActive() method
  • list: Deprecated twoLines property. Use lines: number instead.

0.6.5 (2017-12-14)

Bug Fixes

  • checkbox: Allow keyboard event to trigger ripple (#459) (a885ffb)
  • ripple: Fix ripple active surface detection (#457) (afd5151), closes #440

Performance

  • perf(button): Set ChangeDetection to OnPush + add focus method (#458)
  • fab: Set ChangeDetection OnPush + add focus method (#456)

0.6.3 (2017-12-12)

Bug Fixes

  • select: Handle selection changes accessed early (#450) (eaf2c17)
  • select: Remove duplicate Subscription import (#439) (60a7196)

Features

  • build: Export MdcIconModule from MdcFabModule (#442) (c4c5d52)
  • dialog: Add observable subjects + improvements (#399) (784d87d), closes #397
  • infrastructure: Redesign development environment (#436) (9710d38), closes #431
  • feat(textfield): Add empty getter (#451)

0.6.2 (2017-12-06)

Bug Fixes

Features

BREAKING CHANGES

  • select:
    • Removed clearSelection(). Just reset an NgModel by setting it to null.
    • Removed CloseOnScroll as upstream MDC PR fixed the scrolling of open menus.
  • checkbox: change(Event) was changed to change(MdcCheckBox). Please update your code accordingly.

IMPORTANT INFO REGARDING PACKAGING

  • build: * MaterialModule has been removed.

We've found that, with the current state of tree-shaking in the world, that using an aggregate NgModule like MaterialModule leads to tools not being able to eliminate code for components that aren't used.

In order to ensure that users end up with the smallest code size possible.

To replace MaterialModule, users can create their own "Material" module within their application (e.g., AppMaterialModule) that imports only the set of components actually used in the application.

  • MdcCoreModule has been removed. It's modules have been broken out as shown below.
    • Use MdcElevationModule for MDC Elevation directives
    • Use MdcThemeModule for MDC Theme directives
    • Use MdcTypographyModule for MDC Typography directives
    • Use MdcMaterialIconModule for MDC Material Icon directive

0.6.1 (2017-11-20)

Bug Fixes

  • checkbox: Close path tag to remove IE console warnings (#377) (0ec464c)

Features

  • Update material-components-web to v0.25.0 (#381) (e6b9a56)
  • dialog: Add declarative dialog (#383) (97372d6), closes #370
  • drawer: Add selection state to Drawer lists (#389) (7584deb), closes #143
  • linear-progress: Add Sass color mixin for --secondary (#384) (c4770e9)
  • menu: Improvements and new properties (#386) (e679e32), closes #385
  • textfield: Rename mdc-text-field-helptext to mdc-text-field-helper-text (#388) (7ddb8f5), closes #387
  • textfield: Rename mdc-textfield to mdc-text-field (#382) (b27f6f0), closes #379

BREAKING CHANGES

  • drawer: List property disableRipples was renamed to disableRipple.
  • menu: Removed MenuOpenFrom. Update your code to use MdcMenuOpenFrom with accepted values of 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight'

Text Field renamed due to MDC upstream change

  • textfield: Rename mdc-text-field-helptext to mdc-text-field-helper-text and update your code accordingly.
  • textfield: Rename the following in your code.
  • MdcTextfieldModule to MdcTextFieldModule.
  • MdcTextfield to MdcTextField
  • MdcTextfieldBox to MdcTextFieldBox
  • mdc-textfield to mdc-text-field
  • mdc-textfield-box to mdc-text-field-box
  • mdc-textfield-helptext to mdc-text-field-helptext

0.6.0 (2017-11-13)

Features

BREAKING CHANGES

  • tabs: Removed mdc-tab-bar-scroll-button directive. Use mdc-icon instead. Please update your code accordingly. Example:
<mdc-tab-bar-scroll-back>
  <mdc-icon>navigate_before</mdc-icon>
</mdc-tab-bar-scroll-back>
  • tabs: Changed format of change event data from {activeTabIndex: number} to {index: number, tab: MdcTab}.
  • select: Removed label setter and setLabel() function. Use placeholder and setPlaceholder instead.

0.5.6 (2017-10-30)

Library improvements (#328) (27354e0)

  • Rename _root to elementRef
  • Make directive and component ElementRef public accessible
  • Remove directive and component from src/lib file names
  • Make event registry listen and unlisten public accessible
  • Add passive event handling to event registry
  • Prefix private variables with leading underscore
  • Functions must specify strongly-typed object(s)
  • Add pointerup + mouseup types to ripple's interaction handler
  • Set default property values
  • Rename MDC adapter files to adapter.d.ts
  • Refactor MdcFormField
  • Prefix events with on instead of handle (e.g.: onKeyPress)
  • Set encapsulation to ViewEncapsulation.None
  • Refactor mdc-icon-toggle to use mdc-icon
  • Change MdcList to Directive

Features

  • drawer: Add closeOnClick to temporary drawer close behavior (02816bd)
  • menu: Add focus/isFocused methods + refactoring (#323) (02816bd)
  • ripple: Add optional event parameter to activate/deactivate (#321) (72ac60b)
  • select: Improvements + ngModel fix (#326) (7dcb7ab), closes #319

0.5.5 (2017-10-24)

Bug Fixes

Performance Improvements

  • select: Use Observable subscription to detect scroll (354659e)

0.5.4 (2017-10-21)

Bug Fixes

  • card: Conditional card expression changed error (#294) (576964c), closes #293
  • tabs: Correct mdc-tab-bar-scroller class binding (#283) (626d216)
  • textfield: Use tabIndex instead of tabindex (#301) (a49c68f)
  • toolbar: Remove fixed toolbar's margin-top OnDestroy (#292) (2e618fa), closes #267

Features

BREAKING CHANGES

  • textfield: Remove multiline property from mdc-textarea.
  • toolbar: Renamed mdc-toolbar-icon-menu to mdc-toolbar-menu-icon per MDC. Please update your code accordingly.

0.5.3 (2017-10-13)

Bug Fixes

  • card: Horizontal card does not show supporting text (#274) (680edfc), closes #266
  • dialog: Issues with clickOutsideToClose and escapeToClose (#263) (b5989da)
  • dialog: Pass shouldNotify to MDC foundation methods (#273) (22d5e42)
  • dialog: Set Dialog button action property to secondary color (#262) (ef2e96c)
  • fab: Set correct position in media query (#260) (73eb62c)
  • list: Checkbox height inside list-item (#261) (31d030d), closes #172

Features

BREAKING CHANGES

  • icon: mdc-icon-button was removed in favor of mdc-icon. Please update your code accordingly. mdc-fab-icon was removed in favor of mdc-icon. Please update your code accordingly. mdc-tab-icon was removed in favor of mdc-icon. Please update your code accordingly.
  • elevation: Remove MdcElevationModule from your code. Replace with MdcCoreModule if not previously imported.
  • typography: Remove MdcTypographyModule from your code, and if necessary add an import of MdcCoreModule.
  • core: Remove MdcThemeModule import from your code, and replace it with MdcCoreModule if not already imported.

0.5.1 (2017-10-01)

Bug Fixes

  • icon-toggle: Return boolean from isOn() (#220) (93778ae)

Features

BREAKING CHANGES

0.5.0 (2017-09-24)

Bug Fixes

  • list: Use ripple init() for list item (#196) (a1edcf7)

Features

  • theme: Implement MDC Theme + Sass extensions (#206) (c6bb89b), closes #112
  • slider: Implement MDC Slider (#186) (b3f4996), closes #111
  • button: Add mdc-icon-button directive (#192) (3f0afbb), closes #189
  • package: Update material-components-web to v0.21.1 (#202) (bfc5419)
  • snackbar: Improvements + test coverage (#200) (b9f978f)
  • tabs: Add scrollToTabAtIndex + findTab as public methods (#204) (d50599f), closes #193

BREAKING CHANGES

  • angular-mdc/theme: Replace your project's MDC Sass import with @import "~@angular-mdc/theme/material";

You can also remove IncludePaths for node_modules/@material/* from your Webpack or angular-cli.json config files since it was a requirement of the old material-components-web theme.

0.4.8 (2017-09-17)

Bug Fixes

  • button: Prevent click() event propagation if disabled (2ef9d7b)
  • button: Remove type attribute (#176) (15152f7), closes #174
  • checkbox: Correct camelcase property of tabIndex (41af1ad)
  • textfield: Label overlap if value is undefined (#188) (b2ee5c9), closes #187

Features

  • Add applyCssTransform function (#170) (4115006)
  • button: Set aria-disabled if disabled (a6c1802)
  • checkbox: Add focus() as public method (#161) (fe7d1a9)
  • checkbox: Provision host + input id if not user defined (e686dac)
  • infrastructure: Implement Test Infrastructure (#150) (c079cd3), closes #114
  • Injectable MdcRipple + EventRegistry provider (#181) (99923e7), closes #164
  • radio: Improvements + test coverage (#183) (bb45d77)
  • switch: Improvements + test coverage (#182) (60653dc)
  • tabs: Add test coverage (#185) (0d01b48)
  • textfield: Add setValid method to set a custom validity (#190) (8dee576)

BREAKING CHANGES

  • textfield: updateErrorState method was renamed to setValid keeping with MDC foundation naming.
  • MdcRippleModule was removed, please update your code accordingly.

0.4.5 (2017-09-09)

Bug Fixes

  • Set correct type of ImplicitAny members (#136) (adf20e4)

Features

BREAKING CHANGES

  • fab: Remove the [plain] property from any Floating Action Button in your code.
  • The accent property on Button, Icon-toggle, Linear-progress was renamed to secondary. The accentColor and primaryColor properties on Tabs was renamed to accent and primary.

0.4.0 (2017-09-01)

Bug Fixes

  • menu: Fix class binding of openFrom property (#119) (12a1d12), closes #116
  • menu: Open method required a focusIndex (#117) (73956ca)
  • textfield: Fix expression changed after check error (#123) (b254ad9), closes #121

Features

BREAKING CHANGES

  • package: All component classes are now prefixed with Mdc to prevent name conflicts with other libraries. Please update your code accordingly. Example: ButtonComponent to MdcButtonComponent
  • fab: Add a material-icon directive to mdc-fab-icon if using Material Icons. If not, apply custom styling for Font Awesome or text. Please see examples on demo page.
  • fab: Remove [disabled] from any FAB component used in your code.

0.3.0 (2017-08-26)

Bug Fixes

  • dialog: Set initialFocus to Dialog node, if [accept] is false (#92) (1086817)

Features

  • button: Add unelevated property to button (#106) (22d74ab), closes #101
  • card: Add [mdc-card-button] + refactoring (#90) (3c6ccc1)
  • dialog: Add [focused] property to Dialog Button (#100) (0ac5394), closes #96
  • dialog: Add MDC v0.18's layoutFooterRipples() adapter method (#91) (c3c024e)
  • package: Update MDC dependency to v0.19.0 (#104) (d97fda4)
  • ripple: Expose foundation's layout() as public method (0205483)
  • textfield: Implement MDC Textarea Component (#98) (e3f1eff), closes #95
  • textfield: Improvements + new features! (#99) (f01339c), closes #97

BREAKING CHANGES

  • textfield: Multiline textarea was refactored out as the new MDC Textarea component. Please update your code accordingly. Example: <mdc-textarea label="Comments" rows="8" cols="40" [multiline]="true"></mdc-textarea>
  • dialog: Removed [mdc-dialog-button-accept] and [mdc-dialog-button-cancel] directives. Please update your code to use [mdc-dialog-button].
  • card: Property [cardAction] of mdc-button was removed, you'll need to use mdc-card-button. Please update your code accordingly.
  • card: [darkTheme] property was removed from Card. Use [mdc-theme-dark] instead.

0.2.9 (2017-08-18)

Bug Fixes

  • menu: Fix select event to emit selected item's DOM element (#80) (74fb5ec), closes #79
  • fix npm copy-types command (#82) (28d2600)

Features

  • dialog: Add clickOutsideToClose + mdc-dialog-button (#84) (7d5f7a7)

BREAKING CHANGES

  • dialog: Deprecated mdc-dialog-button-accept and mdc-dialog-button-cancel. Use new [mdc-dialog-button] with [accept] and [cancel] properties instead. <button mdc-dialog-button [cancel]="true">Cancel <button mdc-dialog-button [accept]="true">Discard

0.2.8 (2017-08-15)

Bug Fixes

  • package: Resolve problems using ES5, ES2015 and UMD npm package files (#75) (7fe6063)

Features

  • icon-toggle: Implement MDC Icon Toggle (#76) (41fd1bb)

0.2.5 (2017-08-09)

Bug Fixes

  • fab: Remove duplicate HostBinding (#74) (dd3637f)
  • textfield: Fix Text Field boxes NgModule value accessor (36ce97a)
  • textfield: Pre-filled Text Field uses floating label correctly (bda0f9f)

Features

  • dialog: Implement MDC Dialog (#70) (31a278a)
  • list: Add component selector option to mdc-list-item-secondary (4b3a5bf)
  • list: Add component selector option to mdc-list-item-text (9df6a4d)
  • package: Update MDC dependency to v0.17.0 (f9bab7a)
  • textfield: Add 'aria-hidden' HostBinding to Helptext directive (6545321)
  • textfield: Add [mdc-textfield-bottom-line] directive for Text Field boxes (5f76809)
  • textfield: Add [mdc-textfield-label] directive (483fd98)
  • textfield: Auto generate [id] if none supplied (3c70203)

0.2.4 (2017-08-03)

Bug Fixes

  • button: Fix keyboard event propagation + refactor (4b17028), closes #60
  • fab: Fix keyboard event propagation + refactor (fc310fe), closes #60
  • fab: Disabled FAB will now remove Ripple classes (f1e7919)
  • switch: Disabled Switch will now remove Ripple classes (94dd087)
  • textfield: Use correct Ripple import path (c4d23b6)

Features

  • tabs: Implement MDC Tabs (f713789)
  • package: Export individual component & directive classes (#62) (75b6f21)

0.2.3 (2017-07-25)

Features

  • drawer: Implement MDC Drawer (#54) (a4796b8)
  • package: Update to Material Design Components v0.16.0 (e004529)
  • textfield: Add [dense] bool property to shrink font size/height. (df4443d)
  • textfield: Implement MDC Text field boxes (e440d73), closes #57

0.2.2 (2017-07-17)

Bug Fixes

  • snackbar: Fix actionHandler was required if actionText is empty (59de0a8)

Features

  • list: Implement MDC List (#51) (8738b18), closes #50
  • form-field: Implement MDC Form Field (f6a3c7a)
  • ripple: Improvements + add disabled property (3eab913)
  • button: Add [disableRipple] property + remove form-field import (7ee954d)
  • checkbox: Add [disableRipple] + remove form-field import (2805e20)
  • fab: Add [disableRipple] + refactoring (adfffa2)
  • infrastructure: Add EventRegistry for Listen/Unlisten management (d02e7c3)
  • radio: Add [disableRipple] + remove form-field import (d13937c)
  • switch: Add [disableRipple] + remove form-field import (19ae3b3)
  • theme: Add boolean property to [mdc-theme-dark] directive (07ec20a)

0.2.1 (2017-07-14)

Bug Fixes

  • switch: Remove redundant [ngModel] bind from html template (a594aa5)
  • typography: Fix missing module import of [typography] (67517dd)

Code Refactoring

  • infrastructure: refactor(infrastructure): Use ES2015 import for MDC Foundation API's. (dd21a75)

Features

  • package: Update to Material Design Components v0.15.0 (0985e5c)
  • button: Add [disabled] boolean input property. (9a437c8)
  • button: Add native element support with "href" attribute. (1c6dabf)
  • fab: Add [disabled] boolean input property. (9315f41)
  • fab: Add native element support with "href" attribute. (e8cb314)
  • infrastructure: Add toBoolean function to lib/common (23ddbc6)
  • material-icon: Add [material-icon] directive (7ee67e5)
  • menu: Add/Export MenuOpenFrom enum from Menu (066294c)
  • snackbar: Add [alignStart] boolean input (b51181b)
  • snackbar: Add [dismissOnAction] boolean input (563eb9b)
  • snackbar: Add directives for action-wrapper, action-button and text (4ac2c76)
  • snackbar: Add exported SnackbarMessage interface (b654bb3)
  • snackbar: Add MDC's upcoming foundation adapter functions (14ec2be)
  • snackbar: Export SnackbarMessage from Snackbar (65538e1)
  • snackbar: Improvements + added MDC v0.15 upcoming features. (b2c4147)

Performance Improvements

  • demo: Ahead-of-Time compilation + Rollup bundling (#49) (7c2293d)

BREAKING CHANGES

  • menu: MenuOpenFrom enum replaces MDC_OPEN_FROM and now can be imported. Please update your code accordingly.

0.2.0 (2017-07-06)

Code Refactoring

  • toolbar: Refactor foundation adapter and child directives. (b3ba3b0)

Features

  • toolbar: Add foundation updateAdjustElementStyles() public method. (d06d671)
  • toolbar: Fixed toolbars will programmatically set FixedAdjustElement style on next node element (2b7d221)
  • docs: Add getting started walkthrough + developer guide (f6cdba1)

Performance Improvements

  • infrastructure: Implement Rollup ES6 module bundling. Breaking changes (ba521d6)

BREAKING CHANGES

  • toolbar: [flexibleDefaultBehavior] replaces [flexibleTitle]. Please update your code accordingly.
  • infrastructure: We no longer import the SCSS for each component. Please update your code to import the MDC Theme for your application.

The reason we do not import our component SCSS anymore is we need to provide developers flexibility and creativity for theming their apps. For example, if using Angular CLI you can now import the MDC theme.

@import "material-components-web/material-components-web";

0.1.19 (2017-07-03)

Bug Fixes

  • textfield: Fix getNativeInput adapter method and use foundation isDisabled. (f7600ed)

Features

  • checkbox: Add value, name binding and refactor foundation wrapper integration. (#38) (68a2e47)
  • elevation: Add MDC Elevation using [mdc-elevation]="#" directive. (257cb04)
  • theme: Implement MDC Theme - mdc-theme-dark directive. (0583bf7)
  • toolbar: Add mdc-toolbar-icon and mdc-toolbar-icon-menu directives. (1965a3a)

Performance Improvements

  • linear-progress: Use foundation api for indeterminate and reverse property sets. (8382aa8)

BREAKING CHANGES

  • elevation: Removed deprecated mdc-elevation-z# directives. Please update your code accordingly.

0.1.18 (2017-07-02)

Bug Fixes

  • menu: Fix openFrom attribute & convert values to string enum. (#37) (32e722d)
  • radio: Fix ngModel binding. Major refactoring of foundation wrapper. (#36) (584d3d2)

Features

  • elevation: Implement MDC Elevation and Transition (#32) (7f676ae)
  • infrastructure: Add Angular Universal (server rendering) support. (#34) (c865d8e), closes #33

0.1.17 (2017-06-24)

Bug Fixes

  • card: Rename ambiguous Input from titleLarge to large. (dd96c06)
  • components: Fix class overriding for each component. (#29) (41e38e0), closes #25

Features

  • docs: Add/Update Getting Started guide, README and CONTRIBUTING (#30) (89144b7)
  • typography: Add mdc-typography directive to define basic properties on a site. (d100bcc)

BREAKING CHANGES

  • card: Input titleLarge has been renamed to large. Please update your code accordingly.

0.1.16 (2017-06-23)

Bug Fixes

  • toolbar: Fix class overriding custom entries. (#28) (a448f60)

Features

  • card: Implement MDC Card component. (#24) (301dbf)
  • infrastructure: Add new test for style-lint during Travis-CI and local builds. (#27) (ef7104a)
  • toolbar: Add ToolbarFixedAdjust directive. (#18) (5ea4719)

0.1.15 (2017-06-20)

Features

  • radio: Add MDC Radio Button component (840d35a)
  • checkbox: Add aria-label and aria-labelledby properties. Refactored disabled property. (229377e)
  • codecov: Add Codecov for code coverage reporting. (#16) (4eefcde), closes #12
  • menu: Add openFrom property for overriding opening point. (24911c5)
  • switch: Add aria-label and aria-labelledby properties. Refactored disabled property. (f65fc5a)

0.1.12 (2017-06-15)

Features

  • button: Add Ripple public property (cb6187c)
  • checkbox: Checkbox Improvements - Complete overhaul (a9324ae)
  • fab: Exposed Ripple as public property (61a698e)
  • linear-progress: Add setProgress() and setBuffer() foundation methods as public (10682d1)
  • menu: Menu Improvements - Complete overhaul (cb4061d)
  • package: Update to Material Design Components v0.13.0 (88c3fa0)
  • ripple: Add public activate() and deactivate() foundation methods (1a5359d)
  • snackbar: Add optional 'dismissOnAction' argument to show() method. (28af9a8)
  • switch: Switch Improvements - Complete overhaul (ce676bd)
  • toolbar: Allow mdc-toolbar-title to act as component & directive. (ad9686f)

BREAKING CHANGES

  • switch: Removed mdc-switch-label directive
  • checkbox: Removed mdc-checkbox-label directive
  • linear-progress: Removed component both Input() buffer and progress
  • menu: Removed [items] property. You'll need to start using the new mdc-menu-item directive.

0.1.11 (2017-06-12)

Bug Fixes

  • checkbox: Remove ChangeDetectionStategy as it breaks ngModel binding (8f4ef37)
  • switch: Remove ChangeDetectionStrategy as it breaks ngModel binding (0bc4ae3)
  • textfield: Fixed model binding of values if componenent had an *ngIf applied. (93c823c)

Features

  • snackbar-demo: Added ngModel binding for Snackbar demo; change snackbar properties dynamically (a7ca243)

Performance Improvements

  • common: Core production library is now minified. Smaller production footprint. (ba304b2)

0.1.8 (2017-06-07)

Features

  • typography: Add MDC Typography directives. (134aea6)
  • demo-app: Add MDC Typography demo and documentation (b961fb4)
  • package: Upgrade to Material Design Components 0.12.1. (516815b)
  • demo-app: Add 'disabled' attribute demo with checkbox for textfield. (b4752eb)
  • textfield: Add disabled Input using Foundation API (0ef970f)

0.1.7 (2017-06-06)

Bug Fixes

  • demo-app: Add responsive styling to demo app (2a9b492)

Features

  • checkbox: Add disabled boolean attribute (7b04cb9)
  • demo-app: Add demo for Linear Progress. (9e56936)
  • linear-progress: Add MDC Linear Progress component wrapper (d823078)

0.1.6 (2017-05-30)

Features

  • snackbar: Add dismissOnAction function made available in MDC 0.12.0 (af1a5b2)

0.1.5 (2017-05-30)

Features

  • toolbar: Add MDC Toolbar wrapper (7f58efc)
  • demo-app: Add MDC toolbar to the top of the demo-app. Better examples will follow.. (7234309)

0.1.4 (2017-05-28)

Features

  • checkbox: Implement MDC checkbox wrapper (#9) (14695c0)
  • demo-app: Add demo-app source back into the repo (#8) (d7e431a)

0.1.3 (2017-05-16)

Features

  • button: Button selector changed from 'mdc-button' to 'button'. Disabled input added. (c95dc01)
  • fab: FAB selector changed from 'mdc-fab' to 'button'. Disabled input added. (ec21648)
  • textfield: Add MDC Textfield's new property badInput; validity check in getNativeInput() (08d1129)

0.1.0 (2017-05-12)

Bug Fixes

  • snackbar: Remove check for root element on deRegister events (40cdf83)

Features

  • form-field: Implement MDC Form Field using foundation API. (7b7c750)
  • switch: Implement MDC Switch (ee55286)

0.0.2 (2017-05-11)

Bug Fixes

  • textfield: Add prefilled value check to writeValue (a27b2a1)
  • textfield: Add support for prefilled values (20099a6)

Features

  • button: Change ripple on button to a provider. Show ripple on keyboard up and down events. (d424b32)
  • demo: Add MenuModule to application and include MDC theme, elevation and typography scss (a9a34b1)
  • demo: Import our new RippleModule for demo-app (430ca24)
  • demo-app: Add MDC FAB example (b50605f)
  • demo-app: Add MDC simple menu example to demo page.. (86fde6b)
  • demo-app: Add MDC Snackbar example using Angular (a7fa5c5)
  • demo-app: Initial commit (73123b3)
  • menu: Add menu-item directive (2e94d8b)
  • menu: Initial commit for MDC menu foundation integration (5587eb2)
  • publish: Initial commit (0cc205d)
  • ripple: Adds /ripple/index.ts for simpler import of ripple class (0ad6dea)
  • ripple: Ripple redone using MDCRippleFoundation with adapter API (939bd63)
  • snackbar: Implemented MDC Snackbar wrapper (ebbbc4f)