@aurodesignsystem-dev/auro-formkit 0.0.0-pr1456.1 → 0.0.0-pr1457.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 (281) hide show
  1. package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
  2. package/components/bibtemplate/dist/index.js +10 -10
  3. package/components/bibtemplate/dist/registered.js +10 -10
  4. package/components/checkbox/README.md +26 -56
  5. package/components/checkbox/demo/accessibility.html +48 -0
  6. package/components/checkbox/demo/accessibility.md +44 -0
  7. package/components/checkbox/demo/api.html +17 -26
  8. package/components/checkbox/demo/api.md +0 -396
  9. package/components/checkbox/demo/api.min.js +2 -2106
  10. package/components/checkbox/demo/customize.html +51 -0
  11. package/components/checkbox/demo/customize.md +361 -0
  12. package/components/checkbox/demo/demo-support.js +60 -0
  13. package/components/checkbox/demo/demo-support.min.js +55732 -0
  14. package/components/checkbox/demo/design.html +51 -0
  15. package/components/checkbox/demo/design.md +149 -0
  16. package/components/checkbox/demo/getting-started.html +51 -0
  17. package/components/checkbox/demo/getting-started.md +261 -0
  18. package/components/checkbox/demo/index.html +17 -21
  19. package/components/checkbox/demo/index.md +158 -45
  20. package/components/checkbox/demo/index.min.js +2 -3
  21. package/components/checkbox/demo/install.md +82 -0
  22. package/components/checkbox/demo/keyboard-behavior.html +48 -0
  23. package/components/checkbox/demo/readme.html +10 -18
  24. package/components/checkbox/demo/readme.md +26 -56
  25. package/components/checkbox/demo/styles.min.css +1 -0
  26. package/components/checkbox/demo/styles.scss +1 -0
  27. package/components/checkbox/demo/voiceover.html +48 -0
  28. package/components/checkbox/demo/voiceover.md +37 -0
  29. package/components/checkbox/dist/auro-checkbox-group.d.ts +6 -6
  30. package/components/checkbox/dist/auro-checkbox.d.ts +8 -9
  31. package/components/checkbox/dist/index.js +2 -3
  32. package/components/checkbox/dist/registered.js +2 -3
  33. package/components/combobox/README.md +41 -66
  34. package/components/combobox/demo/accessibility.html +50 -0
  35. package/components/combobox/demo/accessibility.md +77 -0
  36. package/components/combobox/demo/api.html +8 -20
  37. package/components/combobox/demo/api.md +54 -2334
  38. package/components/combobox/demo/api.min.js +3 -17971
  39. package/components/combobox/demo/customize.html +52 -0
  40. package/components/combobox/demo/customize.js +24 -0
  41. package/components/combobox/demo/customize.md +1249 -0
  42. package/components/combobox/demo/customize.min.js +177 -0
  43. package/components/combobox/demo/demo-support.js +60 -0
  44. package/components/combobox/demo/demo-support.min.js +55732 -0
  45. package/components/combobox/demo/design.html +53 -0
  46. package/components/combobox/demo/design.md +283 -0
  47. package/components/combobox/demo/getting-started.html +52 -0
  48. package/components/combobox/demo/getting-started.js +21 -0
  49. package/components/combobox/demo/getting-started.md +397 -0
  50. package/components/combobox/demo/getting-started.min.js +12 -0
  51. package/components/combobox/demo/index.html +16 -22
  52. package/components/combobox/demo/index.js +3 -2
  53. package/components/combobox/demo/index.md +298 -188
  54. package/components/combobox/demo/index.min.js +13 -17956
  55. package/components/combobox/demo/install.md +77 -0
  56. package/components/combobox/demo/{keyboardBehavior.html → keyboard-behavior.html} +5 -11
  57. package/components/combobox/demo/keyboard-behavior.md +276 -0
  58. package/components/combobox/demo/readme.html +5 -11
  59. package/components/combobox/demo/readme.md +41 -66
  60. package/components/combobox/demo/registered.min.js +18095 -0
  61. package/components/combobox/demo/styles.css +974 -0
  62. package/components/combobox/demo/styles.min.css +1 -0
  63. package/components/combobox/demo/styles.scss +1 -0
  64. package/components/combobox/demo/swap-value.min.js +16 -0
  65. package/components/combobox/demo/voiceover.html +59 -0
  66. package/components/combobox/demo/voiceover.md +118 -0
  67. package/components/combobox/dist/auro-combobox.d.ts +35 -35
  68. package/components/combobox/dist/index.js +183 -46
  69. package/components/combobox/dist/registered.js +183 -46
  70. package/components/counter/README.md +37 -55
  71. package/components/counter/demo/api.md +745 -813
  72. package/components/counter/demo/api.min.js +182 -44
  73. package/components/counter/demo/index.md +28 -32
  74. package/components/counter/demo/index.min.js +182 -44
  75. package/components/counter/demo/keyboard-behavior.md +127 -0
  76. package/components/counter/demo/readme.md +37 -55
  77. package/components/counter/dist/auro-counter-group.d.ts +2 -2
  78. package/components/counter/dist/auro-counter.d.ts +10 -10
  79. package/components/counter/dist/index.js +181 -43
  80. package/components/counter/dist/registered.js +181 -43
  81. package/components/datepicker/README.md +23 -51
  82. package/components/datepicker/demo/accessibility.html +50 -0
  83. package/components/datepicker/demo/accessibility.md +64 -0
  84. package/components/datepicker/demo/api.md +0 -1774
  85. package/components/datepicker/demo/api.min.js +2 -24475
  86. package/components/datepicker/demo/auro-datepicker.min.js +24613 -0
  87. package/components/datepicker/demo/customize.html +52 -0
  88. package/components/datepicker/demo/customize.md +723 -0
  89. package/components/datepicker/demo/demo-support.js +60 -0
  90. package/components/datepicker/demo/demo-support.min.js +55732 -0
  91. package/components/datepicker/demo/design.html +54 -0
  92. package/components/datepicker/demo/design.md +158 -0
  93. package/components/datepicker/demo/getting-started.html +52 -0
  94. package/components/datepicker/demo/getting-started.md +237 -0
  95. package/components/datepicker/demo/index.html +14 -35
  96. package/components/datepicker/demo/index.md +201 -152
  97. package/components/datepicker/demo/index.min.js +1 -24474
  98. package/components/datepicker/demo/keyboard-behavior.html +12 -33
  99. package/components/datepicker/demo/readme.md +23 -51
  100. package/components/datepicker/demo/styles.min.css +1 -0
  101. package/components/datepicker/demo/styles.scss +1 -0
  102. package/components/datepicker/demo/voiceover.html +59 -0
  103. package/components/datepicker/demo/voiceover.md +98 -0
  104. package/components/datepicker/dist/index.js +194 -57
  105. package/components/datepicker/dist/registered.js +194 -57
  106. package/components/datepicker/dist/{auro-calendar-cell.d.ts → src/auro-calendar-cell.d.ts} +2 -2
  107. package/components/datepicker/dist/{auro-datepicker.d.ts → src/auro-datepicker.d.ts} +13 -13
  108. package/components/datepicker/dist/src/iconVersion.d.ts +2 -0
  109. package/components/datepicker/dist/{utilities.d.ts → src/utilities.d.ts} +4 -4
  110. package/components/datepicker/dist/{utilitiesCalendar.d.ts → src/utilitiesCalendar.d.ts} +3 -3
  111. package/components/datepicker/dist/{vendor → src/vendor}/wc-range-datepicker/range-datepicker-calendar.d.ts +2 -2
  112. package/components/datepicker/dist/{vendor → src/vendor}/wc-range-datepicker/range-datepicker.d.ts +1 -1
  113. package/components/dropdown/README.md +35 -53
  114. package/components/dropdown/demo/api.md +717 -773
  115. package/components/dropdown/demo/api.min.js +161 -23
  116. package/components/dropdown/demo/index.md +120 -130
  117. package/components/dropdown/demo/index.min.js +161 -23
  118. package/components/dropdown/demo/{keyboardBehavior.md → keyboard-behavior.md} +52 -57
  119. package/components/dropdown/demo/readme.md +35 -53
  120. package/components/dropdown/dist/auro-dropdown.d.ts +22 -22
  121. package/components/dropdown/dist/auro-dropdownBib.d.ts +3 -3
  122. package/components/dropdown/dist/dropdownBibKeyboardStrategy.d.ts +1 -1
  123. package/components/dropdown/dist/iconVersion.d.ts +1 -1
  124. package/components/dropdown/dist/index.js +160 -22
  125. package/components/dropdown/dist/registered.js +160 -22
  126. package/components/form/README.md +14 -34
  127. package/components/form/demo/api.md +156 -162
  128. package/components/form/demo/api.min.js +756 -208
  129. package/components/form/demo/index.md +27 -33
  130. package/components/form/demo/index.min.js +756 -208
  131. package/components/form/demo/keyboard-behavior.md +38 -0
  132. package/components/form/demo/readme.md +14 -34
  133. package/components/input/README.md +28 -53
  134. package/components/input/demo/accessibility.html +37 -0
  135. package/components/input/demo/accessibility.md +69 -0
  136. package/components/input/demo/api.html +17 -23
  137. package/components/input/demo/api.js +4 -23
  138. package/components/input/demo/api.md +67 -1359
  139. package/components/input/demo/api.min.js +1 -7453
  140. package/components/input/demo/auro-input.min.js +7362 -0
  141. package/components/input/demo/customize.html +53 -0
  142. package/components/input/demo/customize.js +25 -0
  143. package/components/input/demo/customize.md +1372 -0
  144. package/components/input/demo/customize.min.js +71 -0
  145. package/components/input/demo/demo-support.js +60 -0
  146. package/components/input/demo/demo-support.min.js +55732 -0
  147. package/components/input/demo/design.html +38 -0
  148. package/components/input/demo/design.md +224 -0
  149. package/components/input/demo/getting-started.html +52 -0
  150. package/components/input/demo/getting-started.js +8 -0
  151. package/components/input/demo/getting-started.md +312 -0
  152. package/components/input/demo/getting-started.min.js +9 -0
  153. package/components/input/demo/index.html +16 -23
  154. package/components/input/demo/index.js +0 -11
  155. package/components/input/demo/index.md +180 -154
  156. package/components/input/demo/index.min.js +1 -7373
  157. package/components/input/demo/keyboard-behavior.html +37 -0
  158. package/components/input/demo/readme.md +28 -53
  159. package/components/input/demo/styles.css +974 -0
  160. package/components/input/demo/styles.min.css +1 -0
  161. package/components/input/demo/styles.scss +1 -0
  162. package/components/input/demo/voiceover.html +37 -0
  163. package/components/input/demo/voiceover.md +70 -0
  164. package/components/input/dist/auro-input.d.ts +1 -1
  165. package/components/input/dist/base-input.d.ts +29 -30
  166. package/components/input/dist/iconVersion.d.ts +1 -1
  167. package/components/input/dist/index.js +10 -11
  168. package/components/input/dist/registered.js +10 -11
  169. package/components/menu/README.md +24 -42
  170. package/components/menu/demo/api.md +785 -829
  171. package/components/menu/demo/api.min.js +7 -7
  172. package/components/menu/demo/index.md +33 -35
  173. package/components/menu/demo/index.min.js +7 -7
  174. package/components/menu/demo/keyboard-behavior.md +18 -0
  175. package/components/menu/demo/readme.md +24 -42
  176. package/components/menu/dist/auro-menu-utils.d.ts +1 -1
  177. package/components/menu/dist/auro-menu.context.d.ts +3 -3
  178. package/components/menu/dist/auro-menu.d.ts +4 -4
  179. package/components/menu/dist/auro-menuoption.d.ts +6 -6
  180. package/components/menu/dist/index.js +6 -6
  181. package/components/menu/dist/registered.js +6 -6
  182. package/components/radio/README.md +22 -49
  183. package/components/radio/demo/accessibility.html +51 -0
  184. package/components/radio/demo/accessibility.md +44 -0
  185. package/components/radio/demo/api.html +13 -20
  186. package/components/radio/demo/api.md +44 -621
  187. package/components/radio/demo/api.min.js +1 -1
  188. package/components/radio/demo/customize.html +53 -0
  189. package/components/radio/demo/customize.md +368 -0
  190. package/components/radio/demo/demo-support.js +60 -0
  191. package/components/radio/demo/design.html +52 -0
  192. package/components/radio/demo/design.md +143 -0
  193. package/components/radio/demo/getting-started.html +54 -0
  194. package/components/radio/demo/getting-started.md +296 -0
  195. package/components/radio/demo/index.html +16 -19
  196. package/components/radio/demo/index.md +124 -63
  197. package/components/radio/demo/index.min.js +1 -1
  198. package/components/radio/demo/keyboard-behavior.html +51 -0
  199. package/components/radio/demo/keyboard-behavior.md +72 -0
  200. package/components/radio/demo/layout.md +30 -0
  201. package/components/radio/demo/readme.html +11 -17
  202. package/components/radio/demo/readme.md +22 -49
  203. package/components/radio/demo/styles.css +974 -0
  204. package/components/radio/demo/voiceover.html +51 -0
  205. package/components/radio/demo/voiceover.md +43 -0
  206. package/components/radio/dist/auro-radio-group.d.ts +9 -9
  207. package/components/radio/dist/auro-radio.d.ts +8 -8
  208. package/components/radio/dist/index.js +1 -1
  209. package/components/radio/dist/registered.js +1 -1
  210. package/components/select/README.md +50 -68
  211. package/components/select/demo/accessibility.html +50 -0
  212. package/components/select/demo/accessibility.md +76 -0
  213. package/components/select/demo/api.html +5 -17
  214. package/components/select/demo/api.md +52 -2422
  215. package/components/select/demo/customize.html +52 -0
  216. package/components/select/demo/customize.js +11 -0
  217. package/components/select/demo/customize.md +1049 -0
  218. package/components/select/demo/customize.min.js +12 -0
  219. package/components/select/demo/demo-support.js +60 -0
  220. package/components/select/demo/demo-support.min.js +55732 -0
  221. package/components/select/demo/design.html +51 -0
  222. package/components/select/demo/design.md +391 -0
  223. package/components/select/demo/getting-started.html +52 -0
  224. package/components/select/demo/getting-started.js +26 -0
  225. package/components/select/demo/getting-started.md +412 -0
  226. package/components/select/demo/getting-started.min.js +56 -0
  227. package/components/select/demo/index.html +18 -35
  228. package/components/select/demo/index.js +5 -3
  229. package/components/select/demo/index.md +165 -345
  230. package/components/select/demo/index.min.js +6 -10484
  231. package/components/select/demo/install.md +95 -0
  232. package/components/select/demo/keyboard-behavior.html +8 -39
  233. package/components/select/demo/keyboard-behavior.md +249 -0
  234. package/components/select/demo/keyboardBehavior.html +5 -38
  235. package/components/select/demo/layout.html +51 -0
  236. package/components/select/demo/readme.html +5 -13
  237. package/components/select/demo/readme.md +50 -68
  238. package/components/select/demo/{api.min.js → registered.min.js} +179 -151
  239. package/components/select/demo/styles.min.css +1 -0
  240. package/components/select/demo/styles.scss +1 -0
  241. package/components/select/demo/voiceover.html +48 -0
  242. package/components/select/demo/voiceover.md +183 -0
  243. package/components/select/dist/auro-select.d.ts +11 -11
  244. package/components/select/dist/index.js +171 -33
  245. package/components/select/dist/registered.js +171 -33
  246. package/custom-elements.json +1491 -1494
  247. package/package.json +37 -30
  248. package/components/checkbox/demo/keyboardBehavior.md +0 -0
  249. package/components/combobox/demo/keyboardBehavior.md +0 -281
  250. package/components/counter/demo/keyboardBehavior.md +0 -127
  251. package/components/datepicker/demo/keyboardBehavior.md +0 -19
  252. package/components/datepicker/dist/iconVersion.d.ts +0 -2
  253. package/components/form/demo/keyboardBehavior.md +0 -0
  254. package/components/input/demo/keyboardBehavior.md +0 -0
  255. package/components/menu/demo/keyboardBehavior.md +0 -0
  256. package/components/radio/demo/keyboardBehavior.md +0 -0
  257. package/components/select/demo/api.js +0 -39
  258. package/components/select/demo/keyboardBehavior.md +0 -245
  259. /package/components/datepicker/dist/{auro-calendar-month.d.ts → src/auro-calendar-month.d.ts} +0 -0
  260. /package/components/datepicker/dist/{auro-calendar.d.ts → src/auro-calendar.d.ts} +0 -0
  261. /package/components/datepicker/dist/{buttonVersion.d.ts → src/buttonVersion.d.ts} +0 -0
  262. /package/components/datepicker/dist/{datepickerKeyboardStrategy.d.ts → src/datepickerKeyboardStrategy.d.ts} +0 -0
  263. /package/components/datepicker/dist/{index.d.ts → src/index.d.ts} +0 -0
  264. /package/components/datepicker/dist/{popoverVersion.d.ts → src/popoverVersion.d.ts} +0 -0
  265. /package/components/datepicker/dist/{styles → src/styles}/classic/color-css.d.ts +0 -0
  266. /package/components/datepicker/dist/{styles → src/styles}/classic/style-css.d.ts +0 -0
  267. /package/components/datepicker/dist/{styles → src/styles}/color-calendar-css.d.ts +0 -0
  268. /package/components/datepicker/dist/{styles → src/styles}/color-cell-css.d.ts +0 -0
  269. /package/components/datepicker/dist/{styles → src/styles}/color-css.d.ts +0 -0
  270. /package/components/datepicker/dist/{styles → src/styles}/color-month-css.d.ts +0 -0
  271. /package/components/datepicker/dist/{styles → src/styles}/shapeSize-css.d.ts +0 -0
  272. /package/components/datepicker/dist/{styles → src/styles}/snowflake/color-css.d.ts +0 -0
  273. /package/components/datepicker/dist/{styles → src/styles}/snowflake/style-css.d.ts +0 -0
  274. /package/components/datepicker/dist/{styles → src/styles}/style-auro-calendar-cell-css.d.ts +0 -0
  275. /package/components/datepicker/dist/{styles → src/styles}/style-auro-calendar-css.d.ts +0 -0
  276. /package/components/datepicker/dist/{styles → src/styles}/style-auro-calendar-month-css.d.ts +0 -0
  277. /package/components/datepicker/dist/{styles → src/styles}/style-css.d.ts +0 -0
  278. /package/components/datepicker/dist/{styles → src/styles}/tokens-css.d.ts +0 -0
  279. /package/components/datepicker/dist/{utilitiesCalendarRender.d.ts → src/utilitiesCalendarRender.d.ts} +0 -0
  280. /package/components/datepicker/dist/{vendor → src/vendor}/wc-range-datepicker/day.d.ts +0 -0
  281. /package/components/datepicker/dist/{vendor → src/vendor}/wc-range-datepicker/range-datepicker-cell.d.ts +0 -0
