@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.
Files changed (41) hide show
  1. package/CHANGELOG.md +3 -19
  2. package/README.md +8 -9
  3. package/demo/accessibility.html +42 -0
  4. package/demo/accessibility.js +21 -0
  5. package/demo/accessibility.md +129 -0
  6. package/demo/accessibility.min.js +3969 -0
  7. package/demo/api.html +16 -40
  8. package/demo/api.md +0 -750
  9. package/demo/customize.html +45 -0
  10. package/demo/{api.js → customize.js} +2 -14
  11. package/demo/customize.md +226 -0
  12. package/demo/customize.min.js +3974 -0
  13. package/demo/demo-nav.css +32 -0
  14. package/demo/design.html +42 -0
  15. package/demo/design.js +23 -0
  16. package/demo/design.md +306 -0
  17. package/demo/design.min.js +4041 -0
  18. package/demo/getting-started.html +38 -0
  19. package/demo/getting-started.md +295 -0
  20. package/demo/index.html +17 -36
  21. package/demo/index.js +2 -3
  22. package/demo/index.md +220 -144
  23. package/demo/index.min.js +3984 -7
  24. package/demo/keyboard-behavior.html +38 -0
  25. package/demo/keyboard-behavior.md +51 -0
  26. package/demo/pages.json +1 -0
  27. package/demo/readme.html +42 -0
  28. package/demo/readme.js +24 -0
  29. package/demo/readme.md +176 -0
  30. package/demo/{auro-dialog.min.js → readme.min.js} +434 -281
  31. package/demo/support/demo-support.js +140 -0
  32. package/demo/voiceover.html +38 -0
  33. package/demo/voiceover.md +19 -0
  34. package/demo/why-dialog.html +38 -0
  35. package/demo/why-dialog.md +36 -0
  36. package/dist/{auro-dialog-CWkXz5VA.js → auro-dialog-T9I85UZL.js} +20 -20
  37. package/dist/index.d.ts +198 -98
  38. package/dist/index.js +1 -1
  39. package/dist/registered.js +1 -1
  40. package/package.json +6 -6
  41. package/demo/api.min.js +0 -219
package/demo/index.md CHANGED
@@ -1,158 +1,234 @@
1
- <!--
2
- THIS PAGE'S CONTENT SHOULD BE KEPT MINIMAL.
3
- ONLY ADD EXAMPLES THAT ARE TRULY NECESSARY FOR THE INDEX PAGE — THE BASIC EXAMPLE IS USUALLY ENOUGH.
4
- ALL OTHER EXAMPLES SHOULD GO IN THE API DOCUMENTATION.
5
- -->
6
-
7
- # Dialog
8
-
1
+ <auro-header level="1" id="overview">Dialog - Overview and UX Guide</auro-header>
2
+ <div class="contentWrapper">
3
+ <nav>
4
+ <auro-nav anchorNavContent=".scrollWrapper">
5
+ <span slot="mobileToggleCollapsed">View More</span>
6
+ <span slot="mobileToggleExpanded">View Less</span>
7
+ <auro-anchorlink fluid href="#description">Description</auro-anchorlink>
8
+ <auro-anchorlink fluid href="#useCases">Use Cases</auro-anchorlink>
9
+ <auro-anchorlink fluid href="#userStories">User Stories</auro-anchorlink>
10
+ <auro-anchorlink fluid href="#modalExample">Modal</auro-anchorlink>
11
+ </auro-nav>
12
+ </nav>
13
+ <div class="mainContent">
14
+ <div class="scrollWrapper">
15
+ <auro-header level="2" id="description">Description</auro-header>
9
16
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/description.md) -->
10
17
  <!-- The below content is automatically added from ./../docs/partials/description.md -->
