@aurodesignsystem/auro-formkit 5.9.2 → 5.9.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.
Files changed (46) hide show
  1. package/CHANGELOG.md +2 -16
  2. package/components/checkbox/demo/api.min.js +1 -1
  3. package/components/checkbox/demo/index.min.js +1 -1
  4. package/components/checkbox/dist/index.js +1 -1
  5. package/components/checkbox/dist/registered.js +1 -1
  6. package/components/combobox/demo/api.min.js +11 -4
  7. package/components/combobox/demo/index.html +5 -1
  8. package/components/combobox/demo/index.js +15 -0
  9. package/components/combobox/demo/index.min.js +16 -4
  10. package/components/combobox/dist/index.js +11 -4
  11. package/components/combobox/dist/registered.js +11 -4
  12. package/components/counter/demo/api.min.js +2 -2
  13. package/components/counter/demo/index.min.js +2 -2
  14. package/components/counter/dist/index.js +2 -2
  15. package/components/counter/dist/registered.js +2 -2
  16. package/components/datepicker/demo/api.min.js +11 -4
  17. package/components/datepicker/demo/index.min.js +11 -4
  18. package/components/datepicker/dist/index.js +11 -4
  19. package/components/datepicker/dist/registered.js +11 -4
  20. package/components/dropdown/README.md +2 -2
  21. package/components/dropdown/demo/api.html +3 -1
  22. package/components/dropdown/demo/api.js +20 -17
  23. package/components/dropdown/demo/api.md +49 -52
  24. package/components/dropdown/demo/api.min.js +79 -20
  25. package/components/dropdown/demo/index.html +3 -1
  26. package/components/dropdown/demo/index.js +10 -13
  27. package/components/dropdown/demo/index.md +6 -6
  28. package/components/dropdown/demo/index.min.js +34 -3
  29. package/components/dropdown/demo/readme.html +9 -1
  30. package/components/dropdown/demo/readme.md +2 -2
  31. package/components/dropdown/dist/index.js +1 -1
  32. package/components/dropdown/dist/registered.js +1 -1
  33. package/components/input/demo/api.md +2 -2
  34. package/components/input/demo/api.min.js +9 -2
  35. package/components/input/demo/index.min.js +9 -2
  36. package/components/input/dist/index.js +9 -2
  37. package/components/input/dist/registered.js +9 -2
  38. package/components/radio/demo/api.min.js +1 -1
  39. package/components/radio/demo/index.min.js +1 -1
  40. package/components/radio/dist/index.js +1 -1
  41. package/components/radio/dist/registered.js +1 -1
  42. package/components/select/demo/api.min.js +2 -2
  43. package/components/select/demo/index.min.js +2 -2
  44. package/components/select/dist/index.js +2 -2
  45. package/components/select/dist/registered.js +2 -2
  46. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,23 +1,9 @@
