@aurodesignsystem/auro-formkit 3.2.8 → 3.3.0-beta.2

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 (55) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/components/checkbox/README.md +1 -1
  3. package/components/checkbox/demo/readme.md +1 -1
  4. package/components/combobox/README.md +1 -1
  5. package/components/combobox/demo/api.md +1 -1
  6. package/components/combobox/demo/api.min.js +26 -5
  7. package/components/combobox/demo/index.min.js +26 -5
  8. package/components/combobox/demo/readme.md +1 -1
  9. package/components/combobox/dist/auro-combobox.d.ts +5 -2
  10. package/components/combobox/dist/index.js +26 -5
  11. package/components/combobox/dist/registered.js +26 -5
  12. package/components/counter/README.md +1 -1
  13. package/components/counter/demo/api.md +1 -1
  14. package/components/counter/demo/api.min.js +26 -5
  15. package/components/counter/demo/index.min.js +26 -5
  16. package/components/counter/demo/readme.md +1 -1
  17. package/components/counter/dist/auro-counter-group.d.ts +5 -2
  18. package/components/counter/dist/index.js +26 -5
  19. package/components/counter/dist/registered.js +26 -5
  20. package/components/datepicker/README.md +1 -1
  21. package/components/datepicker/demo/api.md +1 -0
  22. package/components/datepicker/demo/api.min.js +36 -4
  23. package/components/datepicker/demo/index.min.js +36 -4
  24. package/components/datepicker/demo/readme.md +1 -1
  25. package/components/datepicker/dist/auro-datepicker.d.ts +13 -0
  26. package/components/datepicker/dist/index.js +36 -4
  27. package/components/datepicker/dist/registered.js +36 -4
  28. package/components/dropdown/README.md +1 -1
  29. package/components/dropdown/demo/api.md +1 -1
  30. package/components/dropdown/demo/api.min.js +21 -3
  31. package/components/dropdown/demo/index.md +83 -0
  32. package/components/dropdown/demo/index.min.js +21 -3
  33. package/components/dropdown/demo/readme.md +1 -1
  34. package/components/dropdown/dist/auro-dropdown.d.ts +12 -1
  35. package/components/dropdown/dist/index.js +21 -3
  36. package/components/dropdown/dist/registered.js +21 -3
  37. package/components/form/README.md +1 -1
  38. package/components/form/demo/autocomplete.html +15 -0
  39. package/components/form/demo/readme.md +1 -1
  40. package/components/input/README.md +1 -1
  41. package/components/input/demo/readme.md +1 -1
  42. package/components/menu/README.md +1 -1
  43. package/components/menu/demo/readme.md +1 -1
  44. package/components/radio/README.md +1 -1
  45. package/components/radio/demo/readme.md +1 -1
  46. package/components/select/README.md +1 -1
  47. package/components/select/demo/api.md +1 -1
  48. package/components/select/demo/api.min.js +26 -5
  49. package/components/select/demo/index.md +46 -1
  50. package/components/select/demo/index.min.js +26 -5
  51. package/components/select/demo/readme.md +1 -1
  52. package/components/select/dist/auro-select.d.ts +5 -2
  53. package/components/select/dist/index.js +26 -5
  54. package/components/select/dist/registered.js +26 -5
  55. package/package.json +1 -1
