Skip to content

Commit

Permalink
perf: remove auro-buttons from index page demos #274
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanjones243 committed Jan 27, 2025
1 parent a65f23e commit 3ee21e4
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 1,428 deletions.
4 changes: 0 additions & 4 deletions apiExamples/common.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<auro-dropdown id="common" common aria-label="Label content for screen reader">
<div style="padding: var(--ds-size-150);">
Lorem ipsum solar
<br />
<auro-button onclick="document.querySelector('#common').hide()">
Dismiss Dropdown
</auro-button>
</div>
<span slot="helpText">
Help text
Expand Down
4 changes: 0 additions & 4 deletions apiExamples/commonLabelledby.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
<auro-dropdown id="commonAdvanced" aria-labelledby="foo" bordered rounded inset chevron>
<div style="padding: var(--ds-size-150);">
Lorem ipsum solar
<br />
<auro-button onclick="document.querySelector('#commonAdvanced').hide()">
Dismiss Dropdown
</auro-button>
</div>
<span slot="helpText">
Help text
Expand Down
5 changes: 1 addition & 4 deletions apiExamples/commonMatchWidth.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
<auro-dropdown id="common" common matchWidth aria-label="Label content for screen reader">
<auro-dropdown id="commonMatchWidth" common matchWidth aria-label="Label content for screen reader">
<div style="padding: var(--ds-size-150);">
Lorem ipsum solar
<br />
<auro-button onclick="document.querySelector('#common').hide()">
Dismiss Dropdown
</auro-button>
</div>
<span slot="helpText">
Help text
Expand Down
3 changes: 0 additions & 3 deletions apiExamples/commonSlot.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
<div style="padding: var(--ds-size-150);">
Lorem ipsum solar
<br />
<auro-button onclick="document.querySelector('#commonSlot').hide()">
Dismiss Dropdown
</auro-button>
</div>
<span slot="helpText">
Help text
Expand Down
5 changes: 1 addition & 4 deletions apiExamples/custom.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
<custom-dropdown id="common" common aria-label="Label content for screen reader">
<custom-dropdown id="commonCustom" common aria-label="Label content for screen reader">
<div style="padding: var(--ds-size-150);">
Lorem ipsum solar
<br />
<auro-button onclick="document.querySelector('#common').hide()">
Dismiss Dropdown
</auro-button>
</div>
<span slot="helpText">
Help text
Expand Down
2 changes: 2 additions & 0 deletions demo/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,7 @@
<!-- If additional elements are needed for the demo, add them here. -->
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-accordion@latest/dist/auro-accordion__bundled.js" type="module"></script>
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-button@latest/dist/auro-button__bundled.js" type="module"></script>
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-icon@latest/dist/auro-icon__bundled.js" type="module"></script>
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-input@latest/dist/auro-input__bundled.js" type="module"></script>
</body>
</html>
Loading

0 comments on commit 3ee21e4

Please sign in to comment.