@aurodesignsystem-dev/auro-formkit 0.0.0-pr757.2 → 0.0.0-pr773.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 (50) hide show
  1. package/components/bibtemplate/dist/index.js +1 -1
  2. package/components/bibtemplate/dist/registered.js +1 -1
  3. package/components/checkbox/demo/api.min.js +9 -9
  4. package/components/checkbox/demo/index.min.js +9 -9
  5. package/components/checkbox/dist/index.js +9 -9
  6. package/components/checkbox/dist/registered.js +9 -9
  7. package/components/combobox/demo/api.min.js +77 -94
  8. package/components/combobox/demo/index.min.js +77 -94
  9. package/components/combobox/dist/index.js +41 -83
  10. package/components/combobox/dist/registered.js +41 -83
  11. package/components/counter/demo/api.min.js +34 -76
  12. package/components/counter/demo/index.min.js +34 -76
  13. package/components/counter/dist/index.js +34 -76
  14. package/components/counter/dist/registered.js +34 -76
  15. package/components/datepicker/demo/api.min.js +62 -89
  16. package/components/datepicker/demo/index.min.js +62 -89
  17. package/components/datepicker/dist/auro-datepicker.d.ts +6 -0
  18. package/components/datepicker/dist/index.js +62 -89
  19. package/components/datepicker/dist/registered.js +62 -89
  20. package/components/dropdown/demo/api.md +60 -266
  21. package/components/dropdown/demo/api.min.js +25 -67
  22. package/components/dropdown/demo/index.md +45 -363
  23. package/components/dropdown/demo/index.min.js +25 -67
  24. package/components/dropdown/dist/auro-dropdown.d.ts +21 -71
  25. package/components/dropdown/dist/index.js +25 -67
  26. package/components/dropdown/dist/registered.js +25 -67
  27. package/components/helptext/dist/index.js +1 -1
  28. package/components/helptext/dist/registered.js +1 -1
  29. package/components/input/demo/api.min.js +9 -9
  30. package/components/input/demo/index.min.js +9 -9
  31. package/components/input/dist/index.js +9 -9
  32. package/components/input/dist/registered.js +9 -9
  33. package/components/menu/demo/api.md +1 -1
  34. package/components/menu/demo/api.min.js +36 -11
  35. package/components/menu/demo/index.min.js +36 -11
  36. package/components/menu/dist/auro-menu.d.ts +13 -2
  37. package/components/menu/dist/index.js +36 -11
  38. package/components/menu/dist/registered.js +36 -11
  39. package/components/radio/demo/api.min.js +10 -10
  40. package/components/radio/demo/index.min.js +10 -10
  41. package/components/radio/dist/auro-radio.d.ts +1 -1
  42. package/components/radio/dist/index.js +10 -10
  43. package/components/radio/dist/registered.js +10 -10
  44. package/components/select/demo/api.md +2 -2
  45. package/components/select/demo/api.min.js +98 -168
  46. package/components/select/demo/index.min.js +98 -168
  47. package/components/select/dist/auro-select.d.ts +13 -3
  48. package/components/select/dist/index.js +62 -157
  49. package/components/select/dist/registered.js +62 -157
  50. package/package.json +1 -1
@@ -3,47 +3,35 @@
3
3
 
4
4
  # auro-dropdown
5
5
 