@@ -14819,6 +14819,7 @@ var tokensCss$1$1 = css`:host{--ds-auro-dropdown-label-text-color: var(--ds-basi
14819
14819
 
14820
14820
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
14821
14821
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
14822
+ 'xl',
14822
14823
  'lg',
14823
14824
  'md',
14824
14825
  'sm',
@@ -14890,6 +14891,7 @@ class AuroDropdownBib extends LitElement {
14890
14891
 
14891
14892
  set mobileFullscreenBreakpoint(value) {
14892
14893
  // verify the defined breakpoint is valid and exit out if not
14894
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
14893
14895
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
14894
14896
  if (!validatedValue) {
14895
14897
  this._mobileBreakpointValue = undefined;
@@ -15415,7 +15417,12 @@ class AuroDropdown extends LitElement {
15415
15417
  },
15416
15418
 
15417
15419
  /**
15418
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
15420
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
15421
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
15422
+ *
15423
+ * When expanded, the dropdown will automatically display in fullscreen mode
15424
+ * if the screen size is equal to or smaller than the selected breakpoint.
15425
+ * @default sm
15419
15426
  */
15420
15427
  fullscreenBreakpoint: {
15421
15428
  type: String,
@@ -15555,6 +15562,15 @@ class AuroDropdown extends LitElement {
15555
15562
  AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
15556
15563
  }
15557
15564
 
15565
+ /**
15566
+ * Accessor for reusing the focusable entity query string.
15567
+ * @private
15568
+ * @returns {string}
15569
+ */
15570
+ get focusableEntityQuery () {
15571
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
15572
+ }
15573
+
15558
15574
  connectedCallback() {
15559
15575
  super.connectedCallback();
15560
15576
  }
@@ -15568,6 +15584,8 @@ class AuroDropdown extends LitElement {
15568
15584
  updated(changedProperties) {
15569
15585
  this.floater.handleUpdate(changedProperties);
15570
15586
 
15587
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
15588
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
15571
15589
  if (changedProperties.has('fullscreenBreakpoint')) {
15572
15590
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
15573
15591
  }
@@ -15718,7 +15736,7 @@ class AuroDropdown extends LitElement {
15718
15736
 
15719
15737
  this.triggerContentSlot.forEach((node) => {
15720
15738
  if (node.querySelectorAll) {
15721
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
15739
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
15722
15740
  auroElements.forEach((auroEl) => {
15723
15741
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
15724
15742
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -15739,7 +15757,7 @@ class AuroDropdown extends LitElement {
15739
15757
 
15740
15758
  this.triggerContentSlot.forEach((node) => {
15741
15759
  if (node.querySelectorAll) {
15742
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
15760
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
15743
15761
  auroElements.forEach((auroEl) => {
15744
15762
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
15745
15763
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -23033,6 +23051,7 @@ class AuroDatePicker extends LitElement {
23033
23051
  this.calendarEndDate = undefined;
23034
23052
  this.calendarFocusDate = this.value;
23035
23053
  this.format = 'mm/dd/yyyy';
23054
+ this.fullscreenBreakpoint = 'sm';
23036
23055
  this.monthNames = [
23037
23056
  'January',
23038
23057
  'February',
@@ -23170,6 +23189,19 @@ class AuroDatePicker extends LitElement {
23170
23189
  reflect: true
23171
23190
  },
23172
23191
 
23192
+ /**
23193
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
23194
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
23195
+ *
23196
+ * When expanded, the dropdown will automatically display in fullscreen mode
23197
+ * if the screen size is equal to or smaller than the selected breakpoint.
23198
+ * @default sm
23199
+ */
23200
+ fullscreenBreakpoint: {
23201
+ type: String,
23202
+ reflect: true
23203
+ },
23204
+
23173
23205
  /**
23174
23206
  * If declared, make bib.fullscreen.headline in HeadingDisplay.
23175
23207
  * Otherwise, Heading 600.
@@ -23996,7 +24028,7 @@ class AuroDatePicker extends LitElement {
23996
24028
  ?disabled="${this.disabled}"
23997
24029
  ?error="${this.validity !== undefined && this.validity !== 'valid'}"
23998
24030
  disableEventShow
23999
- fullscreenBreakpoint="sm"
24031
+ .fullscreenBreakpoint="${this.fullscreenBreakpoint}"
24000
24032
  .placement="${this.placement}"
24001
24033
  .offset="${this.offset}"
24002
24034
  ?autoPlacement="${this.autoPlacement}"
@@ -107,7 +107,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
107
107
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
108
108
 
109
109
  ```html
