@aurodesignsystem/auro-formkit 3.2.7 → 3.2.8

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Semantic Release Automated Changelog
2
2
 
3
+ ## [3.2.8](https://github.com/AlaskaAirlines/auro-formkit/compare/v3.2.7...v3.2.8) (2025-05-08)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * scroll to the active menuoption of combobox, select ([a31675a](https://github.com/AlaskaAirlines/auro-formkit/commit/a31675ac7aa8d049c54b865da3589359e85ee9c2))
9
+
3
10
  ## [3.2.7](https://github.com/AlaskaAirlines/auro-formkit/compare/v3.2.6...v3.2.7) (2025-05-05)
4
11
 
5
12
 
@@ -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.6/auro-checkbox/+esm"></script>
109
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/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.6/auro-checkbox/+esm"></script>
109
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/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.6/auro-combobox/+esm"></script>
114
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-combobox/+esm"></script>
115
115
  ```
116
116
  <!-- AURO-GENERATED-CONTENT:END -->
117
117
 
@@ -13211,6 +13211,12 @@ class AuroCombobox extends i$2 {
13211
13211
 
13212
13212
  this.menu.addEventListener('auroMenu-activatedOption', (evt) => {
13213
13213
  this.optionActive = evt.detail;
13214
+
13215
+ this.optionActive.scrollIntoView({
13216
+ alignToTop: false,
13217
+ block: "nearest",
13218
+ behavior: "smooth"
13219
+ });
13214
13220
  });
13215
13221
 
13216
13222
  this.menu.addEventListener('auroMenu-selectValueFailure', () => {
@@ -13069,6 +13069,12 @@ class AuroCombobox extends i$2 {
13069
13069
 
13070
13070
  this.menu.addEventListener('auroMenu-activatedOption', (evt) => {
13071
13071
  this.optionActive = evt.detail;
13072
+
13073
+ this.optionActive.scrollIntoView({
13074
+ alignToTop: false,
13075
+ block: "nearest",
13076
+ behavior: "smooth"
13077
+ });
13072
13078
  });
13073
13079
 
13074
13080
  this.menu.addEventListener('auroMenu-selectValueFailure', () => {
@@ -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.6/auro-combobox/+esm"></script>
114
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-combobox/+esm"></script>
115
115
  ```
116
116
  <!-- AURO-GENERATED-CONTENT:END -->
117
117
 