11
- The `<auro-dialog>` component is an intrusive interactive component, not passive. The component is best used when there is a requirement the user be made aware of the content being shown, moving focus from the main content to the dialog content.
12
-
13
- The component also supports a modal (blocking) state where the user must interact with the content of the component in order to continue. Passive dismissal of the content is not allowed. Users of this state must add a trigger for the user to move beyond this content.
14
-
15
- Auro holds the opinions of the [Nielsen Norman Group](https://www.nngroup.com/articles/modal-nonmodal-dialog/) on dialog and modal use to be true.
16
- <!-- AURO-GENERATED-CONTENT:END -->
17
-
18
- ## Use Cases
19
-
20
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/useCases.md) -->
21
- <!-- The below content is automatically added from ./../docs/partials/useCases.md -->
22
- The `<auro-dialog>` component should be used in situations where users may:
23
-
24
- * Be prompted to take an action before doing anything else or going back
25
- * Be prompted to view content with the option of closing it
18
+ <p>The <code>&lt;auro-dialog&gt;</code> component is an intrusive interactive component, not passive. The component is best used when there is a requirement the user be made aware of the content being shown, moving focus from the main content to the dialog content.</p>
19
+ <p>The component also supports a modal (blocking) state where the user must interact with the content of the component in order to continue. Passive dismissal of the content is not allowed. Users of this state must add a trigger for the user to move beyond this content.</p>
20
+ <p>Auro holds the opinions of the <a class="hyperlink" href="https://www.nngroup.com/articles/modal-nonmodal-dialog/" target="_blank">Nielsen Norman Group</a> on dialog and modal use to be true.</p>
26
21
  <!-- AURO-GENERATED-CONTENT:END -->
27
-
28
- ## Set Up
29
-
30
- Triggering the dialog relies on functions being installed. See the following example code that is installed into this demo.
31
-
32
- ```javascript
33
- function toggleDialog(dialogID) {
34
- const dialog = document.querySelector(dialogID);
35
-
36
- if (dialog.hasAttribute('open')) {
37
- dialog.removeAttribute('open');
38
- } else {
39
- dialog.setAttribute('open', true);
40
- }
41
- }
42
- ```
43
-
44
- Once the JavaScript is added to the scope of the experience, the next part is adding a trigger. In this example, the button component will toggle a dialog with the ID of `#demo1`.
45
-
46
- ```javascript
47
- <auro-button onClick="toggleDialog('#demo1')">Open Default Dialog</auro-button>
48
- ```
49
-
50
- ## The Structure
51
-
52
- The structure of the dialog itself consists of three slots. The `header`, `content` and `footer` slots. See the scaffolding example below for adding content to the component.
53
-
54
- ```javascript
55
- <auro-dialog id="[unique ID]">
56
- <span slot="header">[header content]</span>
57
- <span slot="content">
58
- [body content]
59
- </span>
60
- <span slot="footer">
61
- [footer content]
62
- </span>
63
- </auro-dialog>
64
- ```
65
-
66
- It should be noted that the `footer` slot is reserved for the placement of action buttons.
67
-
68
- ## Example(s)
69
-
70
- ### Basic
71
-
72
- The dialog open state is controlled via the `open` attribute, or by programmatically setting the `open` property to `true`.
73
- You can see in the example below under the "See Code" section that we are controlling our dialogs by adding and removing the `open` attribute.
74
-
75
22
  <div class="exampleWrapper">
76
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
77
- <!-- The below content is automatically added from ./../apiExamples/basic.html -->
78
- <div>
79
- <auro-button id="openBasic">Open default dialog</auro-button>
80
- </div>
81
- <auro-dialog id="defaultDialog">
82
- <span slot="header">Default Dialog</span>
83
- <div slot="content">
84
- <p>When traveling on Alaska Airlines flights, Alaska Airlines checked baggage fees may apply. See <auro-hyperlink href="https://www.alaskaair.com/bagrules" target="_blank">alaskaair.com/bagrules</auro-hyperlink> for our rules. For itineraries that include other airlines, their checked baggage fees may apply, as displayed on their websites.</p>
85
- <p>Baggage rules and fees will be based on the specific itinerary chosen. The applicable first and second bag fees will be displayed after you have added flights to the cart.</p>
86
- <auro-header level="3" display="500">Before checking your bags, remember to:</auro-header>
87
- <ul>
88
- <li>Caerphilly croque monsieur fondue</li>
89
- <li>Taleggio goat mascarpone cow manchego cheese and wine emmental cheese strings</li>
90
- <li>Cheddar cheese and biscuits chalk and cheese</li>
91
- <li>Camembert de normandie stinking bishop bavarian bergkase</li>
92
- </ul>
93
- </div>
94
- <div slot="footer">
95
- <auro-button secondary id="closeBasic">Close</auro-button>
96
- </div>
97
- </auro-dialog>
98
- <!-- AURO-GENERATED-CONTENT:END -->
23
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
24
+ <!-- The below content is automatically added from ./../apiExamples/basic.html -->
25
+ <div>
26
+ <auro-button id="openBasic">Open default dialog</auro-button>
99
27
  </div>