@@ -1,196 +1,306 @@
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
- # Combobox
8
-
1
+ <auro-header level="1" id="overview">Combobox - 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="#userStories">User Stories</auro-anchorlink>
9
+ <auro-anchorlink fluid href="#select" class="level2 body-xs">Select an Option</auro-anchorlink>
10
+ <auro-anchorlink fluid href="#presetValue" class="level2 body-xs">Preset Value</auro-anchorlink>
11
+ <auro-anchorlink fluid href="#autocomplete" class="level2 body-xs">Autocomplete</auro-anchorlink>
12
+ <auro-anchorlink fluid href="#clearValue" class="level2 body-xs">Clear Value</auro-anchorlink>
13
+ <auro-anchorlink fluid href="#skipSelection" class="level2 body-xs">Skip Selection</auro-anchorlink>
14
+ <auro-anchorlink fluid href="#swapValues" class="level2 body-xs">Swap Values</auro-anchorlink>
15
+ <auro-anchorlink fluid href="#viewport" class="level2 body-xs">Viewport Size</auro-anchorlink>
16
+ </auro-nav>
17
+ </nav>
18
+ <div class="mainContent">
19
+ <div class="scrollWrapper">
20
+ <auro-header level="2" id="description">Description</auro-header>
9
21
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/description.md) -->
10
22
  <!-- The below content is automatically added from ./../docs/partials/description.md -->
