fix(item): add a default size for items in buttons to use the content button sizes

fixes #5580
This commit is contained in:
Brandy Carney
2016-03-04 16:16:22 -05:00
parent f6af807688
commit 7b14a29ea7
3 changed files with 12 additions and 10 deletions

View File

@@ -41,7 +41,7 @@ import {Toolbar} from '../toolbar/toolbar';
})
export class Button {
private _role: string = 'button'; // bar-button/item-button
private _size: string = null; // large/small
private _size: string = null; // large/small/default
private _style: string = 'default'; // outline/clear/solid
private _shape: string = null; // round/fab
private _display: string = null; // block/full
@@ -242,7 +242,7 @@ export class Button {
}
const BUTTON_SIZE_ATTRS = ['large', 'small'];
const BUTTON_SIZE_ATTRS = ['large', 'small', 'default'];
const BUTTON_STYLE_ATTRS = ['clear', 'outline', 'solid'];
const BUTTON_SHAPE_ATTRS = ['round', 'fab'];
const BUTTON_DISPLAY_ATTRS = ['block', 'full'];