28
+ <auro-dialog id="defaultDialog">
29
+ <span slot="header">Default Dialog</span>
30
+ <div slot="content">
31
+ <p>When traveling on Alaska Airlines flights, Alaska Airlines checked baggage fees may apply. See <auro-hyperlink href="https://www.alaskaair.com/bagrules" target="_blank">alaskaair.com/bagrules</auro-hyperlink> for our rules. For itineraries that include other airlines, their checked baggage fees may apply, as displayed on their websites.</p>
32
+ <p>Baggage rules and fees will be based on the specific itinerary chosen. The applicable first and second bag fees will be displayed after you have added flights to the cart.</p>
33
+ <auro-header level="3" display="500">Before checking your bags, remember to:</auro-header>
34
+ <ul>
35
+ <li>Caerphilly croque monsieur fondue</li>
36
+ <li>Taleggio goat mascarpone cow manchego cheese and wine emmental cheese strings</li>
37
+ <li>Cheddar cheese and biscuits chalk and cheese</li>
38
+ <li>Camembert de normandie stinking bishop bavarian bergkase</li>
39
+ </ul>
40
+ </div>
41
+ <div slot="footer">
42
+ <auro-button secondary id="closeBasic">Close</auro-button>
43
+ </div>
44
+ </auro-dialog>
45
+ <!-- AURO-GENERATED-CONTENT:END -->
46
+ </div>
100
47
  <auro-accordion alignRight>
101
- <span slot="trigger">See code</span>
48
+ <span slot="trigger">See code</span>
102
49
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/basic.html) -->
103
50
  <!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
104
51
 
