Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Releases: trimox/angular-mdc-web

v0.5.6

30 Oct 10:57
d7f516c
Compare
Choose a tag to compare

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

v0.5.5

24 Oct 10:01
Compare
Choose a tag to compare

Bug Fixes

Performance Improvements

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

v0.5.4

22 Oct 00:03
Compare
Choose a tag to compare

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.

v0.5.3 - Core Edition (MdcCoreModule)

13 Oct 21:20
Compare
Choose a tag to compare

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.

v0.5.1

01 Oct 03:12
Compare
Choose a tag to compare

Bug Fixes

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

Features

BREAKING CHANGES

v0.5.0

24 Sep 17:12
Compare
Choose a tag to compare

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.

v0.4.8

17 Sep 23:39
Compare
Choose a tag to compare

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.

v0.4.5

09 Sep 14:01
Compare
Choose a tag to compare

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 secondary and primary.

v0.4.0

01 Sep 12:14
Compare
Choose a tag to compare

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.

v0.3.0

26 Aug 18:03
Compare
Choose a tag to compare

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.