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.7.2
Bug Fixes
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
ormdc-drawer-permanent
tomdc-drawer
. - Set drawer type via
drawer: string
property. Valid values are'permanent' | 'persistent' | 'temporary'
- Removed
[absolute]
input property. Logic replaced withfixedAdjustElement
input use.
v0.7.1
Bug Fixes
Features
v0.7.0
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 theanchorCorner
property. - drawer: * Renamed selector
mdc-persistent-drawer
tomdc-drawer-permanent
. - drawer: * Renamed selector
mdc-persistent-drawer
tomdc-drawer-permanent
. - drawer: * Renamed selector
mdc-temporary-drawer
tomdc-drawer-temporary
. - Renamed class
MdcPersistentDrawer
toMdcDrawerPersistent
. - Renamed selector
mdc-persistent-drawer-spacer
tomdc-drawer-spacer
. - Renamed selector
mdc-persistent-drawer-content
tomdc-drawer-content
. - Renamed
mdc-persistent-drawer-header
tomdc-drawer-header
- Renamed
mdc-persistent-drawer-header-content
tomdc-drawer-header-content
- Renamed class
MdcPermanentDrawer
toMdcDrawerPermanent
. - Renamed selector
mdc-permanent-drawer-spacer
tomdc-drawer-spacer
. - Renamed selector
mdc-permanent-drawer-content
tomdc-drawer-content
. - Removed
MdcMaterialIconModule
. If needed, please useMdcThemeModule
instead.
v0.6.6
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
- Update to
material-components-web
v0.27.0 - drawer: Add adapter method
eventTargetHasClass
(#467) (f7a8ff8), closes #446 - elevation: Eject from Core and export @angular-mdc/web/elevation (#487) (2e1b6db)
- linear-progress: Add
closed
property (#463) (3ad21a4) - linear-progress: Add setReverse and setDeterminate methods (#464) (d95b15b)
- list: Add
lines
property to replacetwoLine
(#489) (9a30ea5) - list: Add
padded
property to list divider (#481) (3a34e1a), closes #480 - list: Add interactive property to set list item state (#485) (26053ff)
- list: Add new UX styles and improvements (#473) (b00b9f2), closes #449 #469 #470
- menu: Add adapter method
eventTargetHasClass
(#466) (d741569), closes #444 - ripple: Remove from Core + Export @angular-mdc/web/ripple (#486) (12c7ec7)
- select: Add new UX styles and behaviors (#491) (9b56af4), closes #448
- theme: Add MDC color-palette.scss to @angular-mdc/theme (#492) (3b9d2f6)
- typography: Eject from Core and export @angular-mdc/web/typography (#488) (f25a6b1)
- select: Add autosize property (#496)
Performance Improvements
BREAKING CHANGES
- list: Removed
disableRipple
property. Please update your code to useinteractive
property. - list: Renamed
active
property toselected
. - list: Renamed
mdc-list-item-start
tomdc-list-item-graphic
- list: Renamed
mdc-list-item-end
tomdc-list-item-meta
- list: Removed
isActive()
method - list: Depreciated
twoLines
property. Uselines: number
instead.
v0.6.5
v0.6.4
v0.6.3
v0.6.2 - Modular Component Packaging
Bug Fixes
- select: Propagate value in formControl (#427) (4254035), closes #411
- textfield: Prefilled value not floating label (#413) (2166588), closes #410
Features
- Update to material-components-web v0.26.0 (#422) (34852a9)
- build: Implement modular component packaging (#419) (5cb2897), closes #416
- checkbox: New features + refactoring (#409) (2624b7c), closes #408 #407 #406 #405
- dialog: Add
ariaLabel
to config options (#398) (c2f2176) - ripple: Add primary and secondary theme color properties (#400) (c66a0d9), closes #322
- textfield: Add selectAll() function (#401) (ed8cb29)
- textfield: Implement HelperText + BottomLine foundations (#424) (27372cc), closes #423
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.
- Removed
- checkbox:
change(Event)
was changed tochange(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
- Use
v0.6.1
Bug Fixes
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 todisableRipple
. - menu: Removed
MenuOpenFrom
. Update your code to useMdcMenuOpenFrom
with accepted values of 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight'
Text Field renamed due to MDC upstream change
- textfield: Rename
mdc-text-field-helptext
tomdc-text-field-helper-text
and update your code accordingly. - textfield: Rename the following in your code.
MdcTextfieldModule
toMdcTextFieldModule
.MdcTextfield
toMdcTextField
MdcTextfieldBox
toMdcTextFieldBox
mdc-textfield
tomdc-text-field
mdc-textfield-box
tomdc-text-field-box
mdc-textfield-helptext
tomdc-text-field-helptext
v0.6.0
Features
- Update material-components-web to v0.24.0 (#346) (c8ef513), closes #347
- dialog: Implement MDC Dialog Service (#334) (ba19c51), closes #141
- drawer: Add
absolute
property (#351) (4c5760c), closes #350 - icon: Add
fontSize
property (#357) (7050f7d) - package: Update to Angular v5.0.1 (#368) (7ba346a)
- select: Add placeholder property + fix clearSelection() (#372) (563d287), closes #371
- tabs: Add disabled tab + improvements (#369) (f073c92), closes #349 #281 #349 #147 #281
- theme: Add [mdc-content] modifier + directive (#352) (a1d40f6), closes #156
BREAKING CHANGES
- select: Removed
label
setter andsetLabel()
function. Useplaceholder
andsetPlaceholder
instead. - tabs: Removed
mdc-tab-bar-scroll-button
directive. Usemdc-icon
instead. Please update your code accordingly.
Example:
<mdc-tab-bar-scroll-back>
<mdc-icon>navigate_before</mdc-icon>
</mdc-tab-bar-scroll-back>