105
- ```html
52
+ <pre class="language-html"><code class="language-html">&lt;div&gt;
53
+ &lt;auro-button id="openBasic"&gt;Open default dialog&lt;/auro-button&gt;
54
+ &lt;/div&gt;
55
+ &lt;auro-dialog id="defaultDialog"&gt;
56
+ &lt;span slot="header"&gt;Default Dialog&lt;/span&gt;
57
+ &lt;div slot="content"&gt;
58
+ &lt;p&gt;When traveling on Alaska Airlines flights, Alaska Airlines checked baggage fees may apply. See &lt;auro-hyperlink href="https://www.alaskaair.com/bagrules" target="_blank"&gt;alaskaair.com/bagrules&lt;/auro-hyperlink&gt; for our rules. For itineraries that include other airlines, their checked baggage fees may apply, as displayed on their websites.&lt;/p&gt;
59
+ &lt;p&gt;Baggage rules and fees will be based on the specific itinerary chosen. The applicable first and second bag fees will be displayed after you have added flights to the cart.&lt;/p&gt;
60
+ &lt;auro-header level="3" display="500"&gt;Before checking your bags, remember to:&lt;/auro-header&gt;
61
+ &lt;ul&gt;
62
+ &lt;li&gt;Caerphilly croque monsieur fondue&lt;/li&gt;
63
+ &lt;li&gt;Taleggio goat mascarpone cow manchego cheese and wine emmental cheese strings&lt;/li&gt;
64
+ &lt;li&gt;Cheddar cheese and biscuits chalk and cheese&lt;/li&gt;
65
+ &lt;li&gt;Camembert de normandie stinking bishop bavarian bergkase&lt;/li&gt;
66
+ &lt;/ul&gt;
67
+ &lt;/div&gt;
68
+ &lt;div slot="footer"&gt;
69
+ &lt;auro-button secondary id="closeBasic"&gt;Close&lt;/auro-button&gt;
70
+ &lt;/div&gt;
71
+ &lt;/auro-dialog&gt;</code></pre>
72
+ <!-- AURO-GENERATED-CONTENT:END -->
73
+ </auro-accordion>
74
+ <auro-header level="2" id="useCases">Use Cases</auro-header>
75
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/useCases.md) -->
76
+ <!-- The below content is automatically added from ./../docs/partials/useCases.md -->
77
+ <p>The <code>&lt;auro-dialog&gt;</code> component should be used in situations where users may:</p>
78
+ <ul>
79
+ <li>Be prompted to take an action before doing anything else or going back</li>
80
+ <li>Be prompted to view content with the option of closing it</li>
81
+ </ul>
82
+ <!-- AURO-GENERATED-CONTENT:END -->
83
+ <auro-header level="2" id="userStories">User Stories</auro-header>
84
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/index/userStories.md) -->
85
+ <!-- The below content is automatically added from ./../docs/partials/index/userStories.md -->
86
+ <p>The following user stories describe the primary ways the <code>&lt;auro-dialog&gt;</code> component is intended to be used.</p>
87
+ <auro-header level="3" id="story-dismissible">Dismissible dialog</auro-header>
88
+ <p>As a user, I want to be shown important supplemental information in a focused overlay that I can dismiss — by pressing the close button, pressing <code>Esc</code>, or clicking outside the dialog — so I can return to the main content when I am done reading.</p>
89
+ <auro-header level="3" id="story-modal">Modal (blocking) dialog</auro-header>
90
+ <p>As a user, I need to be prompted to make a decision or acknowledge information before I can continue, so the experience presents a modal dialog that I must resolve with an explicit action before returning to the page.</p>
91
+ <auro-header level="3" id="story-unformatted">Unformatted dialog</auro-header>
92
+ <p>As a developer, I want the open/close behavior, focus management, and accessibility tooling of the dialog while supplying my own edge-to-edge layout, so I can present rich media or a fully custom composition inside the dialog window.</p>
93
+ <!-- AURO-GENERATED-CONTENT:END -->
94
+ <auro-header level="2" id="modalExample">Modal</auro-header>
95
+ <p>The <code>modal</code> attribute locks the user into interacting with the dialog. The close icon is not rendered and clicking outside the dialog will not dismiss it, so a <code>modal</code> dialog must include an explicit action button in the footer to dismiss it.</p>
96
+ <div class="exampleWrapper">
97
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/modal.html) -->
98
+ <!-- The below content is automatically added from ./../apiExamples/modal.html -->
106
99
  <div>
107
- <auro-button id="openBasic">Open default dialog</auro-button>
100
+ <auro-button id="openDefaultModal">Open default modal</auro-button>
101
+ <auro-button id="openMediumModal">Open medium modal</auro-button>
102
+ <auro-button id="openSmallModal">Open small modal</auro-button>
108
103
  </div>
109
- <auro-dialog id="defaultDialog">
110
- <span slot="header">Default Dialog</span>
111
- <div slot="content">
112
- <p>When traveling on Alaska Airlines flights, Alaska Airlines checked baggage fees may apply. See <auro-hyperlink href="https://www.alaskaair.com/bagrules" target="_blank">alaskaair.com/bagrules</auro-hyperlink> for our rules. For itineraries that include other airlines, their checked baggage fees may apply, as displayed on their websites.</p>
113
- <p>Baggage rules and fees will be based on the specific itinerary chosen. The applicable first and second bag fees will be displayed after you have added flights to the cart.</p>
114
- <auro-header level="3" display="500">Before checking your bags, remember to:</auro-header>
115
- <ul>
116
- <li>Caerphilly croque monsieur fondue</li>
117
- <li>Taleggio goat mascarpone cow manchego cheese and wine emmental cheese strings</li>
118
- <li>Cheddar cheese and biscuits chalk and cheese</li>
119
- <li>Camembert de normandie stinking bishop bavarian bergkase</li>
120
- </ul>
121
- </div>
122
- <div slot="footer">
123
- <auro-button secondary id="closeBasic">Close</auro-button>
124
- </div>
104
+ <auro-dialog id="defaultModalDialog" modal>
105
+ <span slot="header">Default Modal Dialog</span>
106
+ <div slot="content">
107
+ <p>When traveling on Alaska Airlines flights, Alaska Airlines checked baggage fees may apply. See <auro-hyperlink href="https://www.alaskaair.com/bagrules" target="_blank">alaskaair.com/bagrules</auro-hyperlink> for our rules. For itineraries that include other airlines, their checked baggage fees may apply, as displayed on their websites.</p>
108
+ <p>Baggage rules and fees will be based on the specific itinerary chosen. The applicable first and second bag fees will be displayed after you have added flights to the cart.</p>
109
+ <auro-header level="3" display="500">Before checking your bags, remember to:</auro-header>
110
+ <ul>
111
+ <li>Caerphilly croque monsieur fondue</li>
112
+ <li>Taleggio goat mascarpone cow manchego cheese and wine emmental cheese strings</li>
113
+ <li>Cheddar cheese and biscuits chalk and cheese</li>
114
+ <li>Camembert de normandie stinking bishop bavarian bergkase</li>
115
+ </ul>
116
+ </div>
117
+ <div slot="footer">
118
+ <auro-button id="closeDefaultModal">I understand
119
+ <auro-icon category="interface" name="chevron-right" emphasis appearance="inverse"></auro-icon>
120
+ </auro-button>
121
+ </div>
125
122
  </auro-dialog>
126
- ```
127
- <!-- AURO-GENERATED-CONTENT:END -->
128
- <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/basic.js) -->
129
- <!-- The below code snippet is automatically added from ./../apiExamples/basic.js -->
123
+ <auro-dialog id="mediumModalDialog" md modal>
124
+ <span slot="header">Medium Dialog</span>
125
+ <div slot="content">
126
+ <p>When traveling on Alaska Airlines flights, Alaska Airlines checked baggage fees may apply. See <auro-hyperlink href="https://www.alaskaair.com/bagrules" target="_blank">alaskaair.com/bagrules</auro-hyperlink> for our rules. For itineraries that include other airlines, their checked baggage fees may apply, as displayed on their websites.</p>
127
+ <p>Baggage rules and fees will be based on the specific itinerary chosen. The applicable first and second bag fees will be displayed after you have added flights to the cart.</p>
128
+ <auro-header level="3" display="500">Before checking your bags, remember to:</auro-header>
129
+ <ul>
130
+ <li>Caerphilly croque monsieur fondue</li>
131
+ <li>Taleggio goat mascarpone cow manchego cheese and wine emmental cheese strings</li>
132
+ <li>Cheddar cheese and biscuits chalk and cheese</li>
133
+ <li>Camembert de normandie stinking bishop bavarian bergkase</li>
134
+ </ul>
135
+ </div>
136
+ <div slot="footer">
137
+ <auro-button id="closeMediumModal">I understand
138
+ <auro-icon category="interface" name="chevron-right" emphasis appearance="inverse"></auro-icon>
139
+ </auro-button>
140
+ </div>
141
+ </auro-dialog>
142
+ <auro-dialog id="smallModalDialog" sm modal>
143
+ <span slot="header">Small Dialog</span>
144
+ <div slot="content">
145
+ <p>When traveling on Alaska Airlines flights, Alaska Airlines checked baggage fees may apply. See <auro-hyperlink href="https://www.alaskaair.com/bagrules" target="_blank">alaskaair.com/bagrules</auro-hyperlink> for our rules. For itineraries that include other airlines, their checked baggage fees may apply, as displayed on their websites.</p>
146
+ <p>Baggage rules and fees will be based on the specific itinerary chosen. The applicable first and second bag fees will be displayed after you have added flights to the cart.</p>
147
+ <auro-header level="3" display="500">Before checking your bags, remember to:</auro-header>
148
+ <ul>
149
+ <li>Caerphilly croque monsieur fondue</li>
150
+ <li>Taleggio goat mascarpone cow manchego cheese and wine emmental cheese strings</li>
151
+ <li>Cheddar cheese and biscuits chalk and cheese</li>
152
+ <li>Camembert de normandie stinking bishop bavarian bergkase</li>
153
+ </ul>
154
+ </div>
155
+ <div slot="footer">
156
+ <auro-button id="closeSmallModal">I understand
157
+ <auro-icon category="interface" name="chevron-right" emphasis appearance="inverse"></auro-icon>
158
+ </auro-button>
159
+ </div>
160
+ </auro-dialog>
161
+ <!-- AURO-GENERATED-CONTENT:END -->
162
+ </div>
163
+ <auro-accordion alignRight>
164
+ <span slot="trigger">See code</span>
165
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/modal.html) -->
166
+ <!-- The below code snippet is automatically added from ./../apiExamples/modal.html -->
130
167
 
