From 78d167125344bd763c9616f7f925279d368fed0e Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Tue, 16 Jan 2018 16:09:51 -0800 Subject: [PATCH] Move button styleguide material to a component --- .../components/freestyle/sg-buttons.hbs | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 ui/app/templates/components/freestyle/sg-buttons.hbs diff --git a/ui/app/templates/components/freestyle/sg-buttons.hbs b/ui/app/templates/components/freestyle/sg-buttons.hbs new file mode 100644 index 000000000..069427c59 --- /dev/null +++ b/ui/app/templates/components/freestyle/sg-buttons.hbs @@ -0,0 +1,54 @@ +{{#freestyle-collection defaultKey="standard" as |collection|}} + {{#collection.variant key="standard"}} + {{#freestyle-usage 'buttons-standard' title='Standard Buttons'}} +
+ Button + White + Light + Dark + Black + Link +
+
+ Primary + Info + Success + Warning + Danger +
+ {{/freestyle-usage}} + {{/collection.variant}} + {{#collection.variant key="outlines"}} + {{#freestyle-usage 'buttons-outlines' title='Outline Buttons'}} +
+ Outlined + Primary + Info + Success + Warning + Danger +
+ {{/freestyle-usage}} + {{/collection.variant}} + {{#collection.variant key="hollow"}} + {{#freestyle-usage 'buttons-hollow' title='Hollow Buttons'}} +
+ Primary + Info + Success + Warning + Danger +
+ {{/freestyle-usage}} + {{/collection.variant}} + {{#collection.variant key="sizing"}} + {{#freestyle-usage 'buttons-sizing' title='Button Sizes'}} +
+ Small + Normal + Medium + Large +
+ {{/freestyle-usage}} + {{/collection.variant}} +{{/freestyle-collection}}