Skip to content

Commit db33499

Browse files
committed
fixing visual diffs
1 parent a82a2a4 commit db33499

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

showcase/app/components/page-components/application-state/code-fragments/with-action-variants.gts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ const CodeFragmentWithActionVariants: TemplateOnlyComponent<CodeFragmentWithActi
3838
<F.Button @color="primary" @text="Primary action" />
3939
{{/if}}
4040

41+
{{#if @hasSecondaryAction}}
42+
<F.Button @color="secondary" @text="Secondary action" />
43+
{{/if}}
44+
4145
{{#if @hasDropdown}}
4246
<F.Dropdown @listPosition="bottom-right" as |dd|>
4347
<dd.ToggleButton @text="Choose an option" />

showcase/app/components/page-components/application-state/sub-sections/with-media.gts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,15 @@ const SubSectionWithMedia: TemplateOnlyComponent<SubSectionWithMediaSignature> =
9595

9696
<ShwTextH4 @tag="h3">With wide media (banner-like)</ShwTextH4>
9797

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+
98107
<ShwFlex @direction="column" @gap="4rem" as |SF|>
99108
{{#each ALIGNS as |align|}}
100109
<SF.Item @label="{{align}} aligned">

0 commit comments

Comments
 (0)