@aurodesignsystem-dev/auro-formkit 0.0.0-pr1492.4 → 0.0.0-pr1493.0

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 (153) hide show
  1. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +7 -0
  2. package/components/bibtemplate/dist/index.js +9 -1
  3. package/components/bibtemplate/dist/registered.js +9 -1
  4. package/components/checkbox/demo/css-only.html +57 -0
  5. package/components/checkbox/demo/css-only.md +146 -0
  6. package/components/checkbox/demo/customize.min.js +2 -2
  7. package/components/checkbox/demo/getting-started.min.js +2 -2
  8. package/components/checkbox/demo/index.min.js +2 -2
  9. package/components/checkbox/demo/pages.json +1 -1
  10. package/components/checkbox/demo/styles.min.css +1 -1
  11. package/components/checkbox/demo/why-checkbox.html +57 -0
  12. package/components/checkbox/demo/why-checkbox.md +86 -0
  13. package/components/checkbox/dist/index.js +2 -2
  14. package/components/checkbox/dist/registered.js +2 -2
  15. package/components/combobox/demo/css-only.html +57 -0
  16. package/components/combobox/demo/css-only.md +209 -0
  17. package/components/combobox/demo/customize.md +7 -3
  18. package/components/combobox/demo/customize.min.js +1846 -1804
  19. package/components/combobox/demo/getting-started.min.js +1846 -1804
  20. package/components/combobox/demo/index.min.js +1846 -1804
  21. package/components/combobox/demo/pages.json +1 -1
  22. package/components/combobox/demo/styles.min.css +1 -1
  23. package/components/combobox/demo/why-combobox.html +57 -0
  24. package/components/combobox/demo/why-combobox.md +113 -0
  25. package/components/combobox/dist/auro-combobox.d.ts +5 -0
  26. package/components/combobox/dist/index.js +796 -179
  27. package/components/combobox/dist/registered.js +796 -179
  28. package/components/counter/demo/css-only.html +57 -0
  29. package/components/counter/demo/css-only.md +184 -0
  30. package/components/counter/demo/customize.min.js +276 -16
  31. package/components/counter/demo/index.min.js +276 -16
  32. package/components/counter/demo/keyboard-behavior.md +1 -0
  33. package/components/counter/demo/pages.json +1 -1
  34. package/components/counter/demo/styles.min.css +1 -1
  35. package/components/counter/demo/why-counter.html +57 -0
  36. package/components/counter/demo/why-counter.md +108 -0
  37. package/components/counter/dist/index.js +5457 -193
  38. package/components/counter/dist/registered.js +5457 -193
  39. package/components/datepicker/demo/accessibility.md +54 -3
  40. package/components/datepicker/demo/api.md +65 -55
  41. package/components/datepicker/demo/css-only.html +57 -0
  42. package/components/datepicker/demo/css-only.md +151 -0
  43. package/components/datepicker/demo/customize.html +2 -0
  44. package/components/datepicker/demo/customize.js +19 -0
  45. package/components/datepicker/demo/customize.md +474 -298
  46. package/components/datepicker/demo/customize.min.js +36243 -0
  47. package/components/datepicker/demo/design.md +5 -3
  48. package/components/datepicker/demo/getting-started.md +6 -6
  49. package/components/datepicker/demo/index.js +5 -1
  50. package/components/datepicker/demo/index.md +113 -16
  51. package/components/datepicker/demo/index.min.js +2736 -398
  52. package/components/datepicker/demo/keyboard-behavior.md +201 -2
  53. package/components/datepicker/demo/pages.json +1 -1
  54. package/components/datepicker/demo/styles.min.css +1 -1
  55. package/components/datepicker/demo/voiceover.md +21 -12
  56. package/components/datepicker/demo/why-datepicker.html +57 -0
  57. package/components/datepicker/demo/why-datepicker.md +133 -0
  58. package/components/datepicker/dist/index.js +2650 -399
  59. package/components/datepicker/dist/registered.js +2650 -399
  60. package/components/datepicker/dist/src/auro-calendar-cell.d.ts +116 -14
  61. package/components/datepicker/dist/src/auro-calendar-month.d.ts +54 -1
  62. package/components/datepicker/dist/src/auro-calendar.d.ts +264 -0
  63. package/components/datepicker/dist/src/auro-datepicker.d.ts +189 -53
  64. package/components/datepicker/dist/src/datepickerKeyboardStrategy.d.ts +5 -3
  65. package/components/datepicker/dist/src/utilities.d.ts +0 -14
  66. package/components/dropdown/demo/accessibility.md +11 -0
  67. package/components/dropdown/demo/api.md +1 -0
  68. package/components/dropdown/demo/css-only.html +57 -0
  69. package/components/dropdown/demo/css-only.md +219 -0
  70. package/components/dropdown/demo/customize.md +3 -0
  71. package/components/dropdown/demo/customize.min.js +265 -13
  72. package/components/dropdown/demo/getting-started.min.js +265 -13
  73. package/components/dropdown/demo/index.min.js +265 -13
  74. package/components/dropdown/demo/keyboard-behavior.md +1 -0
  75. package/components/dropdown/demo/pages.json +1 -1
  76. package/components/dropdown/demo/styles.min.css +1 -1
  77. package/components/dropdown/demo/why-dropdown.html +57 -0
  78. package/components/dropdown/demo/why-dropdown.md +97 -0
  79. package/components/dropdown/dist/auro-dropdown.d.ts +36 -1
  80. package/components/dropdown/dist/index.js +265 -13
  81. package/components/dropdown/dist/registered.js +265 -13
  82. package/components/form/demo/css-only.html +57 -0
  83. package/components/form/demo/css-only.md +156 -0
  84. package/components/form/demo/customize.min.js +11085 -8074
  85. package/components/form/demo/getting-started.min.js +11085 -8074
  86. package/components/form/demo/index.min.js +11085 -8074
  87. package/components/form/demo/pages.json +1 -1
  88. package/components/form/demo/registerDemoDeps.min.js +11084 -8073
  89. package/components/form/demo/styles.min.css +1 -1
  90. package/components/form/demo/why-form.html +57 -0
  91. package/components/form/demo/why-form.md +101 -0
  92. package/components/input/demo/css-only.html +57 -0
  93. package/components/input/demo/css-only.md +199 -0
  94. package/components/input/demo/customize.md +625 -636
  95. package/components/input/demo/customize.min.js +150 -75
  96. package/components/input/demo/getting-started.md +16 -6
  97. package/components/input/demo/getting-started.min.js +150 -75
  98. package/components/input/demo/index.min.js +150 -75
  99. package/components/input/demo/pages.json +1 -1
  100. package/components/input/demo/styles.min.css +1 -1
  101. package/components/input/demo/why-input.html +57 -0
  102. package/components/input/demo/why-input.md +121 -0
  103. package/components/input/dist/auro-input-util.d.ts +1 -1
  104. package/components/input/dist/base-input.d.ts +16 -0
  105. package/components/input/dist/index.js +150 -75
  106. package/components/input/dist/registered.js +150 -75
  107. package/components/input/dist/utilities.d.ts +1 -2
  108. package/components/menu/demo/api.md +41 -45
  109. package/components/menu/demo/css-only.html +57 -0
  110. package/components/menu/demo/css-only.md +166 -0
  111. package/components/menu/demo/customize.md +0 -28
  112. package/components/menu/demo/index.min.js +779 -1354
  113. package/components/menu/demo/pages.json +1 -1
  114. package/components/menu/demo/styles.min.css +1 -1
  115. package/components/menu/demo/why-menu.html +57 -0
  116. package/components/menu/demo/why-menu.md +104 -0
  117. package/components/menu/dist/auro-menu.d.ts +95 -110
  118. package/components/menu/dist/auro-menuoption.d.ts +32 -138
  119. package/components/menu/dist/index.js +753 -1308
  120. package/components/menu/dist/registered.js +765 -1308
  121. package/components/radio/demo/css-only.html +57 -0
  122. package/components/radio/demo/css-only.md +151 -0
  123. package/components/radio/demo/customize.min.js +1764 -0
  124. package/components/radio/demo/demo-support.min.js +55807 -0
  125. package/components/radio/demo/getting-started.js +1 -1
  126. package/components/radio/demo/getting-started.md +1 -1
  127. package/components/radio/demo/getting-started.min.js +1783 -0
  128. package/components/radio/demo/index.min.js +2 -2
  129. package/components/radio/demo/pages.json +1 -1
  130. package/components/radio/demo/styles.min.css +1 -1
  131. package/components/radio/demo/why-radio.html +57 -0
  132. package/components/radio/demo/why-radio.md +92 -0
  133. package/components/radio/dist/index.js +2 -2
  134. package/components/radio/dist/registered.js +2 -2
  135. package/components/select/demo/api.md +1 -0
  136. package/components/select/demo/css-only.html +57 -0
  137. package/components/select/demo/css-only.md +203 -0
  138. package/components/select/demo/customize.md +78 -3
  139. package/components/select/demo/customize.min.js +1341 -1533
  140. package/components/select/demo/getting-started.min.js +1341 -1533
  141. package/components/select/demo/index.min.js +1341 -1533
  142. package/components/select/demo/keyboard-behavior.md +19 -0
  143. package/components/select/demo/pages.json +1 -1
  144. package/components/select/demo/styles.min.css +1 -1
  145. package/components/select/demo/why-select.html +57 -0
  146. package/components/select/demo/why-select.md +128 -0
  147. package/components/select/dist/auro-select.d.ts +38 -2
  148. package/components/select/dist/index.js +435 -52
  149. package/components/select/dist/registered.js +435 -52
  150. package/components/select/dist/selectUtils.d.ts +12 -0
  151. package/custom-elements.json +3051 -2553
  152. package/package.json +8 -8
  153. package/components/menu/dist/auro-menu.context.d.ts +0 -238
