This repository has been archived by the owner on Oct 7, 2020. It is now read-only.
Releases: trimox/angular-mdc-web
Releases · trimox/angular-mdc-web
v0.5.6
0.5.6 (2017-10-30)
Library improvements (#328) (27354e0)
- Rename
_root
toelementRef
- Make directive and component
ElementRef
public accessible - Remove
directive
andcomponent
fromsrc/lib
file names - Make event registry
listen
andunlisten
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 ofhandle
(e.g.: onKeyPress) - Set
encapsulation
toViewEncapsulation.None
- Refactor
mdc-icon-toggle
to usemdc-icon
- Change
MdcList
to Directive
Features
v0.5.5
v0.5.4
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
- select: Implement MDC Select (#278) (ada36aa), closes #65
- textfield: Updated UX states for Text Field (#285) (cbe1953), closes #236 #297
- toolbar: Add
adjustBodyMargin
property (#300) (04bcb77), closes #298 - toolbar: Rename Toolbar menu icon directive (#289) (fa169be), closes #288
- icon: Add array support to
fontIcon
property (#290) (00588b7), closes #280
BREAKING CHANGES
- textfield: Remove
multiline
property frommdc-textarea
. - toolbar: Renamed
mdc-toolbar-icon-menu
tomdc-toolbar-menu-icon
per MDC. Please update your code accordingly.
v0.5.3 - Core Edition (MdcCoreModule)
Bug Fixes
- card: Horizontal card does not show supporting text (#274) (680edfc), closes #266
- dialog: Issues with
clickOutsideToClose
andescapeToClose
(#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
- core: Make cursor a pointer for
mdc-surface
(#264) (43dc9f2) - demo: Demo App Improvements (#252) (2437511), closes #254
- drawer: Add
fixed
property to Permanent Drawer (#256) (4b8a712), closes #255 - elevation: MdcElevation moved to MdcCoreModule (#245) (9cf2647)
- fab: Add
position
property for absolute positioning (#259) (d80bb2f), closes #258 - icon: Add
mdc-icon--avatar
CSS class (#270) (fb9a66b), closes #268 - icon: Implement
mdc-icon
component (#246) (2127275), closes #241 - list: Add [border] property (#276) (6e9c80b), closes #269
- list: Avatar icons + Improvements (#272) (1bad2e8), closes #271
- ripple: Add
mdc-ripple
andmdc-surface
directives (#237) (68d22b5), closes #234 - ripple: MdcRipple moved to MdcCoreModule (#247) (4035f58), closes #243
- typography: MdcTypography moved to MdcCoreModule (#244) (c19b9ab)
- core: MdcThemeModule moved into MdcCoreModule (#277) (68bb43c), closes #243
BREAKING CHANGES
- icon:
mdc-icon-button
was removed in favor ofmdc-icon
. Please update your code accordingly.
mdc-fab-icon
was removed in favor ofmdc-icon
. Please update your code accordingly.
mdc-tab-icon
was removed in favor ofmdc-icon
. Please update your code accordingly. - elevation: Remove
MdcElevationModule
from your code. Replace withMdcCoreModule
if not previously imported. - typography: Remove
MdcTypographyModule
from your code, and if necessary add an import ofMdcCoreModule
. - core: Remove
MdcThemeModule
import from your code, and replace it withMdcCoreModule
if not already imported.
v0.5.1
Bug Fixes
Features
- snackbar: Implement MDC Snackbar Service (#226) (279fe07), closes #225
- fab: Add
exited
animation property + toggleExited() method (#222) (fae29fc), closes #217 - fab: Add
tabIndex
property (#216) (f975d44) - fab: Publicize
elementRef
for button + icon (#227) (1c89641), closes #224
BREAKING CHANGES
- snackbar: Snackbar was re-architected into an Angular service. View the documentation and example at https://trimox.github.io/angular-mdc-web/#/snackbar-demo to update your code accordingly.
v0.5.0
Bug Fixes
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
fornode_modules/@material/*
from yourWebpack
orangular-cli.json
config files since it was a requirement of the oldmaterial-components-web
theme.
v0.4.8
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 tosetValid
keeping with MDC foundation naming. MdcRippleModule
was removed, please update your code accordingly.
v0.4.5
Bug Fixes
Features
- button: Implement stroked button (#132) (193140b), closes #131
- Rename all occurences of property
accent
tosecondary
(#139) (4a710e4), closes #138 - dialog: Add
escapeToClose
property (#146) (5c92a6d), closes #145 - fab: Remove [plain] property (#140) (b40c018)
- package: Update MDC dependency to v0.20.0 (#137) (4857b88)
- typography: Implement
mdc-typography-button
directive (#148) (0727217), closes #142
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 tosecondary
.
TheaccentColor
andprimaryColor
properties on Tabs was renamed tosecondary
andprimary
.
v0.4.0
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
- fab: Remove [disabled] property (#115) (eacbbae), closes #113
- fab: Remove forced material-icon class binding (#127) (919a2c7), closes #102
- package: Add Mdc prefix to class names (#122) (5b8014c), closes #120
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
toMdcButtonComponent
- 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
Bug Fixes
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.