From a20c37ab5f4d8e3b02123aa53d6ac93d1ef4d6ae Mon Sep 17 00:00:00 2001 From: Kevin Hinterlong Date: Tue, 6 Oct 2020 14:17:01 -0500 Subject: [PATCH] fix: button can now use @isFull arg on all sizes (#45) * fix: button can now use @isFull arg on all sizes * fix: denali button tests * fix: use existing class name getter setup --- addon/components/denali-button-enums.js | 2 +- addon/components/denali-button.hbs | 2 +- addon/components/denali-button.js | 7 +++++ stories/button.stories.js | 2 ++ .../components/denali-button-test.js | 29 +++++++++++++++++-- 5 files changed, 38 insertions(+), 4 deletions(-) diff --git a/addon/components/denali-button-enums.js b/addon/components/denali-button-enums.js index 34f918d..ca2faa0 100644 --- a/addon/components/denali-button-enums.js +++ b/addon/components/denali-button-enums.js @@ -4,5 +4,5 @@ */ export const STYLES = ['solid', 'outline', 'ghost', 'text', 'danger']; -export const SIZES = ['default', 'small', 'medium', 'large', 'full']; +export const SIZES = ['default', 'small', 'medium', 'large']; export const TYPES = ['button', 'submit', 'reset']; diff --git a/addon/components/denali-button.hbs b/addon/components/denali-button.hbs index fc86a4d..c6422d3 100644 --- a/addon/components/denali-button.hbs +++ b/addon/components/denali-button.hbs @@ -1,6 +1,6 @@ {{! Copyright 2020, Verizon Media. Licensed under the terms of the MIT license. See accompanying LICENSE.md file for terms. }}