6
- ## Attributes
7
-
8
- | Attribute | Type | Description |
9
- |--------------------|-------------|--------------------------------------------------|
10
- | [bordered](#bordered) | ` Boolean ` | If declared, applies a border around the trigger slot. |
11
- | [disableEventShow](#disableEventShow) | ` Boolean ` | If declared, the dropdown will only show by calling the API .show() public method. |
12
-
13
6
  ## Properties
14
7
 
15
- | Property | Attribute | Modifiers | Type | Default | Description |
16
- |-------------------------|-------------------------|-----------|--------------------------------------------------|----------------|--------------------------------------------------|
17
- | `a11yAutocomplete` | | | `string` | | The value for the aria-autocomplete attribute of the trigger element. |
18
- | `a11yRole` | | | | | The value for the role attribute of the trigger element. |
19
- | [autoPlacement](#autoPlacement) | `autoPlacement` | | `boolean` | "false" | If declared, bib's position will be automatically calculated where to appear. |
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
- | [commonWrapperClasses](#commonWrapperClasses) | | readonly | `{ trigger: boolean; wrapper: boolean; hasFocus: boolean \| undefined; simple: boolean \| undefined; parentBorder: boolean; }` | | |
23
- | [disableFocusTrap](#disableFocusTrap) | `disableFocusTrap` | | `boolean` | | If declare, the focus trap inside of bib will be turned off. |
24
- | [disabled](#disabled) | `disabled` | | ` Boolean ` | | If declared, the dropdown is not interactive. |
25
- | [error](#error) | `error` | | ` Boolean ` | | If declared in combination with not using the `simple` property or `helpText` slot content, will apply red color to both. |
26
- | [errorMessage](#errorMessage) | `errorMessage` | | `string` | "" | Contains the help text message for the current validity error. |
27
- | [fluid](#fluid) | `fluid` | | `Boolean` | | Makes the trigger to be full width of its parent container. |
28
- | [focusShow](#focusShow) | `focusShow` | | ` Boolean ` | | If declared, the bib will display when focus is applied to the trigger. |
29
- | [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. |
30
- | [hoverToggle](#hoverToggle) | `hoverToggle` | | ` Boolean ` | | If declared, the trigger will toggle the dropdown on mouseover/mouseout. |
31
- | [inset](#inset) | `inset` | | ` Boolean ` | | If declared, will apply padding around trigger slot content. |
32
- | [isBibFullscreen](#isBibFullscreen) | `isBibFullscreen` | | `boolean` | false | If true, the dropdown bib is taking the fullscreen when it's open. |
33
- | [isPopoverVisible](#isPopoverVisible) | `isPopoverVisible` | | ` Boolean ` | false | If true, the dropdown bib is displayed. |
34
- | [layout](#layout) | | | `string` | "classic" | |
35
- | [matchWidth](#matchWidth) | `matchWidth` | | ` Boolean ` | false | If declared, the popover and trigger will be set to the same width. |
36
- | [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`. |
37
- | [noHideOnThisFocusLoss](#noHideOnThisFocusLoss) | `noHideOnThisFocusLoss` | | ` Boolean ` | false | If declared, the dropdown will not hide when moving focus outside the element. |
38
- | [noToggle](#noToggle) | `noToggle` | | ` Boolean ` | | If declared, the trigger will only show the dropdown bib. |
39
- | [offset](#offset) | `offset` | | `number` | "0" | Gap between the trigger element and bib. |
40
- | [onDark](#onDark) | `onDark` | | `boolean` | | If declared, onDark styles will be applied. |
41
- | [onSlotChange](#onSlotChange) | `onSlotChange` | | | | |
42
- | [placement](#placement) | `placement` | | `string` | "bottom-start" | Position where the bib should appear relative to the trigger. |
43
- | [rounded](#rounded) | `rounded` | | ` Boolean ` | | If declared, will apply border-radius to trigger and default slots. |
44
- | [shape](#shape) | | | `string` | "classic" | |
45
- | [simple](#simple) | `simple` | | `boolean` | | If declared, applies a border around the trigger slot. |
46
- | [size](#size) | | | `string` | "xl" | |
8
+ | Property | Attribute | Type | Default | Description |
9
+ |-------------------------|-------------------------|-------------|----------------|--------------------------------------------------|
10
+ | `a11yRole` | | | | The value for the role attribute of the trigger element. |
11
+ | [autoPlacement](#autoPlacement) | `autoPlacement` | `boolean` | "false" | If declared, bib's position will be automatically calculated where to appear. |
12
+ | [chevron](#chevron) | `chevron` | ` Boolean ` | | If declared, the dropdown displays a chevron on the right. |
13
+ | [disableEventShow](#disableEventShow) | `disableEventShow` | ` Boolean ` | "false" | If declared, the dropdown will only show by calling the API .show() public method. |
14
+ | [disableFocusTrap](#disableFocusTrap) | `disableFocusTrap` | `boolean` | | If declared, the focus trap inside of bib will be turned off. |
15
+ | [disabled](#disabled) | `disabled` | ` Boolean ` | | If declared, the dropdown is not interactive. |
16
+ | [error](#error) | `error` | ` Boolean ` | | If declared in combination with not using the `simple` property or `helpText` slot content, will apply red color to both. |
17
+ | [errorMessage](#errorMessage) | `errorMessage` | `string` | "undefined" | Contains the help text message for the current validity error. |
18
+ | [focusShow](#focusShow) | `focusShow` | ` Boolean ` | | If declared, the bib will display when focus is applied to the trigger. |
19
+ | [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. |
20
+ | [hoverToggle](#hoverToggle) | `hoverToggle` | ` Boolean ` | | If declared, the trigger will toggle the dropdown on mouseover/mouseout. |
21
+ | [isBibFullscreen](#isBibFullscreen) | `isBibFullscreen` | `boolean` | false | If true, the dropdown bib is taking the fullscreen when it's open. |
22
+ | [isPopoverVisible](#isPopoverVisible) | `isPopoverVisible` | ` Boolean ` | false | If true, the dropdown bib is displayed. |
23
+ | [layout](#layout) | | | "undefined" | |
24
+ | [matchWidth](#matchWidth) | `matchWidth` | ` Boolean ` | false | If declared, the popover and trigger will be set to the same width. |
25
+ | [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`. |
26
+ | [noHideOnThisFocusLoss](#noHideOnThisFocusLoss) | `noHideOnThisFocusLoss` | ` Boolean ` | false | If declared, the dropdown will not hide when moving focus outside the element. |
27
+ | [noToggle](#noToggle) | `noToggle` | ` Boolean ` | | If declared, the trigger will only show the dropdown bib. |
28
+ | [offset](#offset) | `offset` | `number` | "0" | Gap between the trigger element and bib. |
29
+ | [onDark](#onDark) | `onDark` | `boolean` | | If declared, onDark styles will be applied. |
30
+ | [onSlotChange](#onSlotChange) | `onSlotChange` | | | If declared, and a function is set, that function will execute when the slot content is updated. |
31
+ | [placement](#placement) | `placement` | `string` | "bottom-start" | Position where the bib should appear relative to the trigger. |
32
+ | [shape](#shape) | | | "undefined" | |
33
+ | [simple](#simple) | `simple` | `boolean` | | If declared, applies a border around the trigger slot. |
34
+ | [size](#size) | | | "undefined" | |
47
35
 
48
36
  ## Methods
49
37
 
@@ -58,7 +46,7 @@
58
46
 
59
47
  | Event | Type | Description |
60
48
  |-----------------------------|--------------------------------------|--------------------------------------------------|
61
- | `auroDropdown-idAdded` | `Object<key : 'id', value: string>` | Notifies consumers that the unique ID for the dropdown bib has been generated. |
49
+ | `auroDropdown-idAdded` | `Object<key : 'id', value: string>` | |
62
50
  | `auroDropdown-toggled` | | Notifies that the visibility of the dropdown bib has changed. |
63
51
  | `auroDropdown-triggerClick` | | Notifies that the trigger has been clicked. |
64
52
 
@@ -68,7 +56,6 @@
68
56
  |------------|---------------------------------------|
69
57
  | | Default slot for the popover content. |
70
58
  | [helpText](#helpText) | Defines the content of the helpText. |
71
- | [label](#label) | Defines the content of the label. |
72
59
  | [trigger](#trigger) | Defines the content of the trigger. |
73
60
 
74
61
  ## CSS Shadow Parts
@@ -85,7 +72,9 @@
85
72
 
86
73
  ### Basic
87
74
 
88
- The most basic, simple version of `auro-dropdown`.
75
+ The most basic, simple version of `auro-dropdown`.
76
+
77
+ #### Text content in trigger
89
78
 
90
79
  <div class="exampleWrapper">
91
80
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
@@ -133,6 +122,9 @@ The most basic, simple version of `auro-dropdown`.
133
122
  </auro-dropdown>
134
123
  <!-- AURO-GENERATED-CONTENT:END -->
135
124
  </auro-accordion>
125
+
126
+ #### Icon content in trigger
127
+
136
128
  <div class="exampleWrapper">
137
129
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicIcon.html) -->
138
130
  <!-- The below content is automatically added from ./../apiExamples/basicIcon.html -->
@@ -169,9 +161,7 @@ The most basic, simple version of `auro-dropdown`.
169
161
  <auro-dropdown aria-label="custom label">
170
162
  Lorem ipsum solar
171
163
  <div slot="trigger">
172
- <auro-button
173
- slot="trigger"
174
- fluid>
164
+ <auro-button slot="trigger">
175
165
  Dropdown
176
166
  </auro-button>
177
167
  </div>
@@ -187,9 +177,7 @@ The most basic, simple version of `auro-dropdown`.
187
177
  <auro-dropdown aria-label="custom label">
188
178
  Lorem ipsum solar
189
179
  <div slot="trigger">
190
- <auro-button
191
- slot="trigger"
192
- fluid>
180
+ <auro-button slot="trigger">
193
181
  Dropdown
194
182
  </auro-button>
195
183
  </div>
@@ -218,7 +206,7 @@ Adds the border style around the dropdown trigger.
218
206
  <div class="exampleWrapper--ondark" aria-hidden>
219
207
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkBordered.html) -->
220
208
  <!-- The below content is automatically added from ./../apiExamples/onDarkBordered.html -->
221
- <auro-dropdown onDark aria-label="custom label" bordered>
209
+ <auro-dropdown onDark aria-label="custom label" layout="classic" shape="classic" size="lg">
222
210
  Lorem ipsum solar
223
211
  <div slot="trigger">
224
212
  Trigger
@@ -242,7 +230,7 @@ Adds the border style around the dropdown trigger.
242
230
  <!-- AURO-GENERATED-CONTENT:END -->
243
231
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkBordered.html) -->
244
232
  <!-- The below content is automatically added from ./../apiExamples/onDarkBordered.html -->
245
- <auro-dropdown onDark aria-label="custom label" bordered>
233
+ <auro-dropdown onDark aria-label="custom label" layout="classic" shape="classic" size="lg">
246
234
  Lorem ipsum solar
247
235
  <div slot="trigger">
248
236
  Trigger
@@ -317,9 +305,7 @@ Adds the bib visibility state chevron to the right side of the trigger content.
317
305
  <auro-dropdown aria-label="custom label" chevron>
318
306
  Lorem ipsum solar
319
307
  <div slot="trigger">
320
- <auro-button
321
- slot="trigger"
322
- fluid>
308
+ <auro-button slot="trigger">
323
309
  Dropdown
324
310
  </auro-button>
325
311
  </div>
@@ -335,9 +321,7 @@ Adds the bib visibility state chevron to the right side of the trigger content.
335
321
  <auro-dropdown aria-label="custom label" chevron>
336
322
  Lorem ipsum solar
337
323
  <div slot="trigger">
338
- <auro-button
339
- slot="trigger"
340
- fluid>
324
+ <auro-button slot="trigger">
341
325
  Dropdown
342
326
  </auro-button>
343
327
  </div>
@@ -413,9 +397,7 @@ Disables the trigger preventing the dropdown bib from being shown.
413
397
  disabled
414
398
  onDark
415
399
  chevron
416
- rounded
417
- inset
418
- bordered>
400
+ layout="classic" shape="classic" size="lg">
419
401
  Lorem ipsum solar
420
402
  <div slot="trigger">
421
403
  Trigger
@@ -462,9 +444,7 @@ Disables the trigger preventing the dropdown bib from being shown.
462
444
  disabled
463
445
  onDark
464
446
  chevron
465
- rounded
466
- inset
467
- bordered>
447
+ layout="classic" shape="classic" size="lg">
468
448
  Lorem ipsum solar
469
449
  <div slot="trigger">
470
450
  Trigger
@@ -509,7 +489,7 @@ Adds the error state UI to the trigger.
509
489
  <div class="exampleWrapper--ondark" aria-hidden>
510
490
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkError.html) -->
511
491
  <!-- The below content is automatically added from ./../apiExamples/onDarkError.html -->
512
- <auro-dropdown onDark common error id="commonSlotErrorOnDark">
492
+ <auro-dropdown onDark layout="classic" shape="classic" size="lg" error id="commonSlotErrorOnDark">
513
493
  <div style="padding: var(--ds-size-150);">
514
494
  Lorem ipsum solar
515
495
  <br />
@@ -557,7 +537,7 @@ Adds the error state UI to the trigger.
557
537
  <!-- AURO-GENERATED-CONTENT:END -->
558
538
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkError.html) -->
559
539
  <!-- The below content is automatically added from ./../apiExamples/onDarkError.html -->
560
- <auro-dropdown onDark common error id="commonSlotErrorOnDark">
540
+ <auro-dropdown onDark layout="classic" shape="classic" size="lg" error id="commonSlotErrorOnDark">
561
541
  <div style="padding: var(--ds-size-150);">
562
542
  Lorem ipsum solar
563
543
  <br />
@@ -578,147 +558,6 @@ Adds the error state UI to the trigger.
578
558
  <!-- AURO-GENERATED-CONTENT:END -->
579
559
  </auro-accordion>
580
560
 
581
- #### fluid
582
-
583
- The `fluid` property makes the trigger to have the full width.
584
-
585
- <div class="exampleWrapper">
586
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/fluid.html) -->
587
- <!-- The below content is automatically added from ./../apiExamples/fluid.html -->
588
- <auro-dropdown aria-label="custom label" fluid>
589
- Lorem ipsum solar
590
- <div slot="trigger">
591
- <auro-input
592
- borderless
593
- slot="trigger"
594
- id="inputExampleTrigger">
595
- </auro-input>
596
- </div>
597
- </auro-dropdown>
598
- <!-- AURO-GENERATED-CONTENT:END -->
599
- </div>
600
- <auro-accordion alignRight>
601
- <span slot="trigger">See code</span>
602
- <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/fluid.html) -->
603
- <!-- The below code snippet is automatically added from ./../apiExamples/fluid.html -->
604
-
605
- ```html
606
- <auro-dropdown aria-label="custom label" fluid>
607
- Lorem ipsum solar
608
- <div slot="trigger">
609
- <auro-input
610
- borderless
611
- slot="trigger"
612
- id="inputExampleTrigger">
613
- </auro-input>
614
- </div>
615
- </auro-dropdown>
616
- ```
617
- <!-- AURO-GENERATED-CONTENT:END -->
618
- </auro-accordion>
619
-
620
- #### inset
621
-
622
- The `inset` property applies a predefined amount of CSS `padding` to the `trigger` slot content. Use this property to apply borderless style.
623
-
624
- <div class="exampleWrapper">
625
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/inset.html) -->
626
- <!-- The below content is automatically added from ./../apiExamples/inset.html -->
627
- <auro-dropdown aria-label="custom label" inset>
628
- Lorem ipsum solar
629
- <div slot="trigger">
630
- Trigger
631
- </div>
632
- </auro-dropdown>
633
- <!-- AURO-GENERATED-CONTENT:END -->
634
- </div>
635
- <auro-accordion alignRight>
636
- <span slot="trigger">See code</span>
637
- <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/inset.html) -->
638
- <!-- The below code snippet is automatically added from ./../apiExamples/inset.html -->
639
-
640
- ```html
641
- <auro-dropdown aria-label="custom label" inset>
642
- Lorem ipsum solar
643
- <div slot="trigger">
644
- Trigger
645
- </div>
646
- </auro-dropdown>
647
- ```
648
- <!-- AURO-GENERATED-CONTENT:END -->
649
- </auro-accordion>
650
- <div class="exampleWrapper">
651
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/insetBordered.html) -->
652
- <!-- The below content is automatically added from ./../apiExamples/insetBordered.html -->
653
- <auro-dropdown
654
- aria-label="custom label"
655
- inset
656
- rounded
657
- bordered>
658
- Lorem ipsum solar
659
- <div slot="trigger">
660
- Trigger
661
- </div>
662
- </auro-dropdown>
663
- <!-- AURO-GENERATED-CONTENT:END -->
664
- </div>
665
- <auro-accordion alignRight>
666
- <span slot="trigger">See code</span>
667
- <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/insetBordered.html) -->
668
- <!-- The below code snippet is automatically added from ./../apiExamples/insetBordered.html -->
669
-
670
- ```html
671
- <auro-dropdown
672
- aria-label="custom label"
673
- inset
674
- rounded
675
- bordered>
676
- Lorem ipsum solar
677
- <div slot="trigger">
678
- Trigger
679
- </div>
680
- </auro-dropdown>
681
- ```
682
- <!-- AURO-GENERATED-CONTENT:END -->
683
- </auro-accordion>
684
-
685
- #### rounded
686
-
687
- The `rounded` property applies `border-radius` CSS to the trigger and default slot content.
688
-
689
- <div class="exampleWrapper">
690
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/rounded.html) -->
691
- <!-- The below content is automatically added from ./../apiExamples/rounded.html -->
692
- <auro-dropdown
693
- aria-label="custom label"
694
- rounded
695
- bordered>
696
- Lorem ipsum solar
697
- <div slot="trigger">
698
- Trigger
699
- </div>
700
- </auro-dropdown>
701
- <!-- AURO-GENERATED-CONTENT:END -->
702
- </div>
703
- <auro-accordion alignRight>
704
- <span slot="trigger">See code</span>
705
- <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/rounded.html) -->
706
- <!-- The below code snippet is automatically added from ./../apiExamples/rounded.html -->
707
-
708
- ```html
709
- <auro-dropdown
710
- aria-label="custom label"
711
- rounded
712
- bordered>
713
- Lorem ipsum solar
714
- <div slot="trigger">
715
- Trigger
716
- </div>
717
- </auro-dropdown>
718
- ```
719
- <!-- AURO-GENERATED-CONTENT:END -->
720
- </auro-accordion>
721
-
722
561
  #### noToggle
723
562
 
724
563
  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.
@@ -764,7 +603,7 @@ On mobile view, adding the `fullscreenBreakpoint="{breakpoint-token}"` will swit
764
603
  }
765
604
  </style>
766
605
  <div style="width: 300px;" aria-label="custom label">
767
- <auro-dropdown id="customDropdown300" inset bordered rounded chevron fullscreenBreakpoint="sm">
606
+ <auro-dropdown id="customDropdown300" layout="classic" shape="classic" size="lg" chevron fullscreenBreakpoint="sm">
768
607
  <div>
769
608
  <p>
770
609
  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.
@@ -796,7 +635,7 @@ On mobile view, adding the `fullscreenBreakpoint="{breakpoint-token}"` will swit
796
635
  }
797
636
  </style>
798
637
  <div style="width: 300px;" aria-label="custom label">
799
- <auro-dropdown id="customDropdown300" inset bordered rounded chevron fullscreenBreakpoint="sm">
638
+ <auro-dropdown id="customDropdown300" layout="classic" shape="classic" size="lg" chevron fullscreenBreakpoint="sm">
800
639
  <div>
801
640
  <p>
802
641
  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.
@@ -835,7 +674,7 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
835
674
  }
836
675
  </style>
837
676
  <div aria-label="custom label">
838
- <auro-dropdown class="floaterConfigDropdown" inset bordered rounded chevron placement="bottom-end" offset="20" noFlip>
677
+ <auro-dropdown class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron placement="bottom-end" offset="20" noFlip>
839
678
  <div>
840
679
  <p>
841
680
  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.
@@ -854,7 +693,7 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
854
693
  </auro-dropdown>
855
694
  </div>
856
695
  <div aria-label="custom label">
857
- <auro-dropdown class="floaterConfigDropdown" inset bordered rounded chevron placement="bottom-end" offset="20">
696
+ <auro-dropdown class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron placement="bottom-end" offset="20">
858
697
  <div>
859
698
  <p>
860
699
  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.
@@ -875,7 +714,7 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
875
714
  </auro-dropdown>
876
715
  </div>
877
716
  <div aria-label="custom label">
878
- <auro-dropdown class="floaterConfigDropdown" inset bordered rounded chevron autoPlacement noFlip placement="right" offset="20">
717
+ <auro-dropdown class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron autoPlacement noFlip placement="right" offset="20">
879
718
  <div>
880
719
  <p>
881
720
  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.
@@ -910,7 +749,7 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
910
749
  }
911
750
  </style>
912
751
  <div aria-label="custom label">
913
- <auro-dropdown class="floaterConfigDropdown" inset bordered rounded chevron placement="bottom-end" offset="20" noFlip>
752
+ <auro-dropdown class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron placement="bottom-end" offset="20" noFlip>
914
753
  <div>
915
754
  <p>
916
755
  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.
@@ -929,7 +768,7 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
929
768
  </auro-dropdown>
930
769
  </div>
931
770
  <div aria-label="custom label">
932
- <auro-dropdown class="floaterConfigDropdown" inset bordered rounded chevron placement="bottom-end" offset="20">
771
+ <auro-dropdown class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron placement="bottom-end" offset="20">
933
772
  <div>
934
773
  <p>
935
774
  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.
@@ -950,7 +789,7 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
950
789
  </auro-dropdown>
951
790
  </div>
952
791
  <div aria-label="custom label">
953
- <auro-dropdown class="floaterConfigDropdown" inset bordered rounded chevron autoPlacement noFlip placement="right" offset="20">
792
+ <auro-dropdown class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron autoPlacement noFlip placement="right" offset="20">
954
793
  <div>
955
794
  <p>
956
795
  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.
@@ -1035,7 +874,7 @@ Content defined in the `label` slot will be rendered left aligned inside the tri
1035
874
 
1036
875
  #### helpText
1037
876
 
1038
- Content defined in the `helpText` slot will be rendered left aligned below the trigger.
877
+ Content defined in the `helpText` slot will be rendered left aligned below the trigger. This slot requires the `auro-helptext` component be used as slot content for the helptext to render with the same styles as other form elements.
1039
878
 
1040
879
  <div class="exampleWrapper">
1041
880
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/helpText.html) -->
@@ -1137,7 +976,7 @@ The `show` method may also be called from anywhere in your code by executing `do
1137
976
  <auro-input id="showExampleTriggerInput" required>
1138
977
  <span slot="label">Enter a value to show the dropdown</span>
1139
978
  </auro-input>
1140
- <auro-dropdown id="showMethodExample" aria-label="custom label" fluid rounded bordered inset>
979
+ <auro-dropdown id="showMethodExample" aria-label="custom label" layout="classic" shape="classic" size="lg">
1141
980
  <p>
1142
981
  Lorem ipsum solar
1143
982
  </p>
@@ -1154,7 +993,7 @@ The `show` method may also be called from anywhere in your code by executing `do
1154
993
  <auro-input id="showExampleTriggerInput" required>
1155
994
  <span slot="label">Enter a value to show the dropdown</span>
1156
995
  </auro-input>
1157
- <auro-dropdown id="showMethodExample" aria-label="custom label" fluid rounded bordered inset>
996
+ <auro-dropdown id="showMethodExample" aria-label="custom label" layout="classic" shape="classic" size="lg">
1158
997
  <p>
1159
998
  Lorem ipsum solar
1160
999
  </p>
@@ -1189,7 +1028,7 @@ This example demonstrations collapsing the dropdown by clicking a button within
1189
1028
  <div class="exampleWrapper">
1190
1029
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/programmaticallyHide.html) -->
1191
1030
  <!-- The below content is automatically added from ./../apiExamples/programmaticallyHide.html -->
1192
- <auro-dropdown id="hideExample" aria-label="custom label" fluid rounded bordered inset>
1031
+ <auro-dropdown id="hideExample" aria-label="custom label" layout="classic" shape="classic" size="lg">
1193
1032
  <p>
1194
1033
  Lorem ipsum solar
1195
1034
  </p>
@@ -1209,7 +1048,7 @@ This example demonstrations collapsing the dropdown by clicking a button within
1209
1048
  <!-- The below code snippet is automatically added from ./../apiExamples/programmaticallyHide.html -->
1210
1049
 
1211
1050
  ```html
1212
- <auro-dropdown id="hideExample" aria-label="custom label" fluid rounded bordered inset>
1051
+ <auro-dropdown id="hideExample" aria-label="custom label" layout="classic" shape="classic" size="lg">
1213
1052
  <p>
1214
1053
  Lorem ipsum solar
1215
1054
  </p>
@@ -1250,7 +1089,7 @@ This example demonstrations collapsing the dropdown by clicking a button within
1250
1089
  }
1251
1090
  </style>
1252
1091
  <div style="width: 100px;" aria-label="custom label">
1253
- <auro-dropdown id="customDropdown100" inset bordered rounded chevron>
1092
+ <auro-dropdown id="customDropdown100" layout="classic" shape="classic" size="lg" chevron>
1254
1093
  <div>
1255
1094
  <p>
1256
1095
  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.
@@ -1282,7 +1121,7 @@ This example demonstrations collapsing the dropdown by clicking a button within
1282
1121
  }
1283
1122
  </style>
1284
1123
  <div style="width: 100px;" aria-label="custom label">
1285
- <auro-dropdown id="customDropdown100" inset bordered rounded chevron>
1124
+ <auro-dropdown id="customDropdown100" layout="classic" shape="classic" size="lg" chevron>
1286
1125
  <div>
1287
1126
  <p>
1288
1127
  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.
@@ -1303,52 +1142,7 @@ This example demonstrations collapsing the dropdown by clicking a button within
1303
1142
  <!-- AURO-GENERATED-CONTENT:END -->
1304
1143
  </auro-accordion>
1305
1144
 
1306
- #### Truncated trigger component with fixed width
1307
-
1308
- `auro-dropdown` trigger component will be truncated if the text is too long than its container width.
1309
-
1310
- <div class="exampleWrapper">
1311
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/truncatedText.html) -->
1312
- <!-- The below content is automatically added from ./../apiExamples/truncatedText.html -->
1313
- <div style="width: 250px;">
1314
- <auro-dropdown common aria-label="Label content for screen reader">
1315
- <div style="padding: var(--ds-size-150); width: 500px;">
1316
- I really prefer Alaska Airlines for my vacation travels
1317
- </div>
1318
- <span slot="helpText">
1319
- Help text
1320
- </span>
1321
- <div slot="trigger">
1322
- I really prefer Alaska Airlines for my vacation travels
1323
- </div>
1324
- </auro-dropdown>
1325
- </div>
1326
- <!-- AURO-GENERATED-CONTENT:END -->
1327
- </div>
1328
- <auro-accordion alignRight>
1329
- <span slot="trigger">See code</span>
1330
- <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/truncatedText.html) -->
1331
- <!-- The below code snippet is automatically added from ./../apiExamples/truncatedText.html -->
1332
-
1333
- ```html
1334
- <div style="width: 250px;">
1335
- <auro-dropdown common aria-label="Label content for screen reader">
1336
- <div style="padding: var(--ds-size-150); width: 500px;">
1337
- I really prefer Alaska Airlines for my vacation travels
1338
- </div>
1339
- <span slot="helpText">
1340
- Help text
1341
- </span>
1342
- <div slot="trigger">
1343
- I really prefer Alaska Airlines for my vacation travels
1344
- </div>
1345
- </auro-dropdown>
1346
- </div>
1347
- ```
1348
- <!-- AURO-GENERATED-CONTENT:END -->
1349
- </auro-accordion>
1350
-
1351
- #### in Dialog
1145
+ #### In Auro Dialog
1352
1146
 
1353
1147
  The component can be in a dialog.
1354
1148