@@ -0,0 +1,166 @@
1
+ <auro-header level="1">CSS only with native listbox</auro-header>
2
+ <p>For situations where the <code>&lt;auro-menu&gt;</code> web component cannot be used, a native HTML <code>&lt;ul role="listbox"&gt;</code> element can be styled with the Auro Design System tokens to approximate the visual appearance of <code>auro-menu</code>. Unlike <auro-hyperlink href="https://auro.alaskaair.com/components/auro/hyperlink/css-only" target="_blank">auro-hyperlink</auro-hyperlink>, <auro-hyperlink href="https://alaskaairlines.github.io/WebCoreStyleSheets/" target="_blank">Web Core Style Sheets</auro-hyperlink> does not provide a prebuilt <code>.menu</code> class, so the styling must be authored manually using Auro design tokens. For very simple single-select use cases, a native <code>&lt;select&gt;</code> may also be an acceptable fallback, but it does not match the menu/listbox semantics as closely as a styled <code>&lt;ul&gt;</code>.</p>
3
+ <auro-header level="2">Styling a native listbox</auro-header>
4
+ <p>A native <code>&lt;ul&gt;</code> can be given <code>role="listbox"</code> (or <code>role="menu"</code>) and restyled with the Auro design tokens published by <auro-hyperlink href="https://alaskaairlines.github.io/WebCoreStyleSheets/" target="_blank">@aurodesignsystem/design-tokens</auro-hyperlink>. The pattern below replicates the spacing, hover, focus, and selected-state colors used by <code>auro-menu</code>.</p>
5
+ <pre><code>@import "./node_modules/@aurodesignsystem/design-tokens/dist/tokens/CSSCustomProperties.css";
6
+
7
+ .menu {
8
+ list-style: none;
9
+ margin: 0;
10
+ padding: var(--ds-size-100, 0.5rem) 0;
11
+ background-color: var(--ds-color-container-primary-default, #ffffff);
12
+ border: 1px solid var(--ds-color-border-ui-default, #6e767f);
13
+ border-radius: var(--ds-border-radius, 4px);
14
+ }
15
+
16
+ .menu__option {
17
+ padding: var(--ds-size-100, 0.5rem) var(--ds-size-200, 1rem);
18
+ color: var(--ds-color-text-primary-default, #1d1f24);
19
+ cursor: pointer;
20
+ user-select: none;
21
+ }
22
+
23
+ .menu__option:hover {
24
+ background-color: var(--ds-color-container-ui-hover-default, #f0f5ff);
25
+ }
26
+
27
+ .menu__option:focus-visible {
28
+ outline: 2px solid var(--ds-color-border-active-default, #01426a);
29
+ outline-offset: -2px;
30
+ }
31
+
32
+ .menu__option[aria-selected="true"] {
33
+ background-color: var(--ds-color-container-ui-selected-default, #01426a);
34
+ color: var(--ds-color-text-inverse-default, #ffffff);
35
+ }
36
+
37
+ .menu__option[aria-disabled="true"] {
38
+ cursor: not-allowed;
39
+ opacity: 0.5;
40
+ }</code></pre>
41
+ <auro-header level="3">Basic listbox</auro-header>
42
+ <p>Apply the <code>.menu</code> class to a <code>&lt;ul&gt;</code> with <code>role="listbox"</code> and give each <code>&lt;li&gt;</code> the <code>option</code> role:</p>
43
+ <pre><code>&lt;ul class="menu" role="listbox" aria-label="Cabin class"&gt;
44
+ &lt;li class="menu__option" role="option" tabindex="0" aria-selected="true"&gt;Economy&lt;/li&gt;
45
+ &lt;li class="menu__option" role="option" tabindex="-1" aria-selected="false"&gt;Premium&lt;/li&gt;
46
+ &lt;li class="menu__option" role="option" tabindex="-1" aria-selected="false"&gt;First&lt;/li&gt;
47
+ &lt;/ul&gt;</code></pre>
48
+ <auro-header level="3">Listbox with a disabled option</auro-header>
49
+ <p>Use <code>aria-disabled="true"</code> on individual options that should not be selectable:</p>
50
+ <pre><code>&lt;ul class="menu" role="listbox" aria-label="Seat"&gt;
51
+ &lt;li class="menu__option" role="option" tabindex="0" aria-selected="false"&gt;12A&lt;/li&gt;
52
+ &lt;li class="menu__option" role="option" tabindex="-1" aria-selected="false" aria-disabled="true"&gt;12B&lt;/li&gt;
53
+ &lt;li class="menu__option" role="option" tabindex="-1" aria-selected="false"&gt;12C&lt;/li&gt;
54
+ &lt;/ul&gt;</code></pre>
55
+ <auro-header level="2">What you lose without auro-menu</auro-header>
56
+ <p>While the CSS above replicates the <strong>visual styling</strong> of <code>auro-menu</code>, the following functionality built into the <code>auro-menu</code> and <code>auro-menuoption</code> web components is <strong>not available</strong> when using plain HTML:</p>
57
+ <auro-header level="3">Roving tabindex</auro-header>
58
+ <p><code>auro-menu</code> manages a roving <code>tabindex</code> so that only the currently active option is in the tab order, and focus moves between options without leaving the menu. With plain HTML, you must implement the roving-tabindex pattern yourself by maintaining the <code>tabindex="0"</code>/<code>tabindex="-1"</code> state across all options on every focus and key event.</p>
59
+ <auro-header level="3">Arrow-key navigation</auro-header>
60
+ <p><code>auro-menu</code> handles <code>ArrowUp</code>, <code>ArrowDown</code>, <code>Home</code>, <code>End</code>, <code>Enter</code>, and <code>Space</code> to move the highlight and commit selections. Native <code>&lt;ul&gt;</code> elements have no built-in keyboard model — you must wire up <code>keydown</code> listeners, track the highlighted index, and prevent default browser scrolling on the arrow keys yourself.</p>
61
+ <auro-header level="3">Type-ahead search</auro-header>
62
+ <p><code>auro-menu</code> supports a <code>matchword</code> attribute that highlights matched substrings within option labels, and the listbox supports type-ahead focus jumping. Plain HTML provides neither — both behaviors must be implemented manually with string matching and DOM manipulation.</p>
63
+ <auro-header level="3">Nested submenu support</auro-header>
64
+ <p><code>auro-menu</code> detects nested <code>auro-menu</code> elements, applies the correct <code>role="group"</code>, computes indentation per level, and propagates the shared menu service down the tree. With plain HTML, you must apply nested ARIA roles and indentation manually, and there is no built-in coordination of focus or selection between parent and child lists.</p>
65
+ <auro-header level="3">Selection state coordination</auro-header>
66
+ <p><code>auro-menu</code> coordinates the selected option(s) through an internal <code>MenuService</code> that keeps <code>optionSelected</code>, <code>value</code>, and each option's <code>aria-selected</code> state in sync. With native HTML, you must update <code>aria-selected</code> on every option yourself on each change and manage your own source of truth for the selected value.</p>
67
+ <auro-header level="3">ARIA roles and live announcements</auro-header>
68
+ <p><code>auro-menu</code> automatically applies <code>role="listbox"</code>, <code>aria-multiselectable</code>, <code>aria-busy</code> during loading, and per-option <code>role="option"</code> with <code>aria-selected</code> and <code>aria-disabled</code>. Plain HTML requires you to author every one of these attributes by hand and keep them in sync with state — and to add any additional live-region announcements yourself.</p>
69
+ <auro-header level="3">Value emission and events</auro-header>
70
+ <p><code>auro-menu</code> dispatches a structured set of events — <code>auroMenu-selectedOption</code>, <code>auroMenu-activatedOption</code>, <code>auroMenu-optionsChange</code>, <code>auroMenu-selectValueReset</code>, <code>auroMenu-selectValueFailure</code>, <code>auroMenu-deselectPrevented</code>, and <code>auroMenu-loadingChange</code> — so parent components can react to highlight, selection, and lifecycle changes. Native listboxes emit no equivalent events; you must dispatch your own.</p>
71
+ <auro-header level="3">Multi-select with array value</auro-header>
72
+ <p><code>auro-menu</code> supports <code>multiselect</code>, exposing the selection as a JSON-stringified array via <code>value</code> and as an array of elements via <code>optionSelected</code>. With plain HTML, you must track multiple selections yourself, manage the <code>aria-multiselectable</code> attribute, and serialize the result manually.</p>
73
+ <auro-header level="3">Allow-deselect behavior</auro-header>
74
+ <p><code>auro-menu</code> supports an <code>allowDeselect</code> attribute that lets a user click an already-selected option to clear it in single-select mode, with a <code>auroMenu-deselectPrevented</code> event when the operation is blocked. Native listboxes do not have a deselect concept; you must implement and gate the behavior yourself.</p>
75
+ <auro-header level="3">Select-by-value and reset</auro-header>
76
+ <p><code>auro-menu</code> exposes a <code>value</code> attribute that drives selection programmatically (including the <code>selectAllMatchingOptions</code> option for multi-select) and a single <code>reset()</code> method that clears all selection and validation state. With plain HTML, you must walk the list to find a matching option, set its state, and write your own reset routine.</p>
77
+ <auro-header level="3">Loading state</auro-header>
78
+ <p><code>auro-menu</code> renders a built-in loading placeholder via <code>loadingIcon</code> and <code>loadingText</code> slots, sets <code>aria-busy</code>, and emits <code>auroMenu-loadingChange</code> when the loading attribute toggles. With plain HTML, you must render a placeholder, manage <code>aria-busy</code>, and signal loading transitions yourself.</p>
79
+ <auro-header level="3">Shape and size variants</auro-header>
80
+ <p><code>auro-menu</code> supports <code>shape</code> (<code>box</code>, <code>round</code>) and <code>size</code> (<code>sm</code>, <code>md</code>) variants that adjust spacing and corner radii consistently across the menu and its options. A CSS-only listbox must reauthor each variant by hand.</p>
81
+ <auro-header level="3">Multi-brand theming</auro-header>
82
+ <p><code>auro-menu</code> consumes Auro design tokens through its component logic, so it automatically picks up brand-specific theming when token packages are swapped. A CSS-only listbox is tied to whichever tokens were imported at author time and will not respond to runtime theme switching the way the web component does.</p>
83
+ <auro-header level="2">Summary</auro-header>
84
+ <table>
85
+ <thead>
86
+ <tr>
87
+ <th>Feature</th>
88
+ <th>Native <code>&lt;ul role="listbox"&gt;</code> with Auro tokens</th>
89
+ <th><code>auro-menu</code></th>
90
+ </tr>
91
+ </thead>
92
+ <tbody>
93
+ <tr>
94
+ <td>Design-system-aligned styling</td>
95
+ <td>Manual (author-written CSS)</td>
96
+ <td>Built-in</td>
97
+ </tr>
98
+ <tr>
99
+ <td>Roving tabindex</td>
100
+ <td>Manual</td>
101
+ <td>Built-in</td>
102
+ </tr>
103
+ <tr>
104
+ <td>Arrow-key navigation</td>
105
+ <td>Manual <code>keydown</code> handling</td>
106
+ <td>Built-in</td>
107
+ </tr>
108
+ <tr>
109
+ <td>Type-ahead and <code>matchword</code> highlighting</td>
110
+ <td>Not supported</td>
111
+ <td>Built-in via <code>matchword</code></td>
112
+ </tr>
113
+ <tr>
114
+ <td>Nested submenus</td>
115
+ <td>Manual roles and indentation</td>
116
+ <td>Automatic level detection</td>
117
+ </tr>
118
+ <tr>
119
+ <td>Selection state coordination</td>
120
+ <td>Manual <code>aria-selected</code> sync</td>
121
+ <td>Centralized via menu service</td>
122
+ </tr>
123
+ <tr>
124
+ <td>ARIA roles and <code>aria-busy</code></td>
125
+ <td>Manual</td>
126
+ <td>Automatic</td>
127
+ </tr>
128
+ <tr>
129
+ <td>Selection and lifecycle events</td>
130
+ <td>Not supported</td>
131
+ <td><code>auroMenu-*</code> event suite</td>
132
+ </tr>
133
+ <tr>
134
+ <td>Multi-select with array value</td>
135
+ <td>Manual aggregation</td>
136
+ <td><code>multiselect</code> + <code>value</code></td>
137
+ </tr>
138
+ <tr>
139
+ <td>Allow-deselect behavior</td>
140
+ <td>Manual</td>
141
+ <td><code>allowDeselect</code> attribute</td>
142
+ </tr>
143
+ <tr>
144
+ <td>Select-by-value and reset</td>
145
+ <td>Manual</td>
146
+ <td><code>value</code> attribute + <code>reset()</code></td>
147
+ </tr>
148
+ <tr>
149
+ <td>Loading state</td>
150
+ <td>Manual</td>
151
+ <td>Built-in via <code>loading</code></td>
152
+ </tr>
153
+ <tr>
154
+ <td>Shape and size variants</td>
155
+ <td>Manual CSS</td>
156
+ <td><code>shape</code> / <code>size</code> attributes</td>
157
+ </tr>
158
+ <tr>
159
+ <td>Multi-brand theming</td>
160
+ <td>Static (import-time tokens)</td>
161
+ <td>Full (design tokens + component logic)</td>
162
+ </tr>
163
+ </tbody>
164
+ </table>
165
+ <auro-header level="2">Recommendation</auro-header>
166
+ <p>Use <code>auro-menu</code> and <code>auro-menuoption</code> whenever possible. Fall back to a CSS-styled native listbox only in environments where custom elements are not supported or when integrating with third-party systems that require plain HTML — and be prepared to reimplement roving focus, keyboard navigation, selection coordination, and the full set of ARIA semantics yourself.</p>
@@ -18,7 +18,6 @@
18
18
  <auro-anchorlink fluid href="#presetValue" class="level2 body-xs">Preset Value</auro-anchorlink>
19
19
  <auro-anchorlink fluid href="#presetValueMultiselect" class="level2 body-xs">Preset Value (Multi)</auro-anchorlink>
20
20
  <auro-anchorlink fluid href="#preselect" class="level2 body-xs">Pre-Selected</auro-anchorlink>
21
- <auro-anchorlink fluid href="#allowDeselect" class="level2 body-xs">Allow Deselect</auro-anchorlink>
22
21
  </auro-nav>
23
22
  </nav>
24
23
  <div class="mainContent">
@@ -604,33 +603,6 @@
604
603
  &lt;/auro-menu&gt;</code></pre>
605
604
  <!-- AURO-GENERATED-CONTENT:END -->
606
605
  </auro-accordion>
607
- <auro-header level="3" id="allowDeselect">Allow Deselect</auro-header>
608
- <p>Use the <code>allowDeselect</code> attribute to allow users to click a selected option again to deselect it in single-select mode. In multi-select mode, deselection is always available regardless of this attribute.</p>
609
- <div class="exampleWrapper">
610
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/allow-deselect.html) -->
611
- <!-- The below content is automatically added from ./../apiExamples/allow-deselect.html -->
612
- <auro-menu allowDeselect>
613
- <auro-menuoption value="stops">Stops</auro-menuoption>
614
- <auro-menuoption value="price">Price</auro-menuoption>
615
- <auro-menuoption value="duration">Duration</auro-menuoption>
616
- <auro-menuoption value="departure">Departure</auro-menuoption>
617
- <auro-menuoption value="arrival">Arrival</auro-menuoption>
618
- </auro-menu>
619
- <!-- AURO-GENERATED-CONTENT:END -->
620
- </div>
621
- <auro-accordion alignRight>
622
- <span slot="trigger">See code</span>
623
- <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/allow-deselect.html) -->
624
- <!-- The below code snippet is automatically added from ./../apiExamples/allow-deselect.html -->
625
- <pre class="language-html"><code class="language-html">&lt;auro-menu allowDeselect&gt;
626
- &lt;auro-menuoption value="stops"&gt;Stops&lt;/auro-menuoption&gt;
627
- &lt;auro-menuoption value="price"&gt;Price&lt;/auro-menuoption&gt;
628
- &lt;auro-menuoption value="duration"&gt;Duration&lt;/auro-menuoption&gt;
629
- &lt;auro-menuoption value="departure"&gt;Departure&lt;/auro-menuoption&gt;
630
- &lt;auro-menuoption value="arrival"&gt;Arrival&lt;/auro-menuoption&gt;
631
- &lt;/auro-menu&gt;</code></pre>
632
- <!-- AURO-GENERATED-CONTENT:END -->
633
- </auro-accordion>
634
606
  </section>
635
607
  </div>
636
608
  </div>