Skip to content

Commit adb2428

Browse files
authored
Merge branch 'next' into orientation-attribute
2 parents d723fc4 + 684bb25 commit adb2428

File tree

26 files changed

+142
-62
lines changed

26 files changed

+142
-62
lines changed

docs/_includes/sidebar.njk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<li><a href="https://github.com/shoelace-style/webawesome-alpha/discussions" target="_blank">Help &amp; Support</a></li>
1515
<li><a href="/docs/resources/community">Community</a></li>
1616
<li><a href="/docs/resources/accessibility">Accessibility</a></li>
17+
<li><a href="/docs/resources/browser-support">Browser Support</a></li>
1718
<li><a href="/docs/resources/contributing">Contributing</a></li>
1819
<li><a href="/docs/resources/changelog">Changelog</a></li>
1920
<li><a href="/docs/resources/visual-tests">Visual Tests</a></li>

docs/_layouts/component.njk

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<h2>Slots</h2>
2020
<p>Learn more about <a href="/docs/usage/#slots">using slots</a>.</p>
2121

22-
<div class="table-scroll">
22+
<wa-scroller>
2323
<table class="component-table">
2424
<thead>
2525
<tr>
@@ -42,21 +42,21 @@
4242
{% endfor %}
4343
</tbody>
4444
</table>
45-
</div>
45+
</wa-scroller>
4646
{% endif %}
4747

4848
{# Properties #}
4949
{% if component.properties.length %}
5050
<h2>Attributes & Properties</h2>
5151
<p>Learn more about <a href="/docs/usage/#attributes-and-properties">attributes and properties</a>.</p>
5252

53-
<div class="table-scroll">
53+
<wa-scroller>
5454
<table class="component-table">
5555
<thead>
5656
<tr>
5757
<th class="table-name">Name</th>
5858
<th class="table-description">Description</th>
59-
<th class="table-reflects">Reflects</th>
59+
<th class="table-reflect">Reflects</th>
6060
</tr>
6161
</thead>
6262
<tbody>
@@ -77,7 +77,7 @@
7777
<div><small><strong>Default</strong>&nbsp;<code>{{ prop.default | inlineMarkdown | safe }}</code></small></div>
7878
{% endif %}
7979
</td>
80-
<td class="table-checkmark">
80+
<td class="table-reflect">
8181
{% if prop.reflects %}
8282
<wa-icon name="check"></wa-icon>
8383
{% endif %}
@@ -89,15 +89,15 @@
8989
{% endfor %}
9090
</tbody>
9191
</table>
92-
</div>
92+
</wa-scroller>
9393
{% endif %}
9494

9595
{# Methods #}
9696
{% if component.methods.length %}
9797
<h2>Methods</h2>
9898
<p>Learn more about <a href="/docs/usage/#methods">methods</a>.</p>
9999

100-
<div class="table-scroll">
100+
<wa-scroller>
101101
<table class="component-table">
102102
<thead>
103103
<tr>
@@ -124,15 +124,15 @@
124124
{% endfor %}
125125
</tbody>
126126
</table>
127-
</div>
127+
</wa-scroller>
128128
{% endif %}
129129

130130
{# Events #}
131131
{% if component.events.length %}
132132
<h2>Events</h2>
133133
<p>Learn more about <a href="/docs/usage/#events">events</a>.</p>
134134

135-
<div class="table-scroll">
135+
<wa-scroller>
136136
<table class="component-table">
137137
<thead>
138138
<tr>
@@ -151,15 +151,15 @@
151151
{% endfor %}
152152
</tbody>
153153
</table>
154-
</div>
154+
</wa-scroller>
155155
{% endif %}
156156

157157
{# Custom Properties #}
158158
{% if component.cssProperties.length %}
159159
<h2>CSS custom properties</h2>
160160
<p>Learn more about <a href="/docs/customizing/#custom-properties">CSS custom properties</a>.</p>
161161

162-
<div class="table-scroll">
162+
<wa-scroller>
163163
<table class="component-table">
164164
<thead>
165165
<tr>
@@ -183,15 +183,15 @@
183183
{% endfor %}
184184
</tbody>
185185
</table>
186-
</div>
186+
</wa-scroller>
187187
{% endif %}
188188

189189
{# Custom States #}
190190
{% if component.cssStates.length %}
191191
<h2>Custom States</h2>
192192
<p>Learn more about <a href="/docs/customizing/#custom-states">custom states</a>.</p>
193193

194-
<div class="table-scroll">
194+
<wa-scroller>
195195
<table class="component-table">
196196
<thead>
197197
<tr>
@@ -210,15 +210,15 @@
210210
{% endfor %}
211211
</tbody>
212212
</table>
213-
</div>
213+
</wa-scroller>
214214
{% endif %}
215215

216216
{# CSS Parts #}
217217
{% if component.cssParts.length %}
218218
<h2>CSS parts</h2>
219219
<p>Learn more about <a href="/docs/customizing/#css-parts">CSS parts</a>.</p>
220220

221-
<div class="table-scroll">
221+
<wa-scroller>
222222
<table class="component-table">
223223
<thead>
224224
<tr>
@@ -235,7 +235,7 @@
235235
{% endfor %}
236236
</tbody>
237237
</table>
238-
</div>
238+
</wa-scroller>
239239
{% endif %}
240240

241241
{# Dependencies #}

0 commit comments

Comments
 (0)