@aurodesignsystem/auro-formkit 3.2.0 → 3.3.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.3.0-beta.1](https://github.com/AlaskaAirlines/auro-formkit/compare/v3.2.0...v3.3.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.2.0](https://github.com/AlaskaAirlines/auro-formkit/compare/v3.1.0...v3.2.0) (2025-04-30)
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.1.0/auro-checkbox/+esm"></script>
109
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.0/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.1.0/auro-checkbox/+esm"></script>
109
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.0/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.1.0/auro-combobox/+esm"></script>
114
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.0/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`. |
@@ -3657,6 +3657,7 @@ var tokensCss$1$2 = i$5`:host{--ds-auro-dropdown-label-text-color: var(--ds-basi
3657
3657
 
3658
3658
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
3659
3659
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
3660
+ 'xl',
3660
3661
  'lg',
3661
3662
  'md',
3662
3663
  'sm',
@@ -3728,6 +3729,7 @@ class AuroDropdownBib extends r$1 {
3728
3729
 
3729
3730
  set mobileFullscreenBreakpoint(value) {
3730
3731
  // verify the defined breakpoint is valid and exit out if not
3732
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
3731
3733
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
3732
3734
  if (!validatedValue) {
3733
3735
  this._mobileBreakpointValue = undefined;
@@ -4253,7 +4255,12 @@ class AuroDropdown extends r$1 {
4253
4255
  },
4254
4256
 
4255
4257
  /**
4256
- * 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.
4258
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
4259
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
4260
+ *
4261
+ * When expanded, the dropdown will automatically display in fullscreen mode
4262
+ * if the screen size is equal to or smaller than the selected breakpoint.
4263
+ * @default sm
4257
4264
  */
4258
4265
  fullscreenBreakpoint: {
4259
4266
  type: String,
@@ -4393,6 +4400,15 @@ class AuroDropdown extends r$1 {
4393
4400
  AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroDropdown);
4394
4401
  }
4395
4402
 
4403
+ /**
4404
+ * Accessor for reusing the focusable entity query string.
4405
+ * @private
4406
+ * @returns {string}
4407
+ */
4408
+ get focusableEntityQuery () {
4409
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
4410
+ }
4411
+
4396
4412
  connectedCallback() {
4397
4413
  super.connectedCallback();
4398
4414
  }
@@ -4406,6 +4422,8 @@ class AuroDropdown extends r$1 {
4406
4422
  updated(changedProperties) {
4407
4423
  this.floater.handleUpdate(changedProperties);
4408
4424
 
4425
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
4426
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
4409
4427
  if (changedProperties.has('fullscreenBreakpoint')) {
4410
4428
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
4411
4429
  }
@@ -4556,7 +4574,7 @@ class AuroDropdown extends r$1 {
4556
4574
 
4557
4575
  this.triggerContentSlot.forEach((node) => {
4558
4576
  if (node.querySelectorAll) {
4559
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
4577
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
4560
4578
  auroElements.forEach((auroEl) => {
4561
4579
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
4562
4580
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -4577,7 +4595,7 @@ class AuroDropdown extends r$1 {
4577
4595
 
4578
4596
  this.triggerContentSlot.forEach((node) => {
4579
4597
  if (node.querySelectorAll) {
4580
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
4598
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
4581
4599
  auroElements.forEach((auroEl) => {
4582
4600
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
4583
4601
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -12988,8 +13006,11 @@ class AuroCombobox extends r$1 {
12988
13006
  },
12989
13007
 
12990
13008
  /**
12991
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
12992
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
13009
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
13010
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
13011
+ *
13012
+ * When expanded, the dropdown will automatically display in fullscreen mode
13013
+ * if the screen size is equal to or smaller than the selected breakpoint.
12993
13014
  * @default sm
12994
13015
  */
12995
13016
  fullscreenBreakpoint: {
@@ -3515,6 +3515,7 @@ var tokensCss$1$2 = i$5`:host{--ds-auro-dropdown-label-text-color: var(--ds-basi
3515
3515
 
3516
3516
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
3517
3517
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
3518
+ 'xl',
3518
3519
  'lg',
3519
3520
  'md',
3520
3521
  'sm',
@@ -3586,6 +3587,7 @@ class AuroDropdownBib extends r$1 {
3586
3587
 
3587
3588
  set mobileFullscreenBreakpoint(value) {
3588
3589
  // verify the defined breakpoint is valid and exit out if not
3590
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
3589
3591
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
3590
3592
  if (!validatedValue) {
3591
3593
  this._mobileBreakpointValue = undefined;
@@ -4111,7 +4113,12 @@ class AuroDropdown extends r$1 {
4111
4113
  },
4112
4114
 
4113
4115
  /**
4114
- * 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.
4116
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
4117
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
4118
+ *
4119
+ * When expanded, the dropdown will automatically display in fullscreen mode
4120
+ * if the screen size is equal to or smaller than the selected breakpoint.
4121
+ * @default sm
4115
4122
  */
4116
4123
  fullscreenBreakpoint: {
4117
4124
  type: String,
@@ -4251,6 +4258,15 @@ class AuroDropdown extends r$1 {
4251
4258
  AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroDropdown);
4252
4259
  }
4253
4260
 
4261
+ /**
4262
+ * Accessor for reusing the focusable entity query string.
4263
+ * @private
4264
+ * @returns {string}
4265
+ */
4266
+ get focusableEntityQuery () {
4267
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
4268
+ }
4269
+
4254
4270
  connectedCallback() {
4255
4271
  super.connectedCallback();
4256
4272
  }
@@ -4264,6 +4280,8 @@ class AuroDropdown extends r$1 {
4264
4280
  updated(changedProperties) {
4265
4281
  this.floater.handleUpdate(changedProperties);
4266
4282
 
4283
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
4284
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
4267
4285
  if (changedProperties.has('fullscreenBreakpoint')) {
4268
4286
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
4269
4287
  }
@@ -4414,7 +4432,7 @@ class AuroDropdown extends r$1 {
4414
4432
 
4415
4433
  this.triggerContentSlot.forEach((node) => {
4416
4434
  if (node.querySelectorAll) {
4417
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
4435
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
4418
4436
  auroElements.forEach((auroEl) => {
4419
4437
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
4420
4438
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -4435,7 +4453,7 @@ class AuroDropdown extends r$1 {
4435
4453
 
4436
4454
  this.triggerContentSlot.forEach((node) => {
4437
4455
  if (node.querySelectorAll) {
4438
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
4456
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
4439
4457
  auroElements.forEach((auroEl) => {
4440
4458
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
4441
4459
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -12846,8 +12864,11 @@ class AuroCombobox extends r$1 {
12846
12864
  },
12847
12865
 
12848
12866
  /**
12849
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
12850
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
12867
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
12868
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
12869
+ *
12870
+ * When expanded, the dropdown will automatically display in fullscreen mode
12871
+ * if the screen size is equal to or smaller than the selected breakpoint.
12851
12872
  * @default sm
12852
12873
  */
12853
12874
  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.1.0/auro-combobox/+esm"></script>
114
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.0/auro-combobox/+esm"></script>
115
115
  ```
116
116
  <!-- AURO-GENERATED-CONTENT:END -->
117
117
 
@@ -183,8 +183,11 @@ export class AuroCombobox extends LitElement {
183
183
  reflect: boolean;
184
184
  };
185
185
  /**
186
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
187
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
186
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
187
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
188
+ *
189
+ * When expanded, the dropdown will automatically display in fullscreen mode
190
+ * if the screen size is equal to or smaller than the selected breakpoint.
188
191
  * @default sm
189
192
  */
190
193
  fullscreenBreakpoint: {
@@ -3446,6 +3446,7 @@ var tokensCss$1$1 = css`:host{--ds-auro-dropdown-label-text-color: var(--ds-basi
3446
3446
 
3447
3447
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
3448
3448
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
3449
+ 'xl',
3449
3450
  'lg',
3450
3451
  'md',
3451
3452
  'sm',
@@ -3517,6 +3518,7 @@ class AuroDropdownBib extends LitElement {
3517
3518
 
3518
3519
  set mobileFullscreenBreakpoint(value) {
3519
3520
  // verify the defined breakpoint is valid and exit out if not
3521
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
3520
3522
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
3521
3523
  if (!validatedValue) {
3522
3524
  this._mobileBreakpointValue = undefined;
@@ -4042,7 +4044,12 @@ class AuroDropdown extends LitElement {
4042
4044
  },
4043
4045
 
4044
4046
  /**
4045
- * 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.
4047
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
4048
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
4049
+ *
4050
+ * When expanded, the dropdown will automatically display in fullscreen mode
4051
+ * if the screen size is equal to or smaller than the selected breakpoint.
4052
+ * @default sm
4046
4053
  */
4047
4054
  fullscreenBreakpoint: {
4048
4055
  type: String,
@@ -4182,6 +4189,15 @@ class AuroDropdown extends LitElement {
4182
4189
  AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroDropdown);
4183
4190
  }
4184
4191
 
4192
+ /**
4193
+ * Accessor for reusing the focusable entity query string.
4194
+ * @private
4195
+ * @returns {string}
4196
+ */
4197
+ get focusableEntityQuery () {
4198
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
4199
+ }
4200
+
4185
4201
  connectedCallback() {
4186
4202
  super.connectedCallback();
4187
4203
  }
@@ -4195,6 +4211,8 @@ class AuroDropdown extends LitElement {
4195
4211
  updated(changedProperties) {
4196
4212
  this.floater.handleUpdate(changedProperties);
4197
4213
 
4214
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
4215
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
4198
4216
  if (changedProperties.has('fullscreenBreakpoint')) {
4199
4217
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
4200
4218
  }
@@ -4345,7 +4363,7 @@ class AuroDropdown extends LitElement {
4345
4363
 
4346
4364
  this.triggerContentSlot.forEach((node) => {
4347
4365
  if (node.querySelectorAll) {
4348
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
4366
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
4349
4367
  auroElements.forEach((auroEl) => {
4350
4368
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
4351
4369
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -4366,7 +4384,7 @@ class AuroDropdown extends LitElement {
4366
4384
 
4367
4385
  this.triggerContentSlot.forEach((node) => {
4368
4386
  if (node.querySelectorAll) {
4369
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
4387
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
4370
4388
  auroElements.forEach((auroEl) => {
4371
4389
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
4372
4390
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -12764,8 +12782,11 @@ class AuroCombobox extends LitElement {
12764
12782
  },
12765
12783
 
12766
12784
  /**
12767
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
12768
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
12785
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
12786
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
12787
+ *
12788
+ * When expanded, the dropdown will automatically display in fullscreen mode
12789
+ * if the screen size is equal to or smaller than the selected breakpoint.
12769
12790
  * @default sm
12770
12791
  */
12771
12792
  fullscreenBreakpoint: {
@@ -3446,6 +3446,7 @@ var tokensCss$1$1 = css`:host{--ds-auro-dropdown-label-text-color: var(--ds-basi
3446
3446
 
3447
3447
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
3448
3448
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
3449
+ 'xl',
3449
3450
  'lg',
3450
3451
  'md',
3451
3452
  'sm',
@@ -3517,6 +3518,7 @@ class AuroDropdownBib extends LitElement {
3517
3518
 
3518
3519
  set mobileFullscreenBreakpoint(value) {
3519
3520
  // verify the defined breakpoint is valid and exit out if not
3521
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
3520
3522
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
3521
3523
  if (!validatedValue) {
3522
3524
  this._mobileBreakpointValue = undefined;
@@ -4042,7 +4044,12 @@ class AuroDropdown extends LitElement {
4042
4044
  },
4043
4045
 
4044
4046
  /**
4045
- * 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.
4047
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
4048
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
4049
+ *
4050
+ * When expanded, the dropdown will automatically display in fullscreen mode
4051
+ * if the screen size is equal to or smaller than the selected breakpoint.
4052
+ * @default sm
4046
4053
  */
4047
4054
  fullscreenBreakpoint: {
4048
4055
  type: String,
@@ -4182,6 +4189,15 @@ class AuroDropdown extends LitElement {
4182
4189
  AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroDropdown);
4183
4190
  }
4184
4191
 
4192
+ /**
4193
+ * Accessor for reusing the focusable entity query string.
4194
+ * @private
4195
+ * @returns {string}
4196
+ */
4197
+ get focusableEntityQuery () {
4198
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
4199
+ }
4200
+
4185
4201
  connectedCallback() {
4186
4202
  super.connectedCallback();
4187
4203
  }
@@ -4195,6 +4211,8 @@ class AuroDropdown extends LitElement {
4195
4211
  updated(changedProperties) {
4196
4212
  this.floater.handleUpdate(changedProperties);
4197
4213
 
4214
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
4215
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
4198
4216
  if (changedProperties.has('fullscreenBreakpoint')) {
4199
4217
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
4200
4218
  }
@@ -4345,7 +4363,7 @@ class AuroDropdown extends LitElement {
4345
4363
 
4346
4364
  this.triggerContentSlot.forEach((node) => {
4347
4365
  if (node.querySelectorAll) {
4348
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
4366
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
4349
4367
  auroElements.forEach((auroEl) => {
4350
4368
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
4351
4369
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -4366,7 +4384,7 @@ class AuroDropdown extends LitElement {
4366
4384
 
4367
4385
  this.triggerContentSlot.forEach((node) => {
4368
4386
  if (node.querySelectorAll) {
4369
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
4387
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
4370
4388
  auroElements.forEach((auroEl) => {
4371
4389
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
4372
4390
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -12764,8 +12782,11 @@ class AuroCombobox extends LitElement {
12764
12782
  },
12765
12783
 
12766
12784
  /**
12767
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
12768
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
12785
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
12786
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
12787
+ *
12788
+ * When expanded, the dropdown will automatically display in fullscreen mode
12789
+ * if the screen size is equal to or smaller than the selected breakpoint.
12769
12790
  * @default sm
12770
12791
  */
12771
12792
  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.1.0/auro-counter/+esm"></script>
113
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.0/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. |
@@ -4660,6 +4660,7 @@ var tokensCss$1 = i$5`:host{--ds-auro-dropdown-label-text-color: var(--ds-basic-
4660
4660
 
4661
4661
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
4662
4662
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
4663
+ 'xl',
4663
4664
  'lg',
4664
4665
  'md',
4665
4666
  'sm',
@@ -4731,6 +4732,7 @@ class AuroDropdownBib extends r {
4731
4732
 
4732
4733
  set mobileFullscreenBreakpoint(value) {
4733
4734
  // verify the defined breakpoint is valid and exit out if not
4735
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
4734
4736
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
4735
4737
  if (!validatedValue) {
4736
4738
  this._mobileBreakpointValue = undefined;
@@ -5256,7 +5258,12 @@ class AuroDropdown extends r {
5256
5258
  },
5257
5259
 
5258
5260
  /**
5259
- * 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.
5261
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
5262
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
5263
+ *
5264
+ * When expanded, the dropdown will automatically display in fullscreen mode
5265
+ * if the screen size is equal to or smaller than the selected breakpoint.
5266
+ * @default sm
5260
5267
  */
5261
5268
  fullscreenBreakpoint: {
5262
5269
  type: String,
@@ -5396,6 +5403,15 @@ class AuroDropdown extends r {
5396
5403
  AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
5397
5404
  }
5398
5405
 
5406
+ /**
5407
+ * Accessor for reusing the focusable entity query string.
5408
+ * @private
5409
+ * @returns {string}
5410
+ */
5411
+ get focusableEntityQuery () {
5412
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
5413
+ }
5414
+
5399
5415
  connectedCallback() {
5400
5416
  super.connectedCallback();
5401
5417
  }
@@ -5409,6 +5425,8 @@ class AuroDropdown extends r {
5409
5425
  updated(changedProperties) {
5410
5426
  this.floater.handleUpdate(changedProperties);
5411
5427
 
5428
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
5429
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
5412
5430
  if (changedProperties.has('fullscreenBreakpoint')) {
5413
5431
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
5414
5432
  }
@@ -5559,7 +5577,7 @@ class AuroDropdown extends r {
5559
5577
 
5560
5578
  this.triggerContentSlot.forEach((node) => {
5561
5579
  if (node.querySelectorAll) {
5562
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
5580
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
5563
5581
  auroElements.forEach((auroEl) => {
5564
5582
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
5565
5583
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -5580,7 +5598,7 @@ class AuroDropdown extends r {
5580
5598
 
5581
5599
  this.triggerContentSlot.forEach((node) => {
5582
5600
  if (node.querySelectorAll) {
5583
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
5601
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
5584
5602
  auroElements.forEach((auroEl) => {
5585
5603
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
5586
5604
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -6710,8 +6728,11 @@ class AuroCounterGroup extends r {
6710
6728
  },
6711
6729
 
6712
6730
  /**
6713
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
6714
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
6731
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
6732
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
6733
+ *
6734
+ * When expanded, the dropdown will automatically display in fullscreen mode
6735
+ * if the screen size is equal to or smaller than the selected breakpoint.
6715
6736
  * @default sm
6716
6737
  */
6717
6738
  fullscreenBreakpoint: {
@@ -4660,6 +4660,7 @@ var tokensCss$1 = i$5`:host{--ds-auro-dropdown-label-text-color: var(--ds-basic-
4660
4660
 
4661
4661
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
4662
4662
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
4663
+ 'xl',
4663
4664
  'lg',
4664
4665
  'md',
4665
4666
  'sm',
@@ -4731,6 +4732,7 @@ class AuroDropdownBib extends r {
4731
4732
 
4732
4733
  set mobileFullscreenBreakpoint(value) {
4733
4734
  // verify the defined breakpoint is valid and exit out if not
4735
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
4734
4736
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
4735
4737
  if (!validatedValue) {
4736
4738
  this._mobileBreakpointValue = undefined;
@@ -5256,7 +5258,12 @@ class AuroDropdown extends r {
5256
5258
  },
5257
5259
 
5258
5260
  /**
5259
- * 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.
5261
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
5262
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
5263
+ *
5264
+ * When expanded, the dropdown will automatically display in fullscreen mode
5265
+ * if the screen size is equal to or smaller than the selected breakpoint.
5266
+ * @default sm
5260
5267
  */
5261
5268
  fullscreenBreakpoint: {
5262
5269
  type: String,
@@ -5396,6 +5403,15 @@ class AuroDropdown extends r {
5396
5403
  AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
5397
5404
  }
5398
5405
 
5406
+ /**
5407
+ * Accessor for reusing the focusable entity query string.
5408
+ * @private
5409
+ * @returns {string}
5410
+ */
5411
+ get focusableEntityQuery () {
5412
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
5413
+ }
5414
+
5399
5415
  connectedCallback() {
5400
5416
  super.connectedCallback();
5401
5417
  }
@@ -5409,6 +5425,8 @@ class AuroDropdown extends r {
5409
5425
  updated(changedProperties) {
5410
5426
  this.floater.handleUpdate(changedProperties);
5411
5427
 
5428
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
5429
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
5412
5430
  if (changedProperties.has('fullscreenBreakpoint')) {
5413
5431
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
5414
5432
  }
@@ -5559,7 +5577,7 @@ class AuroDropdown extends r {
5559
5577
 
5560
5578
  this.triggerContentSlot.forEach((node) => {
5561
5579
  if (node.querySelectorAll) {
5562
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
5580
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
5563
5581
  auroElements.forEach((auroEl) => {
5564
5582
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
5565
5583
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -5580,7 +5598,7 @@ class AuroDropdown extends r {
5580
5598
 
5581
5599
  this.triggerContentSlot.forEach((node) => {
5582
5600
  if (node.querySelectorAll) {
5583
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
5601
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
5584
5602
  auroElements.forEach((auroEl) => {
5585
5603
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
5586
5604
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -6710,8 +6728,11 @@ class AuroCounterGroup extends r {
6710
6728
  },
6711
6729
 
6712
6730
  /**
6713
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
6714
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
6731
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
6732
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
6733
+ *
6734
+ * When expanded, the dropdown will automatically display in fullscreen mode
6735
+ * if the screen size is equal to or smaller than the selected breakpoint.
6715
6736
  * @default sm
6716
6737
  */
6717
6738
  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.1.0/auro-counter/+esm"></script>
113
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.0/auro-counter/+esm"></script>
114
114
  ```
115
115
  <!-- AURO-GENERATED-CONTENT:END -->
116
116