110
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-dropdown/+esm"></script>
110
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.8/auro-dropdown/+esm"></script>
111
111
  ```
112
112
  <!-- AURO-GENERATED-CONTENT:END -->
113
113
 
@@ -23,7 +23,7 @@
23
23
  | [error](#error) | `error` | ` Boolean ` | | If declared in combination with `bordered` property or `helpText` slot content, will apply red color to both. |
24
24
  | [fluid](#fluid) | `fluid` | `Boolean` | | Makes the trigger to be full width of its parent container. |
25
25
  | [focusShow](#focusShow) | `focusShow` | ` Boolean ` | | If declared, the bib will display when focus is applied to the trigger. |
26
- | [fullscreenBreakpoint](#fullscreenBreakpoint) | `fullscreenBreakpoint` | ` String ` | | Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint. |
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
27
  | [hoverToggle](#hoverToggle) | `hoverToggle` | ` Boolean ` | | If declared, the trigger will toggle the dropdown on mouseover/mouseout. |
28
28
  | [inset](#inset) | `inset` | ` Boolean ` | | If declared, will apply padding around trigger slot content. |
29
29
  | [isBibFullscreen](#isBibFullscreen) | `isBibFullscreen` | `boolean` | false | If true, the dropdown bib is taking the fullscreen when it's open. |
@@ -2655,6 +2655,7 @@ var tokensCss$1 = i$3`:host{--ds-auro-dropdown-label-text-color: var(--ds-basic-
2655
2655
 
2656
2656
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
2657
2657
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
2658
+ 'xl',
2658
2659
  'lg',
2659
2660
  'md',
2660
2661
  'sm',
@@ -2726,6 +2727,7 @@ class AuroDropdownBib extends i$1 {
2726
2727
 
2727
2728
  set mobileFullscreenBreakpoint(value) {
2728
2729
  // verify the defined breakpoint is valid and exit out if not
2730
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
2729
2731
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
2730
2732
  if (!validatedValue) {
2731
2733
  this._mobileBreakpointValue = undefined;
@@ -3251,7 +3253,12 @@ class AuroDropdown extends i$1 {
3251
3253
  },
3252
3254
 
3253
3255
  /**
3254
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
3256
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
3257
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
3258
+ *
3259
+ * When expanded, the dropdown will automatically display in fullscreen mode
3260
+ * if the screen size is equal to or smaller than the selected breakpoint.
3261
+ * @default sm
3255
3262
  */
3256
3263
  fullscreenBreakpoint: {
3257
3264
  type: String,
@@ -3391,6 +3398,15 @@ class AuroDropdown extends i$1 {
3391
3398
  AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroDropdown);
3392
3399
  }
3393
3400
 
3401
+ /**
3402
+ * Accessor for reusing the focusable entity query string.
3403
+ * @private
3404
+ * @returns {string}
3405
+ */
3406
+ get focusableEntityQuery () {
3407
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
3408
+ }
3409
+
3394
3410
  connectedCallback() {
3395
3411
  super.connectedCallback();
3396
3412
  }
@@ -3404,6 +3420,8 @@ class AuroDropdown extends i$1 {
3404
3420
  updated(changedProperties) {
3405
3421
  this.floater.handleUpdate(changedProperties);
3406
3422
 
3423
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
3424
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
3407
3425
  if (changedProperties.has('fullscreenBreakpoint')) {
3408
3426
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
3409
3427
  }
@@ -3554,7 +3572,7 @@ class AuroDropdown extends i$1 {
3554
3572
 
3555
3573
  this.triggerContentSlot.forEach((node) => {
3556
3574
  if (node.querySelectorAll) {
3557
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
3575
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
3558
3576
  auroElements.forEach((auroEl) => {
3559
3577
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
3560
3578
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -3575,7 +3593,7 @@ class AuroDropdown extends i$1 {
3575
3593
 
3576
3594
  this.triggerContentSlot.forEach((node) => {
3577
3595
  if (node.querySelectorAll) {
3578
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
3596
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
3579
3597
  auroElements.forEach((auroEl) => {
3580
3598
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
3581
3599
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -411,6 +411,89 @@ To make the dropdown to be just big as the trigger's content, style the `auro-dr
411
411
  <!-- AURO-GENERATED-CONTENT:END -->
412
412
  </auro-accordion>
413
413
 
414
+ ## Triggering a fullscreen dropdown
415
+ This example shows how to set a dropdown fullscreen breakpoint attribute. Most consuming components use `sm` by default, but
416
+ dropdown supports `xs`, `sm`, `md`, `lg`, `xl` and `disabled`, with `disabled` ensuring that the dropdown will never be fullscreen.
417
+
418
+ <div class="exampleWrapper">
419
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/fullscreen.html) -->
420
+ <!-- The below content is automatically added from ./../apiExamples/fullscreen.html -->
421
+ <h3>Never fullscreen</h3>
422
+ <auro-dropdown id="common-never-fullscreen" common aria-label="Label content for screen reader" fullscreenBreakpoint="disabled">
423
+ <div style="padding: var(--ds-size-150);">
424
+ Lorem ipsum solar
425
+ <br />
426
+ <auro-button onclick="document.querySelector('#common-never-fullscreen').hide()">
427
+ Dismiss Dropdown
428
+ </auro-button>
429
+ </div>
430
+ <span slot="helpText">
431
+ Help text
432
+ </span>
433
+ <div slot="trigger">
434
+ Trigger
435
+ </div>
436
+ </auro-dropdown>
437
+ <h3>Always fullscreen</h3>
438
+ <auro-dropdown id="common-always-fullscreen" common aria-label="Label content for screen reader" fullscreenBreakpoint="xl">
439
+ <div style="padding: var(--ds-size-150);">
440
+ Lorem ipsum solar
441
+ <br />
442
+ <auro-button onclick="document.querySelector('#common-always-fullscreen').hide()">
443
+ Dismiss Dropdown
444
+ </auro-button>
445
+ </div>
446
+ <span slot="helpText">
447
+ Help text
448
+ </span>
449
+ <div slot="trigger">
450
+ Trigger
451
+ </div>
452
+ </auro-dropdown>
453
+ <!-- AURO-GENERATED-CONTENT:END -->
454
+ </div>
455
+ <auro-accordion alignRight>
456
+ <span slot="trigger">See code</span>
457
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/fullscreen.html) -->
458
+ <!-- The below code snippet is automatically added from ./../apiExamples/fullscreen.html -->
459
+
460
+ ```html
461
+ <h3>Never fullscreen</h3>
462
+ <auro-dropdown id="common-never-fullscreen" common aria-label="Label content for screen reader" fullscreenBreakpoint="disabled">
463
+ <div style="padding: var(--ds-size-150);">
464
+ Lorem ipsum solar
465
+ <br />
466
+ <auro-button onclick="document.querySelector('#common-never-fullscreen').hide()">
467
+ Dismiss Dropdown
468
+ </auro-button>
469
+ </div>
470
+ <span slot="helpText">
471
+ Help text
472
+ </span>
473
+ <div slot="trigger">
474
+ Trigger
475
+ </div>
476
+ </auro-dropdown>
477
+ <h3>Always fullscreen</h3>
478
+ <auro-dropdown id="common-always-fullscreen" common aria-label="Label content for screen reader" fullscreenBreakpoint="xl">
479
+ <div style="padding: var(--ds-size-150);">
480
+ Lorem ipsum solar
481
+ <br />
482
+ <auro-button onclick="document.querySelector('#common-always-fullscreen').hide()">
483
+ Dismiss Dropdown
484
+ </auro-button>
485
+ </div>
486
+ <span slot="helpText">
487
+ Help text
488
+ </span>
489
+ <div slot="trigger">
490
+ Trigger
491
+ </div>
492
+ </auro-dropdown>
493
+ ```
494
+ <!-- AURO-GENERATED-CONTENT:END -->
495
+ </auro-accordion>
496
+
414
497
  ## Supported standard and accessible interactions
415
498
 
416
499
  The dropdown can be opened with the following actions:
@@ -2630,6 +2630,7 @@ var tokensCss$1 = i$3`:host{--ds-auro-dropdown-label-text-color: var(--ds-basic-
2630
2630
 
2631
2631
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
2632
2632
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
2633
+ 'xl',
2633
2634
  'lg',
2634
2635
  'md',
2635
2636
  'sm',
@@ -2701,6 +2702,7 @@ class AuroDropdownBib extends i$1 {
2701
2702
 
2702
2703
  set mobileFullscreenBreakpoint(value) {
2703
2704
  // verify the defined breakpoint is valid and exit out if not
2705
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
2704
2706
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
2705
2707
  if (!validatedValue) {
2706
2708
  this._mobileBreakpointValue = undefined;
@@ -3226,7 +3228,12 @@ class AuroDropdown extends i$1 {
3226
3228
  },
3227
3229
 
3228
3230
  /**
3229
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
3231
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
3232
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
3233
+ *
3234
+ * When expanded, the dropdown will automatically display in fullscreen mode
3235
+ * if the screen size is equal to or smaller than the selected breakpoint.
3236
+ * @default sm
3230
3237
  */
3231
3238
  fullscreenBreakpoint: {
3232
3239
  type: String,
@@ -3366,6 +3373,15 @@ class AuroDropdown extends i$1 {
3366
3373
  AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroDropdown);
3367
3374
  }
3368
3375
 
3376
+ /**
3377
+ * Accessor for reusing the focusable entity query string.
3378
+ * @private
3379
+ * @returns {string}
3380
+ */
3381
+ get focusableEntityQuery () {
3382
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
3383
+ }
3384
+
3369
3385
  connectedCallback() {
3370
3386
  super.connectedCallback();
3371
3387
  }
@@ -3379,6 +3395,8 @@ class AuroDropdown extends i$1 {
3379
3395
  updated(changedProperties) {
3380
3396
  this.floater.handleUpdate(changedProperties);
3381
3397
 
3398
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
3399
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
3382
3400
  if (changedProperties.has('fullscreenBreakpoint')) {
3383
3401
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
3384
3402
  }
@@ -3529,7 +3547,7 @@ class AuroDropdown extends i$1 {
3529
3547
 
3530
3548
  this.triggerContentSlot.forEach((node) => {
3531
3549
  if (node.querySelectorAll) {
3532
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
3550
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
3533
3551
  auroElements.forEach((auroEl) => {
3534
3552
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
3535
3553
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -3550,7 +3568,7 @@ class AuroDropdown extends i$1 {
3550
3568
 
3551
3569
  this.triggerContentSlot.forEach((node) => {
3552
3570
  if (node.querySelectorAll) {
3553
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
3571
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
3554
3572
  auroElements.forEach((auroEl) => {
3555
3573
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
3556
3574
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -107,7 +107,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
107
107
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
108
108
 
109
109
  ```html
110
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-dropdown/+esm"></script>
110
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.8/auro-dropdown/+esm"></script>
111
111
  ```
112
112
  <!-- AURO-GENERATED-CONTENT:END -->
113
113
 
@@ -120,7 +120,12 @@ export class AuroDropdown extends LitElement {
120
120
  type: BooleanConstructor;
121
121
  };
122
122
  /**
123
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
123
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
124
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
125
+ *
126
+ * When expanded, the dropdown will automatically display in fullscreen mode
127
+ * if the screen size is equal to or smaller than the selected breakpoint.
128
+ * @default sm
124
129
  */
125
130
  fullscreenBreakpoint: {
126
131
  type: StringConstructor;
@@ -320,6 +325,12 @@ export class AuroDropdown extends LitElement {
320
325
  * @returns {void}
321
326
  */
322
327
  show(): void;
328
+ /**
329
+ * Accessor for reusing the focusable entity query string.
330
+ * @private
331
+ * @returns {string}
332
+ */
333
+ private get focusableEntityQuery();
323
334
  updated(changedProperties: any): void;
324
335
  firstUpdated(): void;
325
336
  dropdownId: any;
@@ -2583,6 +2583,7 @@ var tokensCss$1 = css`:host{--ds-auro-dropdown-label-text-color: var(--ds-basic-
2583
2583
 
2584
2584
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
2585
2585
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
2586
+ 'xl',
2586
2587
  'lg',
2587
2588
  'md',
2588
2589
  'sm',
@@ -2654,6 +2655,7 @@ class AuroDropdownBib extends LitElement {
2654
2655
 
2655
2656
  set mobileFullscreenBreakpoint(value) {
2656
2657
  // verify the defined breakpoint is valid and exit out if not
2658
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
2657
2659
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
2658
2660
  if (!validatedValue) {
2659
2661
  this._mobileBreakpointValue = undefined;
@@ -3179,7 +3181,12 @@ class AuroDropdown extends LitElement {
3179
3181
  },
3180
3182
 
3181
3183
  /**
3182
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
3184
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
3185
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
3186
+ *
3187
+ * When expanded, the dropdown will automatically display in fullscreen mode
3188
+ * if the screen size is equal to or smaller than the selected breakpoint.
3189
+ * @default sm
3183
3190
  */
3184
3191
  fullscreenBreakpoint: {
3185
3192
  type: String,
@@ -3319,6 +3326,15 @@ class AuroDropdown extends LitElement {
3319
3326
  AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroDropdown);
3320
3327
  }
3321
3328
 
3329
+ /**
3330
+ * Accessor for reusing the focusable entity query string.
3331
+ * @private
3332
+ * @returns {string}
3333
+ */
3334
+ get focusableEntityQuery () {
3335
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
3336
+ }
3337
+
3322
3338
  connectedCallback() {
3323
3339
  super.connectedCallback();
3324
3340
  }
@@ -3332,6 +3348,8 @@ class AuroDropdown extends LitElement {
3332
3348
  updated(changedProperties) {
3333
3349
  this.floater.handleUpdate(changedProperties);
3334
3350
 
3351
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
3352
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
3335
3353
  if (changedProperties.has('fullscreenBreakpoint')) {
3336
3354
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
3337
3355
  }
@@ -3482,7 +3500,7 @@ class AuroDropdown extends LitElement {
3482
3500
 
3483
3501
  this.triggerContentSlot.forEach((node) => {
3484
3502
  if (node.querySelectorAll) {
3485
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
3503
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
3486
3504
  auroElements.forEach((auroEl) => {
3487
3505
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
3488
3506
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -3503,7 +3521,7 @@ class AuroDropdown extends LitElement {
3503
3521
 
3504
3522
  this.triggerContentSlot.forEach((node) => {
3505
3523
  if (node.querySelectorAll) {
3506
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
3524
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
3507
3525
  auroElements.forEach((auroEl) => {
3508
3526
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
3509
3527
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -2583,6 +2583,7 @@ var tokensCss$1 = css`:host{--ds-auro-dropdown-label-text-color: var(--ds-basic-
2583
2583
 
2584
2584
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
2585
2585
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
2586
+ 'xl',
2586
2587
  'lg',
2587
2588
  'md',
2588
2589
  'sm',
@@ -2654,6 +2655,7 @@ class AuroDropdownBib extends LitElement {
2654
2655
 
2655
2656
  set mobileFullscreenBreakpoint(value) {
2656
2657
  // verify the defined breakpoint is valid and exit out if not
2658
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
2657
2659
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
2658
2660
  if (!validatedValue) {
2659
2661
  this._mobileBreakpointValue = undefined;
@@ -3179,7 +3181,12 @@ class AuroDropdown extends LitElement {
3179
3181
  },
3180
3182
 
3181
3183
  /**
3182
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
3184
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
3185
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
3186
+ *
3187
+ * When expanded, the dropdown will automatically display in fullscreen mode
3188
+ * if the screen size is equal to or smaller than the selected breakpoint.
3189
+ * @default sm
3183
3190
  */
3184
3191
  fullscreenBreakpoint: {
3185
3192
  type: String,
@@ -3319,6 +3326,15 @@ class AuroDropdown extends LitElement {
3319
3326
  AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroDropdown);
3320
3327
  }
3321
3328
 
3329
+ /**
3330
+ * Accessor for reusing the focusable entity query string.
3331
+ * @private
3332
+ * @returns {string}
3333
+ */
3334
+ get focusableEntityQuery () {
3335
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
3336
+ }
3337
+
3322
3338
  connectedCallback() {
3323
3339
  super.connectedCallback();
3324
3340
  }
@@ -3332,6 +3348,8 @@ class AuroDropdown extends LitElement {
3332
3348
  updated(changedProperties) {
3333
3349
  this.floater.handleUpdate(changedProperties);
3334
3350
 
3351
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
3352
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
3335
3353
  if (changedProperties.has('fullscreenBreakpoint')) {
3336
3354
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
3337
3355
  }
@@ -3482,7 +3500,7 @@ class AuroDropdown extends LitElement {
3482
3500
 
3483
3501
  this.triggerContentSlot.forEach((node) => {
3484
3502
  if (node.querySelectorAll) {
3485
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
3503
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
3486
3504
  auroElements.forEach((auroEl) => {
3487
3505
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
3488
3506
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -3503,7 +3521,7 @@ class AuroDropdown extends LitElement {
3503
3521
 
3504
3522
  this.triggerContentSlot.forEach((node) => {
3505
3523
  if (node.querySelectorAll) {
3506
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
3524
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
3507
3525
  auroElements.forEach((auroEl) => {
3508
3526
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
3509
3527
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -109,7 +109,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
109
109
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
110
110
 
111
111
  ```html
112
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-form/+esm"></script>
112
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.8/auro-form/+esm"></script>
113
113
  ```
114
114
  <!-- AURO-GENERATED-CONTENT:END -->
115
115
 
@@ -0,0 +1,15 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>Demo page for auto-complete</title>
7
+ </head>
8
+ <body>
9
+ <!-- EVERY AUTOCOMPLETE OPTION, auro inputs -->
10
+
11
+ <!-- EVERY AUTOCOMPLETE OPTION, auro combobox -->
12
+
13
+ <!-- LOGIN FORM -->
14
+ </body>
15
+ </html>
@@ -109,7 +109,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
109
109
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
110
110
 
111
111
  ```html
112
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-form/+esm"></script>
112
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.8/auro-form/+esm"></script>
113
113
  ```
114
114
  <!-- AURO-GENERATED-CONTENT:END -->
115
115
 
@@ -99,7 +99,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
99
99
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
100
100
 
101
101
  ```html
102
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-input/+esm"></script>
102
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.8/auro-input/+esm"></script>
103
103
  ```
104
104
  <!-- AURO-GENERATED-CONTENT:END -->
105
105
 
@@ -99,7 +99,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
99
99
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
100
100
 
101
101
  ```html
102
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-input/+esm"></script>
102
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.8/auro-input/+esm"></script>
103
103
  ```
104
104
  <!-- AURO-GENERATED-CONTENT:END -->
105
105
 
@@ -110,7 +110,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
110
110
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
111
111
 
112
112
  ```html
113
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-menu/+esm"></script>
113
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.8/auro-menu/+esm"></script>
114
114
  ```
115
115
  <!-- AURO-GENERATED-CONTENT:END -->
116
116
 
@@ -110,7 +110,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
110
110
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
111
111
 
112
112
  ```html
113
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-menu/+esm"></script>
113
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.8/auro-menu/+esm"></script>
114
114
  ```
115
115
  <!-- AURO-GENERATED-CONTENT:END -->
116
116
 
@@ -100,7 +100,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
100
100
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
101
101
 
102
102
  ```html
103
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-radio/+esm"></script>
103
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.8/auro-radio/+esm"></script>
104
104
  ```
105
105
  <!-- AURO-GENERATED-CONTENT:END -->
106
106
 
@@ -100,7 +100,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
100
100
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
101
101
 
102
102
  ```html
103
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-radio/+esm"></script>
103
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.8/auro-radio/+esm"></script>
104
104
  ```
105
105
  <!-- AURO-GENERATED-CONTENT:END -->
106
106