@aurodesignsystem/auro-formkit 3.2.3 → 3.2.4
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 +9 -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 +7 -4
- package/components/combobox/demo/index.min.js +7 -4
- package/components/combobox/demo/readme.md +1 -1
- package/components/combobox/dist/index.js +7 -4
- package/components/combobox/dist/registered.js +7 -4
- 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.md +4 -5
- package/components/select/demo/api.min.js +6 -0
- package/components/select/demo/index.min.js +6 -0
- package/components/select/demo/readme.md +1 -1
- package/components/select/dist/auro-select.d.ts +8 -2
- package/components/select/dist/index.js +6 -0
- package/components/select/dist/registered.js +6 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Semantic Release Automated Changelog
|
|
2
2
|
|
|
3
|
+
## [3.2.4](https://github.com/AlaskaAirlines/auro-formkit/compare/v3.2.3...v3.2.4) (2025-05-01)
|
|
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
|
+
* not to bubble up keydown event when the input is not in bibtemplate ([60a7ff0](https://github.com/AlaskaAirlines/auro-formkit/commit/60a7ff01f4cf20125af32fe72d806226c69a3290))
|
|
10
|
+
* update selected menuoption correctly upon selecting ([4d7ee93](https://github.com/AlaskaAirlines/auro-formkit/commit/4d7ee9381d4fed035c2ef8ce1d9f3695c75d642a))
|
|
11
|
+
|
|
3
12
|
## [3.2.3](https://github.com/AlaskaAirlines/auro-formkit/compare/v3.2.2...v3.2.3) (2025-05-01)
|
|
4
13
|
|
|
5
14
|
|
|
@@ -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.3/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.3/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.3/auro-combobox/+esm"></script>
|
|
115
115
|
```
|
|
116
116
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
117
117
|
|
|
@@ -13110,7 +13110,9 @@ class AuroCombobox extends i$2 {
|
|
|
13110
13110
|
|
|
13111
13111
|
// this.dropdown.addEventListener('auroDropdown-show', () => {
|
|
13112
13112
|
this.menuWrapper = this.dropdown.querySelector('.menuWrapper');
|
|
13113
|
-
|
|
13113
|
+
if (this.menu) {
|
|
13114
|
+
this.menuWrapper.append(this.menu);
|
|
13115
|
+
}
|
|
13114
13116
|
|
|
13115
13117
|
// setting up bibtemplate
|
|
13116
13118
|
this.bibtemplate = this.dropdown.querySelector(this.bibtemplateTag._$litStatic$); // eslint-disable-line no-underscore-dangle
|
|
@@ -13146,7 +13148,6 @@ class AuroCombobox extends i$2 {
|
|
|
13146
13148
|
*/
|
|
13147
13149
|
configureMenu() {
|
|
13148
13150
|
this.menu = this.querySelector('auro-menu, [auro-menu]');
|
|
13149
|
-
this.menu.addEventListener('auroMenu-loadingChange', (event) => this.handleMenuLoadingChange(event));
|
|
13150
13151
|
|
|
13151
13152
|
// a racing condition on custom-combobox with custom-menu
|
|
13152
13153
|
if (!this.menu) {
|
|
@@ -13157,6 +13158,7 @@ class AuroCombobox extends i$2 {
|
|
|
13157
13158
|
return;
|
|
13158
13159
|
}
|
|
13159
13160
|
|
|
13161
|
+
this.menu.addEventListener('auroMenu-loadingChange', (event) => this.handleMenuLoadingChange(event));
|
|
13160
13162
|
this.menu.shadowRoot.addEventListener('slotchange', (event) => this.handleSlotChange(event));
|
|
13161
13163
|
|
|
13162
13164
|
if (this.checkmark) {
|
|
@@ -13227,10 +13229,11 @@ class AuroCombobox extends i$2 {
|
|
|
13227
13229
|
* @param {KeyboardEvent} event - The keyboard event.
|
|
13228
13230
|
*/
|
|
13229
13231
|
bubbleUpInputKeyEvent(event) {
|
|
13230
|
-
if (event.currentTarget.parentNode
|
|
13232
|
+
if (event.currentTarget.parentNode !== this.dropdown) {
|
|
13231
13233
|
if (event.key === 'ArrowUp' || event.key === 'ArrowDown') {
|
|
13232
13234
|
event.preventDefault();
|
|
13233
13235
|
}
|
|
13236
|
+
|
|
13234
13237
|
const ke = new KeyboardEvent(event.type, {
|
|
13235
13238
|
key: event.key,
|
|
13236
13239
|
code: event.code,
|
|
@@ -13376,7 +13379,7 @@ class AuroCombobox extends i$2 {
|
|
|
13376
13379
|
}));
|
|
13377
13380
|
}
|
|
13378
13381
|
|
|
13379
|
-
if (this.optionSelected && this.input.value !== this.optionSelected.textContent) {
|
|
13382
|
+
if (this.optionSelected && this.optionSelected[0] && this.input.value !== this.optionSelected[0].textContent) {
|
|
13380
13383
|
this.optionSelected = undefined;
|
|
13381
13384
|
hasChange = true;
|
|
13382
13385
|
}
|
|
@@ -12968,7 +12968,9 @@ class AuroCombobox extends i$2 {
|
|
|
12968
12968
|
|
|
12969
12969
|
// this.dropdown.addEventListener('auroDropdown-show', () => {
|
|
12970
12970
|
this.menuWrapper = this.dropdown.querySelector('.menuWrapper');
|
|
12971
|
-
|
|
12971
|
+
if (this.menu) {
|
|
12972
|
+
this.menuWrapper.append(this.menu);
|
|
12973
|
+
}
|
|
12972
12974
|
|
|
12973
12975
|
// setting up bibtemplate
|
|
12974
12976
|
this.bibtemplate = this.dropdown.querySelector(this.bibtemplateTag._$litStatic$); // eslint-disable-line no-underscore-dangle
|
|
@@ -13004,7 +13006,6 @@ class AuroCombobox extends i$2 {
|
|
|
13004
13006
|
*/
|
|
13005
13007
|
configureMenu() {
|
|
13006
13008
|
this.menu = this.querySelector('auro-menu, [auro-menu]');
|
|
13007
|
-
this.menu.addEventListener('auroMenu-loadingChange', (event) => this.handleMenuLoadingChange(event));
|
|
13008
13009
|
|
|
13009
13010
|
// a racing condition on custom-combobox with custom-menu
|
|
13010
13011
|
if (!this.menu) {
|
|
@@ -13015,6 +13016,7 @@ class AuroCombobox extends i$2 {
|
|
|
13015
13016
|
return;
|
|
13016
13017
|
}
|
|
13017
13018
|
|
|
13019
|
+
this.menu.addEventListener('auroMenu-loadingChange', (event) => this.handleMenuLoadingChange(event));
|
|
13018
13020
|
this.menu.shadowRoot.addEventListener('slotchange', (event) => this.handleSlotChange(event));
|
|
13019
13021
|
|
|
13020
13022
|
if (this.checkmark) {
|
|
@@ -13085,10 +13087,11 @@ class AuroCombobox extends i$2 {
|
|
|
13085
13087
|
* @param {KeyboardEvent} event - The keyboard event.
|
|
13086
13088
|
*/
|
|
13087
13089
|
bubbleUpInputKeyEvent(event) {
|
|
13088
|
-
if (event.currentTarget.parentNode
|
|
13090
|
+
if (event.currentTarget.parentNode !== this.dropdown) {
|
|
13089
13091
|
if (event.key === 'ArrowUp' || event.key === 'ArrowDown') {
|
|
13090
13092
|
event.preventDefault();
|
|
13091
13093
|
}
|
|
13094
|
+
|
|
13092
13095
|
const ke = new KeyboardEvent(event.type, {
|
|
13093
13096
|
key: event.key,
|
|
13094
13097
|
code: event.code,
|
|
@@ -13234,7 +13237,7 @@ class AuroCombobox extends i$2 {
|
|
|
13234
13237
|
}));
|
|
13235
13238
|
}
|
|
13236
13239
|
|
|
13237
|
-
if (this.optionSelected && this.input.value !== this.optionSelected.textContent) {
|
|
13240
|
+
if (this.optionSelected && this.optionSelected[0] && this.input.value !== this.optionSelected[0].textContent) {
|
|
13238
13241
|
this.optionSelected = undefined;
|
|
13239
13242
|
hasChange = true;
|
|
13240
13243
|
}
|
|
@@ -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.3/auro-combobox/+esm"></script>
|
|
115
115
|
```
|
|
116
116
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
117
117
|
|
|
@@ -12886,7 +12886,9 @@ class AuroCombobox extends LitElement {
|
|
|
12886
12886
|
|
|
12887
12887
|
// this.dropdown.addEventListener('auroDropdown-show', () => {
|
|
12888
12888
|
this.menuWrapper = this.dropdown.querySelector('.menuWrapper');
|
|
12889
|
-
|
|
12889
|
+
if (this.menu) {
|
|
12890
|
+
this.menuWrapper.append(this.menu);
|
|
12891
|
+
}
|
|
12890
12892
|
|
|
12891
12893
|
// setting up bibtemplate
|
|
12892
12894
|
this.bibtemplate = this.dropdown.querySelector(this.bibtemplateTag._$litStatic$); // eslint-disable-line no-underscore-dangle
|
|
@@ -12922,7 +12924,6 @@ class AuroCombobox extends LitElement {
|
|
|
12922
12924
|
*/
|
|
12923
12925
|
configureMenu() {
|
|
12924
12926
|
this.menu = this.querySelector('auro-menu, [auro-menu]');
|
|
12925
|
-
this.menu.addEventListener('auroMenu-loadingChange', (event) => this.handleMenuLoadingChange(event));
|
|
12926
12927
|
|
|
12927
12928
|
// a racing condition on custom-combobox with custom-menu
|
|
12928
12929
|
if (!this.menu) {
|
|
@@ -12933,6 +12934,7 @@ class AuroCombobox extends LitElement {
|
|
|
12933
12934
|
return;
|
|
12934
12935
|
}
|
|
12935
12936
|
|
|
12937
|
+
this.menu.addEventListener('auroMenu-loadingChange', (event) => this.handleMenuLoadingChange(event));
|
|
12936
12938
|
this.menu.shadowRoot.addEventListener('slotchange', (event) => this.handleSlotChange(event));
|
|
12937
12939
|
|
|
12938
12940
|
if (this.checkmark) {
|
|
@@ -13003,10 +13005,11 @@ class AuroCombobox extends LitElement {
|
|
|
13003
13005
|
* @param {KeyboardEvent} event - The keyboard event.
|
|
13004
13006
|
*/
|
|
13005
13007
|
bubbleUpInputKeyEvent(event) {
|
|
13006
|
-
if (event.currentTarget.parentNode
|
|
13008
|
+
if (event.currentTarget.parentNode !== this.dropdown) {
|
|
13007
13009
|
if (event.key === 'ArrowUp' || event.key === 'ArrowDown') {
|
|
13008
13010
|
event.preventDefault();
|
|
13009
13011
|
}
|
|
13012
|
+
|
|
13010
13013
|
const ke = new KeyboardEvent(event.type, {
|
|
13011
13014
|
key: event.key,
|
|
13012
13015
|
code: event.code,
|
|
@@ -13152,7 +13155,7 @@ class AuroCombobox extends LitElement {
|
|
|
13152
13155
|
}));
|
|
13153
13156
|
}
|
|
13154
13157
|
|
|
13155
|
-
if (this.optionSelected && this.input.value !== this.optionSelected.textContent) {
|
|
13158
|
+
if (this.optionSelected && this.optionSelected[0] && this.input.value !== this.optionSelected[0].textContent) {
|
|
13156
13159
|
this.optionSelected = undefined;
|
|
13157
13160
|
hasChange = true;
|
|
13158
13161
|
}
|
|
@@ -12886,7 +12886,9 @@ class AuroCombobox extends LitElement {
|
|
|
12886
12886
|
|
|
12887
12887
|
// this.dropdown.addEventListener('auroDropdown-show', () => {
|
|
12888
12888
|
this.menuWrapper = this.dropdown.querySelector('.menuWrapper');
|
|
12889
|
-
|
|
12889
|
+
if (this.menu) {
|
|
12890
|
+
this.menuWrapper.append(this.menu);
|
|
12891
|
+
}
|
|
12890
12892
|
|
|
12891
12893
|
// setting up bibtemplate
|
|
12892
12894
|
this.bibtemplate = this.dropdown.querySelector(this.bibtemplateTag._$litStatic$); // eslint-disable-line no-underscore-dangle
|
|
@@ -12922,7 +12924,6 @@ class AuroCombobox extends LitElement {
|
|
|
12922
12924
|
*/
|
|
12923
12925
|
configureMenu() {
|
|
12924
12926
|
this.menu = this.querySelector('auro-menu, [auro-menu]');
|
|
12925
|
-
this.menu.addEventListener('auroMenu-loadingChange', (event) => this.handleMenuLoadingChange(event));
|
|
12926
12927
|
|
|
12927
12928
|
// a racing condition on custom-combobox with custom-menu
|
|
12928
12929
|
if (!this.menu) {
|
|
@@ -12933,6 +12934,7 @@ class AuroCombobox extends LitElement {
|
|
|
12933
12934
|
return;
|
|
12934
12935
|
}
|
|
12935
12936
|
|
|
12937
|
+
this.menu.addEventListener('auroMenu-loadingChange', (event) => this.handleMenuLoadingChange(event));
|
|
12936
12938
|
this.menu.shadowRoot.addEventListener('slotchange', (event) => this.handleSlotChange(event));
|
|
12937
12939
|
|
|
12938
12940
|
if (this.checkmark) {
|
|
@@ -13003,10 +13005,11 @@ class AuroCombobox extends LitElement {
|
|
|
13003
13005
|
* @param {KeyboardEvent} event - The keyboard event.
|
|
13004
13006
|
*/
|
|
13005
13007
|
bubbleUpInputKeyEvent(event) {
|
|
13006
|
-
if (event.currentTarget.parentNode
|
|
13008
|
+
if (event.currentTarget.parentNode !== this.dropdown) {
|
|
13007
13009
|
if (event.key === 'ArrowUp' || event.key === 'ArrowDown') {
|
|
13008
13010
|
event.preventDefault();
|
|
13009
13011
|
}
|
|
13012
|
+
|
|
13010
13013
|
const ke = new KeyboardEvent(event.type, {
|
|
13011
13014
|
key: event.key,
|
|
13012
13015
|
code: event.code,
|
|
@@ -13152,7 +13155,7 @@ class AuroCombobox extends LitElement {
|
|
|
13152
13155
|
}));
|
|
13153
13156
|
}
|
|
13154
13157
|
|
|
13155
|
-
if (this.optionSelected && this.input.value !== this.optionSelected.textContent) {
|
|
13158
|
+
if (this.optionSelected && this.optionSelected[0] && this.input.value !== this.optionSelected[0].textContent) {
|
|
13156
13159
|
this.optionSelected = undefined;
|
|
13157
13160
|
hasChange = true;
|
|
13158
13161
|
}
|
|
@@ -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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/auro-select/+esm"></script>
|
|
115
115
|
```
|
|
116
116
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
117
117
|
|
|
@@ -39,11 +39,10 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
|
|
|
39
39
|
|
|
40
40
|
## Methods
|
|
41
41
|
|
|
42
|
-
| Method
|
|
43
|
-
|
|
44
|
-
| [reset](#reset)
|
|
45
|
-
| [
|
|
46
|
-
| [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
|
|
42
|
+
| Method | Type | Description |
|
|
43
|
+
|------------|----------------------------------------|--------------------------------------------------|
|
|
44
|
+
| [reset](#reset) | `(): void` | Resets component to initial state. |
|
|
45
|
+
| [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
|
|
47
46
|
|
|
48
47
|
## Events
|
|
49
48
|
|
|
@@ -6009,6 +6009,12 @@ class AuroSelect extends i$2 {
|
|
|
6009
6009
|
});
|
|
6010
6010
|
}
|
|
6011
6011
|
|
|
6012
|
+
/**
|
|
6013
|
+
* Updates the active option in the menu based on keyboard input.
|
|
6014
|
+
* @private
|
|
6015
|
+
* @param {string} _key - The key pressed by the user.
|
|
6016
|
+
* @returns {void}
|
|
6017
|
+
*/
|
|
6012
6018
|
updateActiveOptionBasedOnKey(_key) {
|
|
6013
6019
|
|
|
6014
6020
|
// Get a lowercase version of the key pressed
|
|
@@ -5917,6 +5917,12 @@ class AuroSelect extends i$2 {
|
|
|
5917
5917
|
});
|
|
5918
5918
|
}
|
|
5919
5919
|
|
|
5920
|
+
/**
|
|
5921
|
+
* Updates the active option in the menu based on keyboard input.
|
|
5922
|
+
* @private
|
|
5923
|
+
* @param {string} _key - The key pressed by the user.
|
|
5924
|
+
* @returns {void}
|
|
5925
|
+
*/
|
|
5920
5926
|
updateActiveOptionBasedOnKey(_key) {
|
|
5921
5927
|
|
|
5922
5928
|
// Get a lowercase version of the key pressed
|
|
@@ -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.3/auro-select/+esm"></script>
|
|
115
115
|
```
|
|
116
116
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
117
117
|
|
|
@@ -254,9 +254,15 @@ export class AuroSelect extends LitElement {
|
|
|
254
254
|
* @returns {void}
|
|
255
255
|
*/
|
|
256
256
|
private configureSelect;
|
|
257
|
-
|
|
257
|
+
/**
|
|
258
|
+
* Updates the active option in the menu based on keyboard input.
|
|
259
|
+
* @private
|
|
260
|
+
* @param {string} _key - The key pressed by the user.
|
|
261
|
+
* @returns {void}
|
|
262
|
+
*/
|
|
263
|
+
private updateActiveOptionBasedOnKey;
|
|
258
264
|
sameLetterTimes: any;
|
|
259
|
-
lastLetter:
|
|
265
|
+
lastLetter: string;
|
|
260
266
|
/**
|
|
261
267
|
* Manages the visibility of the dropdown based on loading state changes.
|
|
262
268
|
*
|
|
@@ -5870,6 +5870,12 @@ class AuroSelect extends LitElement {
|
|
|
5870
5870
|
});
|
|
5871
5871
|
}
|
|
5872
5872
|
|
|
5873
|
+
/**
|
|
5874
|
+
* Updates the active option in the menu based on keyboard input.
|
|
5875
|
+
* @private
|
|
5876
|
+
* @param {string} _key - The key pressed by the user.
|
|
5877
|
+
* @returns {void}
|
|
5878
|
+
*/
|
|
5873
5879
|
updateActiveOptionBasedOnKey(_key) {
|
|
5874
5880
|
|
|
5875
5881
|
// Get a lowercase version of the key pressed
|
|
@@ -5870,6 +5870,12 @@ class AuroSelect extends LitElement {
|
|
|
5870
5870
|
});
|
|
5871
5871
|
}
|
|
5872
5872
|
|
|
5873
|
+
/**
|
|
5874
|
+
* Updates the active option in the menu based on keyboard input.
|
|
5875
|
+
* @private
|
|
5876
|
+
* @param {string} _key - The key pressed by the user.
|
|
5877
|
+
* @returns {void}
|
|
5878
|
+
*/
|
|
5873
5879
|
updateActiveOptionBasedOnKey(_key) {
|
|
5874
5880
|
|
|
5875
5881
|
// Get a lowercase version of the key pressed
|
package/package.json
CHANGED