-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(build): modernize repo using generator build #49
- Loading branch information
1 parent
51fca8e
commit 5efb92e
Showing
29 changed files
with
1,919 additions
and
873 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
./node_modules/.bin/npm-run-all test linters postinstall | ||
./node_modules/.bin/npm-run-all preCommit test linters postinstall |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Alaska Airlines Auro Design System | ||
Copyright 2021 Alaska Airlines, Inc. or its affiliates. All Rights Reserved. | ||
Copyright 2024 Alaska Airlines, Inc. or its affiliates. All Rights Reserved. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<auro-avatar code="pdx" ariaVisible alt="iconic image of Portland, OR"></auro-avatar> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<auro-avatar></auro-avatar> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<custom-avatar></custom-avatar> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<auro-avatar img="https://picsum.photos/200?random=0"></auro-avatar> | ||
<auro-avatar img="https://picsum.photos/200?random=1" type="md"></auro-avatar> | ||
<auro-avatar img="https://picsum.photos/200?random=2" type="sm"></auro-avatar> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<auro-avatar code="INVALID"></auro-avatar> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<auro-avatar code="boi"></auro-avatar> | ||
<auro-avatar type="md" code="anc"></auro-avatar> | ||
<auro-avatar type="sm" code="mke"></auro-avatar> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<auro-avatar tail="AS"> | ||
<span slot="display">Alaska Airlines</span> | ||
</auro-avatar> | ||
<auro-avatar tail="AA"> | ||
<span slot="display">American Airlines</span> | ||
</auro-avatar> | ||
<auro-avatar type="md" tail="QF"> | ||
<span slot="display">Quantas</span> | ||
</auro-avatar> | ||
<auro-avatar type="md" tail="JL"> | ||
<span slot="display">Japan Airlines</span> | ||
</auro-avatar> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<!-- | ||
Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license | ||
See LICENSE in the project root for license information. | ||
HTML in this document is standardized and NOT to be edited. | ||
All demo code should be added/edited in ./demo/api.md | ||
With the exception of adding custom elements if needed for the demo. | ||
----------------------- DO NOT EDIT ----------------------------- | ||
--> | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Auro Web Component Generator | auro-avatar custom element</title> | ||
<link | ||
rel="stylesheet" | ||
type="text/css" | ||
href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css" | ||
/> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/tokens/CSSCustomProperties.css"> | ||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/demoWrapper.css" /> | ||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/elementDemoStyles.css" /> | ||
</head> | ||
<body class="auro-markdown"> | ||
<main></main> | ||
|
||
<script type="module"> | ||
import 'https://cdn.jsdelivr.net/npm/marked@latest/marked.min.js'; | ||
import 'https://cdn.jsdelivr.net/npm/prismjs@latest/prism.js'; | ||
fetch('/demo/api.md') | ||
.then((response) => response.text()) | ||
.then((text) => { | ||
const rawHtml = marked.parse(text); | ||
document.querySelector('main').innerHTML = rawHtml; | ||
Prism.highlightAll(); | ||
}); | ||
</script> | ||
<script type="module" data-demo-script="true" src="../index.js"></script> | ||
|
||
<!-- 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> | ||
</body> | ||
</html> |
Oops, something went wrong.