@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
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Semantic Release Automated Changelog
2
2
 
3
+ # [3.3.0-beta.2](https://github.com/AlaskaAirlines/auro-formkit/compare/v3.3.0-beta.1...v3.3.0-beta.2) (2025-05-09)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * configure menu correctly when the menu node exists ([065b394](https://github.com/AlaskaAirlines/auro-formkit/commit/065b394ec404256fb94cce59978facc75e647707))
9
+ * make `focus` function to focus `input` node ([f0bef6f](https://github.com/AlaskaAirlines/auro-formkit/commit/f0bef6f344bc354fffe4bba51e6eb5c6a5628486))
10
+ * not to bubble up keydown event when the input is not in bibtemplate ([60a7ff0](https://github.com/AlaskaAirlines/auro-formkit/commit/60a7ff01f4cf20125af32fe72d806226c69a3290))
11
+ * radio group only queries for radio elements ([c696c89](https://github.com/AlaskaAirlines/auro-formkit/commit/c696c8926570abe6d2faf4aad2d85a2ad16e4b67))
12
+ * remove redudant font tokens ([7067083](https://github.com/AlaskaAirlines/auro-formkit/commit/70670834ae4e48f1d191b566f12948d14eafd550))
13
+ * scroll to the active menuoption of combobox, select ([a31675a](https://github.com/AlaskaAirlines/auro-formkit/commit/a31675ac7aa8d049c54b865da3589359e85ee9c2))
14
+ * setting the combobox value progamatically now also updates the selected menu option and match word ([194b120](https://github.com/AlaskaAirlines/auro-formkit/commit/194b1206c13fd53bffb464579ee6877090be3c34)), closes [#546](https://github.com/AlaskaAirlines/auro-formkit/issues/546)
15
+ * update font styles to use themable tokens ([1f3022b](https://github.com/AlaskaAirlines/auro-formkit/commit/1f3022b9d09cbecc08a389116d532c257cdc9884))
16
+ * update SCSS token formatting ([10a97e3](https://github.com/AlaskaAirlines/auro-formkit/commit/10a97e313f735c4b545e94041f51e8d074607e01))
17
+ * update selected menuoption correctly upon selecting ([4d7ee93](https://github.com/AlaskaAirlines/auro-formkit/commit/4d7ee9381d4fed035c2ef8ce1d9f3695c75d642a))
18
+
3
19
  ## [3.2.8](https://github.com/AlaskaAirlines/auro-formkit/compare/v3.2.7...v3.2.8) (2025-05-08)
4
20
 
5
21
 
@@ -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.2.7/auro-checkbox/+esm"></script>
109
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.8/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.2.7/auro-checkbox/+esm"></script>
109
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.8/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.2.7/auro-combobox/+esm"></script>
114
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.8/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`. |
@@ -3659,6 +3659,7 @@ var tokensCss$1$2 = i$5`:host{--ds-auro-dropdown-label-text-color: var(--ds-basi
3659
3659
 
3660
3660
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
3661
3661
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
3662
+ 'xl',
3662
3663
  'lg',
3663
3664
  'md',
3664
3665
  'sm',
@@ -3730,6 +3731,7 @@ class AuroDropdownBib extends i$2 {
3730
3731
 
3731
3732
  set mobileFullscreenBreakpoint(value) {
3732
3733
  // verify the defined breakpoint is valid and exit out if not
3734
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
3733
3735
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
3734
3736
  if (!validatedValue) {
3735
3737
  this._mobileBreakpointValue = undefined;
@@ -4255,7 +4257,12 @@ class AuroDropdown extends i$2 {
4255
4257
  },
4256
4258
 
4257
4259
  /**
4258
- * 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.
4260
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
4261
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
4262
+ *
4263
+ * When expanded, the dropdown will automatically display in fullscreen mode
4264
+ * if the screen size is equal to or smaller than the selected breakpoint.
4265
+ * @default sm
4259
4266
  */
4260
4267
  fullscreenBreakpoint: {
4261
4268
  type: String,
@@ -4395,6 +4402,15 @@ class AuroDropdown extends i$2 {
4395
4402
  AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
4396
4403
  }
4397
4404
 
4405
+ /**
4406
+ * Accessor for reusing the focusable entity query string.
4407
+ * @private
4408
+ * @returns {string}
4409
+ */
4410
+ get focusableEntityQuery () {
4411
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
4412
+ }
4413
+
4398
4414
  connectedCallback() {
4399
4415
  super.connectedCallback();
4400
4416
  }
@@ -4408,6 +4424,8 @@ class AuroDropdown extends i$2 {
4408
4424
  updated(changedProperties) {
4409
4425
  this.floater.handleUpdate(changedProperties);
4410
4426
 
4427
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
4428
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
4411
4429
  if (changedProperties.has('fullscreenBreakpoint')) {
4412
4430
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
4413
4431
  }
@@ -4558,7 +4576,7 @@ class AuroDropdown extends i$2 {
4558
4576
 
4559
4577
  this.triggerContentSlot.forEach((node) => {
4560
4578
  if (node.querySelectorAll) {
4561
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
4579
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
4562
4580
  auroElements.forEach((auroEl) => {
4563
4581
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
4564
4582
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -4579,7 +4597,7 @@ class AuroDropdown extends i$2 {
4579
4597
 
4580
4598
  this.triggerContentSlot.forEach((node) => {
4581
4599
  if (node.querySelectorAll) {
4582
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
4600
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
4583
4601
  auroElements.forEach((auroEl) => {
4584
4602
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
4585
4603
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -12920,8 +12938,11 @@ class AuroCombobox extends i$2 {
12920
12938
  },
12921
12939
 
12922
12940
  /**
12923
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
12924
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
12941
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
12942
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
12943
+ *
12944
+ * When expanded, the dropdown will automatically display in fullscreen mode
12945
+ * if the screen size is equal to or smaller than the selected breakpoint.
12925
12946
  * @default sm
12926
12947
  */
12927
12948
  fullscreenBreakpoint: {
@@ -3517,6 +3517,7 @@ var tokensCss$1$2 = i$5`:host{--ds-auro-dropdown-label-text-color: var(--ds-basi
3517
3517
 
3518
3518
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
3519
3519
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
3520
+ 'xl',
3520
3521
  'lg',
3521
3522
  'md',
3522
3523
  'sm',
@@ -3588,6 +3589,7 @@ class AuroDropdownBib extends i$2 {
3588
3589
 
3589
3590
  set mobileFullscreenBreakpoint(value) {
3590
3591
  // verify the defined breakpoint is valid and exit out if not
3592
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
3591
3593
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
3592
3594
  if (!validatedValue) {
3593
3595
  this._mobileBreakpointValue = undefined;
@@ -4113,7 +4115,12 @@ class AuroDropdown extends i$2 {
4113
4115
  },
4114
4116
 
4115
4117
  /**
4116
- * 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.
4118
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
4119
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
4120
+ *
4121
+ * When expanded, the dropdown will automatically display in fullscreen mode
4122
+ * if the screen size is equal to or smaller than the selected breakpoint.
4123
+ * @default sm
4117
4124
  */
4118
4125
  fullscreenBreakpoint: {
4119
4126
  type: String,
@@ -4253,6 +4260,15 @@ class AuroDropdown extends i$2 {
4253
4260
  AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
4254
4261
  }
4255
4262
 
4263
+ /**
4264
+ * Accessor for reusing the focusable entity query string.
4265
+ * @private
4266
+ * @returns {string}
4267
+ */
4268
+ get focusableEntityQuery () {
4269
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
4270
+ }
4271
+
4256
4272
  connectedCallback() {
4257
4273
  super.connectedCallback();
4258
4274
  }
@@ -4266,6 +4282,8 @@ class AuroDropdown extends i$2 {
4266
4282
  updated(changedProperties) {
4267
4283
  this.floater.handleUpdate(changedProperties);
4268
4284
 
4285
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
4286
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
4269
4287
  if (changedProperties.has('fullscreenBreakpoint')) {
4270
4288
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
4271
4289
  }
@@ -4416,7 +4434,7 @@ class AuroDropdown extends i$2 {
4416
4434
 
4417
4435
  this.triggerContentSlot.forEach((node) => {
4418
4436
  if (node.querySelectorAll) {
4419
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
4437
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
4420
4438
  auroElements.forEach((auroEl) => {
4421
4439
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
4422
4440
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -4437,7 +4455,7 @@ class AuroDropdown extends i$2 {
4437
4455
 
4438
4456
  this.triggerContentSlot.forEach((node) => {
4439
4457
  if (node.querySelectorAll) {
4440
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
4458
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
4441
4459
  auroElements.forEach((auroEl) => {
4442
4460
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
4443
4461
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -12778,8 +12796,11 @@ class AuroCombobox extends i$2 {
12778
12796
  },
12779
12797
 
12780
12798
  /**
12781
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
12782
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
12799
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
12800
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
12801
+ *
12802
+ * When expanded, the dropdown will automatically display in fullscreen mode
12803
+ * if the screen size is equal to or smaller than the selected breakpoint.
12783
12804
  * @default sm
12784
12805
  */
12785
12806
  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.2.7/auro-combobox/+esm"></script>
114
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.8/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: {
@@ -3448,6 +3448,7 @@ var tokensCss$1$1 = css`:host{--ds-auro-dropdown-label-text-color: var(--ds-basi
3448
3448
 
3449
3449
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
3450
3450
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
3451
+ 'xl',
3451
3452
  'lg',
3452
3453
  'md',
3453
3454
  'sm',
@@ -3519,6 +3520,7 @@ class AuroDropdownBib extends LitElement {
3519
3520
 
3520
3521
  set mobileFullscreenBreakpoint(value) {
3521
3522
  // verify the defined breakpoint is valid and exit out if not
3523
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
3522
3524
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
3523
3525
  if (!validatedValue) {
3524
3526
  this._mobileBreakpointValue = undefined;
@@ -4044,7 +4046,12 @@ class AuroDropdown extends LitElement {
4044
4046
  },
4045
4047
 
4046
4048
  /**
4047
- * 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.
4049
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
4050
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
4051
+ *
4052
+ * When expanded, the dropdown will automatically display in fullscreen mode
4053
+ * if the screen size is equal to or smaller than the selected breakpoint.
4054
+ * @default sm
4048
4055
  */
4049
4056
  fullscreenBreakpoint: {
4050
4057
  type: String,
@@ -4184,6 +4191,15 @@ class AuroDropdown extends LitElement {
4184
4191
  AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
4185
4192
  }
4186
4193
 
4194
+ /**
4195
+ * Accessor for reusing the focusable entity query string.
4196
+ * @private
4197
+ * @returns {string}
4198
+ */
4199
+ get focusableEntityQuery () {
4200
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
4201
+ }
4202
+
4187
4203
  connectedCallback() {
4188
4204
  super.connectedCallback();
4189
4205
  }
@@ -4197,6 +4213,8 @@ class AuroDropdown extends LitElement {
4197
4213
  updated(changedProperties) {
4198
4214
  this.floater.handleUpdate(changedProperties);
4199
4215
 
4216
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
4217
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
4200
4218
  if (changedProperties.has('fullscreenBreakpoint')) {
4201
4219
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
4202
4220
  }
@@ -4347,7 +4365,7 @@ class AuroDropdown extends LitElement {
4347
4365
 
4348
4366
  this.triggerContentSlot.forEach((node) => {
4349
4367
  if (node.querySelectorAll) {
4350
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
4368
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
4351
4369
  auroElements.forEach((auroEl) => {
4352
4370
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
4353
4371
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -4368,7 +4386,7 @@ class AuroDropdown extends LitElement {
4368
4386
 
4369
4387
  this.triggerContentSlot.forEach((node) => {
4370
4388
  if (node.querySelectorAll) {
4371
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
4389
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
4372
4390
  auroElements.forEach((auroEl) => {
4373
4391
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
4374
4392
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -12696,8 +12714,11 @@ class AuroCombobox extends LitElement {
12696
12714
  },
12697
12715
 
12698
12716
  /**
12699
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
12700
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
12717
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
12718
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
12719
+ *
12720
+ * When expanded, the dropdown will automatically display in fullscreen mode
12721
+ * if the screen size is equal to or smaller than the selected breakpoint.
12701
12722
  * @default sm
12702
12723
  */
12703
12724
  fullscreenBreakpoint: {
@@ -3448,6 +3448,7 @@ var tokensCss$1$1 = css`:host{--ds-auro-dropdown-label-text-color: var(--ds-basi
3448
3448
 
3449
3449
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
3450
3450
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
3451
+ 'xl',
3451
3452
  'lg',
3452
3453
  'md',
3453
3454
  'sm',
@@ -3519,6 +3520,7 @@ class AuroDropdownBib extends LitElement {
3519
3520
 
3520
3521
  set mobileFullscreenBreakpoint(value) {
3521
3522
  // verify the defined breakpoint is valid and exit out if not
3523
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
3522
3524
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
3523
3525
  if (!validatedValue) {
3524
3526
  this._mobileBreakpointValue = undefined;
@@ -4044,7 +4046,12 @@ class AuroDropdown extends LitElement {
4044
4046
  },
4045
4047
 
4046
4048
  /**
4047
- * 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.
4049
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
4050
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
4051
+ *
4052
+ * When expanded, the dropdown will automatically display in fullscreen mode
4053
+ * if the screen size is equal to or smaller than the selected breakpoint.
4054
+ * @default sm
4048
4055
  */
4049
4056
  fullscreenBreakpoint: {
4050
4057
  type: String,
@@ -4184,6 +4191,15 @@ class AuroDropdown extends LitElement {
4184
4191
  AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
4185
4192
  }
4186
4193
 
4194
+ /**
4195
+ * Accessor for reusing the focusable entity query string.
4196
+ * @private
4197
+ * @returns {string}
4198
+ */
4199
+ get focusableEntityQuery () {
4200
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
4201
+ }
4202
+
4187
4203
  connectedCallback() {
4188
4204
  super.connectedCallback();
4189
4205
  }
@@ -4197,6 +4213,8 @@ class AuroDropdown extends LitElement {
4197
4213
  updated(changedProperties) {
4198
4214
  this.floater.handleUpdate(changedProperties);
4199
4215
 
4216
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
4217
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
4200
4218
  if (changedProperties.has('fullscreenBreakpoint')) {
4201
4219
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
4202
4220
  }
@@ -4347,7 +4365,7 @@ class AuroDropdown extends LitElement {
4347
4365
 
4348
4366
  this.triggerContentSlot.forEach((node) => {
4349
4367
  if (node.querySelectorAll) {
4350
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
4368
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
4351
4369
  auroElements.forEach((auroEl) => {
4352
4370
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
4353
4371
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -4368,7 +4386,7 @@ class AuroDropdown extends LitElement {
4368
4386
 
4369
4387
  this.triggerContentSlot.forEach((node) => {
4370
4388
  if (node.querySelectorAll) {
4371
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
4389
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
4372
4390
  auroElements.forEach((auroEl) => {
4373
4391
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
4374
4392
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -12696,8 +12714,11 @@ class AuroCombobox extends LitElement {
12696
12714
  },
12697
12715
 
12698
12716
  /**
12699
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
12700
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
12717
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
12718
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
12719
+ *
12720
+ * When expanded, the dropdown will automatically display in fullscreen mode
12721
+ * if the screen size is equal to or smaller than the selected breakpoint.
12701
12722
  * @default sm
12702
12723
  */
12703
12724
  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.2.7/auro-counter/+esm"></script>
113
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.8/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. |
@@ -4662,6 +4662,7 @@ var tokensCss$1 = i$5`:host{--ds-auro-dropdown-label-text-color: var(--ds-basic-
4662
4662
 
4663
4663
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
4664
4664
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
4665
+ 'xl',
4665
4666
  'lg',
4666
4667
  'md',
4667
4668
  'sm',
@@ -4733,6 +4734,7 @@ class AuroDropdownBib extends i$2 {
4733
4734
 
4734
4735
  set mobileFullscreenBreakpoint(value) {
4735
4736
  // verify the defined breakpoint is valid and exit out if not
4737
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
4736
4738
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
4737
4739
  if (!validatedValue) {
4738
4740
  this._mobileBreakpointValue = undefined;
@@ -5258,7 +5260,12 @@ class AuroDropdown extends i$2 {
5258
5260
  },
5259
5261
 
5260
5262
  /**
5261
- * 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.
5263
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
5264
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
5265
+ *
5266
+ * When expanded, the dropdown will automatically display in fullscreen mode
5267
+ * if the screen size is equal to or smaller than the selected breakpoint.
5268
+ * @default sm
5262
5269
  */
5263
5270
  fullscreenBreakpoint: {
5264
5271
  type: String,
@@ -5398,6 +5405,15 @@ class AuroDropdown extends i$2 {
5398
5405
  AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroDropdown);
5399
5406
  }
5400
5407
 
5408
+ /**
5409
+ * Accessor for reusing the focusable entity query string.
5410
+ * @private
5411
+ * @returns {string}
5412
+ */
5413
+ get focusableEntityQuery () {
5414
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
5415
+ }
5416
+
5401
5417
  connectedCallback() {
5402
5418
  super.connectedCallback();
5403
5419
  }
@@ -5411,6 +5427,8 @@ class AuroDropdown extends i$2 {
5411
5427
  updated(changedProperties) {
5412
5428
  this.floater.handleUpdate(changedProperties);
5413
5429
 
5430
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
5431
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
5414
5432
  if (changedProperties.has('fullscreenBreakpoint')) {
5415
5433
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
5416
5434
  }
@@ -5561,7 +5579,7 @@ class AuroDropdown extends i$2 {
5561
5579
 
5562
5580
  this.triggerContentSlot.forEach((node) => {
5563
5581
  if (node.querySelectorAll) {
5564
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
5582
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
5565
5583
  auroElements.forEach((auroEl) => {
5566
5584
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
5567
5585
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -5582,7 +5600,7 @@ class AuroDropdown extends i$2 {
5582
5600
 
5583
5601
  this.triggerContentSlot.forEach((node) => {
5584
5602
  if (node.querySelectorAll) {
5585
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
5603
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
5586
5604
  auroElements.forEach((auroEl) => {
5587
5605
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
5588
5606
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -6642,8 +6660,11 @@ class AuroCounterGroup extends i$2 {
6642
6660
  },
6643
6661
 
6644
6662
  /**
6645
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
6646
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
6663
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
6664
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
6665
+ *
6666
+ * When expanded, the dropdown will automatically display in fullscreen mode
6667
+ * if the screen size is equal to or smaller than the selected breakpoint.
6647
6668
  * @default sm
6648
6669
  */
6649
6670
  fullscreenBreakpoint: {
@@ -4662,6 +4662,7 @@ var tokensCss$1 = i$5`:host{--ds-auro-dropdown-label-text-color: var(--ds-basic-
4662
4662
 
4663
4663
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
4664
4664
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
4665
+ 'xl',
4665
4666
  'lg',
4666
4667
  'md',
4667
4668
  'sm',
@@ -4733,6 +4734,7 @@ class AuroDropdownBib extends i$2 {
4733
4734
 
4734
4735
  set mobileFullscreenBreakpoint(value) {
4735
4736
  // verify the defined breakpoint is valid and exit out if not
4737
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
4736
4738
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
4737
4739
  if (!validatedValue) {
4738
4740
  this._mobileBreakpointValue = undefined;
@@ -5258,7 +5260,12 @@ class AuroDropdown extends i$2 {
5258
5260
  },
5259
5261
 
5260
5262
  /**
5261
- * 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.
5263
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
5264
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
5265
+ *
5266
+ * When expanded, the dropdown will automatically display in fullscreen mode
5267
+ * if the screen size is equal to or smaller than the selected breakpoint.
5268
+ * @default sm
5262
5269
  */
5263
5270
  fullscreenBreakpoint: {
5264
5271
  type: String,
@@ -5398,6 +5405,15 @@ class AuroDropdown extends i$2 {
5398
5405
  AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroDropdown);
5399
5406
  }
5400
5407
 
5408
+ /**
5409
+ * Accessor for reusing the focusable entity query string.
5410
+ * @private
5411
+ * @returns {string}
5412
+ */
5413
+ get focusableEntityQuery () {
5414
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
5415
+ }
5416
+
5401
5417
  connectedCallback() {
5402
5418
  super.connectedCallback();
5403
5419
  }
@@ -5411,6 +5427,8 @@ class AuroDropdown extends i$2 {
5411
5427
  updated(changedProperties) {
5412
5428
  this.floater.handleUpdate(changedProperties);
5413
5429
 
5430
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
5431
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
5414
5432
  if (changedProperties.has('fullscreenBreakpoint')) {
5415
5433
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
5416
5434
  }
@@ -5561,7 +5579,7 @@ class AuroDropdown extends i$2 {
5561
5579
 
5562
5580
  this.triggerContentSlot.forEach((node) => {
5563
5581
  if (node.querySelectorAll) {
5564
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
5582
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
5565
5583
  auroElements.forEach((auroEl) => {
5566
5584
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
5567
5585
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -5582,7 +5600,7 @@ class AuroDropdown extends i$2 {
5582
5600
 
5583
5601
  this.triggerContentSlot.forEach((node) => {
5584
5602
  if (node.querySelectorAll) {
5585
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
5603
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
5586
5604
  auroElements.forEach((auroEl) => {
5587
5605
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
5588
5606
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -6642,8 +6660,11 @@ class AuroCounterGroup extends i$2 {
6642
6660
  },
6643
6661
 
6644
6662
  /**
6645
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
6646
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
6663
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
6664
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
6665
+ *
6666
+ * When expanded, the dropdown will automatically display in fullscreen mode
6667
+ * if the screen size is equal to or smaller than the selected breakpoint.
6647
6668
  * @default sm
6648
6669
  */
6649
6670
  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.2.7/auro-counter/+esm"></script>
113
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.8/auro-counter/+esm"></script>
114
114
  ```
115
115
  <!-- AURO-GENERATED-CONTENT:END -->
116
116