1
- ## [5.9.2](https://github.com/AlaskaAirlines/auro-formkit/compare/v5.9.1...v5.9.2) (2026-01-27)
1
+ ## [5.9.4](https://github.com/AlaskaAirlines/auro-formkit/compare/v5.9.3...v5.9.4) (2026-02-06)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * enhance checkbox a11y & add support for VoiceOver [#1258](https://github.com/AlaskaAirlines/auro-formkit/issues/1258) ([db8e0be](https://github.com/AlaskaAirlines/auro-formkit/commit/db8e0be25bf69ea3d2186bd4394de2db0d657691))
7
-
8
-
9
- ### Performance Improvements
10
-
11
- * modernize checkbox example documentation [#1260](https://github.com/AlaskaAirlines/auro-formkit/issues/1260) [#1270](https://github.com/AlaskaAirlines/auro-formkit/issues/1270) ([fbf5af3](https://github.com/AlaskaAirlines/auro-formkit/commit/fbf5af302ebc3a6fd9e9cc3e2d01c5dfa91cb178))
12
- * modernize combobox example documentation [#1261](https://github.com/AlaskaAirlines/auro-formkit/issues/1261) ([bfdb6ec](https://github.com/AlaskaAirlines/auro-formkit/commit/bfdb6ec83c36d616d36ee99c18905447ffcdc7e1)), closes [#777](https://github.com/AlaskaAirlines/auro-formkit/issues/777) [#1194](https://github.com/AlaskaAirlines/auro-formkit/issues/1194) [#1273](https://github.com/AlaskaAirlines/auro-formkit/issues/1273)
13
- * modernize counter example documentation [#1262](https://github.com/AlaskaAirlines/auro-formkit/issues/1262) ([b96e16b](https://github.com/AlaskaAirlines/auro-formkit/commit/b96e16ba77dda295a3cef91fd28483fd31e5bb81))
14
- * modernize datepicker example documentation [#1263](https://github.com/AlaskaAirlines/auro-formkit/issues/1263) ([cece6f3](https://github.com/AlaskaAirlines/auro-formkit/commit/cece6f33648e6f579711d832b4dbebd5a96dad5b)), closes [#1281](https://github.com/AlaskaAirlines/auro-formkit/issues/1281)
15
- * modernize dropdown example documentation [#1264](https://github.com/AlaskaAirlines/auro-formkit/issues/1264) ([fa0644f](https://github.com/AlaskaAirlines/auro-formkit/commit/fa0644f0155ea03411b9c0eb2142c5ce22257444)), closes [#777](https://github.com/AlaskaAirlines/auro-formkit/issues/777) [#1284](https://github.com/AlaskaAirlines/auro-formkit/issues/1284)
16
- * modernize form example documentation [#1259](https://github.com/AlaskaAirlines/auro-formkit/issues/1259) ([47cd1e1](https://github.com/AlaskaAirlines/auro-formkit/commit/47cd1e1f6d1024d39ce932bb4cf4252592d1625b))
17
- * modernize input example documentation [#1265](https://github.com/AlaskaAirlines/auro-formkit/issues/1265) ([d3a659d](https://github.com/AlaskaAirlines/auro-formkit/commit/d3a659d00355085809af3bb45fcc8be85075f844))
18
- * modernize menu example documentation [#1266](https://github.com/AlaskaAirlines/auro-formkit/issues/1266) ([03272ff](https://github.com/AlaskaAirlines/auro-formkit/commit/03272ff9d974749d8ad21600583f526e3125d348)), closes [#1288](https://github.com/AlaskaAirlines/auro-formkit/issues/1288)
19
- * modernize radio example documentation [#1267](https://github.com/AlaskaAirlines/auro-formkit/issues/1267) ([e9f0ee8](https://github.com/AlaskaAirlines/auro-formkit/commit/e9f0ee80f31a209b66b77a4308965bf8043d7ed9))
20
- * modernize select example documentation [#1290](https://github.com/AlaskaAirlines/auro-formkit/issues/1290) ([c222a1d](https://github.com/AlaskaAirlines/auro-formkit/commit/c222a1d13d10ce4924ec8557ddb63674388e52bf)), closes [#1289](https://github.com/AlaskaAirlines/auro-formkit/issues/1289)
6
+ * user input credit card formatting logic [#1324](https://github.com/AlaskaAirlines/auro-formkit/issues/1324) ([d3e120d](https://github.com/AlaskaAirlines/auro-formkit/commit/d3e120db1f14f680d83cd6c5123de0ab1d53da92))
21
7
 
22
8
  ### Changelog
23
9
 
@@ -1685,7 +1685,7 @@ class AuroHelpText extends i$2 {
1685
1685
  }
1686
1686
  }
1687
1687
 
1688
- var formkitVersion = '202601271813';
1688
+ var formkitVersion = '202602060041';
1689
1689
 
1690
1690
  // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1691
1691
  // See LICENSE in the project root for license information.
@@ -1677,7 +1677,7 @@ class AuroHelpText extends i$2 {
1677
1677
  }
1678
1678
  }
1679
1679
 
1680
- var formkitVersion = '202601271813';
1680
+ var formkitVersion = '202602060041';
1681
1681
 
1682
1682
  // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1683
1683
  // See LICENSE in the project root for license information.
@@ -1630,7 +1630,7 @@ class AuroHelpText extends LitElement {
1630
1630
  }
1631
1631
  }
1632
1632
 
1633
- var formkitVersion = '202601271813';
1633
+ var formkitVersion = '202602060041';
1634
1634
 
1635
1635
  // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1636
1636
  // See LICENSE in the project root for license information.
@@ -1630,7 +1630,7 @@ class AuroHelpText extends LitElement {
1630
1630
  }
1631
1631
  }
1632
1632
 
1633
- var formkitVersion = '202601271813';
1633
+ var formkitVersion = '202602060041';
1634
1634
 
1635
1635
  // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1636
1636
  // See LICENSE in the project root for license information.
@@ -4215,7 +4215,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
4215
4215
  }
4216
4216
  };
4217
4217
 
4218
- var formkitVersion$2 = '202601271813';
4218
+ var formkitVersion$2 = '202602060041';
4219
4219
 
4220
4220
  let AuroElement$2 = class AuroElement extends i$3 {
4221
4221
  static get properties() {
@@ -11151,6 +11151,11 @@ class BaseInput extends AuroElement$1 {
11151
11151
  * @returns {void}
11152
11152
  */
11153
11153
  handleInput(event) {
11154
+ // Process credit card type detection and formatting during input
11155
+ if (this.type === 'credit-card') {
11156
+ this.processCreditCard();
11157
+ }
11158
+
11154
11159
  // Sets value property to value of element value (el.value).
11155
11160
  this.value = this.inputElement.value;
11156
11161
 
@@ -11378,6 +11383,7 @@ class BaseInput extends AuroElement$1 {
11378
11383
  */
11379
11384
  processCreditCard() {
11380
11385
  const creditCard = this.matchInputValueToCreditCard();
11386
+ const previousFormat = this.format;
11381
11387
 
11382
11388
  this.format = creditCard.maskFormat;
11383
11389
 
@@ -11390,7 +11396,8 @@ class BaseInput extends AuroElement$1 {
11390
11396
  this.inputIconName = creditCard.cardIcon;
11391
11397
  }
11392
11398
 
11393
- if (this.inputElement) {
11399
+ // Only reconfigure the mask if the format has changed
11400
+ if (this.inputElement && previousFormat !== this.format) {
11394
11401
  this.configureAutoFormatting();
11395
11402
  }
11396
11403
  }
@@ -11851,7 +11858,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
11851
11858
  }
11852
11859
  };
11853
11860
 
11854
- var formkitVersion$1 = '202601271813';
11861
+ var formkitVersion$1 = '202602060041';
11855
11862
 
11856
11863
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
11857
11864
  // See LICENSE in the project root for license information.
@@ -12844,7 +12851,7 @@ class AuroBibtemplate extends i$3 {
12844
12851
  }
12845
12852
  }
12846
12853
 
12847
- var formkitVersion = '202601271813';
12854
+ var formkitVersion = '202602060041';
12848
12855
 
12849
12856
  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}`;
12850
12857
 
@@ -52,6 +52,10 @@
52
52
  <!-- If additional elements are needed for the demo, add them here. -->
53
53
  <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-accordion@latest/+esm" type="module"></script>
54
54
 
55
- <script type="module" data-demo-script="true" src="./index.min.js"></script>
55
+ <script type="module" data-demo-script="true">
56
+ import { initExamples } from "./index.min.js";
57
+
58
+ initExamples();
59
+ </script>
56
60
  </body>
57
61
  </html>
@@ -5,3 +5,18 @@ import '../../menu/src/registered.js';
5
5
 
6
6
  AuroCombobox.register();
7
7
  AuroCombobox.register('custom-combobox');
8
+
9
+ export function initExamples(initCount) {
10
+ initCount = initCount || 0;
11
+
12
+ try {
13
+ // example();
14
+ } catch {
15
+ if (initCount <= 20) {
16
+ // setTimeout handles issue where content is sometimes loaded after the functions get called
17
+ setTimeout(() => {
18
+ initExamples(initCount + 1);
19
+ }, 100);
20
+ }
21
+ }
22
+ }
@@ -4152,7 +4152,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
4152
4152
  }
4153
4153
  };
4154
4154
 
4155
- var formkitVersion$2 = '202601271813';
4155
+ var formkitVersion$2 = '202602060041';
4156
4156
 
4157
4157
  let AuroElement$2 = class AuroElement extends i$3 {
4158
4158
  static get properties() {
@@ -11088,6 +11088,11 @@ class BaseInput extends AuroElement$1 {
11088
11088
  * @returns {void}
11089
11089
  */
11090
11090
  handleInput(event) {
11091
+ // Process credit card type detection and formatting during input
11092
+ if (this.type === 'credit-card') {
11093
+ this.processCreditCard();
11094
+ }
11095
+
11091
11096
  // Sets value property to value of element value (el.value).
11092
11097
  this.value = this.inputElement.value;
11093
11098
 
@@ -11315,6 +11320,7 @@ class BaseInput extends AuroElement$1 {
11315
11320
  */
11316
11321
  processCreditCard() {
11317
11322
  const creditCard = this.matchInputValueToCreditCard();
11323
+ const previousFormat = this.format;
11318
11324
 
11319
11325
  this.format = creditCard.maskFormat;
11320
11326
 
@@ -11327,7 +11333,8 @@ class BaseInput extends AuroElement$1 {
11327
11333
  this.inputIconName = creditCard.cardIcon;
11328
11334
  }
11329
11335
 
11330
- if (this.inputElement) {
11336
+ // Only reconfigure the mask if the format has changed
11337
+ if (this.inputElement && previousFormat !== this.format) {
11331
11338
  this.configureAutoFormatting();
11332
11339
  }
11333
11340
  }
@@ -11788,7 +11795,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
11788
11795
  }
11789
11796
  };
11790
11797
 
11791
- var formkitVersion$1 = '202601271813';
11798
+ var formkitVersion$1 = '202602060041';
11792
11799
 
11793
11800
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
11794
11801
  // See LICENSE in the project root for license information.
@@ -12781,7 +12788,7 @@ class AuroBibtemplate extends i$3 {
12781
12788
  }
12782
12789
  }
12783
12790
 
12784
- var formkitVersion = '202601271813';
12791
+ var formkitVersion = '202602060041';
12785
12792
 
12786
12793
  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}`;
12787
12794
 
@@ -16357,3 +16364,8 @@ AuroMenuOption.register();
16357
16364
 
16358
16365
  AuroCombobox.register();
16359
16366
  AuroCombobox.register('custom-combobox');
16367
+
16368
+ function initExamples(initCount) {
16369
+ }
16370
+
16371
+ export { initExamples };
@@ -4089,7 +4089,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
4089
4089
  }
4090
4090
  };
4091
4091
 
4092
- var formkitVersion$2 = '202601271813';
4092
+ var formkitVersion$2 = '202602060041';
4093
4093
 
4094
4094
  let AuroElement$2 = class AuroElement extends LitElement {
4095
4095
  static get properties() {
@@ -11018,6 +11018,11 @@ class BaseInput extends AuroElement$1 {
11018
11018
  * @returns {void}
11019
11019
  */
11020
11020
  handleInput(event) {
11021
+ // Process credit card type detection and formatting during input
11022
+ if (this.type === 'credit-card') {
11023
+ this.processCreditCard();
11024
+ }
11025
+
11021
11026
  // Sets value property to value of element value (el.value).
11022
11027
  this.value = this.inputElement.value;
11023
11028
 
@@ -11245,6 +11250,7 @@ class BaseInput extends AuroElement$1 {
11245
11250
  */
11246
11251
  processCreditCard() {
11247
11252
  const creditCard = this.matchInputValueToCreditCard();
11253
+ const previousFormat = this.format;
11248
11254
 
11249
11255
  this.format = creditCard.maskFormat;
11250
11256
 
@@ -11257,7 +11263,8 @@ class BaseInput extends AuroElement$1 {
11257
11263
  this.inputIconName = creditCard.cardIcon;
11258
11264
  }
11259
11265
 
11260
- if (this.inputElement) {
11266
+ // Only reconfigure the mask if the format has changed
11267
+ if (this.inputElement && previousFormat !== this.format) {
11261
11268
  this.configureAutoFormatting();
11262
11269
  }
11263
11270
  }
@@ -11718,7 +11725,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
11718
11725
  }
11719
11726
  };
11720
11727
 
11721
- var formkitVersion$1 = '202601271813';
11728
+ var formkitVersion$1 = '202602060041';
11722
11729
 
11723
11730
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
11724
11731
  // See LICENSE in the project root for license information.
@@ -12711,7 +12718,7 @@ class AuroBibtemplate extends LitElement {
12711
12718
  }
12712
12719
  }
12713
12720
 
12714
- var formkitVersion = '202601271813';
12721
+ var formkitVersion = '202602060041';
12715
12722
 
12716
12723
  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}`;
12717
12724
 
@@ -4089,7 +4089,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
4089
4089
  }
4090
4090
  };
4091
4091
 
4092
- var formkitVersion$2 = '202601271813';
4092
+ var formkitVersion$2 = '202602060041';
4093
4093
 
4094
4094
  let AuroElement$2 = class AuroElement extends LitElement {
4095
4095
  static get properties() {
@@ -11018,6 +11018,11 @@ class BaseInput extends AuroElement$1 {
11018
11018
  * @returns {void}
11019
11019
  */
11020
11020
  handleInput(event) {
11021
+ // Process credit card type detection and formatting during input
11022
+ if (this.type === 'credit-card') {
11023
+ this.processCreditCard();
11024
+ }
11025
+
11021
11026
  // Sets value property to value of element value (el.value).
11022
11027
  this.value = this.inputElement.value;
11023
11028
 
@@ -11245,6 +11250,7 @@ class BaseInput extends AuroElement$1 {
11245
11250
  */
11246
11251
  processCreditCard() {
11247
11252
  const creditCard = this.matchInputValueToCreditCard();
11253
+ const previousFormat = this.format;
11248
11254
 
11249
11255
  this.format = creditCard.maskFormat;
11250
11256
 
@@ -11257,7 +11263,8 @@ class BaseInput extends AuroElement$1 {
11257
11263
  this.inputIconName = creditCard.cardIcon;
11258
11264
  }
11259
11265
 
11260
- if (this.inputElement) {
11266
+ // Only reconfigure the mask if the format has changed
11267
+ if (this.inputElement && previousFormat !== this.format) {
11261
11268
  this.configureAutoFormatting();
11262
11269
  }
11263
11270
  }
@@ -11718,7 +11725,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
11718
11725
  }
11719
11726
  };
11720
11727
 
11721
- var formkitVersion$1 = '202601271813';
11728
+ var formkitVersion$1 = '202602060041';
11722
11729
 
11723
11730
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
11724
11731
  // See LICENSE in the project root for license information.
@@ -12711,7 +12718,7 @@ class AuroBibtemplate extends LitElement {
12711
12718
  }
12712
12719
  }
12713
12720
 
12714
- var formkitVersion = '202601271813';
12721
+ var formkitVersion = '202602060041';
12715
12722
 
12716
12723
  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}`;
12717
12724
 
@@ -1436,7 +1436,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
1436
1436
  }
1437
1437
  };
1438
1438
 
1439
- var formkitVersion$1 = '202601271813';
1439
+ var formkitVersion$1 = '202602060041';
1440
1440
 
1441
1441
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1442
1442
  // See LICENSE in the project root for license information.
@@ -4969,7 +4969,7 @@ class AuroHelpText extends i$2 {
4969
4969
  }
4970
4970
  }
4971
4971
 
4972
- var formkitVersion = '202601271813';
4972
+ var formkitVersion = '202602060041';
4973
4973
 
4974
4974
  let AuroElement$1 = class AuroElement extends i$2 {
4975
4975
  static get properties() {
@@ -1436,7 +1436,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
1436
1436
  }
1437
1437
  };
1438
1438
 
1439
- var formkitVersion$1 = '202601271813';
1439
+ var formkitVersion$1 = '202602060041';
1440
1440
 
1441
1441
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1442
1442
  // See LICENSE in the project root for license information.
@@ -4969,7 +4969,7 @@ class AuroHelpText extends i$2 {
4969
4969
  }
4970
4970
  }
4971
4971
 
4972
- var formkitVersion = '202601271813';
4972
+ var formkitVersion = '202602060041';
4973
4973
 
4974
4974
  let AuroElement$1 = class AuroElement extends i$2 {
4975
4975
  static get properties() {
@@ -1390,7 +1390,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
1390
1390
  }
1391
1391
  };
1392
1392
 
1393
- var formkitVersion$1 = '202601271813';
1393
+ var formkitVersion$1 = '202602060041';
1394
1394
 
1395
1395
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1396
1396
  // See LICENSE in the project root for license information.
@@ -4905,7 +4905,7 @@ class AuroHelpText extends LitElement {
4905
4905
  }
4906
4906
  }
4907
4907
 
4908
- var formkitVersion = '202601271813';
4908
+ var formkitVersion = '202602060041';
4909
4909
 
4910
4910
  let AuroElement$1 = class AuroElement extends LitElement {
4911
4911
  static get properties() {
@@ -1390,7 +1390,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
1390
1390
  }
1391
1391
  };
1392
1392
 
1393
- var formkitVersion$1 = '202601271813';
1393
+ var formkitVersion$1 = '202602060041';
1394
1394
 
1395
1395
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1396
1396
  // See LICENSE in the project root for license information.
@@ -4905,7 +4905,7 @@ class AuroHelpText extends LitElement {
4905
4905
  }
4906
4906
  }
4907
4907
 
4908
- var formkitVersion = '202601271813';
4908
+ var formkitVersion = '202602060041';
4909
4909
 
4910
4910
  let AuroElement$1 = class AuroElement extends LitElement {
4911
4911
  static get properties() {
@@ -9527,7 +9527,7 @@ class AuroBibtemplate extends i {
9527
9527
  }
9528
9528
  }
9529
9529
 
9530
- var formkitVersion$2 = '202601271813';
9530
+ var formkitVersion$2 = '202602060041';
9531
9531
 
9532
9532
  let l$1 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(o,s,a){const r=this.generateElementName(o,s),i=i$4`${s$5(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1 = class d{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`);return (o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim()||null}};let h$3 = class h{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}};var c$3=i$2`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]){--ds-auro-loader-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
9533
9533
  `,u$6=i$2`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, .875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, .75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, .625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, .875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, .05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, .05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, .05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, .05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, .05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, .1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(.875rem, 1.1666666667vw, .875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin) * 6);height:1.5rem}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(2.55rem + var(--margin-xs) * 6);height:1.55rem}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:2.5rem}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:3.5rem}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:5.5rem}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-.4s}:host([pulse])>span:nth-child(2){animation-delay:-.2s}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}:host>.no-animation{display:none}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>span{opacity:1}:host>.loader{display:none}:host>svg{display:none}:host>.no-animation{display:block}}
@@ -13098,7 +13098,7 @@ let AuroHelpText$2 = class AuroHelpText extends i {
13098
13098
  }
13099
13099
  };
13100
13100
 
13101
- var formkitVersion$1 = '202601271813';
13101
+ var formkitVersion$1 = '202602060041';
13102
13102
 
13103
13103
  let AuroElement$2 = class AuroElement extends i {
13104
13104
  static get properties() {
@@ -20034,6 +20034,11 @@ class BaseInput extends AuroElement$1 {
20034
20034
  * @returns {void}
20035
20035
  */
20036
20036
  handleInput(event) {
20037
+ // Process credit card type detection and formatting during input
20038
+ if (this.type === 'credit-card') {
20039
+ this.processCreditCard();
20040
+ }
20041
+
20037
20042
  // Sets value property to value of element value (el.value).
20038
20043
  this.value = this.inputElement.value;
20039
20044
 
@@ -20261,6 +20266,7 @@ class BaseInput extends AuroElement$1 {
20261
20266
  */
20262
20267
  processCreditCard() {
20263
20268
  const creditCard = this.matchInputValueToCreditCard();
20269
+ const previousFormat = this.format;
20264
20270
 
20265
20271
  this.format = creditCard.maskFormat;
20266
20272
 
@@ -20273,7 +20279,8 @@ class BaseInput extends AuroElement$1 {
20273
20279
  this.inputIconName = creditCard.cardIcon;
20274
20280
  }
20275
20281
 
20276
- if (this.inputElement) {
20282
+ // Only reconfigure the mask if the format has changed
20283
+ if (this.inputElement && previousFormat !== this.format) {
20277
20284
  this.configureAutoFormatting();
20278
20285
  }
20279
20286
  }
@@ -20734,7 +20741,7 @@ let AuroHelpText$1 = class AuroHelpText extends i {
20734
20741
  }
20735
20742
  };
20736
20743
 
20737
- var formkitVersion = '202601271813';
20744
+ var formkitVersion = '202602060041';
20738
20745
 
20739
20746
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
20740
20747
  // See LICENSE in the project root for license information.
@@ -9268,7 +9268,7 @@ class AuroBibtemplate extends i {
9268
9268
  }
9269
9269
  }
9270
9270
 
9271
- var formkitVersion$2 = '202601271813';
9271
+ var formkitVersion$2 = '202602060041';
9272
9272
 
9273
9273
  let l$1 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(o,s,a){const r=this.generateElementName(o,s),i=i$4`${s$5(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1 = class d{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`);return (o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim()||null}};let h$3 = class h{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}};var c$3=i$2`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]){--ds-auro-loader-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
9274
9274
  `,u$6=i$2`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, .875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, .75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, .625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, .875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, .05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, .05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, .05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, .05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, .05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, .1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(.875rem, 1.1666666667vw, .875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin) * 6);height:1.5rem}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(2.55rem + var(--margin-xs) * 6);height:1.55rem}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:2.5rem}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:3.5rem}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:5.5rem}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-.4s}:host([pulse])>span:nth-child(2){animation-delay:-.2s}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}:host>.no-animation{display:none}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>span{opacity:1}:host>.loader{display:none}:host>svg{display:none}:host>.no-animation{display:block}}
