File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
showcase/app/components/page-components/application-state Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,10 @@ const CodeFragmentWithActionVariants: TemplateOnlyComponent<CodeFragmentWithActi
38
38
<F.Button @ color =" primary" @ text =" Primary action" />
39
39
{{/if }}
40
40
41
+ {{#if @ hasSecondaryAction }}
42
+ <F.Button @ color =" secondary" @ text =" Secondary action" />
43
+ {{/if }}
44
+
41
45
{{#if @ hasDropdown }}
42
46
<F.Dropdown @ listPosition =" bottom-right" as | dd | >
43
47
<dd.ToggleButton @ text =" Choose an option" />
Original file line number Diff line number Diff line change @@ -95,6 +95,15 @@ const SubSectionWithMedia: TemplateOnlyComponent<SubSectionWithMediaSignature> =
95
95
96
96
<ShwTextH4 @ tag =" h3" >With wide media (banner-like)</ShwTextH4 >
97
97
98
+ <button
99
+ type =" button"
100
+ class =" shw-component-application-state-button-highlight"
101
+ {{on " click" @ toggleHighlight}}
102
+ >
103
+ {{if @ showHighlight " Hide" " Show" }}
104
+ layout highlight
105
+ </button >
106
+
98
107
<ShwFlex @ direction =" column" @ gap =" 4rem" as | SF | >
99
108
{{#each ALIGNS as | align | }}
100
109
<SF.Item @ label =" {{align }} aligned" >
You can’t perform that action at this time.
0 commit comments