diff --git a/addons/rose/addon/components/rose/button/index.hbs b/addons/rose/addon/components/rose/button/index.hbs index 7dc30c066..db82b26b6 100644 --- a/addons/rose/addon/components/rose/button/index.hbs +++ b/addons/rose/addon/components/rose/button/index.hbs @@ -2,8 +2,7 @@ ...attributes type={{if @submit 'submit' 'button'}} disabled={{if @disabled 'disabled'}} - class='{{@classNames}} - {{if @style (concat 'rose-button-' @style)}} + class='{{if @style (concat 'rose-button-' @style)}} {{if @iconLeft 'has-icon-left'}} {{if @iconRight 'has-icon-right'}} {{if @iconOnly 'has-icon-only'}}' diff --git a/addons/rose/addon/components/rose/code-editor/field-editor/index.hbs b/addons/rose/addon/components/rose/code-editor/field-editor/index.hbs index 82ed4cbae..c0742c000 100644 --- a/addons/rose/addon/components/rose/code-editor/field-editor/index.hbs +++ b/addons/rose/addon/components/rose/code-editor/field-editor/index.hbs @@ -1,6 +1,6 @@
\ No newline at end of file diff --git a/addons/rose/addon/components/rose/code-editor/index.stories.mdx b/addons/rose/addon/components/rose/code-editor/index.stories.mdx index 05aacff99..02c7bfed7 100644 --- a/addons/rose/addon/components/rose/code-editor/index.stories.mdx +++ b/addons/rose/addon/components/rose/code-editor/index.stories.mdx @@ -57,7 +57,7 @@ export const codeValue = template: hbs` - + `, context: { codeValue: 'mkdir /home/ubuntu/boundary/', @@ -76,7 +76,7 @@ export const codeValue = template: hbs` - + `, context: { codeValue: 'mkdir /home/ubuntu/boundary/', diff --git a/addons/rose/addon/components/rose/form/actions/index.stories.mdx b/addons/rose/addon/components/rose/form/actions/index.stories.mdx index 7517bddb6..9377f6149 100644 --- a/addons/rose/addon/components/rose/form/actions/index.stories.mdx +++ b/addons/rose/addon/components/rose/form/actions/index.stories.mdx @@ -8,35 +8,38 @@ import { text, boolean } from '@storybook/addon-knobs'; # Form Actions A simple collection of buttons for performing common actions like submit/save -and cancel. Form actions should always be used in the context of a form element -where the form has a submit action handler. The submit button does not directly -support actions. The cancel button supports a cancel action. +and cancel. Form actions should always be used in the context of a form element +where the form has a submit action handler. The submit button does not directly +support actions. The cancel button supports a cancel action. ```html + @submitDisabled={{false}} + @cancel=(fn @cancel) +/> ``` - {{ - template: hbs` + + {{ + template: hbs` `, - context: { - submitText: text('submitText', 'Save'), - cancelText: text('cancelText', 'Cancel'), - showCancel: boolean('showCancel', true), - disabled: boolean('disabled', false), - onCancel: action('cancel'), - }, - }} + context: { + submitText: text('submitText', 'Save'), + cancelText: text('cancelText', 'Cancel'), + showCancel: boolean('showCancel', true), + submitDisabled: boolean('submitDisabled', false), + onCancel: action('cancel'), + }, + }} +