@aurodesignsystem/auro-formkit 5.8.0 → 5.9.0
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 +3 -12
- package/components/checkbox/demo/api.min.js +2 -2
- package/components/checkbox/demo/index.min.js +2 -2
- package/components/checkbox/dist/index.js +2 -2
- package/components/checkbox/dist/registered.js +2 -2
- package/components/combobox/demo/api.md +7 -6
- package/components/combobox/demo/api.min.js +1674 -1004
- package/components/combobox/demo/index.md +47 -2
- package/components/combobox/demo/index.min.js +1674 -1004
- package/components/combobox/dist/auro-combobox.d.ts +9 -8
- package/components/combobox/dist/index.js +129 -127
- package/components/combobox/dist/registered.js +129 -127
- package/components/counter/demo/api.min.js +12 -18
- package/components/counter/demo/index.min.js +12 -18
- package/components/counter/dist/buttonVersion.d.ts +2 -0
- package/components/counter/dist/index.js +12 -18
- package/components/counter/dist/registered.js +12 -18
- package/components/datepicker/demo/api.min.js +46 -45
- package/components/datepicker/demo/index.min.js +46 -45
- package/components/datepicker/dist/buttonVersion.d.ts +1 -1
- package/components/datepicker/dist/iconVersion.d.ts +1 -1
- package/components/datepicker/dist/index.js +46 -45
- package/components/datepicker/dist/registered.js +46 -45
- package/components/dropdown/demo/api.min.js +6 -8
- package/components/dropdown/demo/index.min.js +6 -8
- package/components/dropdown/dist/iconVersion.d.ts +1 -1
- package/components/dropdown/dist/index.js +6 -8
- package/components/dropdown/dist/registered.js +6 -8
- package/components/input/demo/api.min.js +33 -24
- package/components/input/demo/index.min.js +33 -24
- package/components/input/dist/base-input.d.ts +19 -2
- package/components/input/dist/buttonVersion.d.ts +1 -1
- package/components/input/dist/index.js +33 -24
- package/components/input/dist/registered.js +33 -24
- package/components/menu/demo/api.js +4 -0
- package/components/menu/demo/api.md +271 -26
- package/components/menu/demo/api.min.js +1591 -858
- package/components/menu/demo/index.html +1 -0
- package/components/menu/demo/index.js +2 -0
- package/components/menu/demo/index.md +95 -1
- package/components/menu/demo/index.min.js +1529 -810
- package/components/menu/dist/auro-menu.context.d.ts +222 -0
- package/components/menu/dist/auro-menu.d.ts +93 -53
- package/components/menu/dist/auro-menuoption.d.ts +115 -13
- package/components/menu/dist/index.js +1441 -793
- package/components/menu/dist/registered.js +1439 -803
- package/components/radio/demo/api.min.js +3 -3
- package/components/radio/demo/index.min.js +3 -3
- package/components/radio/dist/index.js +3 -3
- package/components/radio/dist/registered.js +3 -3
- package/components/select/demo/api.md +8 -7
- package/components/select/demo/api.min.js +1587 -1020
- package/components/select/demo/index.min.js +1587 -1020
- package/components/select/dist/auro-select.d.ts +11 -35
- package/components/select/dist/index.js +72 -173
- package/components/select/dist/registered.js +72 -173
- package/package.json +6 -2
- package/components/checkbox/dist/helptextVersion.d.ts +0 -2
- package/components/combobox/dist/bibtemplateVersion.d.ts +0 -2
- package/components/combobox/dist/dropdownVersion.d.ts +0 -2
- package/components/combobox/dist/inputVersion.d.ts +0 -2
- package/components/counter/dist/bibtemplateVersion.d.ts +0 -2
- package/components/counter/dist/dropdownVersion.d.ts +0 -2
- package/components/counter/dist/helptextVersion.d.ts +0 -2
- package/components/datepicker/dist/bibtemplateVersion.d.ts +0 -2
- package/components/datepicker/dist/dropdownVersion.d.ts +0 -2
- package/components/datepicker/dist/inputVersion.d.ts +0 -2
- package/components/dropdown/dist/dropdownVersion.d.ts +0 -2
- package/components/dropdown/dist/helptextVersion.d.ts +0 -2
- package/components/input/dist/helptextVersion.d.ts +0 -2
- package/components/menu/dist/dropdownVersion.d.ts +0 -2
- package/components/radio/dist/helptextVersion.d.ts +0 -2
- package/components/select/dist/bibtemplateVersion.d.ts +0 -2
- package/components/select/dist/dropdownVersion.d.ts +0 -2
- package/components/select/dist/helptextVersion.d.ts +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,23 +1,14 @@
|
|
|
1
|
-
# [5.
|
|
1
|
+
# [5.9.0](https://github.com/AlaskaAirlines/auro-formkit/compare/v5.8.1...v5.9.0) (2025-11-19)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
7
|
-
* add outline color to error border in select [#1189](https://github.com/AlaskaAirlines/auro-formkit/issues/1189) ([13e4038](https://github.com/AlaskaAirlines/auro-formkit/commit/13e4038db850c0683149a15687786bd63fdee575))
|
|
8
|
-
* adjust vertical alignment for buttons and quantity label in auro counterto match figma designs [#1173](https://github.com/AlaskaAirlines/auro-formkit/issues/1173) ([cb61272](https://github.com/AlaskaAirlines/auro-formkit/commit/cb61272dafcdc70af93e2c061982462a9266e4c7))
|
|
9
|
-
* combo box now correctly captures floated validation messages from input ([f86b87a](https://github.com/AlaskaAirlines/auro-formkit/commit/f86b87a4d7d9e15101bc9fdc51fce65759f77d4f))
|
|
10
|
-
* combo box now correctly syncs its validity state with input when input validity is updated ([44c3ffd](https://github.com/AlaskaAirlines/auro-formkit/commit/44c3ffdb369681d5c8a6d49b8627dd9a0d518ff2))
|
|
11
|
-
* replace incorrect `elem.persistValue` reference with correct `elem.persistInput` ([47eb89c](https://github.com/AlaskaAirlines/auro-formkit/commit/47eb89cc8e293e6ead96b0ff98e097613fc7fafd))
|
|
12
|
-
* resolve layout issue with snowflake layout when input is errored and the user hovers ([111c28c](https://github.com/AlaskaAirlines/auro-formkit/commit/111c28cc18ff645e2f238cb1eb19663a4f0ed31c))
|
|
13
|
-
* value of input is now correctly checked when `persistInput` is not set on combo boxes ([a845ac9](https://github.com/AlaskaAirlines/auro-formkit/commit/a845ac9ea280d6bc57a443aa83a08187e4e06699))
|
|
6
|
+
* repair a couple bugs introduced by changes ([e228f99](https://github.com/AlaskaAirlines/auro-formkit/commit/e228f99c3e39f20e0f8018844e21b1e1435ec7d9))
|
|
14
7
|
|
|
15
8
|
|
|
16
9
|
### Features
|
|
17
10
|
|
|
18
|
-
* [#
|
|
19
|
-
* add filter behavior to combo box ([10f627b](https://github.com/AlaskaAirlines/auro-formkit/commit/10f627b9e83de9e8e50b6344665074e0a2ddf07c))
|
|
20
|
-
* hide legened element if legned slot is not being set and the required attribute is true [#1143](https://github.com/AlaskaAirlines/auro-formkit/issues/1143) ([dbf447f](https://github.com/AlaskaAirlines/auro-formkit/commit/dbf447fb46c212e285d0dea693bab5900068d080))
|
|
11
|
+
* [#1187](https://github.com/AlaskaAirlines/auro-formkit/issues/1187) - integrate context management for menu options and selection handling ([eb6f331](https://github.com/AlaskaAirlines/auro-formkit/commit/eb6f33192d684449d9b2f2792628f455191c3080))
|
|
21
12
|
|
|
22
13
|
### Changelog
|
|
23
14
|
|
|
@@ -1607,7 +1607,7 @@ class AuroHelpText extends i$2 {
|
|
|
1607
1607
|
}
|
|
1608
1608
|
}
|
|
1609
1609
|
|
|
1610
|
-
var
|
|
1610
|
+
var formkitVersion = '202511191711';
|
|
1611
1611
|
|
|
1612
1612
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1613
1613
|
// See LICENSE in the project root for license information.
|
|
@@ -1674,7 +1674,7 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
1674
1674
|
/**
|
|
1675
1675
|
* @private
|
|
1676
1676
|
*/
|
|
1677
|
-
this.helpTextTag = versioning.generateTag('auro-formkit-checkbox-helptext',
|
|
1677
|
+
this.helpTextTag = versioning.generateTag('auro-formkit-checkbox-helptext', formkitVersion, AuroHelpText);
|
|
1678
1678
|
}
|
|
1679
1679
|
|
|
1680
1680
|
static get styles() {
|
|
@@ -1599,7 +1599,7 @@ class AuroHelpText extends i$2 {
|
|
|
1599
1599
|
}
|
|
1600
1600
|
}
|
|
1601
1601
|
|
|
1602
|
-
var
|
|
1602
|
+
var formkitVersion = '202511191711';
|
|
1603
1603
|
|
|
1604
1604
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1605
1605
|
// See LICENSE in the project root for license information.
|
|
@@ -1666,7 +1666,7 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
1666
1666
|
/**
|
|
1667
1667
|
* @private
|
|
1668
1668
|
*/
|
|
1669
|
-
this.helpTextTag = versioning.generateTag('auro-formkit-checkbox-helptext',
|
|
1669
|
+
this.helpTextTag = versioning.generateTag('auro-formkit-checkbox-helptext', formkitVersion, AuroHelpText);
|
|
1670
1670
|
}
|
|
1671
1671
|
|
|
1672
1672
|
static get styles() {
|
|
@@ -1552,7 +1552,7 @@ class AuroHelpText extends LitElement {
|
|
|
1552
1552
|
}
|
|
1553
1553
|
}
|
|
1554
1554
|
|
|
1555
|
-
var
|
|
1555
|
+
var formkitVersion = '202511191711';
|
|
1556
1556
|
|
|
1557
1557
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1558
1558
|
// See LICENSE in the project root for license information.
|
|
@@ -1619,7 +1619,7 @@ class AuroCheckboxGroup extends LitElement {
|
|
|
1619
1619
|
/**
|
|
1620
1620
|
* @private
|
|
1621
1621
|
*/
|
|
1622
|
-
this.helpTextTag = versioning.generateTag('auro-formkit-checkbox-helptext',
|
|
1622
|
+
this.helpTextTag = versioning.generateTag('auro-formkit-checkbox-helptext', formkitVersion, AuroHelpText);
|
|
1623
1623
|
}
|
|
1624
1624
|
|
|
1625
1625
|
static get styles() {
|
|
@@ -1552,7 +1552,7 @@ class AuroHelpText extends LitElement {
|
|
|
1552
1552
|
}
|
|
1553
1553
|
}
|
|
1554
1554
|
|
|
1555
|
-
var
|
|
1555
|
+
var formkitVersion = '202511191711';
|
|
1556
1556
|
|
|
1557
1557
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1558
1558
|
// See LICENSE in the project root for license information.
|
|
@@ -1619,7 +1619,7 @@ class AuroCheckboxGroup extends LitElement {
|
|
|
1619
1619
|
/**
|
|
1620
1620
|
* @private
|
|
1621
1621
|
*/
|
|
1622
|
-
this.helpTextTag = versioning.generateTag('auro-formkit-checkbox-helptext',
|
|
1622
|
+
this.helpTextTag = versioning.generateTag('auro-formkit-checkbox-helptext', formkitVersion, AuroHelpText);
|
|
1623
1623
|
}
|
|
1624
1624
|
|
|
1625
1625
|
static get styles() {
|
|
@@ -55,18 +55,19 @@
|
|
|
55
55
|
| [hideBib](#hideBib) | `(): void` | Hides the dropdown bib if its open. |
|
|
56
56
|
| [isValid](#isValid) | `(): boolean` | Checks if the element is valid. |
|
|
57
57
|
| [reset](#reset) | `(): void` | Resets component to initial state. |
|
|
58
|
+
| [setMenuValue](#setMenuValue) | `(value: string): void` | Sets the menu value if menu is available.<br /><br />**value**: The value to set on the menu. |
|
|
58
59
|
| [showBib](#showBib) | `(): void` | Shows the dropdown bib if there are options to show. |
|
|
59
60
|
| [updateActiveOption](#updateActiveOption) | `(index: number): void` | Updates the active option in the menu.<br /><br />**index**: Index of the option to make active. |
|
|
60
61
|
| [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
|
|
61
62
|
|
|
62
63
|
## Events
|
|
63
64
|
|
|
64
|
-
| Event | Type
|
|
65
|
-
|
|
66
|
-
| `auroCombobox-valueSet` | `CustomEvent<any>`
|
|
67
|
-
| `auroFormElement-validated` |
|
|
68
|
-
| [input](#input) | `CustomEvent<any>`
|
|
69
|
-
| [inputValue](#inputValue) | `CustomEvent<{ value: string \| undefined; }>`
|
|
65
|
+
| Event | Type | Description |
|
|
66
|
+
|-----------------------------|--------------------------------------------------|--------------------------------------------------|
|
|
67
|
+
| `auroCombobox-valueSet` | `CustomEvent<any>` | (Deprecated) Notifies that the component has a new value set. |
|
|
68
|
+
| `auroFormElement-validated` | | Notifies that the component value(s) have been validated. |
|
|
69
|
+
| [input](#input) | `CustomEvent<{ optionSelected: any; value: any; }>` | Notifies that the component has a new value set. |
|
|
70
|
+
| [inputValue](#inputValue) | `CustomEvent<{ value: string \| undefined; }>` | Notifies that the components internal HTML5 input value has changed. |
|
|
70
71
|
|
|
71
72
|
## Slots
|
|
72
73
|
|