Ghost/ghost/admin/app/styles/patterns
Kevin Ansfield f1512d12c2 success/failure state spinner buttons (#566)
refs https://github.com/TryGhost/Ghost/issues/7515
- changes to `gh-task-button`:
  - can take `buttonText` (default: "Save"), `runningText` ("Saving"), `successText` ("Saved"), and `failureText` ("Retry") params
  - positional param for `buttonText`
  - default button display can be overridden by passing in a block, in that scenario the component will yield a hash containing all states to be used in this fashion:
    ```
    {{#gh-task-button task=myTask as |task|}}
    {{if task.isIdle "Save me"}}
    {{if task.isRunning "Saving"}}
    {{if task.isSuccess "Thank you!"}}
    {{if task.isFailure "Nooooooo!"}}
    {{/gh-task-button}}
    ```
- update existing uses of `gh-task-button` to match new component signature
2017-03-07 10:28:52 -07:00
..
_shame.css Labs UI update 2017-02-17 12:31:12 -06:00
boxes.css disable email input field when using OAuth, direct users to my.ghost.org for login details (#560) 2017-03-03 14:24:43 +01:00
buttons.css success/failure state spinner buttons (#566) 2017-03-07 10:28:52 -07:00
forms.css Colour updates 2017-02-21 13:03:44 +00:00
global.css Minor editor style updates 2017-03-02 09:56:52 +00:00
icons.css Subscribers: Admin UI updates & fixes 2016-05-11 11:22:35 +02:00
labels.css Update styles for content screen, buttons, and app frame 2017-02-16 19:50:05 +00:00
navlist.css Colour updates 2017-02-21 13:03:44 +00:00
tables.css Allow table content to be selectable 2016-05-12 17:42:52 +02:00