@@ -12987,6 +12987,12 @@ class AuroCombobox extends LitElement {
12987
12987
 
12988
12988
  this.menu.addEventListener('auroMenu-activatedOption', (evt) => {
12989
12989
  this.optionActive = evt.detail;
12990
+
12991
+ this.optionActive.scrollIntoView({
12992
+ alignToTop: false,
12993
+ block: "nearest",
12994
+ behavior: "smooth"
12995
+ });
12990
12996
  });
12991
12997
 
12992
12998
  this.menu.addEventListener('auroMenu-selectValueFailure', () => {
@@ -12987,6 +12987,12 @@ class AuroCombobox extends LitElement {
12987
12987
 
12988
12988
  this.menu.addEventListener('auroMenu-activatedOption', (evt) => {
12989
12989
  this.optionActive = evt.detail;
12990
+
12991
+ this.optionActive.scrollIntoView({
12992
+ alignToTop: false,
12993
+ block: "nearest",
12994
+ behavior: "smooth"
12995
+ });
12990
12996
  });
12991
12997
 
12992
12998
  this.menu.addEventListener('auroMenu-selectValueFailure', () => {
@@ -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.6/auro-counter/+esm"></script>
113
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-counter/+esm"></script>
114
114
  ```
115
115
  <!-- AURO-GENERATED-CONTENT:END -->
116
116
 
@@ -110,7 +110,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
110
110
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
111
111
 
112
112
  ```html
113
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-counter/+esm"></script>
113
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-counter/+esm"></script>
114
114
  ```
115
115
  <!-- AURO-GENERATED-CONTENT:END -->
116
116
 
@@ -104,7 +104,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
104
104
  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.
105
105
 
106
106
  ```html
107
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-datepicker/+esm"></script>
107
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-datepicker/+esm"></script>
108
108
  ```
109
109
  <!-- AURO-GENERATED-CONTENT:END -->
110
110
 
@@ -104,7 +104,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
104
104
  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.
105
105
 
106
106
  ```html
107
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-datepicker/+esm"></script>
107
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-datepicker/+esm"></script>
108
108
  ```
109
109
  <!-- AURO-GENERATED-CONTENT:END -->
110
110
 
@@ -107,7 +107,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
107
107
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
108
108
 
109
109
  ```html
110
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-dropdown/+esm"></script>
110
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-dropdown/+esm"></script>
111
111
  ```
112
112
  <!-- AURO-GENERATED-CONTENT:END -->
113
113
 
@@ -107,7 +107,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
107
107
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
108
108
 
109
109
  ```html
110
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-dropdown/+esm"></script>
110
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-dropdown/+esm"></script>
111
111
  ```
112
112
  <!-- AURO-GENERATED-CONTENT:END -->
113
113
 
@@ -109,7 +109,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
109
109
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
110
110
 
111
111
  ```html
112
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-form/+esm"></script>
112
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-form/+esm"></script>
113
113
  ```
114
114
  <!-- AURO-GENERATED-CONTENT:END -->
115
115
 
@@ -109,7 +109,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
109
109
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
110
110
 
111
111
  ```html
112
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-form/+esm"></script>
112
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-form/+esm"></script>
113
113
  ```
114
114
  <!-- AURO-GENERATED-CONTENT:END -->
115
115
 
@@ -99,7 +99,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
99
99
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
100
100
 
101
101
  ```html
102
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-input/+esm"></script>
102
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-input/+esm"></script>
103
103
  ```
104
104
  <!-- AURO-GENERATED-CONTENT:END -->
105
105
 
@@ -99,7 +99,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
99
99
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
100
100
 
101
101
  ```html
102
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-input/+esm"></script>
102
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-input/+esm"></script>
103
103
  ```
104
104
  <!-- AURO-GENERATED-CONTENT:END -->
105
105
 
@@ -110,7 +110,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
110
110
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
111
111
 
112
112
  ```html
113
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-menu/+esm"></script>
113
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-menu/+esm"></script>
114
114
  ```
115
115
  <!-- AURO-GENERATED-CONTENT:END -->
116
116
 
@@ -110,7 +110,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
110
110
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
111
111
 
112
112
  ```html
113
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-menu/+esm"></script>
113
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-menu/+esm"></script>
114
114
  ```
115
115
  <!-- AURO-GENERATED-CONTENT:END -->
116
116
 
@@ -100,7 +100,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
100
100
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
101
101
 
102
102
  ```html
103
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-radio/+esm"></script>
103
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-radio/+esm"></script>
104
104
  ```
105
105
  <!-- AURO-GENERATED-CONTENT:END -->
106
106
 
@@ -100,7 +100,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
100
100
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
101
101
 
102
102
  ```html
103
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-radio/+esm"></script>
103
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-radio/+esm"></script>
104
104
  ```
105
105
  <!-- AURO-GENERATED-CONTENT:END -->
106
106
 
@@ -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.6/auro-select/+esm"></script>
114
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-select/+esm"></script>
115
115
  ```
116
116
  <!-- AURO-GENERATED-CONTENT:END -->
117
117
 
@@ -5943,6 +5943,16 @@ class AuroSelect extends i$2 {
5943
5943
  this.optionSelected = this.menu.optionSelected;
5944
5944
  this.validation.validate(this);
5945
5945
  });
5946
+
5947
+ this.menu.addEventListener('auroMenu-activatedOption', (evt) => {
5948
+ if (evt.detail) {
5949
+ evt.detail.scrollIntoView({
5950
+ alignToTop: false,
5951
+ block: "nearest",
5952
+ behavior: "smooth"
5953
+ });
5954
+ }
5955
+ });
5946
5956
  }
5947
5957
 
5948
5958
  /**
@@ -6045,12 +6055,6 @@ class AuroSelect extends i$2 {
6045
6055
  const newOption = letterOptions[index];
6046
6056
  const newOptionIndex = this.options.indexOf(newOption);
6047
6057
  this.menu.updateActiveOption(newOptionIndex);
6048
-
6049
- newOption.scrollIntoView({
6050
- alignToTop: false,
6051
- block: "nearest",
6052
- behavior: "smooth"
6053
- });
6054
6058
  }
6055
6059
  }
6056
6060
 
@@ -5851,6 +5851,16 @@ class AuroSelect extends i$2 {
5851
5851
  this.optionSelected = this.menu.optionSelected;
5852
5852
  this.validation.validate(this);
5853
5853
  });
5854
+
5855
+ this.menu.addEventListener('auroMenu-activatedOption', (evt) => {
5856
+ if (evt.detail) {
5857
+ evt.detail.scrollIntoView({
5858
+ alignToTop: false,
5859
+ block: "nearest",
5860
+ behavior: "smooth"
5861
+ });
5862
+ }
5863
+ });
5854
5864
  }
5855
5865
 
5856
5866
  /**
@@ -5953,12 +5963,6 @@ class AuroSelect extends i$2 {
5953
5963
  const newOption = letterOptions[index];
5954
5964
  const newOptionIndex = this.options.indexOf(newOption);
5955
5965
  this.menu.updateActiveOption(newOptionIndex);
5956
-
5957
- newOption.scrollIntoView({
5958
- alignToTop: false,
5959
- block: "nearest",
5960
- behavior: "smooth"
5961
- });
5962
5966
  }
5963
5967
  }
5964
5968
 
@@ -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.6/auro-select/+esm"></script>
114
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.7/auro-select/+esm"></script>
115
115
  ```
116
116
  <!-- AURO-GENERATED-CONTENT:END -->
117
117
 
@@ -5804,6 +5804,16 @@ class AuroSelect extends LitElement {
5804
5804
  this.optionSelected = this.menu.optionSelected;
5805
5805
  this.validation.validate(this);
5806
5806
  });
5807
+
5808
+ this.menu.addEventListener('auroMenu-activatedOption', (evt) => {
5809
+ if (evt.detail) {
5810
+ evt.detail.scrollIntoView({
5811
+ alignToTop: false,
5812
+ block: "nearest",
5813
+ behavior: "smooth"
5814
+ });
5815
+ }
5816
+ });
5807
5817
  }
5808
5818
 
5809
5819
  /**
@@ -5906,12 +5916,6 @@ class AuroSelect extends LitElement {
5906
5916
  const newOption = letterOptions[index];
5907
5917
  const newOptionIndex = this.options.indexOf(newOption);
5908
5918
  this.menu.updateActiveOption(newOptionIndex);
5909
-
5910
- newOption.scrollIntoView({
5911
- alignToTop: false,
5912
- block: "nearest",
5913
- behavior: "smooth"
5914
- });
5915
5919
  }
5916
5920
  }
5917
5921
 
@@ -5804,6 +5804,16 @@ class AuroSelect extends LitElement {
5804
5804
  this.optionSelected = this.menu.optionSelected;
5805
5805
  this.validation.validate(this);
5806
5806
  });
5807
+
5808
+ this.menu.addEventListener('auroMenu-activatedOption', (evt) => {
5809
+ if (evt.detail) {
5810
+ evt.detail.scrollIntoView({
5811
+ alignToTop: false,
5812
+ block: "nearest",
5813
+ behavior: "smooth"
5814
+ });
5815
+ }
5816
+ });
5807
5817
  }
5808
5818
 
5809
5819
  /**
@@ -5906,12 +5916,6 @@ class AuroSelect extends LitElement {
5906
5916
  const newOption = letterOptions[index];
5907
5917
  const newOptionIndex = this.options.indexOf(newOption);
5908
5918
  this.menu.updateActiveOption(newOptionIndex);
5909
-
5910
- newOption.scrollIntoView({
5911
- alignToTop: false,
5912
- block: "nearest",
5913
- behavior: "smooth"
5914
- });
5915
5919
  }
5916
5920
  }
5917
5921
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurodesignsystem/auro-formkit",
3
- "version": "3.2.7",
3
+ "version": "3.2.8",
4
4
  "description": "A collection of web components used to build forms.",
5
5
  "homepage": "https://github.com/AlaskaAirlines/auro-formkit#readme",
6
6
  "bugs": {