11
- `<auro-combobox>` is the combination of [dropdown](http://auro.alaskaair.com/components/auro/dropdown), [input](http://auro.alaskaair.com/components/auro/input), and [menu](http://auro.alaskaair.com/components/auro/menu) and allows users to filter search results from a predefined list as they type. When the user starts typing in the text input, a dropdown of a menu shows up to display options that match the user’s search.
12
-
13
- By default, `auro-combobox` behaves as a suggestion list. This means any value may be typed into the combobox and the menu list presented effectively provides sample or suggestion options. With the use of the `persistInput` attribute the `auro-combobox` behaves as a filter of menu options. In this mode. typing into the input field will execute the filter but will not set the `value` of the combobox. The combobox value is set by selecting a menu option. Clicking the `X` clear button in the input will remove the current value of the HTML5 input causing the menu filter to reset as well as remove the current value of the combobox.
14
- <!-- AURO-GENERATED-CONTENT:END -->
15
-
16
- ## Use Cases
17
-
18
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/useCases.md) -->
19
- <!-- The below content is automatically added from ./../docs/partials/useCases.md -->
20
- The `<auro-combobox>` element should be used in situations where users may:
21
-
22
- * Search
23
- * Airports: user looks for a specific airport by searching for the city name or airport code
24
- * Site wide: user searches for a topic site wide and combobox makes suggestions on searchable results
25
- * Filter
26
- * Options: user chooses filters for their search by using combobox
27
- * Select
28
- * Quantity: user types a quantity to select an option within a range (for example, the user may be limited to 2-34)
29
- <!-- AURO-GENERATED-CONTENT:END -->
30
-
31
- ## Example(s)
32
-
33
- ### Basic
34
-
23
+ <p><code>&lt;auro-combobox&gt;</code> combines a text input with a filterable dropdown menu, letting users either type a value or pick one from a list. As the user types, the menu narrows to show only matching options.</p>
24
+ <p>The component supports two modes:</p>
25
+ <ul>
26
+ <li><strong>Suggestion (default)</strong> — The user may type any value. The menu provides suggestions but does not restrict input.</li>
27
+ <li><strong>Filter</strong> — The user must select from the menu. Typing filters the available options but does not set the component's value. The value is only set when a menu option is selected.</li>
28
+ </ul>
29
+ <p>Common use cases:</p>
30
+ <ul>
31
+ <li><strong>Airport or city search</strong> Type a city name or airport code to filter a long list of destinations.</li>
32
+ <li><strong>Country or region selection</strong> Quickly find and select from a large set of geographic options.</li>
33
+ <li><strong>Autocomplete fields</strong> — Provide type-ahead suggestions for form fields where the set of valid values is known.</li>
34
+ <li><strong>Search with suggestions</strong> — Offer recommended results while still allowing freeform input.</li>
35
+ </ul>
36
+ <!-- AURO-GENERATED-CONTENT:END -->
35
37
  <div class="exampleWrapper">
