@aurodesignsystem/auro-dialog 4.2.0 → 4.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -19
- package/README.md +8 -9
- package/demo/accessibility.html +42 -0
- package/demo/accessibility.js +21 -0
- package/demo/accessibility.md +129 -0
- package/demo/accessibility.min.js +3969 -0
- package/demo/api.html +16 -40
- package/demo/api.md +0 -750
- package/demo/customize.html +45 -0
- package/demo/{api.js → customize.js} +2 -14
- package/demo/customize.md +226 -0
- package/demo/customize.min.js +3974 -0
- package/demo/demo-nav.css +32 -0
- package/demo/design.html +42 -0
- package/demo/design.js +23 -0
- package/demo/design.md +306 -0
- package/demo/design.min.js +4041 -0
- package/demo/getting-started.html +38 -0
- package/demo/getting-started.md +295 -0
- package/demo/index.html +17 -36
- package/demo/index.js +2 -3
- package/demo/index.md +220 -144
- package/demo/index.min.js +3984 -7
- package/demo/keyboard-behavior.html +38 -0
- package/demo/keyboard-behavior.md +51 -0
- package/demo/pages.json +1 -0
- package/demo/readme.html +42 -0
- package/demo/readme.js +24 -0
- package/demo/readme.md +176 -0
- package/demo/{auro-dialog.min.js → readme.min.js} +434 -281
- package/demo/support/demo-support.js +140 -0
- package/demo/voiceover.html +38 -0
- package/demo/voiceover.md +19 -0
- package/demo/why-dialog.html +38 -0
- package/demo/why-dialog.md +36 -0
- package/dist/{auro-dialog-CWkXz5VA.js → auro-dialog-T9I85UZL.js} +20 -20
- package/dist/index.d.ts +198 -98
- package/dist/index.js +1 -1
- package/dist/registered.js +1 -1
- package/package.json +6 -6
- package/demo/api.min.js +0 -219
package/demo/api.html
CHANGED
|
@@ -2,63 +2,39 @@
|
|
|
2
2
|
Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
3
3
|
See LICENSE in the project root for license information.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
With the exception of adding custom elements if needed for the demo.
|
|
9
|
-
|
|
10
|
-
----------------------- DO NOT EDIT -----------------------------
|
|
11
|
-
|
|
5
|
+
Demo shell. Page content is authored in ../docs/pages/api.md and generated
|
|
6
|
+
into ./api.md. Rendered by ./demo-support.js (remark/rehype), which also
|
|
7
|
+
injects the top page-nav from ./pages.json.
|
|
12
8
|
-->
|
|
13
|
-
|
|
14
9
|
<!DOCTYPE html>
|
|
15
10
|
<html lang="en">
|
|
16
11
|
<head>
|
|
17
12
|
<meta charset="UTF-8" />
|
|
18
13
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
19
|
-
<title>Auro Web Component Demo | auro-dialog</title>
|
|
14
|
+
<title>Auro Web Component Demo | auro-dialog | API</title>
|
|
20
15
|
|
|
21
|
-
|
|
22
|
-
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css"/>
|
|
23
|
-
|
|
24
|
-
<!-- Legacy reference is still needed to support auro-dialog's use of legacy token values at this time -->
|
|
16
|
+
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.9.0/build/styles/github.min.css"/>
|
|
25
17
|
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/legacy/auro-classic/CSSCustomProperties.css"/>
|
|
26
|
-
|
|
27
|
-
<!-- Design Token Alaska Theme -->
|
|
28
18
|
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/themes/alaska/CSSCustomProperties--alaska.min.css"/>
|
|
29
|
-
|
|
30
|
-
<!-- Webcore Stylesheet Alaska Theme -->
|
|
31
19
|
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/bundled/themes/alaska.global.min.css" />
|
|
32
|
-
|
|
33
|
-
<!-- Demo Specific Styles -->
|
|
34
20
|
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/demoWrapper.css" />
|
|
35
21
|
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/elementDemoStyles.css" />
|
|
36
|
-
|
|
22
|
+
<link rel="stylesheet" type="text/css" href="./demo-nav.css" />
|
|
23
|
+
</head>
|
|
37
24
|
<body class="auro-markdown">
|
|
38
25
|
<main></main>
|
|
39
26
|
|
|
40
|
-
|
|
41
|
-
import 'https://cdn.jsdelivr.net/npm/marked@latest/marked.min.js';
|
|
42
|
-
import 'https://cdn.jsdelivr.net/npm/prismjs@latest/prism.js';
|
|
43
|
-
fetch('./api.md')
|
|
44
|
-
.then((response) => response.text())
|
|
45
|
-
.then((text) => {
|
|
46
|
-
const rawHtml = marked.parse(text);
|
|
47
|
-
document.querySelector('main').innerHTML = rawHtml;
|
|
48
|
-
Prism.highlightAll();
|
|
49
|
-
});
|
|
50
|
-
</script>
|
|
51
|
-
<script type="module" data-demo-script="true">
|
|
52
|
-
import { initExamples } from './api.min.js';
|
|
53
|
-
initExamples();
|
|
54
|
-
</script>
|
|
55
|
-
|
|
56
|
-
<!-- If additional elements are needed for the demo, add them here. -->
|
|
27
|
+
<!-- Custom elements used by the demo pages. -->
|
|
57
28
|
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-accordion@latest/+esm" type="module"></script>
|
|
58
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-
|
|
59
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-
|
|
29
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-nav@latest/+esm" type="module"></script>
|
|
30
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-header@latest/+esm" type="module"></script>
|
|
31
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-icon@latest/+esm" type="module"></script>
|
|
60
32
|
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-hyperlink@latest/+esm" type="module"></script>
|
|
61
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-popover@latest/+esm" type="module"></script>
|
|
62
33
|
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-button@latest/+esm" type="module"></script>
|
|
34
|
+
|
|
35
|
+
<script type="module">
|
|
36
|
+
import { renderPage } from './support/demo-support.js';
|
|
37
|
+
await renderPage('./api.md');
|
|
38
|
+
</script>
|
|
63
39
|
</body>
|
|
64
40
|
</html>
|