131
- ```js
132
- export function initBasicExample() {
133
- if (initBasicExample._initialized) {
134
- return;
135
- }
136
- const buttons = [
137
- document.querySelector("#openBasic"),
138
- document.querySelector("#closeBasic"),
139
- ];
140
- const dialog = document.querySelector("#defaultDialog");
141
- if (!buttons[0] || !buttons[1] || !dialog) {
142
- return;
143
- }
144
- initBasicExample._initialized = true;
145
-
146
- buttons.forEach((button) => {
147
- button.addEventListener("click", () => {
148
- if (dialog.hasAttribute("open")) {
149
- dialog.removeAttribute("open");
150
- } else {
151
- dialog.setAttribute("open", true);
152
- }
153
- });
154
- });
155
- }
156
- ```
168
+ <pre class="language-html"><code class="language-html">&lt;div&gt;
169
+ &lt;auro-button id="openDefaultModal"&gt;Open default modal&lt;/auro-button&gt;
170
+ &lt;auro-button id="openMediumModal"&gt;Open medium modal&lt;/auro-button&gt;
171
+ &lt;auro-button id="openSmallModal"&gt;Open small modal&lt;/auro-button&gt;
172
+ &lt;/div&gt;
173
+ &lt;auro-dialog id="defaultModalDialog" modal&gt;
174
+ &lt;span slot="header"&gt;Default Modal Dialog&lt;/span&gt;
175
+ &lt;div slot="content"&gt;
176
+ &lt;p&gt;When traveling on Alaska Airlines flights, Alaska Airlines checked baggage fees may apply. See &lt;auro-hyperlink href="https://www.alaskaair.com/bagrules" target="_blank"&gt;alaskaair.com/bagrules&lt;/auro-hyperlink&gt; for our rules. For itineraries that include other airlines, their checked baggage fees may apply, as displayed on their websites.&lt;/p&gt;
177
+ &lt;p&gt;Baggage rules and fees will be based on the specific itinerary chosen. The applicable first and second bag fees will be displayed after you have added flights to the cart.&lt;/p&gt;
178
+ &lt;auro-header level="3" display="500"&gt;Before checking your bags, remember to:&lt;/auro-header&gt;
179
+ &lt;ul&gt;
180
+ &lt;li&gt;Caerphilly croque monsieur fondue&lt;/li&gt;
181
+ &lt;li&gt;Taleggio goat mascarpone cow manchego cheese and wine emmental cheese strings&lt;/li&gt;
182
+ &lt;li&gt;Cheddar cheese and biscuits chalk and cheese&lt;/li&gt;
183
+ &lt;li&gt;Camembert de normandie stinking bishop bavarian bergkase&lt;/li&gt;
184
+ &lt;/ul&gt;
185
+ &lt;/div&gt;
186
+ &lt;div slot="footer"&gt;
187
+ &lt;auro-button id="closeDefaultModal"&gt;I understand
188
+ &lt;auro-icon category="interface" name="chevron-right" emphasis appearance="inverse"&gt;&lt;/auro-icon&gt;
189
+ &lt;/auro-button&gt;
190
+ &lt;/div&gt;
191
+ &lt;/auro-dialog&gt;
192
+ &lt;auro-dialog id="mediumModalDialog" md modal&gt;
193
+ &lt;span slot="header"&gt;Medium Dialog&lt;/span&gt;
194
+ &lt;div slot="content"&gt;
195
+ &lt;p&gt;When traveling on Alaska Airlines flights, Alaska Airlines checked baggage fees may apply. See &lt;auro-hyperlink href="https://www.alaskaair.com/bagrules" target="_blank"&gt;alaskaair.com/bagrules&lt;/auro-hyperlink&gt; for our rules. For itineraries that include other airlines, their checked baggage fees may apply, as displayed on their websites.&lt;/p&gt;
196
+ &lt;p&gt;Baggage rules and fees will be based on the specific itinerary chosen. The applicable first and second bag fees will be displayed after you have added flights to the cart.&lt;/p&gt;
197
+ &lt;auro-header level="3" display="500"&gt;Before checking your bags, remember to:&lt;/auro-header&gt;
198
+ &lt;ul&gt;
199
+ &lt;li&gt;Caerphilly croque monsieur fondue&lt;/li&gt;
200
+ &lt;li&gt;Taleggio goat mascarpone cow manchego cheese and wine emmental cheese strings&lt;/li&gt;
201
+ &lt;li&gt;Cheddar cheese and biscuits chalk and cheese&lt;/li&gt;
202
+ &lt;li&gt;Camembert de normandie stinking bishop bavarian bergkase&lt;/li&gt;
203
+ &lt;/ul&gt;
204
+ &lt;/div&gt;
205
+ &lt;div slot="footer"&gt;
206
+ &lt;auro-button id="closeMediumModal"&gt;I understand
207
+ &lt;auro-icon category="interface" name="chevron-right" emphasis appearance="inverse"&gt;&lt;/auro-icon&gt;
208
+ &lt;/auro-button&gt;
209
+ &lt;/div&gt;
210
+ &lt;/auro-dialog&gt;
211
+ &lt;auro-dialog id="smallModalDialog" sm modal&gt;
212
+ &lt;span slot="header"&gt;Small Dialog&lt;/span&gt;
213
+ &lt;div slot="content"&gt;
214
+ &lt;p&gt;When traveling on Alaska Airlines flights, Alaska Airlines checked baggage fees may apply. See &lt;auro-hyperlink href="https://www.alaskaair.com/bagrules" target="_blank"&gt;alaskaair.com/bagrules&lt;/auro-hyperlink&gt; for our rules. For itineraries that include other airlines, their checked baggage fees may apply, as displayed on their websites.&lt;/p&gt;
215
+ &lt;p&gt;Baggage rules and fees will be based on the specific itinerary chosen. The applicable first and second bag fees will be displayed after you have added flights to the cart.&lt;/p&gt;
216
+ &lt;auro-header level="3" display="500"&gt;Before checking your bags, remember to:&lt;/auro-header&gt;
217
+ &lt;ul&gt;
218
+ &lt;li&gt;Caerphilly croque monsieur fondue&lt;/li&gt;
219
+ &lt;li&gt;Taleggio goat mascarpone cow manchego cheese and wine emmental cheese strings&lt;/li&gt;
220
+ &lt;li&gt;Cheddar cheese and biscuits chalk and cheese&lt;/li&gt;
221
+ &lt;li&gt;Camembert de normandie stinking bishop bavarian bergkase&lt;/li&gt;
222
+ &lt;/ul&gt;
223
+ &lt;/div&gt;
224
+ &lt;div slot="footer"&gt;
225
+ &lt;auro-button id="closeSmallModal"&gt;I understand
226
+ &lt;auro-icon category="interface" name="chevron-right" emphasis appearance="inverse"&gt;&lt;/auro-icon&gt;
227
+ &lt;/auro-button&gt;
228
+ &lt;/div&gt;
229
+ &lt;/auro-dialog&gt;</code></pre>
157
230
  <!-- AURO-GENERATED-CONTENT:END -->
158
- </auro-accordion>
231
+ </auro-accordion>
232
+ </div>
233
+ </div>
234
+ </div>