36
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
37
- <!-- The below content is automatically added from ./../apiExamples/basic.html -->
38
- <auro-combobox>
39
- <span slot="ariaLabel.bib.close">Close combobox</span>
40
- <span slot="ariaLabel.input.clear">Clear All</span>
41
- <span slot="bib.fullscreen.headline">Bib Header</span>
42
- <span slot="label">Name</span>
43
- <auro-menu>
44
- <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
45
- <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
46
- <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
47
- <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
48
- <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
49
- <auro-menuoption static nomatch>No matching option</auro-menuoption>
50
- </auro-menu>
51
- </auro-combobox>
52
- <!-- AURO-GENERATED-CONTENT:END -->
53
- </div>
38
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
39
+ <!-- The below content is automatically added from ./../apiExamples/basic.html -->
40
+ <auro-combobox>
41
+ <span slot="ariaLabel.bib.close">Close combobox</span>
42
+ <span slot="ariaLabel.input.clear">Clear All</span>
43
+ <span slot="bib.fullscreen.headline">Bib Header</span>
44
+ <span slot="label">Name</span>
45
+ <auro-menu>
46
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
47
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
48
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
49
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
50
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
51
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
52
+ </auro-menu>
53
+ </auro-combobox>
54
+ <!-- AURO-GENERATED-CONTENT:END -->
55
+ </div>
54
56
  <auro-accordion alignRight>
