Skip to content

Commit 1602203

Browse files
committed
chore: updating demo and text for hide-icons theme
1 parent 9ae5c1c commit 1602203

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

demo/index.html

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -103,28 +103,6 @@ <h3>Configure Overflow Update Delay</h3>
103103
</vcf-toolbar-layout>
104104
</div>
105105

106-
<h3>Buttons</h3>
107-
<p><code>hide-icons</code> theme variant.</p>
108-
<div class="resizable-wrapper">
109-
<vcf-toolbar-layout theme="hide-icons">
110-
<vaadin-button theme="primary">
111-
Save
112-
</vaadin-button>
113-
<vaadin-button>
114-
<vaadin-icon icon="vaadin:upload" slot="prefix"></vaadin-icon>
115-
Prefix
116-
</vaadin-button>
117-
<vaadin-button>
118-
Suffix
119-
<vaadin-icon icon="vaadin:download" slot="suffix"></vaadin-icon>
120-
</vaadin-button>
121-
<vaadin-button theme="icon error">
122-
<vaadin-icon icon="vaadin:close" slot="prefix"></vaadin-icon>
123-
Remove
124-
</vaadin-button>
125-
</vcf-toolbar-layout>
126-
</div>
127-
128106
<h3>MenuBar</h3>
129107
<div class="resizable-wrapper">
130108
<vcf-toolbar-layout>
@@ -191,6 +169,28 @@ <h3>Fixed width prefix</h3>
191169
</vcf-toolbar-layout>
192170
</div>
193171

172+
<h3>Hide icons</h3>
173+
<p><code>hide-icons</code> theme variant hides button icons when in overflow menu.</p>
174+
<div class="resizable-wrapper">
175+
<vcf-toolbar-layout theme="hide-icons">
176+
<vaadin-button theme="primary">
177+
Save
178+
</vaadin-button>
179+
<vaadin-button>
180+
<vaadin-icon icon="vaadin:upload" slot="prefix"></vaadin-icon>
181+
Prefix
182+
</vaadin-button>
183+
<vaadin-button>
184+
Suffix
185+
<vaadin-icon icon="vaadin:download" slot="suffix"></vaadin-icon>
186+
</vaadin-button>
187+
<vaadin-button theme="icon error">
188+
<vaadin-icon icon="vaadin:close" slot="prefix"></vaadin-icon>
189+
Remove
190+
</vaadin-button>
191+
</vcf-toolbar-layout>
192+
</div>
193+
194194
<h3>Item groups</h3>
195195
<p>Items can be wrapped in layouts.</p>
196196
<div class="resizable-wrapper">

0 commit comments

Comments
 (0)