@aurodesignsystem-dev/auro-formkit 0.0.0-pr593.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 (268) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +201 -0
  3. package/NOTICE +2 -0
  4. package/README.md +314 -0
  5. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +39 -0
  6. package/components/bibtemplate/dist/headerVersion.d.ts +2 -0
  7. package/components/bibtemplate/dist/iconVersion.d.ts +2 -0
  8. package/components/bibtemplate/dist/index.d.ts +2 -0
  9. package/components/bibtemplate/dist/index.js +709 -0
  10. package/components/bibtemplate/dist/registered.js +709 -0
  11. package/components/bibtemplate/dist/styles/color-css.d.ts +2 -0
  12. package/components/bibtemplate/dist/styles/style-css.d.ts +2 -0
  13. package/components/bibtemplate/dist/styles/tokens-css.d.ts +2 -0
  14. package/components/checkbox/README.md +142 -0
  15. package/components/checkbox/demo/api.html +55 -0
  16. package/components/checkbox/demo/api.js +17 -0
  17. package/components/checkbox/demo/api.md +401 -0
  18. package/components/checkbox/demo/api.min.js +1833 -0
  19. package/components/checkbox/demo/index.html +51 -0
  20. package/components/checkbox/demo/index.js +8 -0
  21. package/components/checkbox/demo/index.md +327 -0
  22. package/components/checkbox/demo/index.min.js +1808 -0
  23. package/components/checkbox/demo/readme.html +50 -0
  24. package/components/checkbox/demo/readme.md +142 -0
  25. package/components/checkbox/dist/auro-checkbox-group.d.ts +166 -0
  26. package/components/checkbox/dist/auro-checkbox.d.ts +129 -0
  27. package/components/checkbox/dist/helptextVersion.d.ts +2 -0
  28. package/components/checkbox/dist/index.d.ts +3 -0
  29. package/components/checkbox/dist/index.js +1757 -0
  30. package/components/checkbox/dist/registered.js +1758 -0
  31. package/components/checkbox/dist/styles/auro-checkbox-css.d.ts +2 -0
  32. package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts +2 -0
  33. package/components/checkbox/dist/styles/color-css.d.ts +2 -0
  34. package/components/checkbox/dist/styles/colorGroup-css.d.ts +2 -0
  35. package/components/checkbox/dist/styles/tokens-css.d.ts +2 -0
  36. package/components/combobox/README.md +152 -0
  37. package/components/combobox/demo/api.html +57 -0
  38. package/components/combobox/demo/api.js +36 -0
  39. package/components/combobox/demo/api.md +1209 -0
  40. package/components/combobox/demo/api.min.js +15117 -0
  41. package/components/combobox/demo/index.html +56 -0
  42. package/components/combobox/demo/index.js +26 -0
  43. package/components/combobox/demo/index.md +621 -0
  44. package/components/combobox/demo/index.min.js +14971 -0
  45. package/components/combobox/demo/readme.html +50 -0
  46. package/components/combobox/demo/readme.md +152 -0
  47. package/components/combobox/dist/auro-combobox.d.ts +384 -0
  48. package/components/combobox/dist/bibtemplateVersion.d.ts +2 -0
  49. package/components/combobox/dist/dropdownVersion.d.ts +2 -0
  50. package/components/combobox/dist/index.d.ts +2 -0
  51. package/components/combobox/dist/index.js +13554 -0
  52. package/components/combobox/dist/inputVersion.d.ts +2 -0
  53. package/components/combobox/dist/registered.js +13556 -0
  54. package/components/combobox/dist/styles/style-css.d.ts +2 -0
  55. package/components/counter/README.md +146 -0
  56. package/components/counter/demo/api.html +54 -0
  57. package/components/counter/demo/api.js +20 -0
  58. package/components/counter/demo/api.md +584 -0
  59. package/components/counter/demo/api.min.js +7111 -0
  60. package/components/counter/demo/index.html +54 -0
  61. package/components/counter/demo/index.js +21 -0
  62. package/components/counter/demo/index.md +244 -0
  63. package/components/counter/demo/index.min.js +7075 -0
  64. package/components/counter/demo/readme.html +50 -0
  65. package/components/counter/demo/readme.md +146 -0
  66. package/components/counter/dist/auro-counter-button.d.ts +12 -0
  67. package/components/counter/dist/auro-counter-group.d.ts +235 -0
  68. package/components/counter/dist/auro-counter-wrapper.d.ts +22 -0
  69. package/components/counter/dist/auro-counter.d.ts +97 -0
  70. package/components/counter/dist/bibtemplateVersion.d.ts +2 -0
  71. package/components/counter/dist/dropdownVersion.d.ts +2 -0
  72. package/components/counter/dist/iconVersion.d.ts +2 -0
  73. package/components/counter/dist/index.d.ts +3 -0
  74. package/components/counter/dist/index.js +7018 -0
  75. package/components/counter/dist/registered.js +7019 -0
  76. package/components/counter/dist/styles/color-css.d.ts +2 -0
  77. package/components/counter/dist/styles/counter-button-color-css.d.ts +2 -0
  78. package/components/counter/dist/styles/counter-button-css.d.ts +2 -0
  79. package/components/counter/dist/styles/counter-group-css.d.ts +2 -0
  80. package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +2 -0
  81. package/components/counter/dist/styles/counter-wrapper-css.d.ts +2 -0
  82. package/components/counter/dist/styles/style-css.d.ts +2 -0
  83. package/components/counter/dist/styles/tokens-css.d.ts +2 -0
  84. package/components/datepicker/README.md +140 -0
  85. package/components/datepicker/demo/api.html +57 -0
  86. package/components/datepicker/demo/api.js +35 -0
  87. package/components/datepicker/demo/api.md +1479 -0
  88. package/components/datepicker/demo/api.min.js +24534 -0
  89. package/components/datepicker/demo/index.html +56 -0
  90. package/components/datepicker/demo/index.js +19 -0
  91. package/components/datepicker/demo/index.md +112 -0
  92. package/components/datepicker/demo/index.min.js +24255 -0
  93. package/components/datepicker/demo/readme.html +50 -0
  94. package/components/datepicker/demo/readme.md +140 -0
  95. package/components/datepicker/dist/auro-calendar-cell.d.ts +163 -0
  96. package/components/datepicker/dist/auro-calendar-month.d.ts +20 -0
  97. package/components/datepicker/dist/auro-calendar.d.ts +133 -0
  98. package/components/datepicker/dist/auro-datepicker.d.ts +466 -0
  99. package/components/datepicker/dist/bibtemplateVersion.d.ts +2 -0
  100. package/components/datepicker/dist/buttonVersion.d.ts +2 -0
  101. package/components/datepicker/dist/dropdownVersion.d.ts +2 -0
  102. package/components/datepicker/dist/index.d.ts +2 -0
  103. package/components/datepicker/dist/index.js +24185 -0
  104. package/components/datepicker/dist/inputVersion.d.ts +2 -0
  105. package/components/datepicker/dist/popoverVersion.d.ts +2 -0
  106. package/components/datepicker/dist/registered.js +24185 -0
  107. package/components/datepicker/dist/styles/color-calendar-css.d.ts +2 -0
  108. package/components/datepicker/dist/styles/color-cell-css.d.ts +2 -0
  109. package/components/datepicker/dist/styles/color-css.d.ts +2 -0
  110. package/components/datepicker/dist/styles/color-month-css.d.ts +2 -0
  111. package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts +2 -0
  112. package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts +2 -0
  113. package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts +2 -0
  114. package/components/datepicker/dist/styles/style-css.d.ts +2 -0
  115. package/components/datepicker/dist/styles/tokens-css.d.ts +2 -0
  116. package/components/datepicker/dist/utilities.d.ts +78 -0
  117. package/components/datepicker/dist/utilitiesCalendar.d.ts +38 -0
  118. package/components/datepicker/dist/utilitiesCalendarRender.d.ts +50 -0
  119. package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts +5 -0
  120. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +60 -0
  121. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts +1 -0
  122. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +57 -0
  123. package/components/dropdown/README.md +144 -0
  124. package/components/dropdown/demo/api.html +57 -0
  125. package/components/dropdown/demo/api.js +21 -0
  126. package/components/dropdown/demo/api.md +1434 -0
  127. package/components/dropdown/demo/api.min.js +3826 -0
  128. package/components/dropdown/demo/index.html +55 -0
  129. package/components/dropdown/demo/index.js +19 -0
  130. package/components/dropdown/demo/index.md +510 -0
  131. package/components/dropdown/demo/index.min.js +3789 -0
  132. package/components/dropdown/demo/readme.html +50 -0
  133. package/components/dropdown/demo/readme.md +144 -0
  134. package/components/dropdown/dist/auro-dropdown.d.ts +406 -0
  135. package/components/dropdown/dist/auro-dropdownBib.d.ts +46 -0
  136. package/components/dropdown/dist/dropdownVersion.d.ts +2 -0
  137. package/components/dropdown/dist/helptextVersion.d.ts +2 -0
  138. package/components/dropdown/dist/iconVersion.d.ts +2 -0
  139. package/components/dropdown/dist/index.d.ts +2 -0
  140. package/components/dropdown/dist/index.js +3734 -0
  141. package/components/dropdown/dist/registered.js +3734 -0
  142. package/components/dropdown/dist/styles/bibColors-css.d.ts +2 -0
  143. package/components/dropdown/dist/styles/bibStyles-css.d.ts +2 -0
  144. package/components/dropdown/dist/styles/color-css.d.ts +2 -0
  145. package/components/dropdown/dist/styles/style-css.d.ts +2 -0
  146. package/components/dropdown/dist/styles/tokens-css.d.ts +2 -0
  147. package/components/form/README.md +142 -0
  148. package/components/form/demo/api.html +49 -0
  149. package/components/form/demo/api.js +3 -0
  150. package/components/form/demo/api.md +51 -0
  151. package/components/form/demo/api.min.js +638 -0
  152. package/components/form/demo/autocomplete.html +15 -0
  153. package/components/form/demo/index.html +50 -0
  154. package/components/form/demo/index.js +4 -0
  155. package/components/form/demo/index.md +403 -0
  156. package/components/form/demo/index.min.js +639 -0
  157. package/components/form/demo/readme.html +50 -0
  158. package/components/form/demo/readme.md +142 -0
  159. package/components/form/demo/registerDemoDeps.js +23 -0
  160. package/components/form/demo/working.html +118 -0
  161. package/components/form/dist/auro-form.d.ts +223 -0
  162. package/components/form/dist/index.d.ts +2 -0
  163. package/components/form/dist/index.js +614 -0
  164. package/components/form/dist/registered.d.ts +1 -0
  165. package/components/form/dist/registered.js +614 -0
  166. package/components/form/dist/styles/style-css.d.ts +2 -0
  167. package/components/helptext/dist/auro-helptext.d.ts +61 -0
  168. package/components/helptext/dist/index.d.ts +2 -0
  169. package/components/helptext/dist/index.js +209 -0
  170. package/components/helptext/dist/registered.js +209 -0
  171. package/components/helptext/dist/styles/color-css.d.ts +2 -0
  172. package/components/helptext/dist/styles/style-css.d.ts +2 -0
  173. package/components/helptext/dist/styles/tokens-css.d.ts +2 -0
  174. package/components/input/README.md +135 -0
  175. package/components/input/demo/api.html +42 -0
  176. package/components/input/demo/api.js +29 -0
  177. package/components/input/demo/api.md +1252 -0
  178. package/components/input/demo/api.min.js +7238 -0
  179. package/components/input/demo/index.html +43 -0
  180. package/components/input/demo/index.js +20 -0
  181. package/components/input/demo/index.md +202 -0
  182. package/components/input/demo/index.min.js +7157 -0
  183. package/components/input/demo/readme.html +50 -0
  184. package/components/input/demo/readme.md +135 -0
  185. package/components/input/dist/auro-input.d.ts +31 -0
  186. package/components/input/dist/base-input.d.ts +512 -0
  187. package/components/input/dist/buttonVersion.d.ts +2 -0
  188. package/components/input/dist/helptextVersion.d.ts +2 -0
  189. package/components/input/dist/i18n.d.ts +18 -0
  190. package/components/input/dist/iconVersion.d.ts +2 -0
  191. package/components/input/dist/index.d.ts +2 -0
  192. package/components/input/dist/index.js +7063 -0
  193. package/components/input/dist/registered.js +7063 -0
  194. package/components/input/dist/styles/borders-css.d.ts +2 -0
  195. package/components/input/dist/styles/color-css.d.ts +2 -0
  196. package/components/input/dist/styles/input-css.d.ts +2 -0
  197. package/components/input/dist/styles/label-css.d.ts +2 -0
  198. package/components/input/dist/styles/mixins-css.d.ts +2 -0
  199. package/components/input/dist/styles/notificationIcons-css.d.ts +2 -0
  200. package/components/input/dist/styles/style-css.d.ts +2 -0
  201. package/components/input/dist/styles/tokens-css.d.ts +2 -0
  202. package/components/input/dist/utilities.d.ts +25 -0
  203. package/components/menu/README.md +145 -0
  204. package/components/menu/demo/api.html +55 -0
  205. package/components/menu/demo/api.js +27 -0
  206. package/components/menu/demo/api.md +954 -0
  207. package/components/menu/demo/api.min.js +1538 -0
  208. package/components/menu/demo/index.html +52 -0
  209. package/components/menu/demo/index.js +28 -0
  210. package/components/menu/demo/index.md +61 -0
  211. package/components/menu/demo/index.min.js +1484 -0
  212. package/components/menu/demo/readme.html +50 -0
  213. package/components/menu/demo/readme.md +145 -0
  214. package/components/menu/dist/auro-menu-utils.d.ts +42 -0
  215. package/components/menu/dist/auro-menu.d.ts +205 -0
  216. package/components/menu/dist/auro-menuoption.d.ts +63 -0
  217. package/components/menu/dist/dropdownVersion.d.ts +2 -0
  218. package/components/menu/dist/iconVersion.d.ts +2 -0
  219. package/components/menu/dist/index.d.ts +4 -0
  220. package/components/menu/dist/index.js +1426 -0
  221. package/components/menu/dist/registered.js +1427 -0
  222. package/components/menu/dist/styles/color-menu-css.d.ts +2 -0
  223. package/components/menu/dist/styles/color-menuoption-css.d.ts +2 -0
  224. package/components/menu/dist/styles/style-menu-css.d.ts +2 -0
  225. package/components/menu/dist/styles/style-menuoption-css.d.ts +2 -0
  226. package/components/menu/dist/styles/tokens-css.d.ts +2 -0
  227. package/components/radio/README.md +137 -0
  228. package/components/radio/demo/api.html +53 -0
  229. package/components/radio/demo/api.js +19 -0
  230. package/components/radio/demo/api.md +562 -0
  231. package/components/radio/demo/api.min.js +1944 -0
  232. package/components/radio/demo/index.html +50 -0
  233. package/components/radio/demo/index.js +8 -0
  234. package/components/radio/demo/index.md +150 -0
  235. package/components/radio/demo/index.min.js +1901 -0
  236. package/components/radio/demo/readme.html +50 -0
  237. package/components/radio/demo/readme.md +137 -0
  238. package/components/radio/dist/auro-radio-group.d.ts +194 -0
  239. package/components/radio/dist/auro-radio.d.ts +144 -0
  240. package/components/radio/dist/helptextVersion.d.ts +2 -0
  241. package/components/radio/dist/index.d.ts +3 -0
  242. package/components/radio/dist/index.js +1850 -0
  243. package/components/radio/dist/registered.js +1851 -0
  244. package/components/radio/dist/styles/auro-radio-group-css.d.ts +2 -0
  245. package/components/radio/dist/styles/color-css.d.ts +2 -0
  246. package/components/radio/dist/styles/groupColor-css.d.ts +2 -0
  247. package/components/radio/dist/styles/style-css.d.ts +2 -0
  248. package/components/radio/dist/styles/tokens-css.d.ts +2 -0
  249. package/components/select/README.md +144 -0
  250. package/components/select/demo/api.html +71 -0
  251. package/components/select/demo/api.js +35 -0
  252. package/components/select/demo/api.md +1313 -0
  253. package/components/select/demo/api.min.js +7763 -0
  254. package/components/select/demo/index.html +66 -0
  255. package/components/select/demo/index.js +9 -0
  256. package/components/select/demo/index.md +815 -0
  257. package/components/select/demo/index.min.js +7651 -0
  258. package/components/select/demo/readme.html +50 -0
  259. package/components/select/demo/readme.md +144 -0
  260. package/components/select/dist/auro-select.d.ts +359 -0
  261. package/components/select/dist/bibtemplateVersion.d.ts +2 -0
  262. package/components/select/dist/dropdownVersion.d.ts +2 -0
  263. package/components/select/dist/index.d.ts +2 -0
  264. package/components/select/dist/index.js +6300 -0
  265. package/components/select/dist/registered.js +6300 -0
  266. package/components/select/dist/styles/style-css.d.ts +2 -0
  267. package/package.json +217 -0
  268. package/packages/build-tools/src/postinstall.mjs +12 -0