55
- <span slot="trigger">See code</span>
57
+ <span slot="trigger">See code</span>
56
58
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/basic.html) -->
57
- <!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
58
-
59
- ```html
60
- <auro-combobox>
61
- <span slot="ariaLabel.bib.close">Close combobox</span>
62
- <span slot="ariaLabel.input.clear">Clear All</span>
63
- <span slot="bib.fullscreen.headline">Bib Header</span>
64
- <span slot="label">Name</span>
65
- <auro-menu>
66
- <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
67
- <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
68
- <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
69
- <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
70
- <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
71
- <auro-menuoption static nomatch>No matching option</auro-menuoption>
72
- </auro-menu>
73
- </auro-combobox>
74
- ```
75
- <!-- AURO-GENERATED-CONTENT:END -->
76
- </auro-accordion>
77
-
78
- ### Layouts
79
-
80
- #### Emphasized
81
-
82
- Use `layout="emphasized"` to apply the emphasized style to the combobox. This layout is designed for use on light backgrounds.
83
-
59
+ <!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
60
+ <pre class="language-html"><code class="language-html">&lt;auro-combobox&gt;
61
+ &lt;span slot="ariaLabel.bib.close"&gt;Close combobox&lt;/span&gt;
62
+ &lt;span slot="ariaLabel.input.clear"&gt;Clear All&lt;/span&gt;
63
+ &lt;span slot="bib.fullscreen.headline"&gt;Bib Header&lt;/span&gt;
64
+ &lt;span slot="label"&gt;Name&lt;/span&gt;
65
+ &lt;auro-menu&gt;
66
+ &lt;auro-menuoption value="Apples" id="option-0"&gt;Apples&lt;/auro-menuoption&gt;
67
+ &lt;auro-menuoption value="Oranges" id="option-1"&gt;Oranges&lt;/auro-menuoption&gt;
68
+ &lt;auro-menuoption value="Peaches" id="option-2"&gt;Peaches&lt;/auro-menuoption&gt;
69
+ &lt;auro-menuoption value="Grapes" id="option-3"&gt;Grapes&lt;/auro-menuoption&gt;
70
+ &lt;auro-menuoption value="Cherries" id="option-4"&gt;Cherries&lt;/auro-menuoption&gt;
71
+ &lt;auro-menuoption static nomatch&gt;No matching option&lt;/auro-menuoption&gt;
72
+ &lt;/auro-menu&gt;
73
+ &lt;/auro-combobox&gt;</code></pre>
74
+ <!-- AURO-GENERATED-CONTENT:END -->
75
+ </auro-accordion>
76
+ <section>
77
+ <auro-header level="2" id="userStories">User Stories</auro-header>
78
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/index/userStories.md) -->
79
+ <!-- The below content is automatically added from ./../docs/partials/index/userStories.md -->
80
+ <auro-header level="3" id="select">Select an option from the list</auro-header>
81
+ <ol>
82
+ <li>
83
+ Move focus to the auro-combobox element
84
+ </li>
85
+ <li>
86
+ Begin typing into the input
87
+ <div class="note">
88
+ <p>
89
+ The bib will not open until the user types at least one character into the input. Clicking or tapping the trigger alone does not open the bib. Once the input has a value, the user may click or tap the trigger to open or close the bib.
90
+ </p>
91
+ <p>
92
+ While in desktop view the list of options will render in a dropdown style bib that appears below the trigger. The bib may render above the trigger if there is not enough space in the viewport below the trigger.
93
+ </p>
94
+ <p>
95
+ While in mobile device view the list of options will appear in a fullscreen modal dialog. Focus will shift to the input field inside the dialog.
96
+ </p>
97
+ <p>
98
+ As the user types, the options are filtered to show only matching results.
99
+ </p>
100
+ </div>
101
+ </li>
102
+ <li>
103
+ Choose an option
104
+ <div class="note">
105
+ <p>
106
+ The guest may navigate through the list of options to make their choice. An option may become active through pointer hover, keyboard navigation (e.g., arrow keys), or assistive technologies that emulate keyboard navigation through gestures.
107
+ </p>
108
+ </div>
109
+ </li>
110
+ <li>
111
+ Select the option
112
+ <div class="note">
113
+ <p>
114
+ Any previously selected option will be un-selected. The current active option may be selected through click, tap or keyboard events (e.g. <code>Enter</code> or <code>Tab</code> while focus is within the component).
115
+ </p>
116
+ </div>
117
+ </li>
118
+ </ol>
119
+ <auro-header level="4" id="filtering">Filtering and match highlighting</auro-header>
120
+ <p>As the user types into the input, the component filters the list of options and highlights the matching text.</p>
121
+ <ol>
122
+ <li>The typed value is compared against the text content of each option (case-insensitive). Only options whose text contains the typed value are shown; all others are hidden.</li>
123
+ <li>Within each visible option, the portion of text that matches the typed value is wrapped in <code>&lt;strong&gt;</code> tags to visually emphasize the match.</li>
124
+ <li>If no options match the typed value, the bib is hidden. However, if a <code>nomatch</code> option is defined, it will be displayed instead.</li>
125
+ </ol>
126
+ <p>The following option attributes modify filtering behavior:</p>
127
+ <ul>
128
+ <li><strong><code>suggest</code></strong> — Provides additional text to match against beyond the option's visible text content. For example, an option displaying "Oranges" with <code>suggest="apples"</code> will also match when the user types "apples".</li>
129
+ <li><strong><code>persistent</code></strong> — The option is always shown regardless of the current filter value.</li>
130
+ <li><strong><code>static</code></strong> — The option is always hidden from filtered results and only shown when the input is empty.</li>
131
+ <li><strong><code>nomatch</code></strong> — The option is shown only when no other options match the typed value (e.g., "No results found").</li>
132
+ </ul>
133
+ <div class="note">
134
+ <strong>Note:</strong> Filtering can be disabled entirely by setting the <code>noFilter</code> attribute on the combobox. When <code>noFilter</code> is set, all options remain visible regardless of the typed value. Match highlighting still applies. This is useful when menu options are dynamically generated via an API call as the user types into the input, since the server is already returning only relevant results.
135
+ </div>
136
+ <auro-header level="3" id="presetValue">Preset the value</auro-header>
137
+ <p>In some cases it is necessary to preset the value of the component as part of the initial render.</p>
138
+ <p>When a value is preset, the matching option in the menu will be marked as both <code>active</code> and <code>selected</code>, and the input will display the corresponding text.</p>
139
+ <p>If a preset value does not match any option, the component value is preserved and displayed in the input, but no menu option will be marked as selected. In suggestion mode, this value is treated as valid freeform input. In filter mode, the value will fail validation if the component is <code>required</code>.</p>
140
+ <auro-header level="3" id="autocomplete">Autocomplete</auro-header>
141
+ <p>The component supports the use of <auro-hyperlink href="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/autocomplete">autocomplete</auro-hyperlink> configuration through HTML attributes.</p>
142
+ <auro-header level="3" id="clearValue">Clear the value</auro-header>
143
+ <p>When the input has a value, a clear button will appear inside the input. Clicking or tapping the clear button will reset the component to its initial empty state.</p>
144
+ <ol>
145
+ <li>The input value is cleared</li>
146
+ <li>The selected option is deselected</li>
147
+ <li>The component value is reset to <code>undefined</code></li>
148
+ <li>The bib is closed if it was open</li>
149
+ </ol>
150
+ <div class="note">
151
+ <strong>Note:</strong> If the component is <code>required</code>, clearing the value and moving focus away from the component will trigger validation and render the error state.
152
+ </div>
153
+ <auro-header level="3" id="skipSelection">Close the list of options without making a selection</auro-header>
154
+ <ol>
155
+ <li>Move focus to the auro-combobox element</li>
156
+ <li>Begin typing into the input to open the bib</li>
157
+ <li>Navigate the list of options but do not make a selection</li>
158
+ <li>Collapse the bib
159
+ <div class="note">
160
+ <p>The guest may collapse the bib without making any selection. Example methods include clicking or tapping outside of the component or hitting the <code>Escape</code> key.</p>
161
+ </div>
162
+ </li>
163
+ </ol>
164
+ <auro-header level="3" id="swapValues">Swap values between two comboboxes</auro-header>
165
+ <p>Two combobox instances can have their values swapped programmatically. This is a common pattern in travel search forms where the user needs to reverse origin and destination.</p>
166
+ <ol>
167
+ <li>Select a value in one or both comboboxes</li>
168
+ <li>Click the swap button between them
169
+ <div class="note">
170
+ <p>The values of the two comboboxes are exchanged. Each combobox updates its input and selected option to reflect the other's previous value.</p>
171
+ </div>
172
+ </li>
173
+ </ol>
84
174
  <div class="exampleWrapper">