@@ -12839,7 +12839,7 @@ let AuroHelpText$2 = class AuroHelpText extends i {
12839
12839
  }
12840
12840
  };
12841
12841
 
12842
- var formkitVersion$1 = '202601271813';
12842
+ var formkitVersion$1 = '202602060041';
12843
12843
 
12844
12844
  let AuroElement$2 = class AuroElement extends i {
12845
12845
  static get properties() {
@@ -19775,6 +19775,11 @@ class BaseInput extends AuroElement$1 {
19775
19775
  * @returns {void}
19776
19776
  */
19777
19777
  handleInput(event) {
19778
+ // Process credit card type detection and formatting during input
19779
+ if (this.type === 'credit-card') {
19780
+ this.processCreditCard();
19781
+ }
19782
+
19778
19783
  // Sets value property to value of element value (el.value).
19779
19784
  this.value = this.inputElement.value;
19780
19785
 
@@ -20002,6 +20007,7 @@ class BaseInput extends AuroElement$1 {
20002
20007
  */
20003
20008
  processCreditCard() {
20004
20009
  const creditCard = this.matchInputValueToCreditCard();
20010
+ const previousFormat = this.format;
20005
20011
 
20006
20012
  this.format = creditCard.maskFormat;
20007
20013
 
@@ -20014,7 +20020,8 @@ class BaseInput extends AuroElement$1 {
20014
20020
  this.inputIconName = creditCard.cardIcon;
20015
20021
  }
20016
20022
 
20017
- if (this.inputElement) {
20023
+ // Only reconfigure the mask if the format has changed
20024
+ if (this.inputElement && previousFormat !== this.format) {
20018
20025
  this.configureAutoFormatting();
20019
20026
  }
20020
20027
  }
@@ -20475,7 +20482,7 @@ let AuroHelpText$1 = class AuroHelpText extends i {
20475
20482
  }
20476
20483
  };
20477
20484
 
20478
- var formkitVersion = '202601271813';
20485
+ var formkitVersion = '202602060041';
20479
20486
 
20480
20487
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
20481
20488
  // See LICENSE in the project root for license information.