Skip to content

Commit

Permalink
perf(alert): update to use auro-alert
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanjones243 committed Jan 2, 2024
1 parent f94ab5d commit e18015c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions apiExamples/doAndDont.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<auro-alerts error noIcon>
<auro-alert type="error" noIcon>
<auro-button loading disabled>Primary</auro-button>
</auro-alerts>
<auro-alerts success noIcon style="padding-top: 5px;">
</auro-alert>
<auro-alert type="success" noIcon style="padding-top: 5px;">
<auro-button loading>Primary</auro-button>
</auro-alerts>
</auro-alert>
2 changes: 1 addition & 1 deletion demo/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</script>
<script src="https://cdn.jsdelivr.net/npm/@alaskaairux/auro-accordion@latest/dist/auro-accordion__bundled.js" type="module"></script>
<script src="https://cdn.jsdelivr.net/npm/@alaskaairux/auro-icon@latest/dist/auro-icon__bundled.js" type="module"></script>
<script src="https://cdn.jsdelivr.net/npm/@alaskaairux/auro-alerts@latest/dist/auro-alerts__bundled.js" type="module"></script>
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-alert@latest/dist/auro-alert__bundled.js" type="module"></script>

<script src="https://cdn.jsdelivr.net/npm/marked@latest/marked.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@latest/prism.js"></script>
Expand Down
16 changes: 8 additions & 8 deletions demo/demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,12 +197,12 @@ Don't combine `disabled` and `loading` attributes on any single instance of `aur
<div class="exampleWrapper">
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/doAndDont.html) -->
<!-- The below content is automatically added from ./../../apiExamples/doAndDont.html -->
<auro-alerts error noIcon>
<auro-alert type="error" noIcon>
<auro-button loading disabled>Primary</auro-button>
</auro-alerts>
<auro-alerts success noIcon style="padding-top: 5px;">
</auro-alert>
<auro-alert type="success" noIcon style="padding-top: 5px;">
<auro-button loading>Primary</auro-button>
</auro-alerts>
</auro-alert>
<!-- AURO-GENERATED-CONTENT:END -->
</div>
<auro-accordion lowProfile justifyRight>
Expand All @@ -211,12 +211,12 @@ Don't combine `disabled` and `loading` attributes on any single instance of `aur
<!-- The below code snippet is automatically added from ./../../apiExamples/doAndDont.html -->

```html
<auro-alerts error noIcon>
<auro-alert type="error" noIcon>
<auro-button loading disabled>Primary</auro-button>
</auro-alerts>
<auro-alerts success noIcon style="padding-top: 5px;">
</auro-alert>
<auro-alert type="success" noIcon style="padding-top: 5px;">
<auro-button loading>Primary</auro-button>
</auro-alerts>
</auro-alert>
```
<!-- AURO-GENERATED-CONTENT:END -->
</auro-accordion>
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<script type="module" src="../index.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@alaskaairux/auro-accordion@latest/dist/auro-accordion__bundled.js" type="module"></script>
<script src="https://cdn.jsdelivr.net/npm/@alaskaairux/auro-icon@latest/dist/auro-icon__bundled.js" type="module"></script>
<script src="https://cdn.jsdelivr.net/npm/@alaskaairux/auro-alerts@latest/dist/auro-alerts__bundled.js" type="module"></script>
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-alert@latest/dist/auro-alert__bundled.js" type="module"></script>

<script src="https://cdn.jsdelivr.net/npm/marked@latest/marked.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@latest/prism.js"></script>
Expand Down

0 comments on commit e18015c

Please sign in to comment.