85
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/emphasized/basic.html) -->
86
- <!-- The below content is automatically added from ./../apiExamples/emphasized/basic.html -->
87
- <auro-combobox layout="emphasized" value="Oranges" shape="pill" size="xl" placeholder="Placeholder content" required style="width: 249px;">
88
- <span slot="ariaLabel.bib.close">Close combobox</span>
89
- <span slot="ariaLabel.input.clear">Clear All</span>
90
- <span slot="bib.fullscreen.headline">Bib Header</span>
91
- <span slot="label">Name</span>
92
- <auro-menu>
93
- <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
94
- <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
95
- <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
96
- <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
97
- <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
98
- <auro-menuoption static nomatch>No matching option</auro-menuoption>
99
- </auro-menu>
100
- <span slot="helpText">
101
- Help text - Lorem ipsum solar lorem ipsum solar
102
- </span>
103
- <span slot="displayValue">
104
- <div>
105
- <div class="mainText">Apples</div>
106
- <div class="subText">Fruit</div>
107
- </div>
108
- </span>
109
- </auro-combobox>
110
- <!-- AURO-GENERATED-CONTENT:END -->
111
- </div>
112
- <auro-accordion alignRight>
113
- <span slot="trigger">See code</span>
114
- <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/emphasized/basic.html) -->
115
- <!-- The below code snippet is automatically added from ./../apiExamples/emphasized/basic.html -->
116
-
117
- ```html
118
- <auro-combobox layout="emphasized" value="Oranges" shape="pill" size="xl" placeholder="Placeholder content" required style="width: 249px;">
119
- <span slot="ariaLabel.bib.close">Close combobox</span>
120
- <span slot="ariaLabel.input.clear">Clear All</span>
121
- <span slot="bib.fullscreen.headline">Bib Header</span>
122
- <span slot="label">Name</span>
123
- <auro-menu>
124
- <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
125
- <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
126
- <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
127
- <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
128
- <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
129
- <auro-menuoption static nomatch>No matching option</auro-menuoption>
130
- </auro-menu>
131
- <span slot="helpText">
132
- Help text - Lorem ipsum solar lorem ipsum solar
133
- </span>
134
- <span slot="displayValue">
135
- <div>
136
- <div class="mainText">Apples</div>
137
- <div class="subText">Fruit</div>
138
- </div>
139
- </span>
140
- </auro-combobox>
141
- ```
142
- <!-- AURO-GENERATED-CONTENT:END -->
143
- </auro-accordion>
144
-
145
- #### Snowflake
146
-
147
- Use `layout="snowflake"`, with `shape="snowflake"` and `appearance="inverse"` to apply the snowflake style to the combobox. This layout is designed for use on dark backgrounds.
148
-
149
- <div class="exampleWrapper--ondark">
150
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/snowflake/basic.html) -->
151
- <!-- The below content is automatically added from ./../apiExamples/snowflake/basic.html -->
152
- <auro-combobox layout="snowflake" shape="snowflake" size="lg" placeholder="Placeholder content" required appearance="inverse" style="width: 249px;">
153
- <span slot="ariaLabel.bib.close">Close combobox</span>
154
- <span slot="ariaLabel.input.clear">Clear All</span>
155
- <span slot="bib.fullscreen.headline">Bib Header</span>
156
- <span slot="label">Name</span>
157
- <auro-menu>
158
- <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
159
- <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
160
- <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
161
- <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
162
- <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
163
- <auro-menuoption static nomatch>No matching option</auro-menuoption>
164
- </auro-menu>
165
- <span slot="helpText">
166
- Help text - Lorem ipsum solar lorem ipsum solar
167
- </span>
168
- </auro-combobox>
169
- <!-- AURO-GENERATED-CONTENT:END -->
170
- </div>
175
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/swap-value.html) -->
176
+ <!-- The below content is automatically added from ./../apiExamples/swap-value.html -->
177
+ <div id="swapExample">
178
+ <auro-combobox id="swapExampleLeft">
179
+ <span slot="bib.fullscreen.headline">Left Combobox Header</span>
180
+ <span slot="label">Name</span>
181
+ <auro-menu>
182
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
183
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
184
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
185
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
186
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
187
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
188
+ </auro-menu>
189
+ </auro-combobox>
190
+ <auro-button id="swapExampleBtn" iconOnly>
191
+ <auro-icon
192
+ customColor
193
+ category="terminal"
194
+ name="round-trip-arrows">
195
+ </auro-icon>
196
+ </auro-button>
197
+ <auro-combobox id="swapExampleRight">
198
+ <span slot="bib.fullscreen.headline">Right Combobox Header</span>
199
+ <span slot="label">Name</span>
200
+ <auro-menu>
201
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
202
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
203
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
204
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
205
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
206
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
207
+ </auro-menu>
208
+ </auro-combobox>
209
+ </div>
210
+ <style>
211
+ #swapExample {
212
+ display: flex;
213
+ flex-direction: row;
214
+ align-items: center;
215
+ }
216
+ #swapExampleLeft,
217
+ #swapExampleRight {
218
+ flex: 1;
219
+ }
220
+ #swapExampleBtn {
221
+ margin: 0 5px;
222
+ }
223
+ </style>
224
+ <!-- AURO-GENERATED-CONTENT:END -->
225
+ </div>
171
226
  <auro-accordion alignRight>
