@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 +7 -0
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/readme.md +1 -1
- package/components/combobox/README.md +1 -1
- package/components/combobox/demo/api.min.js +6 -0
- package/components/combobox/demo/index.min.js +6 -0
- package/components/combobox/demo/readme.md +1 -1
- package/components/combobox/dist/index.js +6 -0
- package/components/combobox/dist/registered.js +6 -0
- package/components/counter/README.md +1 -1
- package/components/counter/demo/readme.md +1 -1
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/readme.md +1 -1
- package/components/dropdown/README.md +1 -1
- package/components/dropdown/demo/readme.md +1 -1
- package/components/form/README.md +1 -1
- package/components/form/demo/readme.md +1 -1
- package/components/input/README.md +1 -1
- package/components/input/demo/readme.md +1 -1
- package/components/menu/README.md +1 -1
- package/components/menu/demo/readme.md +1 -1
- package/components/radio/README.md +1 -1
- package/components/radio/demo/readme.md +1 -1
- package/components/select/README.md +1 -1
- package/components/select/demo/api.min.js +10 -6
- package/components/select/demo/index.min.js +10 -6
- package/components/select/demo/readme.md +1 -1
- package/components/select/dist/index.js +10 -6
- package/components/select/dist/registered.js +10 -6
- package/package.json +1 -1
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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