@@ -0,0 +1,1434 @@
1
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/api.md) -->
2
+ <!-- The below content is automatically added from ./../docs/api.md -->
3
+
4
+ # auro-dropdown
5
+
6
+ ## Attributes
7
+
8
+ | Attribute | Type | Description |
9
+ |--------------------|-------------|--------------------------------------------------|
10
+ | [disableEventShow](#disableEventShow) | ` Boolean ` | If declared, the dropdown will only show by calling the API .show() public method. |
11
+
12
+ ## Properties
13
+
14
+ | Property | Attribute | Type | Default | Description |
15
+ |-------------------------|-------------------------|-------------|----------------|--------------------------------------------------|
16
+ | `a11yAutocomplete` | | `string` | | The value for the aria-autocomplete attribute of the trigger element. |
17
+ | `a11yRole` | | | | The value for the role attribute of the trigger element. |
18
+ | [autoPlacement](#autoPlacement) | `autoPlacement` | `boolean` | "false" | If declared, bib's position will be automatically calculated where to appear. |
19
+ | [bordered](#bordered) | `bordered` | ` Boolean ` | | If declared, applies a border around the trigger slot. |
20
+ | [chevron](#chevron) | `chevron` | ` Boolean ` | | If declared, the dropdown displays a chevron on the right. |
21
+ | [common](#common) | `common` | ` Boolean ` | | If declared, the dropdown will be styled with the common theme. |
22
+ | [disabled](#disabled) | `disabled` | ` Boolean ` | | If declared, the dropdown is not interactive. |
23
+ | [error](#error) | `error` | ` Boolean ` | | If declared in combination with `bordered` property or `helpText` slot content, will apply red color to both. |
24
+ | [fluid](#fluid) | `fluid` | `Boolean` | | Makes the trigger to be full width of its parent container. |
25
+ | [focusShow](#focusShow) | `focusShow` | ` Boolean ` | | If declared, the bib will display when focus is applied to the trigger. |
26
+ | [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. |
27
+ | [hoverToggle](#hoverToggle) | `hoverToggle` | ` Boolean ` | | If declared, the trigger will toggle the dropdown on mouseover/mouseout. |
28
+ | [inset](#inset) | `inset` | ` Boolean ` | | If declared, will apply padding around trigger slot content. |
29
+ | [isBibFullscreen](#isBibFullscreen) | `isBibFullscreen` | `boolean` | false | If true, the dropdown bib is taking the fullscreen when it's open. |
30
+ | [isPopoverVisible](#isPopoverVisible) | `isPopoverVisible` | ` Boolean ` | false | If true, the dropdown bib is displayed. |
31
+ | [matchWidth](#matchWidth) | `matchWidth` | ` Boolean ` | false | If declared, the popover and trigger will be set to the same width. |
32
+ | [noFlip](#noFlip) | `noFlip` | `boolean` | "false" | If declared, the bib will NOT flip to an alternate position<br />when there isn't enough space in the specified `placement`. |
33
+ | [noHideOnThisFocusLoss](#noHideOnThisFocusLoss) | `noHideOnThisFocusLoss` | ` Boolean ` | false | If declared, the dropdown will not hide when moving focus outside the element. |
34
+ | [noToggle](#noToggle) | `noToggle` | ` Boolean ` | | If declared, the trigger will only show the dropdown bib. |
35
+ | [offset](#offset) | `offset` | `number` | "0" | Gap between the trigger element and bib. |
36
+ | [onDark](#onDark) | `onDark` | `boolean` | | If declared, onDark styles will be applied. |
37
+ | [onSlotChange](#onSlotChange) | `onSlotChange` | | | |
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" |
39
+ | [rounded](#rounded) | `rounded` | ` Boolean ` | | If declared, will apply border-radius to trigger and default slots. |
40
+
41
+ ## Methods
42
+
43
+ | Method | Type | Description |
44
+ |------------------|------------|--------------------------------------------------|
45
+ | [exposeCssParts](#exposeCssParts) | `(): void` | Exposes CSS parts for styling from parent components. |
46
+ | [hide](#hide) | `(): void` | Public method to hide the dropdown. |
47
+ | [show](#show) | `(): void` | Public method to show the dropdown. |
48
+
49
+ ## Events
50
+
51
+ | Event | Type | Description |
52
+ |-----------------------------|--------------------------------------|--------------------------------------------------|
53
+ | `auroDropdown-idAdded` | `Object<key : 'id', value: string>` | Notifies consumers that the unique ID for the dropdown bib has been generated. |
54
+ | `auroDropdown-toggled` | | Notifies that the visibility of the dropdown bib has changed. |
55
+ | `auroDropdown-triggerClick` | | Notifies that the trigger has been clicked. |
56
+
57
+ ## Slots
58
+
59
+ | Name | Description |
60
+ |------------|---------------------------------------|
61
+ | | Default slot for the popover content. |
62
+ | [helpText](#helpText) | Defines the content of the helpText. |
63
+ | [label](#label) | Defines the content of the label. |
64
+ | [trigger](#trigger) | Defines the content of the trigger. |
65
+
66
+ ## CSS Shadow Parts
67
+
68
+ | Part | Description |
69
+ |------------|----------------------------------------------|
70
+ | [chevron](#chevron) | The collapsed/expanded state icon container. |
71
+ | [helpText](#helpText) | The helpText content container. |
72
+ | [popover](#popover) | The bib content container. |
73
+ | [trigger](#trigger) | The trigger content container. |
74
+ <!-- AURO-GENERATED-CONTENT:END -->
75
+
76
+ ## API Examples
77
+
78
+ ### Basic
79
+
80
+ The most basic, simple version of `auro-dropdown`.
81
+
82
+ <div class="exampleWrapper">
83
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
84
+ <!-- The below content is automatically added from ./../apiExamples/basic.html -->
85
+ <auro-dropdown aria-label="custom label">
86
+ Lorem ipsum solar
87
+ <div slot="trigger">
88
+ Trigger
89
+ </div>
90
+ </auro-dropdown>
91
+ <!-- AURO-GENERATED-CONTENT:END -->
92
+ </div>
93
+ <div class="exampleWrapper--ondark" aria-hidden>
94
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDark.html) -->
95
+ <!-- The below content is automatically added from ./../apiExamples/onDark.html -->
96
+ <auro-dropdown onDark aria-label="custom label">
97
+ Lorem ipsum solar
98
+ <div slot="trigger">
99
+ Trigger
100
+ </div>
101
+ </auro-dropdown>
102
+ <!-- AURO-GENERATED-CONTENT:END -->
103
+ </div>
104
+ <auro-accordion alignRight>
105
+ <span slot="trigger">See code</span>
106
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/basic.html) -->
107
+ <!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
108
+
109
+ ```html
110
+ <auro-dropdown aria-label="custom label">
111
+ Lorem ipsum solar
112
+ <div slot="trigger">
113
+ Trigger
114
+ </div>
115
+ </auro-dropdown>
116
+ ```
117
+ <!-- AURO-GENERATED-CONTENT:END -->
118
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDark.html) -->
119
+ <!-- The below content is automatically added from ./../apiExamples/onDark.html -->
120
+ <auro-dropdown onDark aria-label="custom label">
121
+ Lorem ipsum solar
122
+ <div slot="trigger">
123
+ Trigger
124
+ </div>
125
+ </auro-dropdown>
126
+ <!-- AURO-GENERATED-CONTENT:END -->
127
+ </auro-accordion>
128
+ <div class="exampleWrapper">
129
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicIcon.html) -->
130
+ <!-- The below content is automatically added from ./../apiExamples/basicIcon.html -->
131
+ <auro-dropdown aria-label="custom label">
132
+ Lorem ipsum solar
133
+ <div slot="trigger">
134
+ <auro-icon
135
+ category="interface"
136
+ name="arrow-down"></auro-icon>
137
+ </div>
138
+ </auro-dropdown>
139
+ <!-- AURO-GENERATED-CONTENT:END -->
140
+ </div>
141
+ <auro-accordion alignRight>
142
+ <span slot="trigger">See code</span>
143
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/basicIcon.html) -->
144
+ <!-- The below code snippet is automatically added from ./../apiExamples/basicIcon.html -->
145
+
146
+ ```html
147
+ <auro-dropdown aria-label="custom label">
148
+ Lorem ipsum solar
149
+ <div slot="trigger">
150
+ <auro-icon
151
+ category="interface"
152
+ name="arrow-down"></auro-icon>
153
+ </div>
154
+ </auro-dropdown>
155
+ ```
156
+ <!-- AURO-GENERATED-CONTENT:END -->
157
+ </auro-accordion>
158
+ <div class="exampleWrapper">
159
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicButton.html) -->
160
+ <!-- The below content is automatically added from ./../apiExamples/basicButton.html -->
161
+ <auro-dropdown aria-label="custom label">
162
+ Lorem ipsum solar
163
+ <div slot="trigger">
164
+ <auro-button
165
+ slot="trigger"
166
+ fluid>
167
+ Dropdown
168
+ </auro-button>
169
+ </div>
170
+ </auro-dropdown>
171
+ <!-- AURO-GENERATED-CONTENT:END -->
172
+ </div>
173
+ <auro-accordion alignRight>
174
+ <span slot="trigger">See code</span>
175
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/basicButton.html) -->
176
+ <!-- The below code snippet is automatically added from ./../apiExamples/basicButton.html -->
177
+
178
+ ```html
179
+ <auro-dropdown aria-label="custom label">
180
+ Lorem ipsum solar
181
+ <div slot="trigger">
182
+ <auro-button
183
+ slot="trigger"
184
+ fluid>
185
+ Dropdown
186
+ </auro-button>
187
+ </div>
188
+ </auro-dropdown>
189
+ ```
190
+ <!-- AURO-GENERATED-CONTENT:END -->
191
+ </auro-accordion>
192
+
193
+ ### Property Examples
194
+
195
+ #### bordered
196
+
197
+ Adds the border style around the dropdown trigger.
198
+
199
+ <div class="exampleWrapper">
200
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/bordered.html) -->
201
+ <!-- The below content is automatically added from ./../apiExamples/bordered.html -->
202
+ <auro-dropdown aria-label="custom label" bordered>
203
+ Lorem ipsum solar
204
+ <div slot="trigger">
205
+ Trigger
206
+ </div>
207
+ </auro-dropdown>
208
+ <!-- AURO-GENERATED-CONTENT:END -->
209
+ </div>
210
+ <div class="exampleWrapper--ondark" aria-hidden>
211
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkBordered.html) -->
212
+ <!-- The below content is automatically added from ./../apiExamples/onDarkBordered.html -->
213
+ <auro-dropdown onDark aria-label="custom label" bordered>
214
+ Lorem ipsum solar
215
+ <div slot="trigger">
216
+ Trigger
217
+ </div>
218
+ </auro-dropdown>
219
+ <!-- AURO-GENERATED-CONTENT:END -->
220
+ </div>
221
+ <auro-accordion alignRight>
222
+ <span slot="trigger">See code</span>
223
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/bordered.html) -->
224
+ <!-- The below code snippet is automatically added from ./../apiExamples/bordered.html -->
225
+
226
+ ```html
227
+ <auro-dropdown aria-label="custom label" bordered>
228
+ Lorem ipsum solar
229
+ <div slot="trigger">
230
+ Trigger
231
+ </div>
232
+ </auro-dropdown>
233
+ ```
234
+ <!-- AURO-GENERATED-CONTENT:END -->
235
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkBordered.html) -->
236
+ <!-- The below content is automatically added from ./../apiExamples/onDarkBordered.html -->
237
+ <auro-dropdown onDark aria-label="custom label" bordered>
238
+ Lorem ipsum solar
239
+ <div slot="trigger">
240
+ Trigger
241
+ </div>
242
+ </auro-dropdown>
243
+ <!-- AURO-GENERATED-CONTENT:END -->
244
+ </auro-accordion>
245
+
246
+ #### chevron
247
+
248
+ Adds the bib visibility state chevron to the right side of the trigger content.
249
+
250
+ <div class="exampleWrapper">
251
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/chevron.html) -->
252
+ <!-- The below content is automatically added from ./../apiExamples/chevron.html -->
253
+ <auro-dropdown aria-label="custom label" chevron>
254
+ Lorem ipsum solar
255
+ <div slot="trigger">
256
+ Trigger
257
+ </div>
258
+ </auro-dropdown>
259
+ <!-- AURO-GENERATED-CONTENT:END -->
260
+ </div>
261
+ <auro-accordion alignRight>
262
+ <span slot="trigger">See code</span>
263
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/chevron.html) -->
264
+ <!-- The below code snippet is automatically added from ./../apiExamples/chevron.html -->
265
+
266
+ ```html
267
+ <auro-dropdown aria-label="custom label" chevron>
268
+ Lorem ipsum solar
269
+ <div slot="trigger">
270
+ Trigger
271
+ </div>
272
+ </auro-dropdown>
273
+ ```
274
+ <!-- AURO-GENERATED-CONTENT:END -->
275
+ </auro-accordion>
276
+ <div class="exampleWrapper">
277
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/chevronIcon.html) -->
278
+ <!-- The below content is automatically added from ./../apiExamples/chevronIcon.html -->
279
+ <auro-dropdown aria-label="custom label" chevron>
280
+ Lorem ipsum solar
281
+ <div slot="trigger">
282
+ <auro-icon
283
+ category="interface"
284
+ name="arrow-down"></auro-icon>
285
+ </div>
286
+ </auro-dropdown>
287
+ <!-- AURO-GENERATED-CONTENT:END -->
288
+ </div>
289
+ <auro-accordion alignRight>
290
+ <span slot="trigger">See code</span>
291
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/chevronIcon.html) -->
292
+ <!-- The below code snippet is automatically added from ./../apiExamples/chevronIcon.html -->
293
+
294
+ ```html
295
+ <auro-dropdown aria-label="custom label" chevron>
296
+ Lorem ipsum solar
297
+ <div slot="trigger">
298
+ <auro-icon
299
+ category="interface"
300
+ name="arrow-down"></auro-icon>
301
+ </div>
302
+ </auro-dropdown>
303
+ ```
304
+ <!-- AURO-GENERATED-CONTENT:END -->
305
+ </auro-accordion>
306
+ <div class="exampleWrapper">
307
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/chevronButton.html) -->
308
+ <!-- The below content is automatically added from ./../apiExamples/chevronButton.html -->
309
+ <auro-dropdown aria-label="custom label" chevron>
310
+ Lorem ipsum solar
311
+ <div slot="trigger">
312
+ <auro-button
313
+ slot="trigger"
314
+ fluid>
315
+ Dropdown
316
+ </auro-button>
317
+ </div>
318
+ </auro-dropdown>
319
+ <!-- AURO-GENERATED-CONTENT:END -->
320
+ </div>
321
+ <auro-accordion alignRight>
322
+ <span slot="trigger">See code</span>
323
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/chevronButton.html) -->
324
+ <!-- The below code snippet is automatically added from ./../apiExamples/chevronButton.html -->
325
+
326
+ ```html
327
+ <auro-dropdown aria-label="custom label" chevron>
328
+ Lorem ipsum solar
329
+ <div slot="trigger">
330
+ <auro-button
331
+ slot="trigger"
332
+ fluid>
333
+ Dropdown
334
+ </auro-button>
335
+ </div>
336
+ </auro-dropdown>
337
+ ```
338
+ <!-- AURO-GENERATED-CONTENT:END -->
339
+ </auro-accordion>
340
+ <div class="exampleWrapper">
341
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/chevronInput.html) -->
342
+ <!-- The below content is automatically added from ./../apiExamples/chevronInput.html -->
343
+ <auro-dropdown aria-label="custom label" chevron>
344
+ Lorem ipsum solar
345
+ <div slot="trigger">
346
+ <auro-input
347
+ slot="trigger"
348
+ id="inputExampleTrigger">
349
+ </auro-input>
350
+ </div>
351
+ </auro-dropdown>
352
+ <!-- AURO-GENERATED-CONTENT:END -->
353
+ </div>
354
+ <auro-accordion alignRight>
355
+ <span slot="trigger">See code</span>
356
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/chevronInput.html) -->
357
+ <!-- The below code snippet is automatically added from ./../apiExamples/chevronInput.html -->
358
+
359
+ ```html
360
+ <auro-dropdown aria-label="custom label" chevron>
361
+ Lorem ipsum solar
362
+ <div slot="trigger">
363
+ <auro-input
364
+ slot="trigger"
365
+ id="inputExampleTrigger">
366
+ </auro-input>
367
+ </div>
368
+ </auro-dropdown>
369
+ ```
370
+ <!-- AURO-GENERATED-CONTENT:END -->
371
+ </auro-accordion>
372
+
373
+ #### disabled
374
+
375
+ Disables the trigger preventing the dropdown bib from being shown.
376
+
377
+ <div class="exampleWrapper">
378
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/disabled.html) -->
379
+ <!-- The below content is automatically added from ./../apiExamples/disabled.html -->
380
+ <auro-dropdown
381
+ aria-label="custom label"
382
+ disabled
383
+ chevron
384
+ rounded
385
+ inset
386
+ bordered>
387
+ Lorem ipsum solar
388
+ <div slot="trigger">
389
+ Trigger
390
+ </div>
391
+ <span slot="helpText">
392
+ Helper text
393
+ </span>
394
+ <span slot="label">
395
+ Name
396
+ </span>
397
+ </auro-dropdown>
398
+ <!-- AURO-GENERATED-CONTENT:END -->
399
+ </div>
400
+ <div class="exampleWrapper--ondark" aria-hidden>
401
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkDisabled.html) -->
402
+ <!-- The below content is automatically added from ./../apiExamples/onDarkDisabled.html -->
403
+ <auro-dropdown
404
+ aria-label="custom label"
405
+ disabled
406
+ onDark
407
+ chevron
408
+ rounded
409
+ inset
410
+ bordered>
411
+ Lorem ipsum solar
412
+ <div slot="trigger">
413
+ Trigger
414
+ </div>
415
+ <span slot="helpText">
416
+ Helper text
417
+ </span>
418
+ <span slot="label">
419
+ Name
420
+ </span>
421
+ </auro-dropdown>
422
+ <!-- AURO-GENERATED-CONTENT:END -->
423
+ </div>
424
+ <auro-accordion alignRight>
425
+ <span slot="trigger">See code</span>
426
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/disabled.html) -->
427
+ <!-- The below code snippet is automatically added from ./../apiExamples/disabled.html -->
428
+
429
+ ```html
430
+ <auro-dropdown
431
+ aria-label="custom label"
432
+ disabled
433
+ chevron
434
+ rounded
435
+ inset
436
+ bordered>
437
+ Lorem ipsum solar
438
+ <div slot="trigger">
439
+ Trigger
440
+ </div>
441
+ <span slot="helpText">
442
+ Helper text
443
+ </span>
444
+ <span slot="label">
445
+ Name
446
+ </span>
447
+ </auro-dropdown>
448
+ ```
449
+ <!-- AURO-GENERATED-CONTENT:END -->
450
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkDisabled.html) -->
451
+ <!-- The below content is automatically added from ./../apiExamples/onDarkDisabled.html -->
452
+ <auro-dropdown
453
+ aria-label="custom label"
454
+ disabled
455
+ onDark
456
+ chevron
457
+ rounded
458
+ inset
459
+ bordered>
460
+ Lorem ipsum solar
461
+ <div slot="trigger">
462
+ Trigger
463
+ </div>
464
+ <span slot="helpText">
465
+ Helper text
466
+ </span>
467
+ <span slot="label">
468
+ Name
469
+ </span>
470
+ </auro-dropdown>
471
+ <!-- AURO-GENERATED-CONTENT:END -->
472
+ </auro-accordion>
473
+
474
+ #### error
475
+
476
+ Adds the error state UI to the trigger.
477
+
478
+ <div class="exampleWrapper">
479
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/error.html) -->
480
+ <!-- The below content is automatically added from ./../apiExamples/error.html -->
481
+ <auro-dropdown common error id="commonSlotError">
482
+ <div style="padding: var(--ds-size-150);">
483
+ Lorem ipsum solar
484
+ <br />
485
+ <auro-button onclick="document.querySelector('#commonSlotError').hide()">
486
+ Dismiss Dropdown
487
+ </auro-button>
488
+ </div>
489
+ <span slot="helpText">
490
+ Help text
491
+ </span>
492
+ <span slot="label">
493
+ Element label (default text will be read by screen reader)
494
+ </span>
495
+ <div slot="trigger">
496
+ Trigger
497
+ </div>
498
+ </auro-dropdown>
499
+ <!-- AURO-GENERATED-CONTENT:END -->
500
+ </div>
501
+ <div class="exampleWrapper--ondark" aria-hidden>
502
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkError.html) -->
503
+ <!-- The below content is automatically added from ./../apiExamples/onDarkError.html -->
504
+ <auro-dropdown onDark common error id="commonSlotErrorOnDark">
505
+ <div style="padding: var(--ds-size-150);">
506
+ Lorem ipsum solar
507
+ <br />
508
+ <auro-button onclick="document.querySelector('#commonSlotErrorOnDark').hide()">
509
+ Dismiss Dropdown
510
+ </auro-button>
511
+ </div>
512
+ <span slot="helpText">
513
+ Help text
514
+ </span>
515
+ <span slot="label">
516
+ Element label (default text will be read by screen reader)
517
+ </span>
518
+ <div slot="trigger">
519
+ Trigger
520
+ </div>
521
+ </auro-dropdown>
522
+ <!-- AURO-GENERATED-CONTENT:END -->
523
+ </div>
524
+ <auro-accordion alignRight>
525
+ <span slot="trigger">See code</span>
526
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/error.html) -->
527
+ <!-- The below code snippet is automatically added from ./../apiExamples/error.html -->
528
+
529
+ ```html
530
+ <auro-dropdown common error id="commonSlotError">
531
+ <div style="padding: var(--ds-size-150);">
532
+ Lorem ipsum solar
533
+ <br />
534
+ <auro-button onclick="document.querySelector('#commonSlotError').hide()">
535
+ Dismiss Dropdown
536
+ </auro-button>
537
+ </div>
538
+ <span slot="helpText">
539
+ Help text
540
+ </span>
541
+ <span slot="label">
542
+ Element label (default text will be read by screen reader)
543
+ </span>
544
+ <div slot="trigger">
545
+ Trigger
546
+ </div>
547
+ </auro-dropdown>
548
+ ```
549
+ <!-- AURO-GENERATED-CONTENT:END -->
550
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkError.html) -->
551
+ <!-- The below content is automatically added from ./../apiExamples/onDarkError.html -->
552
+ <auro-dropdown onDark common error id="commonSlotErrorOnDark">
553
+ <div style="padding: var(--ds-size-150);">
554
+ Lorem ipsum solar
555
+ <br />
556
+ <auro-button onclick="document.querySelector('#commonSlotErrorOnDark').hide()">
557
+ Dismiss Dropdown
558
+ </auro-button>
559
+ </div>
560
+ <span slot="helpText">
561
+ Help text
562
+ </span>
563
+ <span slot="label">
564
+ Element label (default text will be read by screen reader)
565
+ </span>
566
+ <div slot="trigger">
567
+ Trigger
568
+ </div>
569
+ </auro-dropdown>
570
+ <!-- AURO-GENERATED-CONTENT:END -->
571
+ </auro-accordion>
572
+
573
+ #### fluid
574
+
575
+ The `fluid` property makes the trigger to have the full width.
576
+
577
+ <div class="exampleWrapper">
578
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/fluid.html) -->
579
+ <!-- The below content is automatically added from ./../apiExamples/fluid.html -->
580
+ <auro-dropdown aria-label="custom label" fluid>
581
+ Lorem ipsum solar
582
+ <div slot="trigger">
583
+ <auro-input
584
+ borderless
585
+ slot="trigger"
586
+ id="inputExampleTrigger">
587
+ </auro-input>
588
+ </div>
589
+ </auro-dropdown>
590
+ <!-- AURO-GENERATED-CONTENT:END -->
591
+ </div>
592
+ <auro-accordion alignRight>
593
+ <span slot="trigger">See code</span>
594
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/fluid.html) -->
595
+ <!-- The below code snippet is automatically added from ./../apiExamples/fluid.html -->
596
+
597
+ ```html
598
+ <auro-dropdown aria-label="custom label" fluid>
599
+ Lorem ipsum solar
600
+ <div slot="trigger">
601
+ <auro-input
602
+ borderless
603
+ slot="trigger"
604
+ id="inputExampleTrigger">
605
+ </auro-input>
606
+ </div>
607
+ </auro-dropdown>
608
+ ```
609
+ <!-- AURO-GENERATED-CONTENT:END -->
610
+ </auro-accordion>
611
+
612
+ #### inset
613
+
614
+ The `inset` property applies a predefined amount of CSS `padding` to the `trigger` slot content. Use this property to apply borderless style.
615
+
616
+ <div class="exampleWrapper">
617
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/inset.html) -->
618
+ <!-- The below content is automatically added from ./../apiExamples/inset.html -->
619
+ <auro-dropdown aria-label="custom label" inset>
620
+ Lorem ipsum solar
621
+ <div slot="trigger">
622
+ Trigger
623
+ </div>
624
+ </auro-dropdown>
625
+ <!-- AURO-GENERATED-CONTENT:END -->
626
+ </div>
627
+ <auro-accordion alignRight>
628
+ <span slot="trigger">See code</span>
629
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/inset.html) -->
630
+ <!-- The below code snippet is automatically added from ./../apiExamples/inset.html -->
631
+
632
+ ```html
633
+ <auro-dropdown aria-label="custom label" inset>
634
+ Lorem ipsum solar
635
+ <div slot="trigger">
636
+ Trigger
637
+ </div>
638
+ </auro-dropdown>
639
+ ```
640
+ <!-- AURO-GENERATED-CONTENT:END -->
641
+ </auro-accordion>
642
+ <div class="exampleWrapper">
643
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/insetBordered.html) -->
644
+ <!-- The below content is automatically added from ./../apiExamples/insetBordered.html -->
645
+ <auro-dropdown
646
+ aria-label="custom label"
647
+ inset
648
+ rounded
649
+ bordered>
650
+ Lorem ipsum solar
651
+ <div slot="trigger">
652
+ Trigger
653
+ </div>
654
+ </auro-dropdown>
655
+ <!-- AURO-GENERATED-CONTENT:END -->
656
+ </div>
657
+ <auro-accordion alignRight>
658
+ <span slot="trigger">See code</span>
659
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/insetBordered.html) -->
660
+ <!-- The below code snippet is automatically added from ./../apiExamples/insetBordered.html -->
661
+
662
+ ```html
663
+ <auro-dropdown
664
+ aria-label="custom label"
665
+ inset
666
+ rounded
667
+ bordered>
668
+ Lorem ipsum solar
669
+ <div slot="trigger">
670
+ Trigger
671
+ </div>
672
+ </auro-dropdown>
673
+ ```
674
+ <!-- AURO-GENERATED-CONTENT:END -->
675
+ </auro-accordion>
676
+
677
+ #### rounded
678
+
679
+ The `rounded` property applies `border-radius` CSS to the trigger and default slot content.
680
+
681
+ <div class="exampleWrapper">
682
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/rounded.html) -->
683
+ <!-- The below content is automatically added from ./../apiExamples/rounded.html -->
684
+ <auro-dropdown
685
+ aria-label="custom label"
686
+ rounded
687
+ bordered>
688
+ Lorem ipsum solar
689
+ <div slot="trigger">
690
+ Trigger
691
+ </div>
692
+ </auro-dropdown>
693
+ <!-- AURO-GENERATED-CONTENT:END -->
694
+ </div>
695
+ <auro-accordion alignRight>
696
+ <span slot="trigger">See code</span>
697
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/rounded.html) -->
698
+ <!-- The below code snippet is automatically added from ./../apiExamples/rounded.html -->
699
+
700
+ ```html
701
+ <auro-dropdown
702
+ aria-label="custom label"
703
+ rounded
704
+ bordered>
705
+ Lorem ipsum solar
706
+ <div slot="trigger">
707
+ Trigger
708
+ </div>
709
+ </auro-dropdown>
710
+ ```
711
+ <!-- AURO-GENERATED-CONTENT:END -->
712
+ </auro-accordion>
713
+
714
+ #### noToggle
715
+
716
+ In cases where it is desired behavior for `auro-dropdown` to only show, not toggle, the bib content when activating the trigger the `noToggle` attribute must be applied.
717
+
718
+ <div class="exampleWrapper">
719
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/noToggle.html) -->
720
+ <!-- The below content is automatically added from ./../apiExamples/noToggle.html -->
721
+ <auro-dropdown aria-label="custom label" noToggle>
722
+ Lorem ipsum solar
723
+ <div slot="trigger">
724
+ Trigger
725
+ </div>
726
+ </auro-dropdown>
727
+ <!-- AURO-GENERATED-CONTENT:END -->
728
+ </div>
729
+ <auro-accordion alignRight>
730
+ <span slot="trigger">See code</span>
731
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/noToggle.html) -->
732
+ <!-- The below code snippet is automatically added from ./../apiExamples/noToggle.html -->
733
+
734
+ ```html
735
+ <auro-dropdown aria-label="custom label" noToggle>
736
+ Lorem ipsum solar
737
+ <div slot="trigger">
738
+ Trigger
739
+ </div>
740
+ </auro-dropdown>
741
+ ```
742
+ <!-- AURO-GENERATED-CONTENT:END -->
743
+ </auro-accordion>
744
+
745
+ #### fullscreenBreakpoint
746
+
747
+ On mobile view, adding the `fullscreenBreakpoint="{breakpoint-token}"` will switch the dropdown to fullscreen mode.
748
+
749
+ <div class="exampleWrapper">
750
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/customDimensions300.html) -->
751
+ <!-- The below content is automatically added from ./../apiExamples/customDimensions300.html -->
752
+ <style>
753
+ #customDropdown300::part(size) {
754
+ width: 300px;
755
+ max-height: 200px;
756
+ }
757
+ </style>
758
+ <div style="width: 300px;" aria-label="custom label">
759
+ <auro-dropdown id="customDropdown300" inset bordered rounded chevron fullscreenBreakpoint="sm">
760
+ <div>
761
+ <p>
762
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
763
+ </p>
764
+ <p>
765
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
766
+ </p>
767
+ <p>
768
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
769
+ </p>
770
+ </div>
771
+ <div slot="trigger">
772
+ Trigger
773
+ </div>
774
+ </auro-dropdown>
775
+ </div>
776
+ <!-- AURO-GENERATED-CONTENT:END -->
777
+ </div>
778
+ <auro-accordion alignRight>
779
+ <span slot="trigger">See code</span>
780
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/customDimensions300.html) -->
781
+ <!-- The below code snippet is automatically added from ./../apiExamples/customDimensions300.html -->
782
+
783
+ ```html
784
+ <style>
785
+ #customDropdown300::part(size) {
786
+ width: 300px;
787
+ max-height: 200px;
788
+ }
789
+ </style>
790
+ <div style="width: 300px;" aria-label="custom label">
791
+ <auro-dropdown id="customDropdown300" inset bordered rounded chevron fullscreenBreakpoint="sm">
792
+ <div>
793
+ <p>
794
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
795
+ </p>
796
+ <p>
797
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
798
+ </p>
799
+ <p>
800
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
801
+ </p>
802
+ </div>
803
+ <div slot="trigger">
804
+ Trigger
805
+ </div>
806
+ </auro-dropdown>
807
+ </div>
808
+ ```
809
+ <!-- AURO-GENERATED-CONTENT:END -->
810
+ </auro-accordion>
811
+
812
+ ### Customized bib position
813
+ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlacement` attributes.
814
+
815
+ - `placement` specifies the preferred position where the bib should appear relative to the trigger.
816
+ - `offset` sets the distance between the trigger and the bib.
817
+ - When `autoPlacement` is enabled, smart positioning logic is applied to determine the best placement for the bib. If all sides have sufficient space, the bib will appear in the position specified by `placement`.
818
+ - Unless `noFlip` is enabled, if there isn't enough space for the preferred `placement`, the bib will automatically flip to an alternative position.
819
+
820
+ <div class="exampleWrapper">
821
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/floaterConfig.html) -->
822
+ <!-- The below content is automatically added from ./../apiExamples/floaterConfig.html -->
823
+ <style>
824
+ .floaterConfigDropdown::part(size) {
825
+ width: 300px;
826
+ max-height: 200px;
827
+ }
828
+ </style>
829
+ <div aria-label="custom label">
830
+ <auro-dropdown class="floaterConfigDropdown" inset bordered rounded chevron placement="bottom-end" offset="20" noFlip>
831
+ <div>
832
+ <p>
833
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
834
+ </p>
835
+ <p>
836
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
837
+ </p>
838
+ <p>
839
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
840
+ </p>
841
+ </div>
842
+ <div slot="trigger">
843
+ Trigger for bottom-end bib with 20px offset and noFlip
844
+ </div>
845
+ </auro-dropdown>
846
+ </div>
847
+ <div aria-label="custom label">
848
+ <auro-dropdown class="floaterConfigDropdown" inset bordered rounded chevron placement="bottom-end" offset="20">
849
+ <div>
850
+ <p>
851
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
852
+ </p>
853
+ <p>
854
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
855
+ </p>
856
+ <p>
857
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
858
+ </p>
859
+ </div>
860
+ <div slot="trigger">
861
+ Trigger for bottom-end bib with 20px offset and flip
862
+ </div>
863
+ </auro-dropdown>
864
+ </div>
865
+ <div aria-label="custom label">
866
+ <auro-dropdown class="floaterConfigDropdown" inset bordered rounded chevron autoPlacement noFlip placement="right" offset="20">
867
+ <div>
868
+ <p>
869
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
870
+ </p>
871
+ <p>
872
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
873
+ </p>
874
+ <p>
875
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
876
+ </p>
877
+ </div>
878
+ <div slot="trigger">
879
+ Trigger for right bib with 20px offset, autoPlacement and noFlip
880
+ </div>
881
+ </auro-dropdown>
882
+ </div>
883
+ <!-- AURO-GENERATED-CONTENT:END -->
884
+ </div>
885
+ <auro-accordion alignRight>
886
+ <span slot="trigger">See code</span>
887
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/floaterConfig.html) -->
888
+ <!-- The below code snippet is automatically added from ./../apiExamples/floaterConfig.html -->
889
+
890
+ ```html
891
+ <style>
892
+ .floaterConfigDropdown::part(size) {
893
+ width: 300px;
894
+ max-height: 200px;
895
+ }
896
+ </style>
897
+ <div aria-label="custom label">
898
+ <auro-dropdown class="floaterConfigDropdown" inset bordered rounded chevron placement="bottom-end" offset="20" noFlip>
899
+ <div>
900
+ <p>
901
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
902
+ </p>
903
+ <p>
904
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
905
+ </p>
906
+ <p>
907
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
908
+ </p>
909
+ </div>
910
+ <div slot="trigger">
911
+ Trigger for bottom-end bib with 20px offset and noFlip
912
+ </div>
913
+ </auro-dropdown>
914
+ </div>
915
+ <div aria-label="custom label">
916
+ <auro-dropdown class="floaterConfigDropdown" inset bordered rounded chevron placement="bottom-end" offset="20">
917
+ <div>
918
+ <p>
919
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
920
+ </p>
921
+ <p>
922
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
923
+ </p>
924
+ <p>
925
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
926
+ </p>
927
+ </div>
928
+ <div slot="trigger">
929
+ Trigger for bottom-end bib with 20px offset and flip
930
+ </div>
931
+ </auro-dropdown>
932
+ </div>
933
+ <div aria-label="custom label">
934
+ <auro-dropdown class="floaterConfigDropdown" inset bordered rounded chevron autoPlacement noFlip placement="right" offset="20">
935
+ <div>
936
+ <p>
937
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
938
+ </p>
939
+ <p>
940
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
941
+ </p>
942
+ <p>
943
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
944
+ </p>
945
+ </div>
946
+ <div slot="trigger">
947
+ Trigger for right bib with 20px offset, autoPlacement and noFlip
948
+ </div>
949
+ </auro-dropdown>
950
+ </div>
951
+ ```
952
+ <!-- AURO-GENERATED-CONTENT:END -->
953
+ </auro-accordion>
954
+
955
+ ### Slot Examples
956
+
957
+ #### default
958
+
959
+ All examples shown on this page include default slot content.
960
+
961
+ #### trigger
962
+
963
+ Content defined in the `trigger` slot will be rendered in the clickable trigger of the dropdown that is used to display the bib. Focus state visual effects will be disabled on the trigger when it contains a focusable element other than `<auro-input>`.
964
+
965
+ This slot may contain any static content (e.g. plain text) and/or no more than one of the following elements:
966
+ - `<a>`
967
+ - `<auro-hyperlink>`
968
+ - `<button>`
969
+ - `<auro-button>`
970
+ - `<input>`
971
+ - `<auro-input>`
972
+
973
+ #### label
974
+
975
+ Content defined in the `label` slot will be rendered left aligned inside the trigger above all other defined trigger slot content.
976
+
977
+ <div class="exampleWrapper">
978
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/label.html) -->
979
+ <!-- The below content is automatically added from ./../apiExamples/label.html -->
980
+ <auro-dropdown
981
+ bordered
982
+ rounded
983
+ inset
984
+ chevron>
985
+ Lorem ipsum solar
986
+ <span slot="label">Name</span>
987
+ <div slot="trigger">
988
+ Trigger
989
+ </div>
990
+ </auro-dropdown>
991
+ <!-- AURO-GENERATED-CONTENT:END -->
992
+ </div>
993
+ <auro-accordion alignRight>
994
+ <span slot="trigger">See code</span>
995
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/label.html) -->
996
+ <!-- The below code snippet is automatically added from ./../apiExamples/label.html -->
997
+
998
+ ```html
999
+ <auro-dropdown
1000
+ bordered
1001
+ rounded
1002
+ inset
1003
+ chevron>
1004
+ Lorem ipsum solar
1005
+ <span slot="label">Name</span>
1006
+ <div slot="trigger">
1007
+ Trigger
1008
+ </div>
1009
+ </auro-dropdown>
1010
+ ```
1011
+ <!-- AURO-GENERATED-CONTENT:END -->
1012
+ </auro-accordion>
1013
+
1014
+ #### helpText
1015
+
1016
+ Content defined in the `helpText` slot will be rendered left aligned below the trigger.
1017
+
1018
+ <div class="exampleWrapper">
1019
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/helpText.html) -->
1020
+ <!-- The below content is automatically added from ./../apiExamples/helpText.html -->
1021
+ <auro-dropdown
1022
+ aria-label="custom label"
1023
+ inset
1024
+ bordered
1025
+ rounded>
1026
+ Lorem ipsum solar
1027
+ <span slot="helpText">
1028
+ Helper text
1029
+ </span>
1030
+ <div slot="trigger">
1031
+ Trigger
1032
+ </div>
1033
+ </auro-dropdown>
1034
+ <!-- AURO-GENERATED-CONTENT:END -->
1035
+ </div>
1036
+ <auro-accordion alignRight>
1037
+ <span slot="trigger">See code</span>
1038
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/helpText.html) -->
1039
+ <!-- The below code snippet is automatically added from ./../apiExamples/helpText.html -->
1040
+
1041
+ ```html
1042
+ <auro-dropdown
1043
+ aria-label="custom label"
1044
+ inset
1045
+ bordered
1046
+ rounded>
1047
+ Lorem ipsum solar
1048
+ <span slot="helpText">
1049
+ Helper text
1050
+ </span>
1051
+ <div slot="trigger">
1052
+ Trigger
1053
+ </div>
1054
+ </auro-dropdown>
1055
+ ```
1056
+ <!-- AURO-GENERATED-CONTENT:END -->
1057
+ </auro-accordion>
1058
+
1059
+ #####
1060
+
1061
+ When combined with the `error` property the `helpText` slot content is colored red.
1062
+
1063
+ <div class="exampleWrapper">
1064
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/helpTextError.html) -->
1065
+ <!-- The below content is automatically added from ./../apiExamples/helpTextError.html -->
1066
+ <auro-dropdown
1067
+ aria-label="custom label"
1068
+ inset
1069
+ bordered
1070
+ rounded
1071
+ error>
1072
+ Lorem ipsum solar
1073
+ <span slot="helpText">
1074
+ Helper text
1075
+ </span>
1076
+ <div slot="trigger">
1077
+ Trigger
1078
+ </div>
1079
+ </auro-dropdown>
1080
+ <!-- AURO-GENERATED-CONTENT:END -->
1081
+ </div>
1082
+ <auro-accordion alignRight>
1083
+ <span slot="trigger">See code</span>
1084
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/helpTextError.html) -->
1085
+ <!-- The below code snippet is automatically added from ./../apiExamples/helpTextError.html -->
1086
+
1087
+ ```html
1088
+ <auro-dropdown
1089
+ aria-label="custom label"
1090
+ inset
1091
+ bordered
1092
+ rounded
1093
+ error>
1094
+ Lorem ipsum solar
1095
+ <span slot="helpText">
1096
+ Helper text
1097
+ </span>
1098
+ <div slot="trigger">
1099
+ Trigger
1100
+ </div>
1101
+ </auro-dropdown>
1102
+ ```
1103
+ <!-- AURO-GENERATED-CONTENT:END -->
1104
+ </auro-accordion>
1105
+
1106
+ ### Method Examples
1107
+
1108
+ #### show
1109
+
1110
+ The `show` method may also be called from anywhere in your code by executing `document.querySelector('#idOfTheDropdownElement').show()`. This example will execute the `show` method on a `keydown` event with focus in the input element.
1111
+
1112
+ <div class="exampleWrapper">
1113
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/programmaticallyShow.html) -->
1114
+ <!-- The below content is automatically added from ./../apiExamples/programmaticallyShow.html -->
1115
+ <auro-input id="showExampleTriggerInput" required>
1116
+ <span slot="label">Enter a value to show the dropdown</span>
1117
+ </auro-input>
1118
+ <auro-dropdown id="showMethodExample" aria-label="custom label" fluid rounded bordered inset>
1119
+ <p>
1120
+ Lorem ipsum solar
1121
+ </p>
1122
+ <span slot="trigger">Trigger Label</span>
1123
+ </auro-dropdown>
1124
+ <!-- AURO-GENERATED-CONTENT:END -->
1125
+ </div>
1126
+ <auro-accordion alignRight>
1127
+ <span slot="trigger">See code</span>
1128
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/programmaticallyShow.html) -->
1129
+ <!-- The below code snippet is automatically added from ./../apiExamples/programmaticallyShow.html -->
1130
+
1131
+ ```html
1132
+ <auro-input id="showExampleTriggerInput" required>
1133
+ <span slot="label">Enter a value to show the dropdown</span>
1134
+ </auro-input>
1135
+ <auro-dropdown id="showMethodExample" aria-label="custom label" fluid rounded bordered inset>
1136
+ <p>
1137
+ Lorem ipsum solar
1138
+ </p>
1139
+ <span slot="trigger">Trigger Label</span>
1140
+ </auro-dropdown>
1141
+ ```
1142
+ <!-- AURO-GENERATED-CONTENT:END -->
1143
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/programmaticallyShow.js) -->
1144
+ <!-- The below code snippet is automatically added from ./../apiExamples/programmaticallyShow.js -->
1145
+
1146
+ ```js
1147
+ export function showExample() {
1148
+ const triggerInput = document.querySelector('#showExampleTriggerInput');
1149
+ const dropdownElem = document.querySelector('#showMethodExample');
1150
+
1151
+ triggerInput.addEventListener('keydown', () => {
1152
+ dropdownElem.show();
1153
+ });
1154
+ }
1155
+ ```
1156
+ <!-- AURO-GENERATED-CONTENT:END -->
1157
+ </auro-accordion>
1158
+
1159
+ #### hide
1160
+
1161
+ The `hide` method can be called from within the default slot content. This is useful for cases such as `auro-select` when the dropdown should be collapsed after making a selection.
1162
+
1163
+ The `hide` method may also be called from anywhere in your code by executing `document.querySelector('#idOfTheDropdownElement').hide()`.
1164
+
1165
+ This example demonstrations collapsing the dropdown by clicking a button within the dropdown bib content.
1166
+
1167
+ <div class="exampleWrapper">
1168
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/programmaticallyHide.html) -->
1169
+ <!-- The below content is automatically added from ./../apiExamples/programmaticallyHide.html -->
1170
+ <auro-dropdown id="hideExample" aria-label="custom label" fluid rounded bordered inset>
1171
+ <p>
1172
+ Lorem ipsum solar
1173
+ </p>
1174
+ <auro-button id="hideExampleBtn">
1175
+ Dismiss Dropdown
1176
+ </auro-button>
1177
+ <auro-input
1178
+ slot="trigger"
1179
+ id="hideExampleTrigger">
1180
+ </auro-input>
1181
+ </auro-dropdown>
1182
+ <!-- AURO-GENERATED-CONTENT:END -->
1183
+ </div>
1184
+ <auro-accordion alignRight>
1185
+ <span slot="trigger">See code</span>
1186
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/programmaticallyHide.html) -->
1187
+ <!-- The below code snippet is automatically added from ./../apiExamples/programmaticallyHide.html -->
1188
+
1189
+ ```html
1190
+ <auro-dropdown id="hideExample" aria-label="custom label" fluid rounded bordered inset>
1191
+ <p>
1192
+ Lorem ipsum solar
1193
+ </p>
1194
+ <auro-button id="hideExampleBtn">
1195
+ Dismiss Dropdown
1196
+ </auro-button>
1197
+ <auro-input
1198
+ slot="trigger"
1199
+ id="hideExampleTrigger">
1200
+ </auro-input>
1201
+ </auro-dropdown>
1202
+ ```
1203
+ <!-- AURO-GENERATED-CONTENT:END -->
1204
+ </auro-accordion>
1205
+ </auro-accordion>
1206
+
1207
+ ### Other Examples
1208
+
1209
+ #### Width and Sizing Behavior
1210
+
1211
+ - **Width:** The `auro-dropdown` component will automatically consume the full width of its parent container. To make it narrower, you can style the `size` part.
1212
+
1213
+ - **Styling Options:** Only the following styles can be applied to the `size` part:
1214
+ - `width`
1215
+ - `height`
1216
+ - `maxWidth`
1217
+ - `maxHeight`
1218
+
1219
+ - **Scroll Behavior:** When the content exceeds the specified size, the browser will provide a scroll for the overflow.
1220
+
1221
+ <div class="exampleWrapper">
1222
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/customDimensions100.html) -->
1223
+ <!-- The below content is automatically added from ./../apiExamples/customDimensions100.html -->
1224
+ <style>
1225
+ #customDropdown100::part(size) {
1226
+ width: 100px;
1227
+ max-height: 200px;
1228
+ }
1229
+ </style>
1230
+ <div style="width: 100px;" aria-label="custom label">
1231
+ <auro-dropdown id="customDropdown100" inset bordered rounded chevron>
1232
+ <div>
1233
+ <p>
1234
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
1235
+ </p>
1236
+ <p>
1237
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
1238
+ </p>
1239
+ <p>
1240
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
1241
+ </p>
1242
+ </div>
1243
+ <div slot="trigger">
1244
+ Trigger
1245
+ </div>
1246
+ </auro-dropdown>
1247
+ </div>
1248
+ <!-- AURO-GENERATED-CONTENT:END -->
1249
+ </div>
1250
+ <auro-accordion alignRight>
1251
+ <span slot="trigger">See code</span>
1252
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/customDimensions100.html) -->
1253
+ <!-- The below code snippet is automatically added from ./../apiExamples/customDimensions100.html -->
1254
+
1255
+ ```html
1256
+ <style>
1257
+ #customDropdown100::part(size) {
1258
+ width: 100px;
1259
+ max-height: 200px;
1260
+ }
1261
+ </style>
1262
+ <div style="width: 100px;" aria-label="custom label">
1263
+ <auro-dropdown id="customDropdown100" inset bordered rounded chevron>
1264
+ <div>
1265
+ <p>
1266
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
1267
+ </p>
1268
+ <p>
1269
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
1270
+ </p>
1271
+ <p>
1272
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
1273
+ </p>
1274
+ </div>
1275
+ <div slot="trigger">
1276
+ Trigger
1277
+ </div>
1278
+ </auro-dropdown>
1279
+ </div>
1280
+ ```
1281
+ <!-- AURO-GENERATED-CONTENT:END -->
1282
+ </auro-accordion>
1283
+
1284
+ #### Truncated trigger component with fixed width
1285
+
1286
+ `auro-dropdown` trigger component will be truncated if the text is too long than its container width.
1287
+
1288
+ <div class="exampleWrapper">
1289
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/truncatedText.html) -->
1290
+ <!-- The below content is automatically added from ./../apiExamples/truncatedText.html -->
1291
+ <div style="width: 250px;">
1292
+ <auro-dropdown common aria-label="Label content for screen reader">
1293
+ <div style="padding: var(--ds-size-150); width: 500px;">
1294
+ I really prefer Alaska Airlines for my vacation travels
1295
+ </div>
1296
+ <span slot="helpText">
1297
+ Help text
1298
+ </span>
1299
+ <div slot="trigger">
1300
+ I really prefer Alaska Airlines for my vacation travels
1301
+ </div>
1302
+ </auro-dropdown>
1303
+ </div>
1304
+ <!-- AURO-GENERATED-CONTENT:END -->
1305
+ </div>
1306
+ <auro-accordion alignRight>
1307
+ <span slot="trigger">See code</span>
1308
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/truncatedText.html) -->
1309
+ <!-- The below code snippet is automatically added from ./../apiExamples/truncatedText.html -->
1310
+
1311
+ ```html
1312
+ <div style="width: 250px;">
1313
+ <auro-dropdown common aria-label="Label content for screen reader">
1314
+ <div style="padding: var(--ds-size-150); width: 500px;">
1315
+ I really prefer Alaska Airlines for my vacation travels
1316
+ </div>
1317
+ <span slot="helpText">
1318
+ Help text
1319
+ </span>
1320
+ <div slot="trigger">
1321
+ I really prefer Alaska Airlines for my vacation travels
1322
+ </div>
1323
+ </auro-dropdown>
1324
+ </div>
1325
+ ```
1326
+ <!-- AURO-GENERATED-CONTENT:END -->
1327
+ </auro-accordion>
1328
+
1329
+ #### in Dialog
1330
+
1331
+ The component can be in a dialog.
1332
+
1333
+ <div class="exampleWrapper">
1334
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/inDialog.html) -->
1335
+ <!-- The below content is automatically added from ./../apiExamples/inDialog.html -->
1336
+ <div>
1337
+ <auro-button id="dropdown-dialog-opener">Dropdown in Dialog</auro-button>
1338
+ <auro-dialog id="dropdown-dialog">
1339
+ <span slot="header">Dropdown in Dialog</span>
1340
+ <div slot="content">
1341
+ <auro-dropdown id="commonSlot" common bordered rounded inset chevron>
1342
+ <div style="padding: var(--ds-size-150);">
1343
+ Lorem ipsum solar
1344
+ <br />
1345
+ <auro-button onclick="document.querySelector('#commonSlot').hide()">
1346
+ Dismiss Dropdown
1347
+ </auro-button>
1348
+ </div>
1349
+ <span slot="helpText">
1350
+ Help text
1351
+ </span>
1352
+ <span slot="label">
1353
+ Element label (default text will be read by screen reader)
1354
+ </span>
1355
+ <div slot="trigger">
1356
+ Dropdown Trigger in Dialog
1357
+ </div>
1358
+ </auro-dropdown>
1359
+ </div>
1360
+ </auro-dialog>
1361
+ </div>
1362
+ <!-- AURO-GENERATED-CONTENT:END -->
1363
+ </div>
1364
+ <auro-accordion alignRight>
1365
+ <span slot="trigger">See code</span>
1366
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/inDialog.html) -->
1367
+ <!-- The below code snippet is automatically added from ./../apiExamples/inDialog.html -->
1368
+
1369
+ ```html
1370
+ <div>
1371
+ <auro-button id="dropdown-dialog-opener">Dropdown in Dialog</auro-button>
1372
+ <auro-dialog id="dropdown-dialog">
1373
+ <span slot="header">Dropdown in Dialog</span>
1374
+ <div slot="content">
1375
+ <auro-dropdown id="commonSlot" common bordered rounded inset chevron>
1376
+ <div style="padding: var(--ds-size-150);">
1377
+ Lorem ipsum solar
1378
+ <br />
1379
+ <auro-button onclick="document.querySelector('#commonSlot').hide()">
1380
+ Dismiss Dropdown
1381
+ </auro-button>
1382
+ </div>
1383
+ <span slot="helpText">
1384
+ Help text
1385
+ </span>
1386
+ <span slot="label">
1387
+ Element label (default text will be read by screen reader)
1388
+ </span>
1389
+ <div slot="trigger">
1390
+ Dropdown Trigger in Dialog
1391
+ </div>
1392
+ </auro-dropdown>
1393
+ </div>
1394
+ </auro-dialog>
1395
+ </div>
1396
+ ```
1397
+ <!-- AURO-GENERATED-CONTENT:END -->
1398
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/inDialog.js) -->
1399
+ <!-- The below code snippet is automatically added from ./../apiExamples/inDialog.js -->
1400
+
1401
+ ```js
1402
+ export function inDialogExample() {
1403
+ document.querySelector("#dropdown-dialog-opener").addEventListener("click", () => {
1404
+ const dialog = document.querySelector("#dropdown-dialog");
1405
+ dialog.open = true;
1406
+ });
1407
+ };
1408
+ ```
1409
+ <!-- AURO-GENERATED-CONTENT:END -->
1410
+ </auro-accordion>
1411
+
1412
+ ### Theme Support
1413
+
1414
+ The component may be restyled using the following code sample and changing the values of the following token(s).
1415
+
1416
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../src/styles/tokens.scss) -->
1417
+ <!-- The below code snippet is automatically added from ./../src/styles/tokens.scss -->
1418
+
1419
+ ```scss
1420
+ @import "@aurodesignsystem/design-tokens/dist/alaska/SCSSVariables--alaska";
1421
+ @import "@aurodesignsystem/design-tokens/dist/auro-classic/SCSSVariables";
1422
+
1423
+ :host {
1424
+ --ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-muted, #{$ds-basic-color-texticon-muted});
1425
+ --ds-auro-dropdown-trigger-container-color: var(--ds-basic-color-surface-default, #{$ds-basic-color-surface-default});
1426
+ --ds-auro-dropdown-trigger-border-color: transparent;
1427
+ --ds-auro-dropdown-trigger-outline-color: transparent;
1428
+ --ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-default, #{$ds-basic-color-texticon-default});
1429
+ --ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, #{$ds-elevation-200});
1430
+ --ds-auro-dropdownbib-container-color: var(--ds-basic-color-surface-default, #{$ds-basic-color-surface-default});
1431
+ --ds-auro-dropdownbib-text-color: var(--ds-basic-color-texticon-default, #{$ds-basic-color-texticon-default});
1432
+ }
1433
+ ```
1434
+ <!-- AURO-GENERATED-CONTENT:END -->