172
- <span slot="trigger">See code</span>
173
- <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/snowflake/basic.html) -->
174
- <!-- The below code snippet is automatically added from ./../apiExamples/snowflake/basic.html -->
175
-
176
- ```html
177
- <auro-combobox layout="snowflake" shape="snowflake" size="lg" placeholder="Placeholder content" required appearance="inverse" style="width: 249px;">
178
- <span slot="ariaLabel.bib.close">Close combobox</span>
179
- <span slot="ariaLabel.input.clear">Clear All</span>
180
- <span slot="bib.fullscreen.headline">Bib Header</span>
181
- <span slot="label">Name</span>
182
- <auro-menu>
183
- <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
184
- <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
185
- <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
186
- <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
187
- <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
188
- <auro-menuoption static nomatch>No matching option</auro-menuoption>
189
- </auro-menu>
190
- <span slot="helpText">
191
- Help text - Lorem ipsum solar lorem ipsum solar
192
- </span>
193
- </auro-combobox>
194
- ```
195
- <!-- AURO-GENERATED-CONTENT:END -->
227
+ <span slot="trigger">See code</span>
228
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/swap-value.html) -->
229
+ <!-- The below code snippet is automatically added from ./../apiExamples/swap-value.html -->
230
+ <pre class="language-html"><code class="language-html">&lt;div id="swapExample"&gt;
231
+ &lt;auro-combobox id="swapExampleLeft"&gt;
232
+ &lt;span slot="bib.fullscreen.headline"&gt;Left Combobox Header&lt;/span&gt;
233
+ &lt;span slot="label"&gt;Name&lt;/span&gt;
234
+ &lt;auro-menu&gt;
235
+ &lt;auro-menuoption value="Apples" id="option-0"&gt;Apples&lt;/auro-menuoption&gt;
236
+ &lt;auro-menuoption value="Oranges" id="option-1"&gt;Oranges&lt;/auro-menuoption&gt;
237
+ &lt;auro-menuoption value="Peaches" id="option-2"&gt;Peaches&lt;/auro-menuoption&gt;
238
+ &lt;auro-menuoption value="Grapes" id="option-3"&gt;Grapes&lt;/auro-menuoption&gt;
239
+ &lt;auro-menuoption value="Cherries" id="option-4"&gt;Cherries&lt;/auro-menuoption&gt;
240
+ &lt;auro-menuoption static nomatch&gt;No matching option&lt;/auro-menuoption&gt;
241
+ &lt;/auro-menu&gt;
242
+ &lt;/auro-combobox&gt;
243
+ &lt;auro-button id="swapExampleBtn" iconOnly&gt;
244
+ &lt;auro-icon
245
+ customColor
246
+ category="terminal"
247
+ name="round-trip-arrows"&gt;
248
+ &lt;/auro-icon&gt;
249
+ &lt;/auro-button&gt;
250
+ &lt;auro-combobox id="swapExampleRight"&gt;
251
+ &lt;span slot="bib.fullscreen.headline"&gt;Right Combobox Header&lt;/span&gt;
252
+ &lt;span slot="label"&gt;Name&lt;/span&gt;
253
+ &lt;auro-menu&gt;
254
+ &lt;auro-menuoption value="Apples" id="option-0"&gt;Apples&lt;/auro-menuoption&gt;
255
+ &lt;auro-menuoption value="Oranges" id="option-1"&gt;Oranges&lt;/auro-menuoption&gt;
256
+ &lt;auro-menuoption value="Peaches" id="option-2"&gt;Peaches&lt;/auro-menuoption&gt;
257
+ &lt;auro-menuoption value="Grapes" id="option-3"&gt;Grapes&lt;/auro-menuoption&gt;
258
+ &lt;auro-menuoption value="Cherries" id="option-4"&gt;Cherries&lt;/auro-menuoption&gt;
259
+ &lt;auro-menuoption static nomatch&gt;No matching option&lt;/auro-menuoption&gt;
260
+ &lt;/auro-menu&gt;
261
+ &lt;/auro-combobox&gt;
262
+ &lt;/div&gt;
263
+ &lt;style&gt;
264
+ #swapExample {
265
+ display: flex;
266
+ flex-direction: row;
267
+ align-items: center;
268
+ }
269
+ #swapExampleLeft,
270
+ #swapExampleRight {
271
+ flex: 1;
272
+ }
273
+ #swapExampleBtn {
274
+ margin: 0 5px;
275
+ }
276
+ &lt;/style&gt;</code></pre>
277
+ <!-- AURO-GENERATED-CONTENT:END -->
278
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/swap-value.js) -->
279
+ <!-- The below code snippet is automatically added from ./../apiExamples/swap-value.js -->
280
+ <pre class="language-js"><code class="language-js">export function swapValueExample() {
281
+ const btn = document.querySelector('#swapExampleBtn');
282
+ const comboboxOne = document.querySelector('#swapExampleLeft');
283
+ const comboboxTwo = document.querySelector('#swapExampleRight');
284
+
285
+ btn.addEventListener('click', () =&gt; {
286
+ console.warn('swap value example button clicked');
287
+ const valueOne = comboboxOne.value;
288
+ const valueTwo = comboboxTwo.value;
289
+
290
+ comboboxOne.value = valueTwo;
291
+ comboboxTwo.value = valueOne;
292
+ });
293
+ }</code></pre>
294
+ <!-- AURO-GENERATED-CONTENT:END -->
196
295
  </auro-accordion>
296
+ <auro-header level="3" id="viewport">Change Viewport Size</auro-header>
297
+ <p>The guest may change the size of their viewport (e.g. resize their desktop browser window, rotate their mobile device). In some cases, this may cause a re-render of the component while the option list is expanded. It is possible that the viewport size change will cause the option list to change from a popover bib to a fullscreen modal or vice versa while the bib is open.</p>
298
+ <auro-header level="4" id="us9a">Popover to Modal</auro-header>
299
+ <p>While in a popover display state with the bib open, focus will be on the input. After switching to the fullscreen modal dialog, focus will move to the input field inside the dialog.</p>
300
+ <auro-header level="4" id="us9b">Modal to Popover</auro-header>
301
+ <p>While in a fullscreen modal display state with the bib open, focus will be on the input field inside the dialog. After switching to the popover, focus will move to the trigger input.</p>
302
+ <!-- AURO-GENERATED-CONTENT:END -->
303
+ </section>
304
+ </div>
305
+ </div>
306
+ </div>