@aurodesignsystem/auro-formkit 4.0.1 → 5.0.0-rc-1002.1.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 (175) hide show
  1. package/CHANGELOG.md +193 -3
  2. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +12 -2
  3. package/components/bibtemplate/dist/buttonVersion.d.ts +2 -0
  4. package/components/bibtemplate/dist/headerVersion.d.ts +1 -1
  5. package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
  6. package/components/bibtemplate/dist/index.js +1184 -105
  7. package/components/bibtemplate/dist/registered.js +1184 -105
  8. package/components/checkbox/README.md +1 -1
  9. package/components/checkbox/demo/api.html +16 -10
  10. package/components/checkbox/demo/api.md +54 -19
  11. package/components/checkbox/demo/api.min.js +81 -45
  12. package/components/checkbox/demo/index.html +16 -10
  13. package/components/checkbox/demo/index.md +2 -2
  14. package/components/checkbox/demo/index.min.js +81 -45
  15. package/components/checkbox/demo/readme.html +16 -9
  16. package/components/checkbox/demo/readme.md +1 -1
  17. package/components/checkbox/dist/auro-checkbox-group.d.ts +2 -2
  18. package/components/checkbox/dist/auro-checkbox.d.ts +10 -3
  19. package/components/checkbox/dist/index.js +80 -44
  20. package/components/checkbox/dist/registered.js +80 -44
  21. package/components/combobox/README.md +2 -0
  22. package/components/combobox/demo/api.html +16 -10
  23. package/components/combobox/demo/api.md +124 -7
  24. package/components/combobox/demo/api.min.js +4542 -1330
  25. package/components/combobox/demo/index.html +16 -10
  26. package/components/combobox/demo/index.md +108 -4
  27. package/components/combobox/demo/index.min.js +4542 -1330
  28. package/components/combobox/demo/readme.html +16 -9
  29. package/components/combobox/demo/readme.md +2 -0
  30. package/components/combobox/dist/auro-combobox.d.ts +81 -18
  31. package/components/combobox/dist/index.js +4588 -1520
  32. package/components/combobox/dist/registered.js +4588 -1520
  33. package/components/counter/demo/api.html +17 -10
  34. package/components/counter/demo/api.md +167 -21
  35. package/components/counter/demo/api.min.js +3621 -866
  36. package/components/counter/demo/index.html +17 -10
  37. package/components/counter/demo/index.md +191 -34
  38. package/components/counter/demo/index.min.js +3621 -866
  39. package/components/counter/demo/readme.html +16 -9
  40. package/components/counter/dist/auro-counter-button.d.ts +2 -0
  41. package/components/counter/dist/auro-counter-group.d.ts +162 -11
  42. package/components/counter/dist/auro-counter.d.ts +16 -0
  43. package/components/counter/dist/helptextVersion.d.ts +2 -0
  44. package/components/counter/dist/iconVersion.d.ts +1 -1
  45. package/components/counter/dist/index.js +3619 -864
  46. package/components/counter/dist/registered.js +3619 -864
  47. package/components/datepicker/README.md +2 -1
  48. package/components/datepicker/demo/api.html +16 -10
  49. package/components/datepicker/demo/api.md +80 -30
  50. package/components/datepicker/demo/api.min.js +14795 -10365
  51. package/components/datepicker/demo/index.html +16 -10
  52. package/components/datepicker/demo/index.md +96 -4
  53. package/components/datepicker/demo/index.min.js +14795 -10365
  54. package/components/datepicker/demo/readme.html +16 -9
  55. package/components/datepicker/demo/readme.md +2 -1
  56. package/components/datepicker/dist/auro-datepicker.d.ts +163 -4
  57. package/components/datepicker/dist/buttonVersion.d.ts +1 -1
  58. package/components/datepicker/dist/iconVersion.d.ts +2 -0
  59. package/components/datepicker/dist/index.js +14916 -10486
  60. package/components/datepicker/dist/popoverVersion.d.ts +1 -1
  61. package/components/datepicker/dist/registered.js +14916 -10486
  62. package/components/dropdown/demo/api.html +16 -10
  63. package/components/dropdown/demo/api.md +94 -262
  64. package/components/dropdown/demo/api.min.js +738 -259
  65. package/components/dropdown/demo/index.html +16 -10
  66. package/components/dropdown/demo/index.md +93 -266
  67. package/components/dropdown/demo/index.min.js +738 -259
  68. package/components/dropdown/demo/readme.html +16 -9
  69. package/components/dropdown/dist/auro-dropdown.d.ts +92 -73
  70. package/components/dropdown/dist/auro-dropdownBib.d.ts +14 -0
  71. package/components/dropdown/dist/index.js +710 -231
  72. package/components/dropdown/dist/registered.js +710 -231
  73. package/components/dropdown/dist/styles/classic/style-css.d.ts +2 -0
  74. package/components/dropdown/dist/styles/emphasized/style-css.d.ts +2 -0
  75. package/components/dropdown/dist/styles/shapeSize-css.d.ts +2 -0
  76. package/components/dropdown/dist/styles/snowflake/style-css.d.ts +2 -0
  77. package/components/form/demo/api.html +16 -9
  78. package/components/form/demo/api.md +1 -1
  79. package/components/form/demo/api.min.js +3 -3
  80. package/components/form/demo/autocomplete.html +19 -3
  81. package/components/form/demo/index.html +16 -9
  82. package/components/form/demo/index.min.js +3 -3
  83. package/components/form/demo/readme.html +16 -9
  84. package/components/form/demo/working.html +19 -13
  85. package/components/form/dist/auro-form.d.ts +1 -1
  86. package/components/form/dist/index.js +2 -2
  87. package/components/form/dist/registered.js +2 -2
  88. package/components/helptext/dist/auro-helptext.d.ts +0 -2
  89. package/components/helptext/dist/index.js +2 -4
  90. package/components/helptext/dist/registered.js +2 -4
  91. package/components/input/README.md +6 -2
  92. package/components/input/demo/api.html +16 -10
  93. package/components/input/demo/api.md +258 -144
  94. package/components/input/demo/api.min.js +1550 -497
  95. package/components/input/demo/index.html +17 -11
  96. package/components/input/demo/index.md +95 -27
  97. package/components/input/demo/index.min.js +1549 -496
  98. package/components/input/demo/readme.html +16 -9
  99. package/components/input/demo/readme.md +6 -2
  100. package/components/input/dist/auro-input.d.ts +139 -3
  101. package/components/input/dist/base-input.d.ts +80 -26
  102. package/components/input/dist/buttonVersion.d.ts +1 -1
  103. package/components/input/dist/iconVersion.d.ts +1 -1
  104. package/components/input/dist/index.js +1504 -451
  105. package/components/input/dist/registered.js +1504 -451
  106. package/components/input/dist/styles/classic/color-css.d.ts +2 -0
  107. package/components/input/dist/styles/classic/style-css.d.ts +2 -0
  108. package/components/input/dist/styles/default/borders-css.d.ts +2 -0
  109. package/components/input/dist/styles/default/color-css.d.ts +2 -0
  110. package/components/input/dist/styles/default/mixins-css.d.ts +2 -0
  111. package/components/input/dist/styles/default/notificationIcons-css.d.ts +2 -0
  112. package/components/input/dist/styles/default/style-css.d.ts +2 -0
  113. package/components/input/dist/styles/emphasized/color-css.d.ts +2 -0
  114. package/components/input/dist/styles/emphasized/style-css.d.ts +2 -0
  115. package/components/input/dist/styles/shapeSize-css.d.ts +2 -0
  116. package/components/input/dist/styles/snowflake/style-css.d.ts +2 -0
  117. package/components/layoutElement/dist/auroElement.d.ts +34 -0
  118. package/components/layoutElement/dist/index.d.ts +2 -0
  119. package/components/layoutElement/dist/index.js +98 -0
  120. package/components/layoutElement/dist/registered.js +98 -0
  121. package/components/menu/demo/api.html +17 -10
  122. package/components/menu/demo/api.md +65 -8
  123. package/components/menu/demo/api.min.js +304 -65
  124. package/components/menu/demo/index.html +16 -10
  125. package/components/menu/demo/index.min.js +304 -65
  126. package/components/menu/demo/readme.html +16 -9
  127. package/components/menu/dist/auro-menu.d.ts +53 -7
  128. package/components/menu/dist/auro-menuoption.d.ts +21 -3
  129. package/components/menu/dist/iconVersion.d.ts +1 -1
  130. package/components/menu/dist/index.js +289 -50
  131. package/components/menu/dist/registered.js +289 -50
  132. package/components/menu/dist/styles/default/color-menu-css.d.ts +2 -0
  133. package/components/menu/dist/styles/default/color-menuoption-css.d.ts +2 -0
  134. package/components/menu/dist/styles/default/style-menu-css.d.ts +2 -0
  135. package/components/menu/dist/styles/default/style-menuoption-css.d.ts +2 -0
  136. package/components/menu/dist/styles/default/tokens-css.d.ts +2 -0
  137. package/components/radio/demo/api.html +16 -10
  138. package/components/radio/demo/api.md +41 -9
  139. package/components/radio/demo/api.min.js +93 -95
  140. package/components/radio/demo/index.html +16 -10
  141. package/components/radio/demo/index.min.js +93 -95
  142. package/components/radio/demo/readme.html +16 -9
  143. package/components/radio/dist/auro-radio-group.d.ts +1 -1
  144. package/components/radio/dist/auro-radio.d.ts +11 -12
  145. package/components/radio/dist/index.js +92 -94
  146. package/components/radio/dist/registered.js +92 -94
  147. package/components/select/README.md +1 -0
  148. package/components/select/demo/api.html +16 -10
  149. package/components/select/demo/api.js +0 -2
  150. package/components/select/demo/api.md +156 -114
  151. package/components/select/demo/api.min.js +3126 -657
  152. package/components/select/demo/index.html +17 -10
  153. package/components/select/demo/index.md +398 -62
  154. package/components/select/demo/index.min.js +3129 -648
  155. package/components/select/demo/readme.html +16 -9
  156. package/components/select/demo/readme.md +1 -0
  157. package/components/select/dist/auro-select.d.ts +173 -18
  158. package/components/select/dist/helptextVersion.d.ts +2 -0
  159. package/components/select/dist/index.js +3128 -791
  160. package/components/select/dist/registered.js +3128 -791
  161. package/components/select/dist/styles/shapeSize-css.d.ts +2 -0
  162. package/components/select/dist/styles/tokens-css.d.ts +2 -0
  163. package/package.json +33 -32
  164. package/packages/build-tools/src/postinstall.mjs +0 -12
  165. /package/components/{dropdown/dist/styles/bibColors-css.d.ts → combobox/dist/styles/emphasized/style-css.d.ts} +0 -0
  166. /package/components/{dropdown/dist/styles/bibStyles-css.d.ts → combobox/dist/styles/snowflake/style-css.d.ts} +0 -0
  167. /package/components/{input/dist/styles/borders-css.d.ts → counter/dist/styles/shapeSize-css.d.ts} +0 -0
  168. /package/components/{input/dist/styles/input-css.d.ts → datepicker/dist/styles/classic/color-css.d.ts} +0 -0
  169. /package/components/{input/dist/styles/label-css.d.ts → datepicker/dist/styles/classic/style-css.d.ts} +0 -0
  170. /package/components/{input/dist/styles/notificationIcons-css.d.ts → datepicker/dist/styles/shapeSize-css.d.ts} +0 -0
  171. /package/components/{menu/dist/styles/color-menu-css.d.ts → datepicker/dist/styles/snowflake/color-css.d.ts} +0 -0
  172. /package/components/{menu/dist/styles/color-menuoption-css.d.ts → datepicker/dist/styles/snowflake/style-css.d.ts} +0 -0
  173. /package/components/{menu/dist/styles/style-menu-css.d.ts → dropdown/dist/styles/classic/bibColors-css.d.ts} +0 -0
  174. /package/components/{menu/dist/styles/style-menuoption-css.d.ts → dropdown/dist/styles/classic/bibStyles-css.d.ts} +0 -0
  175. /package/components/{menu/dist/styles/tokens-css.d.ts → dropdown/dist/styles/classic/color-css.d.ts} +0 -0
