@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.11 → 0.0.0-pr1628.13
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/customize.min.js +1 -1
- package/components/checkbox/demo/getting-started.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/customize.min.js +15 -23
- package/components/combobox/demo/getting-started.min.js +15 -23
- package/components/combobox/demo/index.min.js +15 -23
- package/components/combobox/dist/index.js +4 -16
- package/components/combobox/dist/registered.js +4 -16
- package/components/counter/demo/api.md +28 -28
- package/components/counter/demo/css-only.md +1 -1
- package/components/counter/demo/customize.md +2 -2
- package/components/counter/demo/customize.min.js +12 -11
- package/components/counter/demo/getting-started.md +2 -2
- package/components/counter/demo/getting-started.min.js +12 -11
- package/components/counter/demo/index.min.js +12 -11
- package/components/counter/demo/voiceover.md +2 -2
- package/components/counter/demo/why-counter.md +1 -1
- package/components/counter/dist/auro-counter-group.d.ts +7 -6
- package/components/counter/dist/auro-counter.d.ts +3 -3
- package/components/counter/dist/index.js +12 -11
- package/components/counter/dist/registered.js +12 -11
- package/components/datepicker/demo/customize.min.js +5 -17
- package/components/datepicker/demo/getting-started.min.js +5 -17
- package/components/datepicker/demo/index.min.js +5 -17
- package/components/datepicker/dist/index.js +5 -17
- package/components/datepicker/dist/registered.js +5 -17
- package/components/dropdown/demo/customize.min.js +1 -1
- package/components/dropdown/demo/getting-started.min.js +3 -15
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/form/demo/customize.min.js +40 -71
- package/components/form/demo/getting-started.min.js +40 -71
- package/components/form/demo/index.min.js +40 -71
- package/components/form/demo/registerDemoDeps.min.js +40 -71
- package/components/input/demo/api.md +12 -12
- package/components/input/demo/css-only.md +4 -4
- package/components/input/demo/customize.md +4 -4
- package/components/input/demo/customize.min.js +2 -14
- package/components/input/demo/getting-started.min.js +2 -14
- package/components/input/demo/index.min.js +2 -14
- package/components/input/demo/voiceover.md +1 -1
- package/components/input/demo/why-input.md +2 -2
- package/components/input/dist/base-input.d.ts +0 -12
- package/components/input/dist/index.js +2 -14
- package/components/input/dist/registered.js +2 -14
- package/components/menu/demo/api.md +18 -7
- package/components/menu/demo/index.min.js +11 -7
- package/components/menu/dist/auro-menu.d.ts +5 -3
- package/components/menu/dist/auro-menuoption.d.ts +6 -4
- package/components/menu/dist/index.js +11 -7
- package/components/menu/dist/registered.js +11 -7
- package/components/radio/demo/customize.min.js +1 -1
- package/components/radio/demo/getting-started.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/api.md +46 -46
- package/components/select/demo/customize.md +48 -0
- package/components/select/demo/customize.min.js +15 -11
- package/components/select/demo/design.md +6 -0
- package/components/select/demo/getting-started.min.js +15 -11
- package/components/select/demo/index.md +2 -0
- package/components/select/demo/index.min.js +15 -11
- package/components/select/demo/keyboard-behavior.md +1 -1
- package/components/select/demo/voiceover.md +5 -5
- package/components/select/dist/auro-select.d.ts +2 -2
- package/components/select/dist/index.js +4 -4
- package/components/select/dist/registered.js +4 -4
- package/custom-elements.json +23 -71
- package/package.json +1 -1
|
@@ -1381,7 +1381,7 @@ class AuroHelpText extends i$2 {
|
|
|
1381
1381
|
}
|
|
1382
1382
|
}
|
|
1383
1383
|
|
|
1384
|
-
var formkitVersion = '
|
|
1384
|
+
var formkitVersion = '202611091925';
|
|
1385
1385
|
|
|
1386
1386
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1387
1387
|
// See LICENSE in the project root for license information.
|
|
@@ -1381,7 +1381,7 @@ class AuroHelpText extends i$2 {
|
|
|
1381
1381
|
}
|
|
1382
1382
|
}
|
|
1383
1383
|
|
|
1384
|
-
var formkitVersion = '
|
|
1384
|
+
var formkitVersion = '202611091925';
|
|
1385
1385
|
|
|
1386
1386
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1387
1387
|
// See LICENSE in the project root for license information.
|
|
@@ -1381,7 +1381,7 @@ class AuroHelpText extends i$2 {
|
|
|
1381
1381
|
}
|
|
1382
1382
|
}
|
|
1383
1383
|
|
|
1384
|
-
var formkitVersion = '
|
|
1384
|
+
var formkitVersion = '202611091925';
|
|
1385
1385
|
|
|
1386
1386
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1387
1387
|
// See LICENSE in the project root for license information.
|
|
@@ -1334,7 +1334,7 @@ class AuroHelpText extends LitElement {
|
|
|
1334
1334
|
}
|
|
1335
1335
|
}
|
|
1336
1336
|
|
|
1337
|
-
var formkitVersion = '
|
|
1337
|
+
var formkitVersion = '202611091925';
|
|
1338
1338
|
|
|
1339
1339
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1340
1340
|
// See LICENSE in the project root for license information.
|
|
@@ -1334,7 +1334,7 @@ class AuroHelpText extends LitElement {
|
|
|
1334
1334
|
}
|
|
1335
1335
|
}
|
|
1336
1336
|
|
|
1337
|
-
var formkitVersion = '
|
|
1337
|
+
var formkitVersion = '202611091925';
|
|
1338
1338
|
|
|
1339
1339
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1340
1340
|
// See LICENSE in the project root for license information.
|
|
@@ -5299,7 +5299,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
5299
5299
|
}
|
|
5300
5300
|
};
|
|
5301
5301
|
|
|
5302
|
-
var formkitVersion$2 = '
|
|
5302
|
+
var formkitVersion$2 = '202611091925';
|
|
5303
5303
|
|
|
5304
5304
|
/**
|
|
5305
5305
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -6962,7 +6962,7 @@ const watchedItems = new Set();
|
|
|
6962
6962
|
/**
|
|
6963
6963
|
* Sets an element's `lang` to the page's language.
|
|
6964
6964
|
* @private
|
|
6965
|
-
* @param {object} item -
|
|
6965
|
+
* @param {object} item - The element to update.
|
|
6966
6966
|
* @param {string} lang - The page's current language.
|
|
6967
6967
|
*/
|
|
6968
6968
|
function setLang(item, lang) {
|
|
@@ -17813,7 +17813,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
17813
17813
|
/**
|
|
17814
17814
|
* Does not currently change any message. To set the error message for an invalid email address,
|
|
17815
17815
|
* use `setCustomValidityForType`.
|
|
17816
|
-
* @relevantWhen !noValidate
|
|
17817
17816
|
* @category behavior
|
|
17818
17817
|
*/
|
|
17819
17818
|
customValidityTypeEmail: {
|
|
@@ -18082,7 +18081,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18082
18081
|
/**
|
|
18083
18082
|
* Makes the input invalid when it's left empty, and removes the " (optional)" text after the label.
|
|
18084
18083
|
* Use `setCustomValidityValueMissing` to set the error message.
|
|
18085
|
-
* @relevantWhen !noValidate
|
|
18086
18084
|
* @category behavior
|
|
18087
18085
|
*/
|
|
18088
18086
|
required: {
|
|
@@ -18093,7 +18091,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18093
18091
|
/**
|
|
18094
18092
|
* Sets one error message for every kind of validation error. When set, it replaces the messages from
|
|
18095
18093
|
* `error` and every other `setCustomValidity*` property.
|
|
18096
|
-
* @relevantWhen !noValidate
|
|
18097
18094
|
* @category behavior
|
|
18098
18095
|
*/
|
|
18099
18096
|
setCustomValidity: {
|
|
@@ -18104,7 +18101,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18104
18101
|
/**
|
|
18105
18102
|
* Sets the error message for `validity="badInput"`. Does not currently change any message,
|
|
18106
18103
|
* because the input never reports `badInput`.
|
|
18107
|
-
* @relevantWhen !noValidate
|
|
18108
18104
|
* @category behavior
|
|
18109
18105
|
*/
|
|
18110
18106
|
setCustomValidityBadInput: {
|
|
@@ -18114,7 +18110,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18114
18110
|
|
|
18115
18111
|
/**
|
|
18116
18112
|
* Sets the error message shown while the `error` attribute is set, in place of the `error` value.
|
|
18117
|
-
* @relevantWhen !noValidate
|
|
18118
18113
|
* @category behavior
|
|
18119
18114
|
*/
|
|
18120
18115
|
setCustomValidityCustomError: {
|
|
@@ -18125,7 +18120,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18125
18120
|
/**
|
|
18126
18121
|
* Sets the error message shown when the value doesn't fit its `type`, such as a badly formed email address,
|
|
18127
18122
|
* an incomplete card number, or an incomplete date. When not set, `email`, `credit-card`, and most `date` inputs use a built-in message.
|
|
18128
|
-
* @relevantWhen !noValidate
|
|
18129
18123
|
* @category behavior
|
|
18130
18124
|
*/
|
|
18131
18125
|
setCustomValidityForType: {
|
|
@@ -18136,7 +18130,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18136
18130
|
/**
|
|
18137
18131
|
* Sets the error message shown when the value doesn't match `pattern`, or when a date isn't a real calendar date.
|
|
18138
18132
|
* For `pattern`, it does not currently work when set only as a property, so set the attribute instead.
|
|
18139
|
-
* @relevantWhen !noValidate
|
|
18140
18133
|
* @category behavior
|
|
18141
18134
|
*/
|
|
18142
18135
|
setCustomValidityPatternMismatch: {
|
|
@@ -18146,7 +18139,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18146
18139
|
|
|
18147
18140
|
/**
|
|
18148
18141
|
* Sets the error message shown when the value is above `max`.
|
|
18149
|
-
* @relevantWhen !noValidate
|
|
18150
18142
|
* @category behavior
|
|
18151
18143
|
*/
|
|
18152
18144
|
setCustomValidityRangeOverflow: {
|
|
@@ -18156,7 +18148,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18156
18148
|
|
|
18157
18149
|
/**
|
|
18158
18150
|
* Sets the error message shown when the value is below `min`.
|
|
18159
|
-
* @relevantWhen !noValidate
|
|
18160
18151
|
* @category behavior
|
|
18161
18152
|
*/
|
|
18162
18153
|
setCustomValidityRangeUnderflow: {
|
|
@@ -18167,7 +18158,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18167
18158
|
/**
|
|
18168
18159
|
* Sets the error message shown when the value is longer than `maxlength`.
|
|
18169
18160
|
* Does not currently work when set only as a property, so set the attribute instead.
|
|
18170
|
-
* @relevantWhen !noValidate
|
|
18171
18161
|
* @category behavior
|
|
18172
18162
|
*/
|
|
18173
18163
|
setCustomValidityTooLong: {
|
|
@@ -18178,7 +18168,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18178
18168
|
/**
|
|
18179
18169
|
* Sets the error message shown when the value is shorter than `minlength`.
|
|
18180
18170
|
* Does not currently work when set only as a property, so set the attribute instead.
|
|
18181
|
-
* @relevantWhen !noValidate
|
|
18182
18171
|
* @category behavior
|
|
18183
18172
|
*/
|
|
18184
18173
|
setCustomValidityTooShort: {
|
|
@@ -18188,7 +18177,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18188
18177
|
|
|
18189
18178
|
/**
|
|
18190
18179
|
* Sets the error message shown when a `required` input is left empty.
|
|
18191
|
-
* @relevantWhen !noValidate
|
|
18192
18180
|
* @category behavior
|
|
18193
18181
|
*/
|
|
18194
18182
|
setCustomValidityValueMissing: {
|
|
@@ -19495,7 +19483,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
19495
19483
|
}
|
|
19496
19484
|
};
|
|
19497
19485
|
|
|
19498
|
-
var formkitVersion$1 = '
|
|
19486
|
+
var formkitVersion$1 = '202611091925';
|
|
19499
19487
|
|
|
19500
19488
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
19501
19489
|
// See LICENSE in the project root for license information.
|
|
@@ -20781,7 +20769,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
20781
20769
|
}
|
|
20782
20770
|
}
|
|
20783
20771
|
|
|
20784
|
-
var formkitVersion = '
|
|
20772
|
+
var formkitVersion = '202611091925';
|
|
20785
20773
|
|
|
20786
20774
|
var styleCss$3 = i$6`.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}`;
|
|
20787
20775
|
|
|
@@ -23756,11 +23744,13 @@ let menuInstanceIdCounter = 0;
|
|
|
23756
23744
|
* - **Grouped options**: Nest an `auro-menu` inside another to indent a group of options, while the outer menu keeps track of the selection.
|
|
23757
23745
|
* - **Disabled menu**: Set `disabled` to turn off every option without changing each option's own `disabled` setting.
|
|
23758
23746
|
*
|
|
23759
|
-
*
|
|
23747
|
+
* **Example**
|
|
23748
|
+
* ```html
|
|
23760
23749
|
* <auro-menu>
|
|
23761
23750
|
* <auro-menuoption value="stops">Stops</auro-menuoption>
|
|
23762
23751
|
* <auro-menuoption value="price">Price</auro-menuoption>
|
|
23763
23752
|
* </auro-menu>
|
|
23753
|
+
* ```
|
|
23764
23754
|
*
|
|
23765
23755
|
* @summary A list of options with single or multiple selection, match highlighting, a loading state, and grouped options.
|
|
23766
23756
|
* @customElement auro-menu
|
|
@@ -23879,7 +23869,7 @@ class AuroMenu extends AuroElement {
|
|
|
23879
23869
|
},
|
|
23880
23870
|
|
|
23881
23871
|
/**
|
|
23882
|
-
* Sets the corner shape of every option in the menu. `box`
|
|
23872
|
+
* Sets the corner shape of every option in the menu. `box` and `snowflake` have square corners, and `pill` has fully rounded ends. An option's own `shape` overrides it.
|
|
23883
23873
|
* @type {'box' | 'pill' | 'snowflake'}
|
|
23884
23874
|
* @default 'box'
|
|
23885
23875
|
* @category ui
|
|
@@ -23903,7 +23893,7 @@ class AuroMenu extends AuroElement {
|
|
|
23903
23893
|
},
|
|
23904
23894
|
|
|
23905
23895
|
/**
|
|
23906
|
-
* Turns off the whole menu. Every option is shown in a muted style and can't be highlighted or selected with the mouse or keyboard, but each option's own `disabled` setting stays unchanged.
|
|
23896
|
+
* Turns off the whole menu. Every option is shown in a muted style and can't be highlighted or selected with the mouse or keyboard, but each option's own `disabled` setting stays unchanged. A selected option in a nested menu doesn't currently switch to the muted style unless the nested menu is also disabled.
|
|
23907
23897
|
* @category ui
|
|
23908
23898
|
*/
|
|
23909
23899
|
disabled: {
|
|
@@ -25223,10 +25213,12 @@ let menuOptionIdCounter = 0;
|
|
|
25223
25213
|
* - **Custom actions**: Set `event` to have the menu fire a named event instead of selecting the option.
|
|
25224
25214
|
* - **Unchanged text**: Set `persistent` to keep the option's text as written when the menu highlights matching text.
|
|
25225
25215
|
*
|
|
25226
|
-
*
|
|
25216
|
+
* **Example**
|
|
25217
|
+
* ```html
|
|
25227
25218
|
* <auro-menu>
|
|
25228
25219
|
* <auro-menuoption value="stops">Stops</auro-menuoption>
|
|
25229
25220
|
* </auro-menu>
|
|
25221
|
+
* ```
|
|
25230
25222
|
*
|
|
25231
25223
|
* @summary One option in a menu, which can be disabled, shown as a row that can't be selected, or set to fire a custom event.
|
|
25232
25224
|
* @customElement auro-menuoption
|
|
@@ -25325,7 +25317,7 @@ class AuroMenuOption extends AuroElement {
|
|
|
25325
25317
|
},
|
|
25326
25318
|
|
|
25327
25319
|
/**
|
|
25328
|
-
* Sets the value that identifies this option, such as `stops`. The menu's `value` becomes this value when the option is selected.
|
|
25320
|
+
* Sets the value that identifies this option, such as `stops`. The menu's `value` becomes this value when the option is selected, or includes it in multi-select mode.
|
|
25329
25321
|
* @requiredWhen always
|
|
25330
25322
|
* @category behavior
|
|
25331
25323
|
*/
|
|
@@ -25465,7 +25457,7 @@ class AuroMenuOption extends AuroElement {
|
|
|
25465
25457
|
|
|
25466
25458
|
/**
|
|
25467
25459
|
* Deprecated: Remove calls to it; it has no effect.
|
|
25468
|
-
*
|
|
25460
|
+
* It updated the option when the menu changed, before the menu took back control of its options' state. It will be removed in a future major release.
|
|
25469
25461
|
*
|
|
25470
25462
|
* @deprecated Has no effect. Remove calls to it.
|
|
25471
25463
|
*/
|
|
@@ -25502,7 +25494,7 @@ class AuroMenuOption extends AuroElement {
|
|
|
25502
25494
|
|
|
25503
25495
|
/**
|
|
25504
25496
|
* Deprecated: Remove calls to it; it has no effect.
|
|
25505
|
-
*
|
|
25497
|
+
* It connected the option to the menu, before the menu took back control of its options' state. It will be removed in a future major release.
|
|
25506
25498
|
*
|
|
25507
25499
|
* @deprecated Has no effect. Remove calls to it.
|
|
25508
25500
|
*/
|
|
@@ -5299,7 +5299,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
5299
5299
|
}
|
|
5300
5300
|
};
|
|
5301
5301
|
|
|
5302
|
-
var formkitVersion$2 = '
|
|
5302
|
+
var formkitVersion$2 = '202611091925';
|
|
5303
5303
|
|
|
5304
5304
|
/**
|
|
5305
5305
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -6962,7 +6962,7 @@ const watchedItems = new Set();
|
|
|
6962
6962
|
/**
|
|
6963
6963
|
* Sets an element's `lang` to the page's language.
|
|
6964
6964
|
* @private
|
|
6965
|
-
* @param {object} item -
|
|
6965
|
+
* @param {object} item - The element to update.
|
|
6966
6966
|
* @param {string} lang - The page's current language.
|
|
6967
6967
|
*/
|
|
6968
6968
|
function setLang(item, lang) {
|
|
@@ -17813,7 +17813,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
17813
17813
|
/**
|
|
17814
17814
|
* Does not currently change any message. To set the error message for an invalid email address,
|
|
17815
17815
|
* use `setCustomValidityForType`.
|
|
17816
|
-
* @relevantWhen !noValidate
|
|
17817
17816
|
* @category behavior
|
|
17818
17817
|
*/
|
|
17819
17818
|
customValidityTypeEmail: {
|
|
@@ -18082,7 +18081,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18082
18081
|
/**
|
|
18083
18082
|
* Makes the input invalid when it's left empty, and removes the " (optional)" text after the label.
|
|
18084
18083
|
* Use `setCustomValidityValueMissing` to set the error message.
|
|
18085
|
-
* @relevantWhen !noValidate
|
|
18086
18084
|
* @category behavior
|
|
18087
18085
|
*/
|
|
18088
18086
|
required: {
|
|
@@ -18093,7 +18091,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18093
18091
|
/**
|
|
18094
18092
|
* Sets one error message for every kind of validation error. When set, it replaces the messages from
|
|
18095
18093
|
* `error` and every other `setCustomValidity*` property.
|
|
18096
|
-
* @relevantWhen !noValidate
|
|
18097
18094
|
* @category behavior
|
|
18098
18095
|
*/
|
|
18099
18096
|
setCustomValidity: {
|
|
@@ -18104,7 +18101,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18104
18101
|
/**
|
|
18105
18102
|
* Sets the error message for `validity="badInput"`. Does not currently change any message,
|
|
18106
18103
|
* because the input never reports `badInput`.
|
|
18107
|
-
* @relevantWhen !noValidate
|
|
18108
18104
|
* @category behavior
|
|
18109
18105
|
*/
|
|
18110
18106
|
setCustomValidityBadInput: {
|
|
@@ -18114,7 +18110,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18114
18110
|
|
|
18115
18111
|
/**
|
|
18116
18112
|
* Sets the error message shown while the `error` attribute is set, in place of the `error` value.
|
|
18117
|
-
* @relevantWhen !noValidate
|
|
18118
18113
|
* @category behavior
|
|
18119
18114
|
*/
|
|
18120
18115
|
setCustomValidityCustomError: {
|
|
@@ -18125,7 +18120,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18125
18120
|
/**
|
|
18126
18121
|
* Sets the error message shown when the value doesn't fit its `type`, such as a badly formed email address,
|
|
18127
18122
|
* an incomplete card number, or an incomplete date. When not set, `email`, `credit-card`, and most `date` inputs use a built-in message.
|
|
18128
|
-
* @relevantWhen !noValidate
|
|
18129
18123
|
* @category behavior
|
|
18130
18124
|
*/
|
|
18131
18125
|
setCustomValidityForType: {
|
|
@@ -18136,7 +18130,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18136
18130
|
/**
|
|
18137
18131
|
* Sets the error message shown when the value doesn't match `pattern`, or when a date isn't a real calendar date.
|
|
18138
18132
|
* For `pattern`, it does not currently work when set only as a property, so set the attribute instead.
|
|
18139
|
-
* @relevantWhen !noValidate
|
|
18140
18133
|
* @category behavior
|
|
18141
18134
|
*/
|
|
18142
18135
|
setCustomValidityPatternMismatch: {
|
|
@@ -18146,7 +18139,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18146
18139
|
|
|
18147
18140
|
/**
|
|
18148
18141
|
* Sets the error message shown when the value is above `max`.
|
|
18149
|
-
* @relevantWhen !noValidate
|
|
18150
18142
|
* @category behavior
|
|
18151
18143
|
*/
|
|
18152
18144
|
setCustomValidityRangeOverflow: {
|
|
@@ -18156,7 +18148,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18156
18148
|
|
|
18157
18149
|
/**
|
|
18158
18150
|
* Sets the error message shown when the value is below `min`.
|
|
18159
|
-
* @relevantWhen !noValidate
|
|
18160
18151
|
* @category behavior
|
|
18161
18152
|
*/
|
|
18162
18153
|
setCustomValidityRangeUnderflow: {
|
|
@@ -18167,7 +18158,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18167
18158
|
/**
|
|
18168
18159
|
* Sets the error message shown when the value is longer than `maxlength`.
|
|
18169
18160
|
* Does not currently work when set only as a property, so set the attribute instead.
|
|
18170
|
-
* @relevantWhen !noValidate
|
|
18171
18161
|
* @category behavior
|
|
18172
18162
|
*/
|
|
18173
18163
|
setCustomValidityTooLong: {
|
|
@@ -18178,7 +18168,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18178
18168
|
/**
|
|
18179
18169
|
* Sets the error message shown when the value is shorter than `minlength`.
|
|
18180
18170
|
* Does not currently work when set only as a property, so set the attribute instead.
|
|
18181
|
-
* @relevantWhen !noValidate
|
|
18182
18171
|
* @category behavior
|
|
18183
18172
|
*/
|
|
18184
18173
|
setCustomValidityTooShort: {
|
|
@@ -18188,7 +18177,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18188
18177
|
|
|
18189
18178
|
/**
|
|
18190
18179
|
* Sets the error message shown when a `required` input is left empty.
|
|
18191
|
-
* @relevantWhen !noValidate
|
|
18192
18180
|
* @category behavior
|
|
18193
18181
|
*/
|
|
18194
18182
|
setCustomValidityValueMissing: {
|
|
@@ -19495,7 +19483,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
19495
19483
|
}
|
|
19496
19484
|
};
|
|
19497
19485
|
|
|
19498
|
-
var formkitVersion$1 = '
|
|
19486
|
+
var formkitVersion$1 = '202611091925';
|
|
19499
19487
|
|
|
19500
19488
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
19501
19489
|
// See LICENSE in the project root for license information.
|
|
@@ -20781,7 +20769,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
20781
20769
|
}
|
|
20782
20770
|
}
|
|
20783
20771
|
|
|
20784
|
-
var formkitVersion = '
|
|
20772
|
+
var formkitVersion = '202611091925';
|
|
20785
20773
|
|
|
20786
20774
|
var styleCss$3 = i$6`.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}`;
|
|
20787
20775
|
|
|
@@ -23756,11 +23744,13 @@ let menuInstanceIdCounter = 0;
|
|
|
23756
23744
|
* - **Grouped options**: Nest an `auro-menu` inside another to indent a group of options, while the outer menu keeps track of the selection.
|
|
23757
23745
|
* - **Disabled menu**: Set `disabled` to turn off every option without changing each option's own `disabled` setting.
|
|
23758
23746
|
*
|
|
23759
|
-
*
|
|
23747
|
+
* **Example**
|
|
23748
|
+
* ```html
|
|
23760
23749
|
* <auro-menu>
|
|
23761
23750
|
* <auro-menuoption value="stops">Stops</auro-menuoption>
|
|
23762
23751
|
* <auro-menuoption value="price">Price</auro-menuoption>
|
|
23763
23752
|
* </auro-menu>
|
|
23753
|
+
* ```
|
|
23764
23754
|
*
|
|
23765
23755
|
* @summary A list of options with single or multiple selection, match highlighting, a loading state, and grouped options.
|
|
23766
23756
|
* @customElement auro-menu
|
|
@@ -23879,7 +23869,7 @@ class AuroMenu extends AuroElement {
|
|
|
23879
23869
|
},
|
|
23880
23870
|
|
|
23881
23871
|
/**
|
|
23882
|
-
* Sets the corner shape of every option in the menu. `box`
|
|
23872
|
+
* Sets the corner shape of every option in the menu. `box` and `snowflake` have square corners, and `pill` has fully rounded ends. An option's own `shape` overrides it.
|
|
23883
23873
|
* @type {'box' | 'pill' | 'snowflake'}
|
|
23884
23874
|
* @default 'box'
|
|
23885
23875
|
* @category ui
|
|
@@ -23903,7 +23893,7 @@ class AuroMenu extends AuroElement {
|
|
|
23903
23893
|
},
|
|
23904
23894
|
|
|
23905
23895
|
/**
|
|
23906
|
-
* Turns off the whole menu. Every option is shown in a muted style and can't be highlighted or selected with the mouse or keyboard, but each option's own `disabled` setting stays unchanged.
|
|
23896
|
+
* Turns off the whole menu. Every option is shown in a muted style and can't be highlighted or selected with the mouse or keyboard, but each option's own `disabled` setting stays unchanged. A selected option in a nested menu doesn't currently switch to the muted style unless the nested menu is also disabled.
|
|
23907
23897
|
* @category ui
|
|
23908
23898
|
*/
|
|
23909
23899
|
disabled: {
|
|
@@ -25223,10 +25213,12 @@ let menuOptionIdCounter = 0;
|
|
|
25223
25213
|
* - **Custom actions**: Set `event` to have the menu fire a named event instead of selecting the option.
|
|
25224
25214
|
* - **Unchanged text**: Set `persistent` to keep the option's text as written when the menu highlights matching text.
|
|
25225
25215
|
*
|
|
25226
|
-
*
|
|
25216
|
+
* **Example**
|
|
25217
|
+
* ```html
|
|
25227
25218
|
* <auro-menu>
|
|
25228
25219
|
* <auro-menuoption value="stops">Stops</auro-menuoption>
|
|
25229
25220
|
* </auro-menu>
|
|
25221
|
+
* ```
|
|
25230
25222
|
*
|
|
25231
25223
|
* @summary One option in a menu, which can be disabled, shown as a row that can't be selected, or set to fire a custom event.
|
|
25232
25224
|
* @customElement auro-menuoption
|
|
@@ -25325,7 +25317,7 @@ class AuroMenuOption extends AuroElement {
|
|
|
25325
25317
|
},
|
|
25326
25318
|
|
|
25327
25319
|
/**
|
|
25328
|
-
* Sets the value that identifies this option, such as `stops`. The menu's `value` becomes this value when the option is selected.
|
|
25320
|
+
* Sets the value that identifies this option, such as `stops`. The menu's `value` becomes this value when the option is selected, or includes it in multi-select mode.
|
|
25329
25321
|
* @requiredWhen always
|
|
25330
25322
|
* @category behavior
|
|
25331
25323
|
*/
|
|
@@ -25465,7 +25457,7 @@ class AuroMenuOption extends AuroElement {
|
|
|
25465
25457
|
|
|
25466
25458
|
/**
|
|
25467
25459
|
* Deprecated: Remove calls to it; it has no effect.
|
|
25468
|
-
*
|
|
25460
|
+
* It updated the option when the menu changed, before the menu took back control of its options' state. It will be removed in a future major release.
|
|
25469
25461
|
*
|
|
25470
25462
|
* @deprecated Has no effect. Remove calls to it.
|
|
25471
25463
|
*/
|
|
@@ -25502,7 +25494,7 @@ class AuroMenuOption extends AuroElement {
|
|
|
25502
25494
|
|
|
25503
25495
|
/**
|
|
25504
25496
|
* Deprecated: Remove calls to it; it has no effect.
|
|
25505
|
-
*
|
|
25497
|
+
* It connected the option to the menu, before the menu took back control of its options' state. It will be removed in a future major release.
|
|
25506
25498
|
*
|
|
25507
25499
|
* @deprecated Has no effect. Remove calls to it.
|
|
25508
25500
|
*/
|
|
@@ -5314,7 +5314,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
5314
5314
|
}
|
|
5315
5315
|
};
|
|
5316
5316
|
|
|
5317
|
-
var formkitVersion$2 = '
|
|
5317
|
+
var formkitVersion$2 = '202611091925';
|
|
5318
5318
|
|
|
5319
5319
|
/**
|
|
5320
5320
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -6977,7 +6977,7 @@ const watchedItems = new Set();
|
|
|
6977
6977
|
/**
|
|
6978
6978
|
* Sets an element's `lang` to the page's language.
|
|
6979
6979
|
* @private
|
|
6980
|
-
* @param {object} item -
|
|
6980
|
+
* @param {object} item - The element to update.
|
|
6981
6981
|
* @param {string} lang - The page's current language.
|
|
6982
6982
|
*/
|
|
6983
6983
|
function setLang(item, lang) {
|
|
@@ -17828,7 +17828,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
17828
17828
|
/**
|
|
17829
17829
|
* Does not currently change any message. To set the error message for an invalid email address,
|
|
17830
17830
|
* use `setCustomValidityForType`.
|
|
17831
|
-
* @relevantWhen !noValidate
|
|
17832
17831
|
* @category behavior
|
|
17833
17832
|
*/
|
|
17834
17833
|
customValidityTypeEmail: {
|
|
@@ -18097,7 +18096,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18097
18096
|
/**
|
|
18098
18097
|
* Makes the input invalid when it's left empty, and removes the " (optional)" text after the label.
|
|
18099
18098
|
* Use `setCustomValidityValueMissing` to set the error message.
|
|
18100
|
-
* @relevantWhen !noValidate
|
|
18101
18099
|
* @category behavior
|
|
18102
18100
|
*/
|
|
18103
18101
|
required: {
|
|
@@ -18108,7 +18106,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18108
18106
|
/**
|
|
18109
18107
|
* Sets one error message for every kind of validation error. When set, it replaces the messages from
|
|
18110
18108
|
* `error` and every other `setCustomValidity*` property.
|
|
18111
|
-
* @relevantWhen !noValidate
|
|
18112
18109
|
* @category behavior
|
|
18113
18110
|
*/
|
|
18114
18111
|
setCustomValidity: {
|
|
@@ -18119,7 +18116,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18119
18116
|
/**
|
|
18120
18117
|
* Sets the error message for `validity="badInput"`. Does not currently change any message,
|
|
18121
18118
|
* because the input never reports `badInput`.
|
|
18122
|
-
* @relevantWhen !noValidate
|
|
18123
18119
|
* @category behavior
|
|
18124
18120
|
*/
|
|
18125
18121
|
setCustomValidityBadInput: {
|
|
@@ -18129,7 +18125,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18129
18125
|
|
|
18130
18126
|
/**
|
|
18131
18127
|
* Sets the error message shown while the `error` attribute is set, in place of the `error` value.
|
|
18132
|
-
* @relevantWhen !noValidate
|
|
18133
18128
|
* @category behavior
|
|
18134
18129
|
*/
|
|
18135
18130
|
setCustomValidityCustomError: {
|
|
@@ -18140,7 +18135,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18140
18135
|
/**
|
|
18141
18136
|
* Sets the error message shown when the value doesn't fit its `type`, such as a badly formed email address,
|
|
18142
18137
|
* an incomplete card number, or an incomplete date. When not set, `email`, `credit-card`, and most `date` inputs use a built-in message.
|
|
18143
|
-
* @relevantWhen !noValidate
|
|
18144
18138
|
* @category behavior
|
|
18145
18139
|
*/
|
|
18146
18140
|
setCustomValidityForType: {
|
|
@@ -18151,7 +18145,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18151
18145
|
/**
|
|
18152
18146
|
* Sets the error message shown when the value doesn't match `pattern`, or when a date isn't a real calendar date.
|
|
18153
18147
|
* For `pattern`, it does not currently work when set only as a property, so set the attribute instead.
|
|
18154
|
-
* @relevantWhen !noValidate
|
|
18155
18148
|
* @category behavior
|
|
18156
18149
|
*/
|
|
18157
18150
|
setCustomValidityPatternMismatch: {
|
|
@@ -18161,7 +18154,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18161
18154
|
|
|
18162
18155
|
/**
|
|
18163
18156
|
* Sets the error message shown when the value is above `max`.
|
|
18164
|
-
* @relevantWhen !noValidate
|
|
18165
18157
|
* @category behavior
|
|
18166
18158
|
*/
|
|
18167
18159
|
setCustomValidityRangeOverflow: {
|
|
@@ -18171,7 +18163,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18171
18163
|
|
|
18172
18164
|
/**
|
|
18173
18165
|
* Sets the error message shown when the value is below `min`.
|
|
18174
|
-
* @relevantWhen !noValidate
|
|
18175
18166
|
* @category behavior
|
|
18176
18167
|
*/
|
|
18177
18168
|
setCustomValidityRangeUnderflow: {
|
|
@@ -18182,7 +18173,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18182
18173
|
/**
|
|
18183
18174
|
* Sets the error message shown when the value is longer than `maxlength`.
|
|
18184
18175
|
* Does not currently work when set only as a property, so set the attribute instead.
|
|
18185
|
-
* @relevantWhen !noValidate
|
|
18186
18176
|
* @category behavior
|
|
18187
18177
|
*/
|
|
18188
18178
|
setCustomValidityTooLong: {
|
|
@@ -18193,7 +18183,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18193
18183
|
/**
|
|
18194
18184
|
* Sets the error message shown when the value is shorter than `minlength`.
|
|
18195
18185
|
* Does not currently work when set only as a property, so set the attribute instead.
|
|
18196
|
-
* @relevantWhen !noValidate
|
|
18197
18186
|
* @category behavior
|
|
18198
18187
|
*/
|
|
18199
18188
|
setCustomValidityTooShort: {
|
|
@@ -18203,7 +18192,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18203
18192
|
|
|
18204
18193
|
/**
|
|
18205
18194
|
* Sets the error message shown when a `required` input is left empty.
|
|
18206
|
-
* @relevantWhen !noValidate
|
|
18207
18195
|
* @category behavior
|
|
18208
18196
|
*/
|
|
18209
18197
|
setCustomValidityValueMissing: {
|
|
@@ -19510,7 +19498,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
19510
19498
|
}
|
|
19511
19499
|
};
|
|
19512
19500
|
|
|
19513
|
-
var formkitVersion$1 = '
|
|
19501
|
+
var formkitVersion$1 = '202611091925';
|
|
19514
19502
|
|
|
19515
19503
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
19516
19504
|
// See LICENSE in the project root for license information.
|
|
@@ -20796,7 +20784,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
20796
20784
|
}
|
|
20797
20785
|
}
|
|
20798
20786
|
|
|
20799
|
-
var formkitVersion = '
|
|
20787
|
+
var formkitVersion = '202611091925';
|
|
20800
20788
|
|
|
20801
20789
|
var styleCss$3 = i$6`.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}`;
|
|
20802
20790
|
|
|
@@ -23771,11 +23759,13 @@ let menuInstanceIdCounter = 0;
|
|
|
23771
23759
|
* - **Grouped options**: Nest an `auro-menu` inside another to indent a group of options, while the outer menu keeps track of the selection.
|
|
23772
23760
|
* - **Disabled menu**: Set `disabled` to turn off every option without changing each option's own `disabled` setting.
|
|
23773
23761
|
*
|
|
23774
|
-
*
|
|
23762
|
+
* **Example**
|
|
23763
|
+
* ```html
|
|
23775
23764
|
* <auro-menu>
|
|
23776
23765
|
* <auro-menuoption value="stops">Stops</auro-menuoption>
|
|
23777
23766
|
* <auro-menuoption value="price">Price</auro-menuoption>
|
|
23778
23767
|
* </auro-menu>
|
|
23768
|
+
* ```
|
|
23779
23769
|
*
|
|
23780
23770
|
* @summary A list of options with single or multiple selection, match highlighting, a loading state, and grouped options.
|
|
23781
23771
|
* @customElement auro-menu
|
|
@@ -23894,7 +23884,7 @@ class AuroMenu extends AuroElement {
|
|
|
23894
23884
|
},
|
|
23895
23885
|
|
|
23896
23886
|
/**
|
|
23897
|
-
* Sets the corner shape of every option in the menu. `box`
|
|
23887
|
+
* Sets the corner shape of every option in the menu. `box` and `snowflake` have square corners, and `pill` has fully rounded ends. An option's own `shape` overrides it.
|
|
23898
23888
|
* @type {'box' | 'pill' | 'snowflake'}
|
|
23899
23889
|
* @default 'box'
|
|
23900
23890
|
* @category ui
|
|
@@ -23918,7 +23908,7 @@ class AuroMenu extends AuroElement {
|
|
|
23918
23908
|
},
|
|
23919
23909
|
|
|
23920
23910
|
/**
|
|
23921
|
-
* Turns off the whole menu. Every option is shown in a muted style and can't be highlighted or selected with the mouse or keyboard, but each option's own `disabled` setting stays unchanged.
|
|
23911
|
+
* Turns off the whole menu. Every option is shown in a muted style and can't be highlighted or selected with the mouse or keyboard, but each option's own `disabled` setting stays unchanged. A selected option in a nested menu doesn't currently switch to the muted style unless the nested menu is also disabled.
|
|
23922
23912
|
* @category ui
|
|
23923
23913
|
*/
|
|
23924
23914
|
disabled: {
|
|
@@ -25238,10 +25228,12 @@ let menuOptionIdCounter = 0;
|
|
|
25238
25228
|
* - **Custom actions**: Set `event` to have the menu fire a named event instead of selecting the option.
|
|
25239
25229
|
* - **Unchanged text**: Set `persistent` to keep the option's text as written when the menu highlights matching text.
|
|
25240
25230
|
*
|
|
25241
|
-
*
|
|
25231
|
+
* **Example**
|
|
25232
|
+
* ```html
|
|
25242
25233
|
* <auro-menu>
|
|
25243
25234
|
* <auro-menuoption value="stops">Stops</auro-menuoption>
|
|
25244
25235
|
* </auro-menu>
|
|
25236
|
+
* ```
|
|
25245
25237
|
*
|
|
25246
25238
|
* @summary One option in a menu, which can be disabled, shown as a row that can't be selected, or set to fire a custom event.
|
|
25247
25239
|
* @customElement auro-menuoption
|
|
@@ -25340,7 +25332,7 @@ class AuroMenuOption extends AuroElement {
|
|
|
25340
25332
|
},
|
|
25341
25333
|
|
|
25342
25334
|
/**
|
|
25343
|
-
* Sets the value that identifies this option, such as `stops`. The menu's `value` becomes this value when the option is selected.
|
|
25335
|
+
* Sets the value that identifies this option, such as `stops`. The menu's `value` becomes this value when the option is selected, or includes it in multi-select mode.
|
|
25344
25336
|
* @requiredWhen always
|
|
25345
25337
|
* @category behavior
|
|
25346
25338
|
*/
|
|
@@ -25480,7 +25472,7 @@ class AuroMenuOption extends AuroElement {
|
|
|
25480
25472
|
|
|
25481
25473
|
/**
|
|
25482
25474
|
* Deprecated: Remove calls to it; it has no effect.
|
|
25483
|
-
*
|
|
25475
|
+
* It updated the option when the menu changed, before the menu took back control of its options' state. It will be removed in a future major release.
|
|
25484
25476
|
*
|
|
25485
25477
|
* @deprecated Has no effect. Remove calls to it.
|
|
25486
25478
|
*/
|
|
@@ -25517,7 +25509,7 @@ class AuroMenuOption extends AuroElement {
|
|
|
25517
25509
|
|
|
25518
25510
|
/**
|
|
25519
25511
|
* Deprecated: Remove calls to it; it has no effect.
|
|
25520
|
-
*
|
|
25512
|
+
* It connected the option to the menu, before the menu took back control of its options' state. It will be removed in a future major release.
|
|
25521
25513
|
*
|
|
25522
25514
|
* @deprecated Has no effect. Remove calls to it.
|
|
25523
25515
|
*/
|