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 Nov 4, 2023
1 parent 67dea09 commit 1be098c
Show file tree
Hide file tree
Showing 4 changed files with 16 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>
3 changes: 2 additions & 1 deletion demo/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
</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/@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>
3 changes: 2 additions & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
<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/@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 1be098c

Please sign in to comment.