@aurodesignsystem/auro-formkit 3.0.1 → 3.1.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/CHANGELOG.md +12 -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
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Semantic Release Automated Changelog
2
2
 
3
+ # [3.1.0-beta.1](https://github.com/AlaskaAirlines/auro-formkit/compare/v3.0.1...v3.1.0-beta.1) (2025-04-30)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * pr feedback Apr 28, 2025 ([2dcd705](https://github.com/AlaskaAirlines/auro-formkit/commit/2dcd70543c206229286a69364b7e503c6e12fb5f))
9
+
10
+
11
+ ### Features
12
+
13
+ * surface fullscreenBreakpoint with new `disabled` value ([4f00b48](https://github.com/AlaskaAirlines/auro-formkit/commit/4f00b4808254490419ca6ae387344e49834ca896))
14
+
3
15
  ## [3.0.1](https://github.com/AlaskaAirlines/auro-formkit/compare/v3.0.0...v3.0.1) (2025-04-29)
4
16
 
5
17
 
@@ -106,7 +106,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
106
106
  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.
107
107
 
108
108
  ```html
109
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.0.0/auro-checkbox/+esm"></script>
109
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.0.1/auro-checkbox/+esm"></script>
110
110
  ```
111
111
  <!-- AURO-GENERATED-CONTENT:END -->
112
112
 
@@ -106,7 +106,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
106
106
  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.
107
107
 
108
108
  ```html
109
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.0.0/auro-checkbox/+esm"></script>
109
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.0.1/auro-checkbox/+esm"></script>
110
110
  ```
111
111
  <!-- AURO-GENERATED-CONTENT:END -->
112
112
 
@@ -111,7 +111,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
111
111
  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.
112
112
 
113
113
  ```html
114
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.0.0/auro-combobox/+esm"></script>
114
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.0.1/auro-combobox/+esm"></script>
115
115
  ```
116
116
  <!-- AURO-GENERATED-CONTENT:END -->
117
117
 
@@ -12,7 +12,7 @@
12
12
  | [checkmark](#checkmark) | `checkmark` | `boolean` | | When attribute is present auro-menu will apply checkmarks to selected options. |
13
13
  | [disabled](#disabled) | `disabled` | `boolean` | | If set, disables the combobox. |
14
14
  | [error](#error) | `error` | `string` | | When defined, sets persistent validity to `customError` and sets the validation message to the attribute value. |
15
- | [fullscreenBreakpoint](#fullscreenBreakpoint) | `fullscreenBreakpoint` | `string` | "sm" | Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.<br />When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint. |
15
+ | [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. |
16
16
  | [largeFullscreenHeadline](#largeFullscreenHeadline) | `largeFullscreenHeadline` | `boolean` | | If declared, make bib.fullscreen.headline in HeadingDisplay.<br />Otherwise, Heading 600 |
17
17
  | [noFilter](#noFilter) | `noFilter` | `boolean` | | If set, combobox will not filter menuoptions based in input. |
18
18
  | [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`. |
@@ -3214,6 +3214,7 @@ var tokensCss$1$2 = i$5`:host{--ds-auro-dropdown-label-text-color: var(--ds-basi
3214
3214
 
3215
3215
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
3216
3216
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
3217
+ 'xl',
3217
3218
  'lg',
3218
3219
  'md',
3219
3220
  'sm',
@@ -3285,6 +3286,7 @@ class AuroDropdownBib extends r$1 {
3285
3286
 
3286
3287
  set mobileFullscreenBreakpoint(value) {
3287
3288
  // verify the defined breakpoint is valid and exit out if not
3289
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
3288
3290
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
3289
3291
  if (!validatedValue) {
3290
3292
  this._mobileBreakpointValue = undefined;
@@ -3797,7 +3799,12 @@ class AuroDropdown extends r$1 {
3797
3799
  },
3798
3800
 
3799
3801
  /**
3800
- * 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.
3802
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
3803
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
3804
+ *
3805
+ * When expanded, the dropdown will automatically display in fullscreen mode
3806
+ * if the screen size is equal to or smaller than the selected breakpoint.
3807
+ * @default sm
3801
3808
  */
3802
3809
  fullscreenBreakpoint: {
3803
3810
  type: String,
@@ -3920,6 +3927,15 @@ class AuroDropdown extends r$1 {
3920
3927
  AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroDropdown);
3921
3928
  }
3922
3929
 
3930
+ /**
3931
+ * Accessor for reusing the focusable entity query string.
3932
+ * @private
3933
+ * @returns {string}
3934
+ */
3935
+ get focusableEntityQuery () {
3936
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
3937
+ }
3938
+
3923
3939
  connectedCallback() {
3924
3940
  super.connectedCallback();
3925
3941
  }
@@ -3933,6 +3949,8 @@ class AuroDropdown extends r$1 {
3933
3949
  updated(changedProperties) {
3934
3950
  this.floater.handleUpdate(changedProperties);
3935
3951
 
3952
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
3953
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
3936
3954
  if (changedProperties.has('fullscreenBreakpoint')) {
3937
3955
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
3938
3956
  }
@@ -4068,7 +4086,7 @@ class AuroDropdown extends r$1 {
4068
4086
 
4069
4087
  this.triggerContentSlot.forEach((node) => {
4070
4088
  if (node.querySelectorAll) {
4071
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
4089
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
4072
4090
  auroElements.forEach((auroEl) => {
4073
4091
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
4074
4092
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -4089,7 +4107,7 @@ class AuroDropdown extends r$1 {
4089
4107
 
4090
4108
  this.triggerContentSlot.forEach((node) => {
4091
4109
  if (node.querySelectorAll) {
4092
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
4110
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
4093
4111
  auroElements.forEach((auroEl) => {
4094
4112
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
4095
4113
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -11962,8 +11980,11 @@ class AuroCombobox extends r$1 {
11962
11980
  },
11963
11981
 
11964
11982
  /**
11965
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
11966
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
11983
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
11984
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
11985
+ *
11986
+ * When expanded, the dropdown will automatically display in fullscreen mode
11987
+ * if the screen size is equal to or smaller than the selected breakpoint.
11967
11988
  * @default sm
11968
11989
  */
11969
11990
  fullscreenBreakpoint: {
@@ -3072,6 +3072,7 @@ var tokensCss$1$2 = i$5`:host{--ds-auro-dropdown-label-text-color: var(--ds-basi
3072
3072
 
3073
3073
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
3074
3074
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
3075
+ 'xl',
3075
3076
  'lg',
3076
3077
  'md',
3077
3078
  'sm',
@@ -3143,6 +3144,7 @@ class AuroDropdownBib extends r$1 {
3143
3144
 
3144
3145
  set mobileFullscreenBreakpoint(value) {
3145
3146
  // verify the defined breakpoint is valid and exit out if not
3147
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
3146
3148
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
3147
3149
  if (!validatedValue) {
3148
3150
  this._mobileBreakpointValue = undefined;
@@ -3655,7 +3657,12 @@ class AuroDropdown extends r$1 {
3655
3657
  },
3656
3658
 
3657
3659
  /**
3658
- * 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.
3660
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
3661
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
3662
+ *
3663
+ * When expanded, the dropdown will automatically display in fullscreen mode
3664
+ * if the screen size is equal to or smaller than the selected breakpoint.
3665
+ * @default sm
3659
3666
  */
3660
3667
  fullscreenBreakpoint: {
3661
3668
  type: String,
@@ -3778,6 +3785,15 @@ class AuroDropdown extends r$1 {
3778
3785
  AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroDropdown);
3779
3786
  }
3780
3787
 
3788
+ /**
3789
+ * Accessor for reusing the focusable entity query string.
3790
+ * @private
3791
+ * @returns {string}
3792
+ */
3793
+ get focusableEntityQuery () {
3794
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
3795
+ }
3796
+
3781
3797
  connectedCallback() {
3782
3798
  super.connectedCallback();
3783
3799
  }
@@ -3791,6 +3807,8 @@ class AuroDropdown extends r$1 {
3791
3807
  updated(changedProperties) {
3792
3808
  this.floater.handleUpdate(changedProperties);
3793
3809
 
3810
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
3811
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
3794
3812
  if (changedProperties.has('fullscreenBreakpoint')) {
3795
3813
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
3796
3814
  }
@@ -3926,7 +3944,7 @@ class AuroDropdown extends r$1 {
3926
3944
 
3927
3945
  this.triggerContentSlot.forEach((node) => {
3928
3946
  if (node.querySelectorAll) {
3929
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
3947
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
3930
3948
  auroElements.forEach((auroEl) => {
3931
3949
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
3932
3950
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -3947,7 +3965,7 @@ class AuroDropdown extends r$1 {
3947
3965
 
3948
3966
  this.triggerContentSlot.forEach((node) => {
3949
3967
  if (node.querySelectorAll) {
3950
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
3968
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
3951
3969
  auroElements.forEach((auroEl) => {
3952
3970
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
3953
3971
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -11820,8 +11838,11 @@ class AuroCombobox extends r$1 {
11820
11838
  },
11821
11839
 
11822
11840
  /**
11823
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
11824
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
11841
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
11842
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
11843
+ *
11844
+ * When expanded, the dropdown will automatically display in fullscreen mode
11845
+ * if the screen size is equal to or smaller than the selected breakpoint.
11825
11846
  * @default sm
11826
11847
  */
11827
11848
  fullscreenBreakpoint: {
@@ -111,7 +111,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
111
111
  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.
112
112
 
113
113
  ```html
114
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.0.0/auro-combobox/+esm"></script>
114
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.0.1/auro-combobox/+esm"></script>
115
115
  ```
116
116
  <!-- AURO-GENERATED-CONTENT:END -->
117
117
 
@@ -165,8 +165,11 @@ export class AuroCombobox extends LitElement {
165
165
  reflect: boolean;
166
166
  };
167
167
  /**
168
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
169
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
168
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
169
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
170
+ *
171
+ * When expanded, the dropdown will automatically display in fullscreen mode
172
+ * if the screen size is equal to or smaller than the selected breakpoint.
170
173
  * @default sm
171
174
  */
172
175
  fullscreenBreakpoint: {
@@ -3003,6 +3003,7 @@ var tokensCss$1$1 = css`:host{--ds-auro-dropdown-label-text-color: var(--ds-basi
3003
3003
 
3004
3004
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
3005
3005
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
3006
+ 'xl',
3006
3007
  'lg',
3007
3008
  'md',
3008
3009
  'sm',
@@ -3074,6 +3075,7 @@ class AuroDropdownBib extends LitElement {
3074
3075
 
3075
3076
  set mobileFullscreenBreakpoint(value) {
3076
3077
  // verify the defined breakpoint is valid and exit out if not
3078
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
3077
3079
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
3078
3080
  if (!validatedValue) {
3079
3081
  this._mobileBreakpointValue = undefined;
@@ -3586,7 +3588,12 @@ class AuroDropdown extends LitElement {
3586
3588
  },
3587
3589
 
3588
3590
  /**
3589
- * 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.
3591
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
3592
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
3593
+ *
3594
+ * When expanded, the dropdown will automatically display in fullscreen mode
3595
+ * if the screen size is equal to or smaller than the selected breakpoint.
3596
+ * @default sm
3590
3597
  */
3591
3598
  fullscreenBreakpoint: {
3592
3599
  type: String,
@@ -3709,6 +3716,15 @@ class AuroDropdown extends LitElement {
3709
3716
  AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroDropdown);
3710
3717
  }
3711
3718
 
3719
+ /**
3720
+ * Accessor for reusing the focusable entity query string.
3721
+ * @private
3722
+ * @returns {string}
3723
+ */
3724
+ get focusableEntityQuery () {
3725
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
3726
+ }
3727
+
3712
3728
  connectedCallback() {
3713
3729
  super.connectedCallback();
3714
3730
  }
@@ -3722,6 +3738,8 @@ class AuroDropdown extends LitElement {
3722
3738
  updated(changedProperties) {
3723
3739
  this.floater.handleUpdate(changedProperties);
3724
3740
 
3741
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
3742
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
3725
3743
  if (changedProperties.has('fullscreenBreakpoint')) {
3726
3744
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
3727
3745
  }
@@ -3857,7 +3875,7 @@ class AuroDropdown extends LitElement {
3857
3875
 
3858
3876
  this.triggerContentSlot.forEach((node) => {
3859
3877
  if (node.querySelectorAll) {
3860
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
3878
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
3861
3879
  auroElements.forEach((auroEl) => {
3862
3880
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
3863
3881
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -3878,7 +3896,7 @@ class AuroDropdown extends LitElement {
3878
3896
 
3879
3897
  this.triggerContentSlot.forEach((node) => {
3880
3898
  if (node.querySelectorAll) {
3881
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
3899
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
3882
3900
  auroElements.forEach((auroEl) => {
3883
3901
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
3884
3902
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -11738,8 +11756,11 @@ class AuroCombobox extends LitElement {
11738
11756
  },
11739
11757
 
11740
11758
  /**
11741
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
11742
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
11759
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
11760
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
11761
+ *
11762
+ * When expanded, the dropdown will automatically display in fullscreen mode
11763
+ * if the screen size is equal to or smaller than the selected breakpoint.
11743
11764
  * @default sm
11744
11765
  */
11745
11766
  fullscreenBreakpoint: {
@@ -3003,6 +3003,7 @@ var tokensCss$1$1 = css`:host{--ds-auro-dropdown-label-text-color: var(--ds-basi
3003
3003
 
3004
3004
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
3005
3005
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
3006
+ 'xl',
3006
3007
  'lg',
3007
3008
  'md',
3008
3009
  'sm',
@@ -3074,6 +3075,7 @@ class AuroDropdownBib extends LitElement {
3074
3075
 
3075
3076
  set mobileFullscreenBreakpoint(value) {
3076
3077
  // verify the defined breakpoint is valid and exit out if not
3078
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
3077
3079
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
3078
3080
  if (!validatedValue) {
3079
3081
  this._mobileBreakpointValue = undefined;
@@ -3586,7 +3588,12 @@ class AuroDropdown extends LitElement {
3586
3588
  },
3587
3589
 
3588
3590
  /**
3589
- * 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.
3591
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
3592
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
3593
+ *
3594
+ * When expanded, the dropdown will automatically display in fullscreen mode
3595
+ * if the screen size is equal to or smaller than the selected breakpoint.
3596
+ * @default sm
3590
3597
  */
3591
3598
  fullscreenBreakpoint: {
3592
3599
  type: String,
@@ -3709,6 +3716,15 @@ class AuroDropdown extends LitElement {
3709
3716
  AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroDropdown);
3710
3717
  }
3711
3718
 
3719
+ /**
3720
+ * Accessor for reusing the focusable entity query string.
3721
+ * @private
3722
+ * @returns {string}
3723
+ */
3724
+ get focusableEntityQuery () {
3725
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
3726
+ }
3727
+
3712
3728
  connectedCallback() {
3713
3729
  super.connectedCallback();
3714
3730
  }
@@ -3722,6 +3738,8 @@ class AuroDropdown extends LitElement {
3722
3738
  updated(changedProperties) {
3723
3739
  this.floater.handleUpdate(changedProperties);
3724
3740
 
3741
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
3742
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
3725
3743
  if (changedProperties.has('fullscreenBreakpoint')) {
3726
3744
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
3727
3745
  }
@@ -3857,7 +3875,7 @@ class AuroDropdown extends LitElement {
3857
3875
 
3858
3876
  this.triggerContentSlot.forEach((node) => {
3859
3877
  if (node.querySelectorAll) {
3860
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
3878
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
3861
3879
  auroElements.forEach((auroEl) => {
3862
3880
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
3863
3881
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -3878,7 +3896,7 @@ class AuroDropdown extends LitElement {
3878
3896
 
3879
3897
  this.triggerContentSlot.forEach((node) => {
3880
3898
  if (node.querySelectorAll) {
3881
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
3899
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
3882
3900
  auroElements.forEach((auroEl) => {
3883
3901
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
3884
3902
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -11738,8 +11756,11 @@ class AuroCombobox extends LitElement {
11738
11756
  },
11739
11757
 
11740
11758
  /**
11741
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
11742
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
11759
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
11760
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
11761
+ *
11762
+ * When expanded, the dropdown will automatically display in fullscreen mode
11763
+ * if the screen size is equal to or smaller than the selected breakpoint.
11743
11764
  * @default sm
11744
11765
  */
11745
11766
  fullscreenBreakpoint: {
@@ -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.0.0/auro-counter/+esm"></script>
113
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.0.1/auro-counter/+esm"></script>
114
114
  ```
115
115
  <!-- AURO-GENERATED-CONTENT:END -->
116
116
 
@@ -42,7 +42,7 @@
42
42
  | Property | Attribute | Type | Default | Description |
43
43
  |---------------------------|---------------------------|-----------|----------------|--------------------------------------------------|
44
44
  | [autoPlacement](#autoPlacement) | `autoPlacement` | `boolean` | "false" | If declared, bib's position will be automatically calculated where to appear. |
45
- | [fullscreenBreakpoint](#fullscreenBreakpoint) | `fullscreenBreakpoint` | `string` | "sm" | Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.<br />When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint. |
45
+ | [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. |
46
46
  | [isDropdown](#isDropdown) | `isDropdown` | `boolean` | false | Indicates if the counter group is displayed as a dropdown. |
47
47
  | [largeFullscreenHeadline](#largeFullscreenHeadline) | `largeFullscreenHeadline` | `boolean` | false | If declared, make bib.fullscreen.headline in HeadingDisplay.<br />Otherwise, Heading 600. |
48
48
  | [max](#max) | `max` | `number` | "undefined" | The maximum value allowed for the whole group of counters. |
@@ -4217,6 +4217,7 @@ var tokensCss$1 = i$5`:host{--ds-auro-dropdown-label-text-color: var(--ds-basic-
4217
4217
 
4218
4218
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
4219
4219
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
4220
+ 'xl',
4220
4221
  'lg',
4221
4222
  'md',
4222
4223
  'sm',
@@ -4288,6 +4289,7 @@ class AuroDropdownBib extends r {
4288
4289
 
4289
4290
  set mobileFullscreenBreakpoint(value) {
4290
4291
  // verify the defined breakpoint is valid and exit out if not
4292
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
4291
4293
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
4292
4294
  if (!validatedValue) {
4293
4295
  this._mobileBreakpointValue = undefined;
@@ -4800,7 +4802,12 @@ class AuroDropdown extends r {
4800
4802
  },
4801
4803
 
4802
4804
  /**
4803
- * 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.
4805
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
4806
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
4807
+ *
4808
+ * When expanded, the dropdown will automatically display in fullscreen mode
4809
+ * if the screen size is equal to or smaller than the selected breakpoint.
4810
+ * @default sm
4804
4811
  */
4805
4812
  fullscreenBreakpoint: {
4806
4813
  type: String,
@@ -4923,6 +4930,15 @@ class AuroDropdown extends r {
4923
4930
  AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
4924
4931
  }
4925
4932
 
4933
+ /**
4934
+ * Accessor for reusing the focusable entity query string.
4935
+ * @private
4936
+ * @returns {string}
4937
+ */
4938
+ get focusableEntityQuery () {
4939
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
4940
+ }
4941
+
4926
4942
  connectedCallback() {
4927
4943
  super.connectedCallback();
4928
4944
  }
@@ -4936,6 +4952,8 @@ class AuroDropdown extends r {
4936
4952
  updated(changedProperties) {
4937
4953
  this.floater.handleUpdate(changedProperties);
4938
4954
 
4955
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
4956
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
4939
4957
  if (changedProperties.has('fullscreenBreakpoint')) {
4940
4958
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
4941
4959
  }
@@ -5071,7 +5089,7 @@ class AuroDropdown extends r {
5071
5089
 
5072
5090
  this.triggerContentSlot.forEach((node) => {
5073
5091
  if (node.querySelectorAll) {
5074
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
5092
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
5075
5093
  auroElements.forEach((auroEl) => {
5076
5094
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
5077
5095
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -5092,7 +5110,7 @@ class AuroDropdown extends r {
5092
5110
 
5093
5111
  this.triggerContentSlot.forEach((node) => {
5094
5112
  if (node.querySelectorAll) {
5095
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
5113
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
5096
5114
  auroElements.forEach((auroEl) => {
5097
5115
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
5098
5116
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -6185,8 +6203,11 @@ class AuroCounterGroup extends r {
6185
6203
  },
6186
6204
 
6187
6205
  /**
6188
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
6189
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
6206
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
6207
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
6208
+ *
6209
+ * When expanded, the dropdown will automatically display in fullscreen mode
6210
+ * if the screen size is equal to or smaller than the selected breakpoint.
6190
6211
  * @default sm
6191
6212
  */
6192
6213
  fullscreenBreakpoint: {
@@ -4217,6 +4217,7 @@ var tokensCss$1 = i$5`:host{--ds-auro-dropdown-label-text-color: var(--ds-basic-
4217
4217
 
4218
4218
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
4219
4219
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
4220
+ 'xl',
4220
4221
  'lg',
4221
4222
  'md',
4222
4223
  'sm',
@@ -4288,6 +4289,7 @@ class AuroDropdownBib extends r {
4288
4289
 
4289
4290
  set mobileFullscreenBreakpoint(value) {
4290
4291
  // verify the defined breakpoint is valid and exit out if not
4292
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
4291
4293
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
4292
4294
  if (!validatedValue) {
4293
4295
  this._mobileBreakpointValue = undefined;
@@ -4800,7 +4802,12 @@ class AuroDropdown extends r {
4800
4802
  },
4801
4803
 
4802
4804
  /**
4803
- * 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.
4805
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
4806
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
4807
+ *
4808
+ * When expanded, the dropdown will automatically display in fullscreen mode
4809
+ * if the screen size is equal to or smaller than the selected breakpoint.
4810
+ * @default sm
4804
4811
  */
4805
4812
  fullscreenBreakpoint: {
4806
4813
  type: String,
@@ -4923,6 +4930,15 @@ class AuroDropdown extends r {
4923
4930
  AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
4924
4931
  }
4925
4932
 
4933
+ /**
4934
+ * Accessor for reusing the focusable entity query string.
4935
+ * @private
4936
+ * @returns {string}
4937
+ */
4938
+ get focusableEntityQuery () {
4939
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
4940
+ }
4941
+
4926
4942
  connectedCallback() {
4927
4943
  super.connectedCallback();
4928
4944
  }
@@ -4936,6 +4952,8 @@ class AuroDropdown extends r {
4936
4952
  updated(changedProperties) {
4937
4953
  this.floater.handleUpdate(changedProperties);
4938
4954
 
4955
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
4956
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
4939
4957
  if (changedProperties.has('fullscreenBreakpoint')) {
4940
4958
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
4941
4959
  }
@@ -5071,7 +5089,7 @@ class AuroDropdown extends r {
5071
5089
 
5072
5090
  this.triggerContentSlot.forEach((node) => {
5073
5091
  if (node.querySelectorAll) {
5074
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
5092
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
5075
5093
  auroElements.forEach((auroEl) => {
5076
5094
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
5077
5095
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -5092,7 +5110,7 @@ class AuroDropdown extends r {
5092
5110
 
5093
5111
  this.triggerContentSlot.forEach((node) => {
5094
5112
  if (node.querySelectorAll) {
5095
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
5113
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
5096
5114
  auroElements.forEach((auroEl) => {
5097
5115
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
5098
5116
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -6185,8 +6203,11 @@ class AuroCounterGroup extends r {
6185
6203
  },
6186
6204
 
6187
6205
  /**
6188
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
6189
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
6206
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
6207
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
6208
+ *
6209
+ * When expanded, the dropdown will automatically display in fullscreen mode
6210
+ * if the screen size is equal to or smaller than the selected breakpoint.
6190
6211
  * @default sm
6191
6212
  */
6192
6213
  fullscreenBreakpoint: {
@@ -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.0.0/auro-counter/+esm"></script>
113
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.0.1/auro-counter/+esm"></script>
114
114
  ```
115
115
  <!-- AURO-GENERATED-CONTENT:END -->
116
116