@aurodesignsystem-dev/auro-formkit 0.0.0-pr1447.0 → 0.0.0-pr1448.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/components/checkbox/demo/api.md +2 -2
- package/components/checkbox/demo/api.min.js +5 -3
- package/components/checkbox/demo/index.min.js +5 -3
- package/components/checkbox/dist/auro-checkbox-group.d.ts +6 -6
- package/components/checkbox/dist/auro-checkbox.d.ts +10 -10
- package/components/checkbox/dist/index.js +5 -3
- package/components/checkbox/dist/registered.js +5 -3
- package/components/combobox/demo/api.min.js +20 -14
- package/components/combobox/demo/index.min.js +20 -14
- package/components/combobox/dist/auro-combobox.d.ts +36 -36
- package/components/combobox/dist/index.js +16 -11
- package/components/combobox/dist/registered.js +16 -11
- package/components/counter/demo/api.min.js +2 -2
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/dist/auro-counter-group.d.ts +2 -2
- package/components/counter/dist/auro-counter.d.ts +10 -10
- package/components/counter/dist/index.js +2 -2
- package/components/counter/dist/registered.js +2 -2
- package/components/datepicker/demo/api.md +2 -1
- package/components/datepicker/demo/api.min.js +13 -10
- package/components/datepicker/demo/index.min.js +13 -10
- package/components/datepicker/dist/{src/auro-calendar-cell.d.ts → auro-calendar-cell.d.ts} +2 -2
- package/components/datepicker/dist/{src/auro-datepicker.d.ts → auro-datepicker.d.ts} +13 -13
- package/components/datepicker/dist/index.js +13 -10
- package/components/datepicker/dist/registered.js +13 -10
- package/components/datepicker/dist/{src/utilities.d.ts → utilities.d.ts} +4 -4
- package/components/datepicker/dist/{src/utilitiesCalendar.d.ts → utilitiesCalendar.d.ts} +3 -3
- package/components/datepicker/dist/{src/vendor → vendor}/wc-range-datepicker/range-datepicker-calendar.d.ts +2 -2
- package/components/datepicker/dist/{src/vendor → vendor}/wc-range-datepicker/range-datepicker.d.ts +1 -1
- package/components/dropdown/demo/api.min.js +1 -1
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/dist/auro-dropdown.d.ts +22 -22
- package/components/dropdown/dist/auro-dropdownBib.d.ts +3 -3
- package/components/dropdown/dist/dropdownBibKeyboardStrategy.d.ts +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/form/demo/api.min.js +44 -33
- package/components/form/demo/index.min.js +44 -33
- package/components/input/demo/api.min.js +1 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/dist/auro-input.d.ts +1 -1
- package/components/input/dist/base-input.d.ts +29 -29
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/menu/demo/api.md +3 -3
- package/components/menu/demo/api.min.js +4 -3
- package/components/menu/demo/index.min.js +4 -3
- package/components/menu/dist/auro-menu-utils.d.ts +1 -1
- package/components/menu/dist/auro-menu.context.d.ts +3 -3
- package/components/menu/dist/auro-menu.d.ts +5 -5
- package/components/menu/dist/auro-menuoption.d.ts +6 -6
- package/components/menu/dist/index.js +4 -3
- package/components/menu/dist/registered.js +4 -3
- package/components/radio/demo/api.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/auro-radio-group.d.ts +9 -9
- package/components/radio/dist/auro-radio.d.ts +8 -8
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/api.min.js +6 -5
- package/components/select/demo/index.min.js +6 -5
- package/components/select/dist/auro-select.d.ts +11 -11
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/custom-elements.json +24 -23
- package/package.json +48 -45
- /package/components/datepicker/dist/{src/auro-calendar-month.d.ts → auro-calendar-month.d.ts} +0 -0
- /package/components/datepicker/dist/{src/auro-calendar.d.ts → auro-calendar.d.ts} +0 -0
- /package/components/datepicker/dist/{src/buttonVersion.d.ts → buttonVersion.d.ts} +0 -0
- /package/components/datepicker/dist/{src/datepickerKeyboardStrategy.d.ts → datepickerKeyboardStrategy.d.ts} +0 -0
- /package/components/datepicker/dist/{src/iconVersion.d.ts → iconVersion.d.ts} +0 -0
- /package/components/datepicker/dist/{src/index.d.ts → index.d.ts} +0 -0
- /package/components/datepicker/dist/{src/popoverVersion.d.ts → popoverVersion.d.ts} +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/classic/color-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/classic/style-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/color-calendar-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/color-cell-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/color-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/color-month-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/shapeSize-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/snowflake/color-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/snowflake/style-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/style-auro-calendar-cell-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/style-auro-calendar-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/style-auro-calendar-month-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/style-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/tokens-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/utilitiesCalendarRender.d.ts → utilitiesCalendarRender.d.ts} +0 -0
- /package/components/datepicker/dist/{src/vendor → vendor}/wc-range-datepicker/day.d.ts +0 -0
- /package/components/datepicker/dist/{src/vendor → vendor}/wc-range-datepicker/range-datepicker-cell.d.ts +0 -0
|
@@ -74,8 +74,8 @@ The `auro-checkbox` element is for the purpose of allowing users to select one o
|
|
|
74
74
|
| `auroCheckbox-focusin` | `CustomEvent<any>` | |
|
|
75
75
|
| `auroCheckbox-focusout` | `CustomEvent<any>` | |
|
|
76
76
|
| `auroCheckbox-input` | `CustomEvent<any>` | |
|
|
77
|
-
| [change](#change) |
|
|
78
|
-
| [input](#input) |
|
|
77
|
+
| [change](#change) | | (Deprecated) Notifies when checked value is changed. |
|
|
78
|
+
| [input](#input) | | Notifies when when checked value is changed by user's interface. |
|
|
79
79
|
|
|
80
80
|
## Slots
|
|
81
81
|
|
|
@@ -146,6 +146,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
146
146
|
// See LICENSE in the project root for license information.
|
|
147
147
|
|
|
148
148
|
|
|
149
|
+
/* eslint-disable jsdoc/no-undefined-types -- @fires event names are not types */
|
|
149
150
|
/**
|
|
150
151
|
* The `auro-checkbox` element is for the purpose of allowing users to select one or more options of a limited number of choices.
|
|
151
152
|
* @customElement auro-checkbox
|
|
@@ -156,9 +157,10 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
156
157
|
*
|
|
157
158
|
* @slot default - The default slot for the checkbox label.
|
|
158
159
|
*
|
|
159
|
-
* @fires
|
|
160
|
-
* @fires
|
|
160
|
+
* @fires change - (Deprecated) Notifies when checked value is changed.
|
|
161
|
+
* @fires input - Notifies when when checked value is changed by user's interface.
|
|
161
162
|
*/
|
|
163
|
+
/* eslint-enable jsdoc/no-undefined-types */
|
|
162
164
|
|
|
163
165
|
// build the component class
|
|
164
166
|
class AuroCheckbox extends i$2 {
|
|
@@ -1687,7 +1689,7 @@ class AuroHelpText extends i$2 {
|
|
|
1687
1689
|
}
|
|
1688
1690
|
}
|
|
1689
1691
|
|
|
1690
|
-
var formkitVersion = '
|
|
1692
|
+
var formkitVersion = '202604231640';
|
|
1691
1693
|
|
|
1692
1694
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1693
1695
|
// See LICENSE in the project root for license information.
|
|
@@ -138,6 +138,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
138
138
|
// See LICENSE in the project root for license information.
|
|
139
139
|
|
|
140
140
|
|
|
141
|
+
/* eslint-disable jsdoc/no-undefined-types -- @fires event names are not types */
|
|
141
142
|
/**
|
|
142
143
|
* The `auro-checkbox` element is for the purpose of allowing users to select one or more options of a limited number of choices.
|
|
143
144
|
* @customElement auro-checkbox
|
|
@@ -148,9 +149,10 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
148
149
|
*
|
|
149
150
|
* @slot default - The default slot for the checkbox label.
|
|
150
151
|
*
|
|
151
|
-
* @fires
|
|
152
|
-
* @fires
|
|
152
|
+
* @fires change - (Deprecated) Notifies when checked value is changed.
|
|
153
|
+
* @fires input - Notifies when when checked value is changed by user's interface.
|
|
153
154
|
*/
|
|
155
|
+
/* eslint-enable jsdoc/no-undefined-types */
|
|
154
156
|
|
|
155
157
|
// build the component class
|
|
156
158
|
class AuroCheckbox extends i$2 {
|
|
@@ -1679,7 +1681,7 @@ class AuroHelpText extends i$2 {
|
|
|
1679
1681
|
}
|
|
1680
1682
|
}
|
|
1681
1683
|
|
|
1682
|
-
var formkitVersion = '
|
|
1684
|
+
var formkitVersion = '202604231640';
|
|
1683
1685
|
|
|
1684
1686
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1685
1687
|
// See LICENSE in the project root for license information.
|
|
@@ -95,12 +95,12 @@ export class AuroCheckboxGroup extends LitElement {
|
|
|
95
95
|
*/
|
|
96
96
|
static register(name?: string): void;
|
|
97
97
|
_initializeDefaults(): void;
|
|
98
|
-
appearance: string
|
|
98
|
+
appearance: string;
|
|
99
99
|
validity: any;
|
|
100
100
|
disabled: any;
|
|
101
|
-
required: boolean
|
|
102
|
-
horizontal: boolean
|
|
103
|
-
onDark: boolean
|
|
101
|
+
required: boolean;
|
|
102
|
+
horizontal: boolean;
|
|
103
|
+
onDark: boolean;
|
|
104
104
|
/**
|
|
105
105
|
* Indicates whether the checkbox group is in a dirty state (has been interacted with).
|
|
106
106
|
* @type {boolean}
|
|
@@ -141,7 +141,7 @@ export class AuroCheckboxGroup extends LitElement {
|
|
|
141
141
|
*/
|
|
142
142
|
private handleValueUpdate;
|
|
143
143
|
firstUpdated(): void;
|
|
144
|
-
focusWithin: boolean
|
|
144
|
+
focusWithin: boolean;
|
|
145
145
|
/**
|
|
146
146
|
* Helper method that handles the state of preselected checkboxes.
|
|
147
147
|
* @private
|
|
@@ -154,7 +154,7 @@ export class AuroCheckboxGroup extends LitElement {
|
|
|
154
154
|
* @returns {void}
|
|
155
155
|
*/
|
|
156
156
|
private handleItems;
|
|
157
|
-
checkboxes: Element[]
|
|
157
|
+
checkboxes: Element[];
|
|
158
158
|
/**
|
|
159
159
|
* Resets component to initial state.
|
|
160
160
|
* @returns {void}
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
*
|
|
9
9
|
* @slot default - The default slot for the checkbox label.
|
|
10
10
|
*
|
|
11
|
-
* @fires
|
|
12
|
-
* @fires
|
|
11
|
+
* @fires change - (Deprecated) Notifies when checked value is changed.
|
|
12
|
+
* @fires input - Notifies when when checked value is changed by user's interface.
|
|
13
13
|
*/
|
|
14
14
|
export class AuroCheckbox extends LitElement {
|
|
15
15
|
static get styles(): import("lit").CSSResult[];
|
|
@@ -132,12 +132,12 @@ export class AuroCheckbox extends LitElement {
|
|
|
132
132
|
*/
|
|
133
133
|
static register(name?: string): void;
|
|
134
134
|
_initializeDefaults(): void;
|
|
135
|
-
appearance: string
|
|
135
|
+
appearance: string;
|
|
136
136
|
checked: any;
|
|
137
|
-
disabled: boolean
|
|
138
|
-
error: boolean
|
|
139
|
-
onDark: boolean
|
|
140
|
-
touched: boolean
|
|
137
|
+
disabled: boolean;
|
|
138
|
+
error: boolean;
|
|
139
|
+
onDark: boolean;
|
|
140
|
+
touched: boolean;
|
|
141
141
|
/**
|
|
142
142
|
* @private
|
|
143
143
|
*/
|
|
@@ -171,8 +171,8 @@ export class AuroCheckbox extends LitElement {
|
|
|
171
171
|
* @returns {HTMLElement}
|
|
172
172
|
*/
|
|
173
173
|
private generateIconHtml;
|
|
174
|
-
dom: Document
|
|
175
|
-
svg: ChildNode
|
|
174
|
+
dom: Document;
|
|
175
|
+
svg: ChildNode;
|
|
176
176
|
/**
|
|
177
177
|
* Resets component to initial state.
|
|
178
178
|
* @returns {void}
|
|
@@ -185,7 +185,7 @@ export class AuroCheckbox extends LitElement {
|
|
|
185
185
|
*/
|
|
186
186
|
private updateAriaLabel;
|
|
187
187
|
firstUpdated(): void;
|
|
188
|
-
inputId: string
|
|
188
|
+
inputId: string;
|
|
189
189
|
/**
|
|
190
190
|
* Handles keydown event to toggle the checkbox with Space key.
|
|
191
191
|
* @private
|
|
@@ -98,6 +98,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
98
98
|
// See LICENSE in the project root for license information.
|
|
99
99
|
|
|
100
100
|
|
|
101
|
+
/* eslint-disable jsdoc/no-undefined-types -- @fires event names are not types */
|
|
101
102
|
/**
|
|
102
103
|
* The `auro-checkbox` element is for the purpose of allowing users to select one or more options of a limited number of choices.
|
|
103
104
|
* @customElement auro-checkbox
|
|
@@ -108,9 +109,10 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
108
109
|
*
|
|
109
110
|
* @slot default - The default slot for the checkbox label.
|
|
110
111
|
*
|
|
111
|
-
* @fires
|
|
112
|
-
* @fires
|
|
112
|
+
* @fires change - (Deprecated) Notifies when checked value is changed.
|
|
113
|
+
* @fires input - Notifies when when checked value is changed by user's interface.
|
|
113
114
|
*/
|
|
115
|
+
/* eslint-enable jsdoc/no-undefined-types */
|
|
114
116
|
|
|
115
117
|
// build the component class
|
|
116
118
|
class AuroCheckbox extends LitElement {
|
|
@@ -1632,7 +1634,7 @@ class AuroHelpText extends LitElement {
|
|
|
1632
1634
|
}
|
|
1633
1635
|
}
|
|
1634
1636
|
|
|
1635
|
-
var formkitVersion = '
|
|
1637
|
+
var formkitVersion = '202604231640';
|
|
1636
1638
|
|
|
1637
1639
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1638
1640
|
// See LICENSE in the project root for license information.
|
|
@@ -98,6 +98,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
98
98
|
// See LICENSE in the project root for license information.
|
|
99
99
|
|
|
100
100
|
|
|
101
|
+
/* eslint-disable jsdoc/no-undefined-types -- @fires event names are not types */
|
|
101
102
|
/**
|
|
102
103
|
* The `auro-checkbox` element is for the purpose of allowing users to select one or more options of a limited number of choices.
|
|
103
104
|
* @customElement auro-checkbox
|
|
@@ -108,9 +109,10 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
108
109
|
*
|
|
109
110
|
* @slot default - The default slot for the checkbox label.
|
|
110
111
|
*
|
|
111
|
-
* @fires
|
|
112
|
-
* @fires
|
|
112
|
+
* @fires change - (Deprecated) Notifies when checked value is changed.
|
|
113
|
+
* @fires input - Notifies when when checked value is changed by user's interface.
|
|
113
114
|
*/
|
|
115
|
+
/* eslint-enable jsdoc/no-undefined-types */
|
|
114
116
|
|
|
115
117
|
// build the component class
|
|
116
118
|
class AuroCheckbox extends LitElement {
|
|
@@ -1632,7 +1634,7 @@ class AuroHelpText extends LitElement {
|
|
|
1632
1634
|
}
|
|
1633
1635
|
}
|
|
1634
1636
|
|
|
1635
|
-
var formkitVersion = '
|
|
1637
|
+
var formkitVersion = '202604231640';
|
|
1636
1638
|
|
|
1637
1639
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1638
1640
|
// See LICENSE in the project root for license information.
|
|
@@ -5228,7 +5228,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
5228
5228
|
}
|
|
5229
5229
|
};
|
|
5230
5230
|
|
|
5231
|
-
var formkitVersion$2 = '
|
|
5231
|
+
var formkitVersion$2 = '202604231640';
|
|
5232
5232
|
|
|
5233
5233
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
5234
5234
|
static get properties() {
|
|
@@ -12980,7 +12980,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
12980
12980
|
}
|
|
12981
12981
|
};
|
|
12982
12982
|
|
|
12983
|
-
var formkitVersion$1 = '
|
|
12983
|
+
var formkitVersion$1 = '202604231640';
|
|
12984
12984
|
|
|
12985
12985
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12986
12986
|
// See LICENSE in the project root for license information.
|
|
@@ -14045,7 +14045,7 @@ class AuroBibtemplate extends i$4 {
|
|
|
14045
14045
|
}
|
|
14046
14046
|
}
|
|
14047
14047
|
|
|
14048
|
-
var formkitVersion = '
|
|
14048
|
+
var formkitVersion = '202604231640';
|
|
14049
14049
|
|
|
14050
14050
|
var styleCss$3 = i$7`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
14051
14051
|
|
|
@@ -14442,7 +14442,6 @@ class AuroCombobox extends AuroElement {
|
|
|
14442
14442
|
this.optionActive = null;
|
|
14443
14443
|
this.persistInput = false;
|
|
14444
14444
|
this.required = false;
|
|
14445
|
-
this.value = undefined;
|
|
14446
14445
|
this.typedValue = undefined;
|
|
14447
14446
|
this.behavior = "suggestion";
|
|
14448
14447
|
this.clearBtnFocused = false;
|
|
@@ -15055,6 +15054,10 @@ class AuroCombobox extends AuroElement {
|
|
|
15055
15054
|
});
|
|
15056
15055
|
|
|
15057
15056
|
if (this.value && this.input.value && !this.menu.value) {
|
|
15057
|
+
if (this.behavior === 'suggestion' && this.menu.options && this.menu.options.some((opt) => opt.value === this.value)) {
|
|
15058
|
+
this.setMenuValue(this.value);
|
|
15059
|
+
}
|
|
15060
|
+
|
|
15058
15061
|
this.syncValuesAndStates();
|
|
15059
15062
|
}
|
|
15060
15063
|
|
|
@@ -15665,10 +15668,6 @@ class AuroCombobox extends AuroElement {
|
|
|
15665
15668
|
this.configureCombobox();
|
|
15666
15669
|
this.configureMenu();
|
|
15667
15670
|
|
|
15668
|
-
// Set the initial value in auro-menu if defined
|
|
15669
|
-
if (this.hasAttribute('value') && this.getAttribute('value').length > 0) {
|
|
15670
|
-
this.menu.value = this.value;
|
|
15671
|
-
}
|
|
15672
15671
|
}
|
|
15673
15672
|
|
|
15674
15673
|
/**
|
|
@@ -15749,10 +15748,16 @@ class AuroCombobox extends AuroElement {
|
|
|
15749
15748
|
this.input.value = this.value;
|
|
15750
15749
|
}
|
|
15751
15750
|
|
|
15751
|
+
if (this.menu && this.hasValue && this.menu.options) {
|
|
15752
|
+
this.menu.options.forEach((opt) => {
|
|
15753
|
+
if (!opt.hasAttribute('static')) {
|
|
15754
|
+
opt.removeAttribute('hidden');
|
|
15755
|
+
}
|
|
15756
|
+
});
|
|
15757
|
+
}
|
|
15758
|
+
|
|
15752
15759
|
if (this.behavior === 'suggestion') {
|
|
15753
|
-
|
|
15754
|
-
// otherwise clear the menu value since the input value doesn't match any option
|
|
15755
|
-
if (this.menu.options && this.menu.options.filter((opt) => opt.value === this.value).length > 0) {
|
|
15760
|
+
if (!this.menu.options || this.menu.options.length === 0) ; else if (this.menu.options.filter((opt) => opt.value === this.value).length > 0) {
|
|
15756
15761
|
this.setMenuValue(this.value);
|
|
15757
15762
|
} else {
|
|
15758
15763
|
this.menu.value = undefined;
|
|
@@ -16982,10 +16987,13 @@ class MenuService {
|
|
|
16982
16987
|
}
|
|
16983
16988
|
|
|
16984
16989
|
const optionsSet = new Set(optionsToDeselect);
|
|
16990
|
+
const previousCount = this.selectedOptions.length;
|
|
16985
16991
|
this.selectedOptions = (this.selectedOptions || [])
|
|
16986
16992
|
.filter(opt => !optionsSet.has(opt));
|
|
16987
16993
|
|
|
16988
|
-
this.
|
|
16994
|
+
if (this.selectedOptions.length < previousCount) {
|
|
16995
|
+
this.stageUpdate();
|
|
16996
|
+
}
|
|
16989
16997
|
}
|
|
16990
16998
|
|
|
16991
16999
|
/**
|
|
@@ -17405,8 +17413,6 @@ class AuroMenu extends AuroElement {
|
|
|
17405
17413
|
*/
|
|
17406
17414
|
this.size = "sm";
|
|
17407
17415
|
|
|
17408
|
-
// Value of the selected options
|
|
17409
|
-
this.value = undefined;
|
|
17410
17416
|
// Currently selected option
|
|
17411
17417
|
this.optionSelected = undefined;
|
|
17412
17418
|
// String used for highlighting/filtering
|
|
@@ -5140,7 +5140,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
5140
5140
|
}
|
|
5141
5141
|
};
|
|
5142
5142
|
|
|
5143
|
-
var formkitVersion$2 = '
|
|
5143
|
+
var formkitVersion$2 = '202604231640';
|
|
5144
5144
|
|
|
5145
5145
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
5146
5146
|
static get properties() {
|
|
@@ -12892,7 +12892,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
12892
12892
|
}
|
|
12893
12893
|
};
|
|
12894
12894
|
|
|
12895
|
-
var formkitVersion$1 = '
|
|
12895
|
+
var formkitVersion$1 = '202604231640';
|
|
12896
12896
|
|
|
12897
12897
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12898
12898
|
// See LICENSE in the project root for license information.
|
|
@@ -13957,7 +13957,7 @@ class AuroBibtemplate extends i$4 {
|
|
|
13957
13957
|
}
|
|
13958
13958
|
}
|
|
13959
13959
|
|
|
13960
|
-
var formkitVersion = '
|
|
13960
|
+
var formkitVersion = '202604231640';
|
|
13961
13961
|
|
|
13962
13962
|
var styleCss$3 = i$7`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
13963
13963
|
|
|
@@ -14354,7 +14354,6 @@ class AuroCombobox extends AuroElement {
|
|
|
14354
14354
|
this.optionActive = null;
|
|
14355
14355
|
this.persistInput = false;
|
|
14356
14356
|
this.required = false;
|
|
14357
|
-
this.value = undefined;
|
|
14358
14357
|
this.typedValue = undefined;
|
|
14359
14358
|
this.behavior = "suggestion";
|
|
14360
14359
|
this.clearBtnFocused = false;
|
|
@@ -14967,6 +14966,10 @@ class AuroCombobox extends AuroElement {
|
|
|
14967
14966
|
});
|
|
14968
14967
|
|
|
14969
14968
|
if (this.value && this.input.value && !this.menu.value) {
|
|
14969
|
+
if (this.behavior === 'suggestion' && this.menu.options && this.menu.options.some((opt) => opt.value === this.value)) {
|
|
14970
|
+
this.setMenuValue(this.value);
|
|
14971
|
+
}
|
|
14972
|
+
|
|
14970
14973
|
this.syncValuesAndStates();
|
|
14971
14974
|
}
|
|
14972
14975
|
|
|
@@ -15577,10 +15580,6 @@ class AuroCombobox extends AuroElement {
|
|
|
15577
15580
|
this.configureCombobox();
|
|
15578
15581
|
this.configureMenu();
|
|
15579
15582
|
|
|
15580
|
-
// Set the initial value in auro-menu if defined
|
|
15581
|
-
if (this.hasAttribute('value') && this.getAttribute('value').length > 0) {
|
|
15582
|
-
this.menu.value = this.value;
|
|
15583
|
-
}
|
|
15584
15583
|
}
|
|
15585
15584
|
|
|
15586
15585
|
/**
|
|
@@ -15661,10 +15660,16 @@ class AuroCombobox extends AuroElement {
|
|
|
15661
15660
|
this.input.value = this.value;
|
|
15662
15661
|
}
|
|
15663
15662
|
|
|
15663
|
+
if (this.menu && this.hasValue && this.menu.options) {
|
|
15664
|
+
this.menu.options.forEach((opt) => {
|
|
15665
|
+
if (!opt.hasAttribute('static')) {
|
|
15666
|
+
opt.removeAttribute('hidden');
|
|
15667
|
+
}
|
|
15668
|
+
});
|
|
15669
|
+
}
|
|
15670
|
+
|
|
15664
15671
|
if (this.behavior === 'suggestion') {
|
|
15665
|
-
|
|
15666
|
-
// otherwise clear the menu value since the input value doesn't match any option
|
|
15667
|
-
if (this.menu.options && this.menu.options.filter((opt) => opt.value === this.value).length > 0) {
|
|
15672
|
+
if (!this.menu.options || this.menu.options.length === 0) ; else if (this.menu.options.filter((opt) => opt.value === this.value).length > 0) {
|
|
15668
15673
|
this.setMenuValue(this.value);
|
|
15669
15674
|
} else {
|
|
15670
15675
|
this.menu.value = undefined;
|
|
@@ -16894,10 +16899,13 @@ class MenuService {
|
|
|
16894
16899
|
}
|
|
16895
16900
|
|
|
16896
16901
|
const optionsSet = new Set(optionsToDeselect);
|
|
16902
|
+
const previousCount = this.selectedOptions.length;
|
|
16897
16903
|
this.selectedOptions = (this.selectedOptions || [])
|
|
16898
16904
|
.filter(opt => !optionsSet.has(opt));
|
|
16899
16905
|
|
|
16900
|
-
this.
|
|
16906
|
+
if (this.selectedOptions.length < previousCount) {
|
|
16907
|
+
this.stageUpdate();
|
|
16908
|
+
}
|
|
16901
16909
|
}
|
|
16902
16910
|
|
|
16903
16911
|
/**
|
|
@@ -17317,8 +17325,6 @@ class AuroMenu extends AuroElement {
|
|
|
17317
17325
|
*/
|
|
17318
17326
|
this.size = "sm";
|
|
17319
17327
|
|
|
17320
|
-
// Value of the selected options
|
|
17321
|
-
this.value = undefined;
|
|
17322
17328
|
// Currently selected option
|
|
17323
17329
|
this.optionSelected = undefined;
|
|
17324
17330
|
// String used for highlighting/filtering
|
|
@@ -329,48 +329,47 @@ export class AuroCombobox extends AuroElement {
|
|
|
329
329
|
* @returns {void} Internal defaults.
|
|
330
330
|
*/
|
|
331
331
|
private _initializeDefaults;
|
|
332
|
-
appearance: string
|
|
333
|
-
disabled: boolean
|
|
334
|
-
msgSelectionMissing: string
|
|
335
|
-
noFilter: boolean
|
|
336
|
-
noValidate: boolean
|
|
332
|
+
appearance: string;
|
|
333
|
+
disabled: boolean;
|
|
334
|
+
msgSelectionMissing: string;
|
|
335
|
+
noFilter: boolean;
|
|
336
|
+
noValidate: boolean;
|
|
337
337
|
optionActive: any;
|
|
338
|
-
persistInput: boolean
|
|
339
|
-
required: boolean
|
|
340
|
-
value: any;
|
|
338
|
+
persistInput: boolean;
|
|
339
|
+
required: boolean;
|
|
341
340
|
typedValue: any;
|
|
342
|
-
behavior: string
|
|
343
|
-
clearBtnFocused: boolean
|
|
344
|
-
checkmark: boolean
|
|
345
|
-
dvInputOnly: boolean
|
|
346
|
-
fullscreenBreakpoint: string
|
|
347
|
-
matchWidth: boolean
|
|
348
|
-
shape: string
|
|
349
|
-
size: string
|
|
350
|
-
triggerIcon: boolean
|
|
351
|
-
placement: string
|
|
352
|
-
offset: number
|
|
353
|
-
noFlip: boolean
|
|
354
|
-
shift: boolean
|
|
355
|
-
autoPlacement: boolean
|
|
341
|
+
behavior: string;
|
|
342
|
+
clearBtnFocused: boolean;
|
|
343
|
+
checkmark: boolean;
|
|
344
|
+
dvInputOnly: boolean;
|
|
345
|
+
fullscreenBreakpoint: string;
|
|
346
|
+
matchWidth: boolean;
|
|
347
|
+
shape: string;
|
|
348
|
+
size: string;
|
|
349
|
+
triggerIcon: boolean;
|
|
350
|
+
placement: string;
|
|
351
|
+
offset: number;
|
|
352
|
+
noFlip: boolean;
|
|
353
|
+
shift: boolean;
|
|
354
|
+
autoPlacement: boolean;
|
|
356
355
|
dropdownTag: any;
|
|
357
356
|
bibtemplateTag: any;
|
|
358
357
|
inputTag: any;
|
|
359
358
|
helpTextTag: any;
|
|
360
|
-
availableOptions: any[] | any[]
|
|
359
|
+
availableOptions: any[] | any[];
|
|
361
360
|
dropdownId: any;
|
|
362
361
|
dropdownOpen: any;
|
|
363
|
-
triggerExpandedState: boolean
|
|
364
|
-
_expandedTimeout:
|
|
365
|
-
_inFullscreenTransition: boolean
|
|
362
|
+
triggerExpandedState: boolean;
|
|
363
|
+
_expandedTimeout: NodeJS.Timeout;
|
|
364
|
+
_inFullscreenTransition: boolean;
|
|
366
365
|
errorMessage: any;
|
|
367
|
-
isHiddenWhileLoading: boolean
|
|
368
|
-
largeFullscreenHeadline: boolean
|
|
369
|
-
onDark: boolean
|
|
366
|
+
isHiddenWhileLoading: boolean;
|
|
367
|
+
largeFullscreenHeadline: boolean;
|
|
368
|
+
onDark: boolean;
|
|
370
369
|
optionSelected: any;
|
|
371
370
|
runtimeUtils: any;
|
|
372
|
-
touched: boolean
|
|
373
|
-
validation: AuroFormValidation
|
|
371
|
+
touched: boolean;
|
|
372
|
+
validation: AuroFormValidation;
|
|
374
373
|
validity: any;
|
|
375
374
|
/**
|
|
376
375
|
* Returns the current value of the input element within the combobox.
|
|
@@ -482,8 +481,9 @@ export class AuroCombobox extends AuroElement {
|
|
|
482
481
|
* @returns {void}
|
|
483
482
|
*/
|
|
484
483
|
private configureMenu;
|
|
485
|
-
menu: Element
|
|
486
|
-
defaultMenuShape: string
|
|
484
|
+
menu: Element;
|
|
485
|
+
defaultMenuShape: string;
|
|
486
|
+
value: any;
|
|
487
487
|
/**
|
|
488
488
|
* Binds all behavior needed to the input after rendering.
|
|
489
489
|
* @private
|
|
@@ -512,14 +512,14 @@ export class AuroCombobox extends AuroElement {
|
|
|
512
512
|
* @returns {void}
|
|
513
513
|
*/
|
|
514
514
|
private handleInputValueChange;
|
|
515
|
-
_syncingBibValue: boolean
|
|
515
|
+
_syncingBibValue: boolean;
|
|
516
516
|
/**
|
|
517
517
|
* Binds all behavior needed to the combobox after rendering.
|
|
518
518
|
* @private
|
|
519
519
|
* @returns {void}
|
|
520
520
|
*/
|
|
521
521
|
private configureCombobox;
|
|
522
|
-
menus: Element[]
|
|
522
|
+
menus: Element[];
|
|
523
523
|
firstUpdated(): void;
|
|
524
524
|
dropdown: any;
|
|
525
525
|
input: any;
|
|
@@ -550,7 +550,7 @@ export class AuroCombobox extends AuroElement {
|
|
|
550
550
|
*/
|
|
551
551
|
validate(force?: boolean): void;
|
|
552
552
|
updated(changedProperties: any): void;
|
|
553
|
-
hasValue: boolean
|
|
553
|
+
hasValue: boolean;
|
|
554
554
|
/**
|
|
555
555
|
* Applies slotted nodes to a target element with a new slot name.
|
|
556
556
|
* @private
|
|
@@ -5073,7 +5073,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
5073
5073
|
}
|
|
5074
5074
|
};
|
|
5075
5075
|
|
|
5076
|
-
var formkitVersion$2 = '
|
|
5076
|
+
var formkitVersion$2 = '202604231640';
|
|
5077
5077
|
|
|
5078
5078
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
5079
5079
|
static get properties() {
|
|
@@ -12818,7 +12818,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
12818
12818
|
}
|
|
12819
12819
|
};
|
|
12820
12820
|
|
|
12821
|
-
var formkitVersion$1 = '
|
|
12821
|
+
var formkitVersion$1 = '202604231640';
|
|
12822
12822
|
|
|
12823
12823
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12824
12824
|
// See LICENSE in the project root for license information.
|
|
@@ -13883,7 +13883,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
13883
13883
|
}
|
|
13884
13884
|
}
|
|
13885
13885
|
|
|
13886
|
-
var formkitVersion = '
|
|
13886
|
+
var formkitVersion = '202604231640';
|
|
13887
13887
|
|
|
13888
13888
|
var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
13889
13889
|
|
|
@@ -14280,7 +14280,6 @@ class AuroCombobox extends AuroElement {
|
|
|
14280
14280
|
this.optionActive = null;
|
|
14281
14281
|
this.persistInput = false;
|
|
14282
14282
|
this.required = false;
|
|
14283
|
-
this.value = undefined;
|
|
14284
14283
|
this.typedValue = undefined;
|
|
14285
14284
|
this.behavior = "suggestion";
|
|
14286
14285
|
this.clearBtnFocused = false;
|
|
@@ -14893,6 +14892,10 @@ class AuroCombobox extends AuroElement {
|
|
|
14893
14892
|
});
|
|
14894
14893
|
|
|
14895
14894
|
if (this.value && this.input.value && !this.menu.value) {
|
|
14895
|
+
if (this.behavior === 'suggestion' && this.menu.options && this.menu.options.some((opt) => opt.value === this.value)) {
|
|
14896
|
+
this.setMenuValue(this.value);
|
|
14897
|
+
}
|
|
14898
|
+
|
|
14896
14899
|
this.syncValuesAndStates();
|
|
14897
14900
|
}
|
|
14898
14901
|
|
|
@@ -15503,10 +15506,6 @@ class AuroCombobox extends AuroElement {
|
|
|
15503
15506
|
this.configureCombobox();
|
|
15504
15507
|
this.configureMenu();
|
|
15505
15508
|
|
|
15506
|
-
// Set the initial value in auro-menu if defined
|
|
15507
|
-
if (this.hasAttribute('value') && this.getAttribute('value').length > 0) {
|
|
15508
|
-
this.menu.value = this.value;
|
|
15509
|
-
}
|
|
15510
15509
|
}
|
|
15511
15510
|
|
|
15512
15511
|
/**
|
|
@@ -15587,10 +15586,16 @@ class AuroCombobox extends AuroElement {
|
|
|
15587
15586
|
this.input.value = this.value;
|
|
15588
15587
|
}
|
|
15589
15588
|
|
|
15589
|
+
if (this.menu && this.hasValue && this.menu.options) {
|
|
15590
|
+
this.menu.options.forEach((opt) => {
|
|
15591
|
+
if (!opt.hasAttribute('static')) {
|
|
15592
|
+
opt.removeAttribute('hidden');
|
|
15593
|
+
}
|
|
15594
|
+
});
|
|
15595
|
+
}
|
|
15596
|
+
|
|
15590
15597
|
if (this.behavior === 'suggestion') {
|
|
15591
|
-
|
|
15592
|
-
// otherwise clear the menu value since the input value doesn't match any option
|
|
15593
|
-
if (this.menu.options && this.menu.options.filter((opt) => opt.value === this.value).length > 0) {
|
|
15598
|
+
if (!this.menu.options || this.menu.options.length === 0) ; else if (this.menu.options.filter((opt) => opt.value === this.value).length > 0) {
|
|
15594
15599
|
this.setMenuValue(this.value);
|
|
15595
15600
|
} else {
|
|
15596
15601
|
this.menu.value = undefined;
|