@@ -20,9 +20,12 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
20
20
  | [autocomplete](#autocomplete) | `autocomplete` | `string` | | If declared, sets the autocomplete attribute for the select element. |
21
21
  | [disabled](#disabled) | `disabled` | `boolean` | | When attribute is present, element shows disabled state. |
22
22
  | [error](#error) | `error` | `string` | | When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value. |
23
- | [flexMenuWidth](#flexMenuWidth) | `flexMenuWidth` | `boolean` | | If set, makes dropdown width match the size of the content, rather than the width of the trigger. |
23
+ | [fluid](#fluid) | `fluid` | `boolean` | | When attribute is present, element will be 100% width of container element. |
24
+ | [forceDisplayValue](#forceDisplayValue) | `forceDisplayValue` | `boolean` | false | If declared, the label and value will be visually hidden and the displayValue will render 100% of the time. |
24
25
  | [fullscreenBreakpoint](#fullscreenBreakpoint) | `fullscreenBreakpoint` | `string` | "sm" | Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)<br />at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.<br /><br />When expanded, the dropdown will automatically display in fullscreen mode<br />if the screen size is equal to or smaller than the selected breakpoint. |
25
26
  | [largeFullscreenHeadline](#largeFullscreenHeadline) | `largeFullscreenHeadline` | `boolean` | | If declared, make bib.fullscreen.headline in HeadingDisplay.<br />Otherwise, Heading 600. |
27
+ | [layout](#layout) | | `string` | | |
28
+ | [matchWidth](#matchWidth) | `matchWidth` | `boolean` | false | If declared, the popover and trigger will be set to the same width. |
26
29
  | [multiSelect](#multiSelect) | `multiselect` | `boolean` | | Sets multi-select mode, allowing multiple options to be selected at once. |
27
30
  | [name](#name) | `name` | `string` | | The name for the select element. |
28
31
  | [noCheckmark](#noCheckmark) | `noCheckmark` | `boolean` | | When true, checkmark on selected option will no longer be present. |
@@ -31,19 +34,22 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
31
34
  | [offset](#offset) | `offset` | `number` | "0" | Gap between the trigger element and bib. |
32
35
  | [onDark](#onDark) | `onDark` | `boolean` | | If declared, onDark styles will be applied to the trigger. |
33
36
  | [optionSelected](#optionSelected) | `optionSelected` | `HTMLElement\|Array<HTMLElement>` | | Specifies the current selected menuOption. Default type is `HTMLElement`, changing to `Array<HTMLElement>` when `multiSelect` is true. |
34
- | [placement](#placement) | `placement` | `string` | "bottom-start" | Position where the bib should appear relative to the trigger.<br />Accepted values:<br />"top" \| "right" \| "bottom" \| "left" \|<br />"bottom-start" \| "top-start" \| "top-end" \|<br />"right-start" \| "right-end" \| "bottom-end" \|<br />"left-start" \| "left-end" |
37
+ | [placeholder](#placeholder) | `placeholder` | `string` | | Define custom placeholder text. |
38
+ | [placement](#placement) | `placement` | `string` | "bottom-start" | Position where the bib should appear relative to the trigger.<br />Accepted values:<br />"top" \| "right" \| "bottom" \| "left" \|<br />"bottom-start" \| "top-start" \| "top-end" \|<br />"right-start" \| "right-end" \| "bottom-end" \|<br />"left-start" \| "left-end". |
35
39
  | [required](#required) | `required` | `boolean` | | Populates the `required` attribute on the element. Used for client-side validation. |
36
40
  | [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `string` | | Sets a custom help text message to display for all validityStates. |
37
41
  | [setCustomValidityCustomError](#setCustomValidityCustomError) | `setCustomValidityCustomError` | `string` | | Custom help text message to display when validity = `customError`. |
38
42
  | [setCustomValidityValueMissing](#setCustomValidityValueMissing) | `setCustomValidityValueMissing` | `string` | | Custom help text message to display when validity = `valueMissing`. |
39
43
  | [validity](#validity) | `validity` | `string` | | Specifies the `validityState` this element is in. |
40
- | [value](#value) | `value` | `String\|Array<String>` | | Value selected for the component. Default type is `String`, changing to `Array<String>` when `multiSelect` is true. |
44
+ | [value](#value) | `value` | `string` | | Value selected for the component. |
41
45
 
42
46
  ## Methods
43
47
 
44
48
  | Method | Type | Description |
45
49
  |------------|----------------------------------------|--------------------------------------------------|
50
+ | [hideBib](#hideBib) | `(): void` | Hides the dropdown bib if its open. |
46
51
  | [reset](#reset) | `(): void` | Resets component to initial state. |
52
+ | [showBib](#showBib) | `(): void` | Shows the dropdown bib if there are options to show. |
47
53
  | [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
48
54
 
49
55
  ## Events
@@ -52,24 +58,29 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
52
58
  |-----------------------------|--------------------------------------------------|--------------------------------------------------|
53
59
  | `auroFormElement-validated` | | Notifies that the `validity` and `errorMessage` values have changed. |
54
60
  | `auroSelect-valueSet` | `CustomEvent<any>` | Notifies that the component has a new value set. |
55
- | [input](#input) | `CustomEvent<{ optionSelected: any; value: any; }>` | Notifies every time the value prop of the element is changed. The updated `value` and `optionSelected` will be delivered in `detail` object. |
61
+ | [input](#input) | `CustomEvent<{ optionSelected: any; value: string \| string[]; }>` | Notifies every time the value prop of the element is changed. The updated `value` and `optionSelected` will be delivered in `detail` object. |
56
62
 
57
63
  ## Slots
58
64
 
59
65
  | Name | Description |
60
66
  |---------------------------|--------------------------------------------------|
61
67
  | | Default slot for the menu content. |
68
+ | `ariaLabel.bib.close` | Sets aria-label on close button in fullscreen bib |
62
69
  | `bib.fullscreen.headline` | Defines the headline to display above menu-options |
70
+ | [displayValue](#displayValue) | Allows custom HTML content to display the selected value when select is not focused. |
63
71
  | [helpText](#helpText) | Defines the content of the helpText. |
64
72
  | [label](#label) | Defines the content of the label. |
65
- | [placeholder](#placeholder) | Defines the content of the placeholder to be shown when there is no value |
73
+ | [optionalLabel](#optionalLabel) | Allows overriding the optional display text "(optional)", which appears next to the label. |
66
74
  | [valueText](#valueText) | Dropdown value text display. |
67
75
 
68
76
  ## CSS Shadow Parts
69
77
 
70
- | Part | Description |
71
- |------------|-----------------------------|
72
- | [helpText](#helpText) | Apply CSS to the help text. |
78
+ | Part | Description |
79
+ |-------------------|--------------------------------------------------|
80
+ | [dropdownChevron](#dropdownChevron) | Apply CSS to the collapsed/expanded state icon container. |
81
+ | [dropdownSize](#dropdownSize) | Apply size styles to the dropdown bib. (height, width, maxHeight, maxWidth only) |
82
+ | [dropdownTrigger](#dropdownTrigger) | Apply CSS to the trigger content container. |
83
+ | [helpText](#helpText) | Apply CSS to the help text. |
73
84
  <!-- AURO-GENERATED-CONTENT:END -->
74
85
 
75
86
  ## API Examples
@@ -82,6 +93,7 @@ A baseline `auro-select` using `auro-menu` and `auro-menuoption` elements.
82
93
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
83
94
  <!-- The below content is automatically added from ./../apiExamples/basic.html -->
84
95
  <auro-select>
96
+ <span slot="ariaLabel.bib.close">Close Popup</span>
85
97
  <span slot="bib.fullscreen.headline">Bib Headline</span>
86
98
  <span slot="label">Select Example</span>
87
99
  <auro-menu>
@@ -119,6 +131,7 @@ A baseline `auro-select` using `auro-menu` and `auro-menuoption` elements.
119
131
 
120
132
  ```html
121
133
  <auro-select>
134
+ <span slot="ariaLabel.bib.close">Close Popup</span>
122
135
  <span slot="bib.fullscreen.headline">Bib Headline</span>
123
136
  <span slot="label">Select Example</span>
124
137
  <auro-menu>
@@ -402,10 +415,9 @@ When the validity check fails the validityState, equals `valueMissing`. The erro
402
415
  <div class="exampleWrapper">
403
416
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/required.html) -->
404
417
  <!-- The below content is automatically added from ./../apiExamples/required.html -->
405
- <auro-select required setCustomValidityValueMissing="Custom required validation error message.">
418
+ <auro-select required setCustomValidityValueMissing="Custom required validation error message." placeholder="Placeholder Text">
406
419
  <span slot="bib.fullscreen.headline">Bib Headline</span>
407
- <span slot="label">required field</span>
408
- <label slot="placeholder">Placeholder Text</label>
420
+ <span slot="label">Label</span>
409
421
  <auro-menu>
410
422
  <auro-menuoption value="stops">Stops</auro-menuoption>
411
423
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -423,10 +435,53 @@ When the validity check fails the validityState, equals `valueMissing`. The erro
423
435
  <!-- The below code snippet is automatically added from ./../apiExamples/required.html -->
424
436
 
425
437
  ```html
426
- <auro-select required setCustomValidityValueMissing="Custom required validation error message.">
438
+ <auro-select required setCustomValidityValueMissing="Custom required validation error message." placeholder="Placeholder Text">
427
439
  <span slot="bib.fullscreen.headline">Bib Headline</span>
428
- <span slot="label">required field</span>
429
- <label slot="placeholder">Placeholder Text</label>
440
+ <span slot="label">Label</span>
441
+ <auro-menu>
442
+ <auro-menuoption value="stops">Stops</auro-menuoption>
443
+ <auro-menuoption value="price">Price</auro-menuoption>
444
+ <auro-menuoption value="duration">Duration</auro-menuoption>
445
+ <auro-menuoption value="departure">Departure</auro-menuoption>
446
+ <auro-menuoption value="arrival">Arrival</auro-menuoption>
447
+ <auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
448
+ </auro-menu>
449
+ </auro-select>
450
+ ```
451
+ <!-- AURO-GENERATED-CONTENT:END -->
452
+ </auro-accordion>
453
+
454
+ ### Custom optional label <a name="optionalLabel"></a>
455
+ The `<auro-select>` supports an `optionalLabel` slot, where users can can override the default `(optional)` notification text.
456
+
457
+ <div class="exampleWrapper">
458
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/optionalLabel.html) -->
459
+ <!-- The below content is automatically added from ./../apiExamples/optionalLabel.html -->
460
+ <auro-select>
461
+ <span slot="bib.fullscreen.headline">Bib Headline</span>
462
+ <span slot="label">Please select a preference</span>
463
+ <span slot="optionalLabel" style="color: grey; font-size: small"> - optional</span>
464
+ <auro-menu>
465
+ <auro-menuoption value="stops">Stops</auro-menuoption>
466
+ <auro-menuoption value="price">Price</auro-menuoption>
467
+ <auro-menuoption value="duration">Duration</auro-menuoption>
468
+ <auro-menuoption value="departure">Departure</auro-menuoption>
469
+ <auro-menuoption value="arrival">Arrival</auro-menuoption>
470
+ <auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
471
+ </auro-menu>
472
+ </auro-select>
473
+ <!-- AURO-GENERATED-CONTENT:END -->
474
+ </div>
475
+ <auro-accordion alignRight>
476
+ <span slot="trigger">See code</span>
477
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/optionalLabel.html) -->
478
+ <!-- The below code snippet is automatically added from ./../apiExamples/optionalLabel.html -->
479
+
480
+ ```html
481
+ <auro-select>
482
+ <span slot="bib.fullscreen.headline">Bib Headline</span>
483
+ <span slot="label">Please select a preference</span>
484
+ <span slot="optionalLabel" style="color: grey; font-size: small"> - optional</span>
430
485
  <auro-menu>
431
486
  <auro-menuoption value="stops">Stops</auro-menuoption>
432
487
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -446,10 +501,9 @@ Use the `error` boolean attribute to toggle the error UI.
446
501
  <div class="exampleWrapper">
447
502
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/error.html) -->
448
503
  <!-- The below content is automatically added from ./../apiExamples/error.html -->
449
- <auro-select error="Custom error message">
450
- <span slot="label">error select example</span>
504
+ <auro-select error="Custom error message" placeholder="Placeholder Text">
451
505
  <span slot="bib.fullscreen.headline">Bib Headline</span>
452
- <label slot="placeholder">Placeholder Text</label>
506
+ <span slot="label">Label</span>
453
507
  <auro-menu>
454
508
  <auro-menuoption value="stops">Stops</auro-menuoption>
455
509
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -464,10 +518,9 @@ Use the `error` boolean attribute to toggle the error UI.
464
518
  <div class="exampleWrapper--ondark" aria-hidden>
465
519
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkError.html) -->
466
520
  <!-- The below content is automatically added from ./../apiExamples/onDarkError.html -->
467
- <auro-select onDark error="Custom error message">
468
- <span slot="label">error select example</span>
521
+ <auro-select onDark error="Custom error message" placeholder="Placeholder Text">
469
522
  <span slot="bib.fullscreen.headline">Bib Headline</span>
470
- <label slot="placeholder">Placeholder Text</label>
523
+ <span slot="label">Label</span>
471
524
  <auro-menu>
472
525
  <auro-menuoption value="stops">Stops</auro-menuoption>
473
526
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -485,10 +538,9 @@ Use the `error` boolean attribute to toggle the error UI.
485
538
  <!-- The below code snippet is automatically added from ./../apiExamples/error.html -->
486
539
 
487
540
  ```html
488
- <auro-select error="Custom error message">
489
- <span slot="label">error select example</span>
541
+ <auro-select error="Custom error message" placeholder="Placeholder Text">
490
542
  <span slot="bib.fullscreen.headline">Bib Headline</span>
491
- <label slot="placeholder">Placeholder Text</label>
543
+ <span slot="label">Label</span>
492
544
  <auro-menu>
493
545
  <auro-menuoption value="stops">Stops</auro-menuoption>
494
546
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -502,10 +554,9 @@ Use the `error` boolean attribute to toggle the error UI.
502
554
  <!-- AURO-GENERATED-CONTENT:END -->
503
555
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkError.html) -->
504
556
  <!-- The below content is automatically added from ./../apiExamples/onDarkError.html -->
505
- <auro-select onDark error="Custom error message">
506
- <span slot="label">error select example</span>
557
+ <auro-select onDark error="Custom error message" placeholder="Placeholder Text">
507
558
  <span slot="bib.fullscreen.headline">Bib Headline</span>
508
- <label slot="placeholder">Placeholder Text</label>
559
+ <span slot="label">Label</span>
509
560
  <auro-menu>
510
561
  <auro-menuoption value="stops">Stops</auro-menuoption>
511
562
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -524,10 +575,9 @@ Use the `disabled` boolean attribute to toggle the disabled UI.
524
575
  <div class="exampleWrapper">
525
576
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/disabled.html) -->
526
577
  <!-- The below content is automatically added from ./../apiExamples/disabled.html -->
527
- <auro-select disabled>
578
+ <auro-select disabled placeholder="Placeholder Text">
528
579
  <span slot="bib.fullscreen.headline">Bib Headline</span>
529
- <label slot="placeholder">Placeholder Text</label>
530
- <span slot="label">disabled select example</span>
580
+ <span slot="label">Label</span>
531
581
  <auro-menu>
532
582
  <auro-menuoption value="stops">Stops</auro-menuoption>
533
583
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -542,10 +592,9 @@ Use the `disabled` boolean attribute to toggle the disabled UI.
542
592
  <div class="exampleWrapper--ondark" aria-hidden>
543
593
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkDisabled.html) -->
544
594
  <!-- The below content is automatically added from ./../apiExamples/onDarkDisabled.html -->
545
- <auro-select onDark disabled>
595
+ <auro-select onDark disabled placeholder="Placeholder Text">
546
596
  <span slot="bib.fullscreen.headline">Bib Headline</span>
547
- <label slot="placeholder">Placeholder Text</label>
548
- <span slot="label">disabled select example</span>
597
+ <span slot="label">Label</span>
549
598
  <auro-menu>
550
599
  <auro-menuoption value="stops">Stops</auro-menuoption>
551
600
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -563,10 +612,9 @@ Use the `disabled` boolean attribute to toggle the disabled UI.
563
612
  <!-- The below code snippet is automatically added from ./../apiExamples/disabled.html -->
564
613
 
565
614
  ```html
566
- <auro-select disabled>
615
+ <auro-select disabled placeholder="Placeholder Text">
567
616
  <span slot="bib.fullscreen.headline">Bib Headline</span>
568
- <label slot="placeholder">Placeholder Text</label>
569
- <span slot="label">disabled select example</span>
617
+ <span slot="label">Label</span>
570
618
  <auro-menu>
571
619
  <auro-menuoption value="stops">Stops</auro-menuoption>
572
620
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -580,10 +628,9 @@ Use the `disabled` boolean attribute to toggle the disabled UI.
580
628
  <!-- AURO-GENERATED-CONTENT:END -->
581
629
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkDisabled.html) -->
582
630
  <!-- The below content is automatically added from ./../apiExamples/onDarkDisabled.html -->
583
- <auro-select onDark disabled>
631
+ <auro-select onDark disabled placeholder="Placeholder Text">
584
632
  <span slot="bib.fullscreen.headline">Bib Headline</span>
585
- <label slot="placeholder">Placeholder Text</label>
586
- <span slot="label">disabled select example</span>
633
+ <span slot="label">Label</span>
587
634
  <auro-menu>
588
635
  <auro-menuoption value="stops">Stops</auro-menuoption>
589
636
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -640,10 +687,9 @@ Use the `flexMenuWidth` boolean attribute to toggle the width of the `<auro-sele
640
687
  <div class="exampleWrapper">
641
688
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/flexMenuWidth.html) -->
642
689
  <!-- The below content is automatically added from ../apiExamples/flexMenuWidth.html -->
643
- <auro-select flexMenuWidth id="flexMenuWidthExample">
644
- <span slot="label">flexMenuWidth select example</span>
690
+ <auro-select flexMenuWidth id="flexMenuWidthExample" placeholder="Placeholder Text">
645
691
  <span slot="bib.fullscreen.headline">Bib Headline</span>
646
- <label slot="placeholder">Placeholder Text</label>
692
+ <span slot="label">Label</span>
647
693
  <auro-menu>
648
694
  <auro-menuoption value="united states">United States has a country code of (+1)</auro-menuoption>
649
695
  <auro-menuoption value="costa rica">Costa Rica has a country code of (+506)</auro-menuoption>
@@ -665,10 +711,9 @@ Use the `flexMenuWidth` boolean attribute to toggle the width of the `<auro-sele
665
711
  <!-- The below code snippet is automatically added from ../apiExamples/flexMenuWidth.html -->
666
712
 
667
713
  ```html
668
- <auro-select flexMenuWidth id="flexMenuWidthExample">
669
- <span slot="label">flexMenuWidth select example</span>
714
+ <auro-select flexMenuWidth id="flexMenuWidthExample" placeholder="Placeholder Text">
670
715
  <span slot="bib.fullscreen.headline">Bib Headline</span>
671
- <label slot="placeholder">Placeholder Text</label>
716
+ <span slot="label">Label</span>
672
717
  <auro-menu>
673
718
  <auro-menuoption value="united states">United States has a country code of (+1)</auro-menuoption>
674
719
  <auro-menuoption value="costa rica">Costa Rica has a country code of (+506)</auro-menuoption>
@@ -731,16 +776,15 @@ Use the `label` slot to give your users contextual information about their selec
731
776
  </auro-accordion>
732
777
 
733
778
  #### helpText <a name="helpText"></a>
734
- Use the `helptext` slot to provide additional information back to your user about their selection option(s).
779
+ Use the `helpText` slot to provide additional information back to your user about their selection option(s).
735
780
 
736
781
  <div class="exampleWrapper">
737
782
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/helpText.html) -->
738
783
  <!-- The below content is automatically added from ./../apiExamples/helpText.html -->
739
- <auro-select>
784
+ <auro-select placeholder="Placeholder Text">
740
785
  <span slot="bib.fullscreen.headline">Bib Headline</span>
741
- <label slot="placeholder">Placeholder Text</label>
786
+ <span slot="label">Label</span>
742
787
  <span slot="helpText">Custom help text message.</span>
743
- <span slot="label">helpText select example</span>
744
788
  <auro-menu>
745
789
  <auro-menuoption value="stops">Stops</auro-menuoption>
746
790
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -758,11 +802,10 @@ Use the `helptext` slot to provide additional information back to your user abou
758
802
  <!-- The below code snippet is automatically added from ./../apiExamples/helpText.html -->
759
803
 
760
804
  ```html
761
- <auro-select>
805
+ <auro-select placeholder="Placeholder Text">
762
806
  <span slot="bib.fullscreen.headline">Bib Headline</span>
763
- <label slot="placeholder">Placeholder Text</label>
807
+ <span slot="label">Label</span>
764
808
  <span slot="helpText">Custom help text message.</span>
765
- <span slot="label">helpText select example</span>
766
809
  <auro-menu>
767
810
  <auro-menuoption value="stops">Stops</auro-menuoption>
768
811
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -787,9 +830,9 @@ Use the `reset()` method to reset the `<auro-select>`'s `value` and `validity` s
787
830
  <!-- The below content is automatically added from ./../apiExamples/resetState.html -->
788
831
  <auro-button id="resetStateBtn">Reset</auro-button>
789
832
  <br/><br/>
790
- <auro-select id="resetStateExample" value="price">
833
+ <auro-select id="resetStateExample" value="price" placeholder="Placeholder Text">
791
834
  <span slot="bib.fullscreen.headline">Bib Headline</span>
792
- <label slot="placeholder">Placeholder Text</label>
835
+ <span slot="label">Label</span>
793
836
  <span slot="label">Name</span>
794
837
  <auro-menu>
795
838
  <auro-menuoption value="stops">Stops</auro-menuoption>
@@ -810,9 +853,9 @@ Use the `reset()` method to reset the `<auro-select>`'s `value` and `validity` s
810
853
  ```html
811
854
  <auro-button id="resetStateBtn">Reset</auro-button>
812
855
  <br/><br/>
813
- <auro-select id="resetStateExample" value="price">
856
+ <auro-select id="resetStateExample" value="price" placeholder="Placeholder Text">
814
857
  <span slot="bib.fullscreen.headline">Bib Headline</span>
815
- <label slot="placeholder">Placeholder Text</label>
858
+ <span slot="label">Label</span>
816
859
  <span slot="label">Name</span>
817
860
  <auro-menu>
818
861
  <auro-menuoption value="stops">Stops</auro-menuoption>
@@ -847,10 +890,9 @@ The following example illustrates how a user may query the `element.value` or `e
847
890
  <div class="exampleWrapper">
848
891
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/valueExtraction.html) -->
849
892
  <!-- The below content is automatically added from ./../apiExamples/valueExtraction.html -->
850
- <auro-select id="valueExtraction">
893
+ <auro-select id="valueExtraction" placeholder="Placeholder Text">
851
894
  <span slot="bib.fullscreen.headline">Bib Headline</span>
852
- <label slot="placeholder">Placeholder Text</label>
853
- <span slot="label">Select Example</span>
895
+ <span slot="label">Label</span>
854
896
  <auro-menu>
855
897
  <auro-menuoption value="stops">Stops</auro-menuoption>
856
898
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -869,10 +911,9 @@ The following example illustrates how a user may query the `element.value` or `e
869
911
  <!-- The below code snippet is automatically added from ./../apiExamples/valueExtraction.html -->
870
912
 
871
913
  ```html
872
- <auro-select id="valueExtraction">
914
+ <auro-select id="valueExtraction" placeholder="Placeholder Text">
873
915
  <span slot="bib.fullscreen.headline">Bib Headline</span>
874
- <label slot="placeholder">Placeholder Text</label>
875
- <span slot="label">Select Example</span>
916
+ <span slot="label">Label</span>
876
917
  <auro-menu>
877
918
  <auro-menuoption value="stops">Stops</auro-menuoption>
878
919
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -911,10 +952,9 @@ This example programmatically adds the `error` state when a user selects an opti
911
952
  <div class="exampleWrapper">
912
953
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/customErrorValidity.html) -->
913
954
  <!-- The below content is automatically added from ./../apiExamples/customErrorValidity.html -->
914
- <auro-select id="primaryError">
955
+ <auro-select id="primaryError" placeholder="Placeholder Text">
915
956
  <span slot="bib.fullscreen.headline">Bib Headline</span>
916
- <label slot="placeholder">Placeholder Text</label>
917
- <span slot="label">Select Example</span>
957
+ <span slot="label">Label</span>
918
958
  <auro-menu>
919
959
  <auro-menuoption value="1">1</auro-menuoption>
920
960
  <auro-menuoption value="2">2</auro-menuoption>
@@ -932,10 +972,9 @@ This example programmatically adds the `error` state when a user selects an opti
932
972
  <!-- The below code snippet is automatically added from ./../apiExamples/customErrorValidity.html -->
933
973
 
934
974
  ```html
935
- <auro-select id="primaryError">
975
+ <auro-select id="primaryError" placeholder="Placeholder Text">
936
976
  <span slot="bib.fullscreen.headline">Bib Headline</span>
937
- <label slot="placeholder">Placeholder Text</label>
938
- <span slot="label">Select Example</span>
977
+ <span slot="label">Label</span>
939
978
  <auro-menu>
940
979
  <auro-menuoption value="1">1</auro-menuoption>
941
980
  <auro-menuoption value="2">2</auro-menuoption>
@@ -1034,57 +1073,56 @@ export function auroMenuLoadingExample() {
1034
1073
  <!-- AURO-GENERATED-CONTENT:END -->
1035
1074
  </auro-accordion>
1036
1075
 
1037
- ### valueText <a name="valueText"></a>
1038
- The label for selected option can be customized using `valueText` slot.
1039
- This slot can be manipulated on the `input` event which delivers the new value and selected `auro-menuoption` element in the `detail` object.
1076
+ ### displayValue <a name="displayValue"></a>
1077
+ The label for selected option can be customized using `displayValue` slot under `<menuoption>.
1040
1078
 
1041
1079
  <div class="exampleWrapper">
1042
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/valueText.html) -->
1043
- <!-- The below content is automatically added from ./../apiExamples/valueText.html -->
1044
- <auro-select id="valueTextExample" autocomplete="address-level1">
1080
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/displayValue.html) -->
1081
+ <!-- The below content is automatically added from ./../apiExamples/displayValue.html -->
1082
+ <auro-select id="displayValueExample" autocomplete="address-level1">
1045
1083
  <span slot="bib.fullscreen.headline">Select Your Gender</span>
1046
1084
  <span slot="label">Gender</span>
1047
- <span slot="valueText"></span>
1085
+ <span slot="displayValue"></span>
1048
1086
  <auro-menu>
1049
- <auro-menuoption value="m" data-display="Male">M - Male</auro-menuoption>
1050
- <auro-menuoption value="f" data-display="Female">F - Female</auro-menuoption>
1051
- <auro-menuoption value="x" data-display="Unspecified">X - Unspecified</auro-menuoption>
1052
- <auro-menuoption value="u" data-display="Undisclosed">U - Undisclosed</auro-menuoption>
1087
+ <auro-menuoption value="m" data-display="Male">M - Male
1088
+ <span slot="displayValue">Male</span>
1089
+ </auro-menuoption>
1090
+ <auro-menuoption value="f" data-display="Female">F - Female
1091
+ <span slot="displayValue">Female</span>
1092
+ </auro-menuoption>
1093
+ <auro-menuoption value="x" data-display="Unspecified">X - Unspecified
1094
+ <span slot="displayValue">Unspecified</span>
1095
+ </auro-menuoption>
1096
+ <auro-menuoption value="u" data-display="Undisclosed">U - Undisclosed
1097
+ <span slot="displayValue">Undisclosed</span>
1098
+ </auro-menuoption>
1053
1099
  </auro-menu>
1054
1100
  </auro-select>
1055
1101
  <!-- AURO-GENERATED-CONTENT:END -->
1056
1102
  </div>
1057
1103
  <auro-accordion alignRight>
1058
1104
  <span slot="trigger">See code</span>
1059
- <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/valueText.js) -->
1060
- <!-- The below code snippet is automatically added from ./../apiExamples/valueText.js -->
1061
-
1062
- ```js
1063
- export function valueTextExample() {
1064
- const onValueTextSelectInput = (e) => {
1065
- const valueText = e.target.querySelector("[slot=valueText]");
1066
-
1067
- valueText.textContent = e.detail.optionSelected.dataset.display;
1068
- };
1069
-
1070
- const select = document.querySelector("#valueTextExample");
1071
- select.addEventListener('input', onValueTextSelectInput);
1072
- }
1073
- ```
1074
- <!-- AURO-GENERATED-CONTENT:END -->
1075
- <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/valueText.html) -->
1076
- <!-- The below code snippet is automatically added from ./../apiExamples/valueText.html -->
1105
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/displayValue.html) -->
1106
+ <!-- The below code snippet is automatically added from ./../apiExamples/displayValue.html -->
1077
1107
 
1078
1108
  ```html
1079
- <auro-select id="valueTextExample" autocomplete="address-level1">
1109
+ <auro-select id="displayValueExample" autocomplete="address-level1">
1080
1110
  <span slot="bib.fullscreen.headline">Select Your Gender</span>
1081
1111
  <span slot="label">Gender</span>
1082
- <span slot="valueText"></span>
1112
+ <span slot="displayValue"></span>
1083
1113
  <auro-menu>
1084
- <auro-menuoption value="m" data-display="Male">M - Male</auro-menuoption>
1085
- <auro-menuoption value="f" data-display="Female">F - Female</auro-menuoption>
1086
- <auro-menuoption value="x" data-display="Unspecified">X - Unspecified</auro-menuoption>
1087
- <auro-menuoption value="u" data-display="Undisclosed">U - Undisclosed</auro-menuoption>
1114
+ <auro-menuoption value="m" data-display="Male">M - Male
1115
+ <span slot="displayValue">Male</span>
1116
+ </auro-menuoption>
1117
+ <auro-menuoption value="f" data-display="Female">F - Female
1118
+ <span slot="displayValue">Female</span>
1119
+ </auro-menuoption>
1120
+ <auro-menuoption value="x" data-display="Unspecified">X - Unspecified
1121
+ <span slot="displayValue">Unspecified</span>
1122
+ </auro-menuoption>
1123
+ <auro-menuoption value="u" data-display="Undisclosed">U - Undisclosed
1124
+ <span slot="displayValue">Undisclosed</span>
1125
+ </auro-menuoption>
1088
1126
  </auro-menu>
1089
1127
  </auro-select>
1090
1128
  ```
@@ -1105,7 +1143,8 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
1105
1143
  <div style="width: 350px">
1106
1144
  <auro-select offset="20" noFlip placement="bottom-end">
1107
1145
  <span slot="bib.fullscreen.headline">Bib Headline</span>
1108
- <span slot="label">bottom-end bib with 20px offset and noFlip</span>
1146
+ <span slot="label">Label</span>
1147
+ <span slot="helpText">bottom-end bib with 20px offset and noFlip</span>
1109
1148
  <auro-menu>
1110
1149
  <auro-menuoption value="stops">Stops</auro-menuoption>
1111
1150
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -1117,7 +1156,8 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
1117
1156
  </auro-select>
1118
1157
  <auro-select offset="20" placement="bottom-end">
1119
1158
  <span slot="bib.fullscreen.headline">Bib Headline</span>
1120
- <span slot="label">bottom-end bib with 20px offset and flip</span>
1159
+ <span slot="label">Label</span>
1160
+ <span slot="helpText">bottom-end bib with 20px offset and flip</span>
1121
1161
  <auro-menu>
1122
1162
  <auro-menuoption value="stops">Stops</auro-menuoption>
1123
1163
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -1129,7 +1169,8 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
1129
1169
  </auro-select>
1130
1170
  <auro-select offset="20" noFlip placement="right" autoPlacement noFlip >
1131
1171
  <span slot="bib.fullscreen.headline">Bib Headline</span>
1132
- <span slot="label">right bib with 20px offset, noFlip and autoPlacement</span>
1172
+ <span slot="label">Label</span>
1173
+ <span slot="helpText">right bib with 20px offset, noFlip and autoPlacement</span>
1133
1174
  <auro-menu>
1134
1175
  <auro-menuoption value="stops">Stops</auro-menuoption>
1135
1176
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -1151,7 +1192,8 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
1151
1192
  <div style="width: 350px">
1152
1193
  <auro-select offset="20" noFlip placement="bottom-end">
1153
1194
  <span slot="bib.fullscreen.headline">Bib Headline</span>
1154
- <span slot="label">bottom-end bib with 20px offset and noFlip</span>
1195
+ <span slot="label">Label</span>
1196
+ <span slot="helpText">bottom-end bib with 20px offset and noFlip</span>
1155
1197
  <auro-menu>
1156
1198
  <auro-menuoption value="stops">Stops</auro-menuoption>
1157
1199
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -1163,7 +1205,8 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
1163
1205
  </auro-select>
1164
1206
  <auro-select offset="20" placement="bottom-end">
1165
1207
  <span slot="bib.fullscreen.headline">Bib Headline</span>
1166
- <span slot="label">bottom-end bib with 20px offset and flip</span>
1208
+ <span slot="label">Label</span>
1209
+ <span slot="helpText">bottom-end bib with 20px offset and flip</span>
1167
1210
  <auro-menu>
1168
1211
  <auro-menuoption value="stops">Stops</auro-menuoption>
1169
1212
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -1175,7 +1218,8 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
1175
1218
  </auro-select>
1176
1219
  <auro-select offset="20" noFlip placement="right" autoPlacement noFlip >
1177
1220
  <span slot="bib.fullscreen.headline">Bib Headline</span>
1178
- <span slot="label">right bib with 20px offset, noFlip and autoPlacement</span>
1221
+ <span slot="label">Label</span>
1222
+ <span slot="helpText">right bib with 20px offset, noFlip and autoPlacement</span>
1179
1223
  <auro-menu>
1180
1224
  <auro-menuoption value="stops">Stops</auro-menuoption>
1181
1225
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -1317,10 +1361,9 @@ The following example listens for the `auroMenu-selectedOption` event. Once trig
1317
1361
  <div class="exampleWrapper">
1318
1362
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/valueAlert.html) -->
1319
1363
  <!-- The below content is automatically added from ./../apiExamples/valueAlert.html -->
1320
- <auro-select id="valueAlert">
1321
- <span slot="label">Select Example</span>
1364
+ <auro-select id="valueAlert" placeholder="Placeholder Text">
1322
1365
  <span slot="bib.fullscreen.headline">Bib Headline</span>
1323
- <label slot="placeholder">Placeholder Text</label>
1366
+ <span slot="label">Label</span>
1324
1367
  <auro-menu id="valueAlertMenu">
1325
1368
  <auro-menuoption value="stops">Stops</auro-menuoption>
1326
1369
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -1338,10 +1381,9 @@ The following example listens for the `auroMenu-selectedOption` event. Once trig
1338
1381
  <!-- The below code snippet is automatically added from ./../apiExamples/valueAlert.html -->
1339
1382
 
1340
1383
  ```html
1341
- <auro-select id="valueAlert">
1342
- <span slot="label">Select Example</span>
1384
+ <auro-select id="valueAlert" placeholder="Placeholder Text">
1343
1385
  <span slot="bib.fullscreen.headline">Bib Headline</span>
1344
- <label slot="placeholder">Placeholder Text</label>
1386
+ <span slot="label">Label</span>
1345
1387
  <auro-menu id="valueAlertMenu">
1346
1388
  <auro-menuoption value="stops">Stops</auro-menuoption>
1347
1389
  <auro-menuoption value="price">Price</auro-menuoption>