@aurodesignsystem-dev/auro-formkit 0.0.0-pr1323.0 → 0.0.0-pr1325.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/components/checkbox/demo/api.min.js +1 -1
  2. package/components/checkbox/demo/index.min.js +1 -1
  3. package/components/checkbox/dist/index.js +1 -1
  4. package/components/checkbox/dist/registered.js +1 -1
  5. package/components/combobox/demo/api.md +1 -1
  6. package/components/combobox/demo/api.min.js +14 -6
  7. package/components/combobox/demo/index.min.js +14 -6
  8. package/components/combobox/dist/auro-combobox.d.ts +2 -5
  9. package/components/combobox/dist/index.js +14 -6
  10. package/components/combobox/dist/registered.js +14 -6
  11. package/components/counter/demo/api.min.js +2 -2
  12. package/components/counter/demo/index.min.js +2 -2
  13. package/components/counter/dist/index.js +2 -2
  14. package/components/counter/dist/registered.js +2 -2
  15. package/components/datepicker/demo/api.min.js +13 -5
  16. package/components/datepicker/demo/index.min.js +13 -5
  17. package/components/datepicker/dist/index.js +13 -5
  18. package/components/datepicker/dist/registered.js +13 -5
  19. package/components/dropdown/demo/api.min.js +1 -1
  20. package/components/dropdown/demo/index.min.js +1 -1
  21. package/components/dropdown/dist/index.js +1 -1
  22. package/components/dropdown/dist/registered.js +1 -1
  23. package/components/input/demo/api.md +2 -2
  24. package/components/input/demo/api.min.js +11 -3
  25. package/components/input/demo/index.min.js +11 -3
  26. package/components/input/dist/auro-input.d.ts +1 -0
  27. package/components/input/dist/base-input.d.ts +1 -1
  28. package/components/input/dist/index.js +11 -3
  29. package/components/input/dist/registered.js +11 -3
  30. package/components/radio/demo/api.min.js +1 -1
  31. package/components/radio/demo/index.min.js +1 -1
  32. package/components/radio/dist/index.js +1 -1
  33. package/components/radio/dist/registered.js +1 -1
  34. package/components/select/demo/api.min.js +2 -2
  35. package/components/select/demo/index.min.js +2 -2
  36. package/components/select/dist/index.js +2 -2
  37. package/components/select/dist/registered.js +2 -2
  38. package/custom-elements.json +9 -4
  39. package/package.json +1 -1
@@ -1687,7 +1687,7 @@ class AuroHelpText extends i$2 {
1687
1687
  }
1688
1688
  }
1689
1689
 
1690
- var formkitVersion = '202602040023';
1690
+ var formkitVersion = '202602052209';
1691
1691
 
1692
1692
  // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1693
1693
  // See LICENSE in the project root for license information.
@@ -1679,7 +1679,7 @@ class AuroHelpText extends i$2 {
1679
1679
  }
1680
1680
  }
1681
1681
 
1682
- var formkitVersion = '202602040023';
1682
+ var formkitVersion = '202602052209';
1683
1683
 
1684
1684
  // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1685
1685
  // See LICENSE in the project root for license information.
@@ -1632,7 +1632,7 @@ class AuroHelpText extends LitElement {
1632
1632
  }
1633
1633
  }
1634
1634
 
1635
- var formkitVersion = '202602040023';
1635
+ var formkitVersion = '202602052209';
1636
1636
 
1637
1637
  // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1638
1638
  // See LICENSE in the project root for license information.
@@ -1632,7 +1632,7 @@ class AuroHelpText extends LitElement {
1632
1632
  }
1633
1633
  }
1634
1634
 
1635
- var formkitVersion = '202602040023';
1635
+ var formkitVersion = '202602052209';
1636
1636
 
1637
1637
  // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1638
1638
  // See LICENSE in the project root for license information.
@@ -9,7 +9,7 @@ The `auro-combobox` element provides users with a way to select an option from a
9
9
 
10
10
  | Property | Attribute | Modifiers | Type | Default | Description |
11
11
  |---------------------------------------|---------------------------------------|-----------|--------------------------------------------------|------------------|--------------------------------------------------|
12
- | [appearance](#appearance) | `appearance` | | `string` | "'default'" | Defines whether the component will be on lighter or darker backgrounds. |
12
+ | [appearance](#appearance) | `appearance` | | `'default' \| 'inverse'` | "'default'" | Defines whether the component will be on lighter or darker backgrounds. |
13
13
  | [autoPlacement](#autoPlacement) | `autoPlacement` | | `boolean` | | If declared, bib's position will be automatically calculated where to appear. |
14
14
  | [autocomplete](#autocomplete) | `autocomplete` | | `string` | | An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported. |
15
15
  | [behavior](#behavior) | `behavior` | | `'filter' \| 'suggestion'` | "'suggestion'" | Sets the behavior of the combobox, "filter" or "suggestion".<br />"filter" requires the user to select an option from the menu.<br />"suggestion" allows the user to enter a value not present in the menu options. |
@@ -4375,7 +4375,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
4375
4375
  }
4376
4376
  };
4377
4377
 
4378
- var formkitVersion$2 = '202602040023';
4378
+ var formkitVersion$2 = '202602052209';
4379
4379
 
4380
4380
  let AuroElement$2 = class AuroElement extends i$4 {
4381
4381
  static get properties() {
@@ -11307,6 +11307,11 @@ class BaseInput extends AuroElement$1 {
11307
11307
  * @returns {void}
11308
11308
  */
11309
11309
  handleInput(event) {
11310
+ // Process credit card type detection and formatting during input
11311
+ if (this.type === 'credit-card') {
11312
+ this.processCreditCard();
11313
+ }
11314
+
11310
11315
  // Sets value property to value of element value (el.value).
11311
11316
  this.value = this.inputElement.value;
11312
11317
 
@@ -11499,7 +11504,7 @@ class BaseInput extends AuroElement$1 {
11499
11504
  /**
11500
11505
  * Support placeholder text.
11501
11506
  * @private
11502
- * @returns {void}
11507
+ * @returns {string}
11503
11508
  */
11504
11509
  get placeholderStr() {
11505
11510
  if (!this.placeholder && this.type === 'date') {
@@ -11548,6 +11553,7 @@ class BaseInput extends AuroElement$1 {
11548
11553
  */
11549
11554
  processCreditCard() {
11550
11555
  const creditCard = this.matchInputValueToCreditCard();
11556
+ const previousFormat = this.format;
11551
11557
 
11552
11558
  this.format = creditCard.maskFormat;
11553
11559
 
@@ -11560,7 +11566,8 @@ class BaseInput extends AuroElement$1 {
11560
11566
  this.inputIconName = creditCard.cardIcon;
11561
11567
  }
11562
11568
 
11563
- if (this.inputElement) {
11569
+ // Only reconfigure the mask if the format has changed
11570
+ if (this.inputElement && previousFormat !== this.format) {
11564
11571
  this.configureAutoFormatting();
11565
11572
  }
11566
11573
  }
@@ -12021,7 +12028,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
12021
12028
  }
12022
12029
  };
12023
12030
 
12024
- var formkitVersion$1 = '202602040023';
12031
+ var formkitVersion$1 = '202602052209';
12025
12032
 
12026
12033
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12027
12034
  // See LICENSE in the project root for license information.
@@ -12223,6 +12230,7 @@ class AuroInput extends BaseInput {
12223
12230
  /**
12224
12231
  * Common display value wrapper classes.
12225
12232
  * @private
12233
+ * @returns {Record<string, boolean>} - Returns classmap.
12226
12234
  */
12227
12235
  get commonDisplayValueWrapperClasses() {
12228
12236
  return {
@@ -13046,7 +13054,7 @@ class AuroBibtemplate extends i$4 {
13046
13054
  }
13047
13055
  }
13048
13056
 
13049
- var formkitVersion = '202602040023';
13057
+ var formkitVersion = '202602052209';
13050
13058
 
13051
13059
  var styleCss$3 = i$7`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
13052
13060
 
@@ -13482,7 +13490,7 @@ class AuroCombobox extends AuroElement {
13482
13490
 
13483
13491
  /**
13484
13492
  * Defines whether the component will be on lighter or darker backgrounds.
13485
- * @property {'default' | 'inverse'}
13493
+ * @type {'default' | 'inverse'}
13486
13494
  * @default 'default'
13487
13495
  */
13488
13496
  appearance: {
@@ -4312,7 +4312,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
4312
4312
  }
4313
4313
  };
4314
4314
 
4315
- var formkitVersion$2 = '202602040023';
4315
+ var formkitVersion$2 = '202602052209';
4316
4316
 
4317
4317
  let AuroElement$2 = class AuroElement extends i$4 {
4318
4318
  static get properties() {
@@ -11244,6 +11244,11 @@ class BaseInput extends AuroElement$1 {
11244
11244
  * @returns {void}
11245
11245
  */
11246
11246
  handleInput(event) {
11247
+ // Process credit card type detection and formatting during input
11248
+ if (this.type === 'credit-card') {
11249
+ this.processCreditCard();
11250
+ }
11251
+
11247
11252
  // Sets value property to value of element value (el.value).
11248
11253
  this.value = this.inputElement.value;
11249
11254
 
@@ -11436,7 +11441,7 @@ class BaseInput extends AuroElement$1 {
11436
11441
  /**
11437
11442
  * Support placeholder text.
11438
11443
  * @private
11439
- * @returns {void}
11444
+ * @returns {string}
11440
11445
  */
11441
11446
  get placeholderStr() {
11442
11447
  if (!this.placeholder && this.type === 'date') {
@@ -11485,6 +11490,7 @@ class BaseInput extends AuroElement$1 {
11485
11490
  */
11486
11491
  processCreditCard() {
11487
11492
  const creditCard = this.matchInputValueToCreditCard();
11493
+ const previousFormat = this.format;
11488
11494
 
11489
11495
  this.format = creditCard.maskFormat;
11490
11496
 
@@ -11497,7 +11503,8 @@ class BaseInput extends AuroElement$1 {
11497
11503
  this.inputIconName = creditCard.cardIcon;
11498
11504
  }
11499
11505
 
11500
- if (this.inputElement) {
11506
+ // Only reconfigure the mask if the format has changed
11507
+ if (this.inputElement && previousFormat !== this.format) {
11501
11508
  this.configureAutoFormatting();
11502
11509
  }
11503
11510
  }
@@ -11958,7 +11965,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
11958
11965
  }
11959
11966
  };
11960
11967
 
11961
- var formkitVersion$1 = '202602040023';
11968
+ var formkitVersion$1 = '202602052209';
11962
11969
 
11963
11970
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
11964
11971
  // See LICENSE in the project root for license information.
@@ -12160,6 +12167,7 @@ class AuroInput extends BaseInput {
12160
12167
  /**
12161
12168
  * Common display value wrapper classes.
12162
12169
  * @private
12170
+ * @returns {Record<string, boolean>} - Returns classmap.
12163
12171
  */
12164
12172
  get commonDisplayValueWrapperClasses() {
12165
12173
  return {
@@ -12983,7 +12991,7 @@ class AuroBibtemplate extends i$4 {
12983
12991
  }
12984
12992
  }
12985
12993
 
12986
- var formkitVersion = '202602040023';
12994
+ var formkitVersion = '202602052209';
12987
12995
 
12988
12996
  var styleCss$3 = i$7`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
12989
12997
 
@@ -13419,7 +13427,7 @@ class AuroCombobox extends AuroElement {
13419
13427
 
13420
13428
  /**
13421
13429
  * Defines whether the component will be on lighter or darker backgrounds.
13422
- * @property {'default' | 'inverse'}
13430
+ * @type {'default' | 'inverse'}
13423
13431
  * @default 'default'
13424
13432
  */
13425
13433
  appearance: {
@@ -19,13 +19,10 @@ export class AuroCombobox extends AuroElement {
19
19
  static get properties(): {
20
20
  /**
21
21
  * Defines whether the component will be on lighter or darker backgrounds.
22
- * @property {'default' | 'inverse'}
22
+ * @type {'default' | 'inverse'}
23
23
  * @default 'default'
24
24
  */
25
- appearance: {
26
- type: StringConstructor;
27
- reflect: boolean;
28
- };
25
+ appearance: "default" | "inverse";
29
26
  /**
30
27
  * An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
31
28
  */
@@ -4249,7 +4249,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
4249
4249
  }
4250
4250
  };
4251
4251
 
4252
- var formkitVersion$2 = '202602040023';
4252
+ var formkitVersion$2 = '202602052209';
4253
4253
 
4254
4254
  let AuroElement$2 = class AuroElement extends LitElement {
4255
4255
  static get properties() {
@@ -11174,6 +11174,11 @@ class BaseInput extends AuroElement$1 {
11174
11174
  * @returns {void}
11175
11175
  */
11176
11176
  handleInput(event) {
11177
+ // Process credit card type detection and formatting during input
11178
+ if (this.type === 'credit-card') {
11179
+ this.processCreditCard();
11180
+ }
11181
+
11177
11182
  // Sets value property to value of element value (el.value).
11178
11183
  this.value = this.inputElement.value;
11179
11184
 
@@ -11366,7 +11371,7 @@ class BaseInput extends AuroElement$1 {
11366
11371
  /**
11367
11372
  * Support placeholder text.
11368
11373
  * @private
11369
- * @returns {void}
11374
+ * @returns {string}
11370
11375
  */
11371
11376
  get placeholderStr() {
11372
11377
  if (!this.placeholder && this.type === 'date') {
@@ -11415,6 +11420,7 @@ class BaseInput extends AuroElement$1 {
11415
11420
  */
11416
11421
  processCreditCard() {
11417
11422
  const creditCard = this.matchInputValueToCreditCard();
11423
+ const previousFormat = this.format;
11418
11424
 
11419
11425
  this.format = creditCard.maskFormat;
11420
11426
 
@@ -11427,7 +11433,8 @@ class BaseInput extends AuroElement$1 {
11427
11433
  this.inputIconName = creditCard.cardIcon;
11428
11434
  }
11429
11435
 
11430
- if (this.inputElement) {
11436
+ // Only reconfigure the mask if the format has changed
11437
+ if (this.inputElement && previousFormat !== this.format) {
11431
11438
  this.configureAutoFormatting();
11432
11439
  }
11433
11440
  }
@@ -11888,7 +11895,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
11888
11895
  }
11889
11896
  };
11890
11897
 
11891
- var formkitVersion$1 = '202602040023';
11898
+ var formkitVersion$1 = '202602052209';
11892
11899
 
11893
11900
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
11894
11901
  // See LICENSE in the project root for license information.
@@ -12090,6 +12097,7 @@ class AuroInput extends BaseInput {
12090
12097
  /**
12091
12098
  * Common display value wrapper classes.
12092
12099
  * @private
12100
+ * @returns {Record<string, boolean>} - Returns classmap.
12093
12101
  */
12094
12102
  get commonDisplayValueWrapperClasses() {
12095
12103
  return {
@@ -12913,7 +12921,7 @@ class AuroBibtemplate extends LitElement {
12913
12921
  }
12914
12922
  }
12915
12923
 
12916
- var formkitVersion = '202602040023';
12924
+ var formkitVersion = '202602052209';
12917
12925
 
12918
12926
  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}`;
12919
12927
 
@@ -13349,7 +13357,7 @@ class AuroCombobox extends AuroElement {
13349
13357
 
13350
13358
  /**
13351
13359
  * Defines whether the component will be on lighter or darker backgrounds.
13352
- * @property {'default' | 'inverse'}
13360
+ * @type {'default' | 'inverse'}
13353
13361
  * @default 'default'
13354
13362
  */
13355
13363
  appearance: {
@@ -4249,7 +4249,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
4249
4249
  }
4250
4250
  };
4251
4251
 
4252
- var formkitVersion$2 = '202602040023';
4252
+ var formkitVersion$2 = '202602052209';
4253
4253
 
4254
4254
  let AuroElement$2 = class AuroElement extends LitElement {
4255
4255
  static get properties() {
@@ -11174,6 +11174,11 @@ class BaseInput extends AuroElement$1 {
11174
11174
  * @returns {void}
11175
11175
  */
11176
11176
  handleInput(event) {
11177
+ // Process credit card type detection and formatting during input
11178
+ if (this.type === 'credit-card') {
11179
+ this.processCreditCard();
11180
+ }
11181
+
11177
11182
  // Sets value property to value of element value (el.value).
11178
11183
  this.value = this.inputElement.value;
11179
11184
 
@@ -11366,7 +11371,7 @@ class BaseInput extends AuroElement$1 {
11366
11371
  /**
11367
11372
  * Support placeholder text.
11368
11373
  * @private
11369
- * @returns {void}
11374
+ * @returns {string}
11370
11375
  */
11371
11376
  get placeholderStr() {
11372
11377
  if (!this.placeholder && this.type === 'date') {
@@ -11415,6 +11420,7 @@ class BaseInput extends AuroElement$1 {
11415
11420
  */
11416
11421
  processCreditCard() {
11417
11422
  const creditCard = this.matchInputValueToCreditCard();
11423
+ const previousFormat = this.format;
11418
11424
 
11419
11425
  this.format = creditCard.maskFormat;
11420
11426
 
@@ -11427,7 +11433,8 @@ class BaseInput extends AuroElement$1 {
11427
11433
  this.inputIconName = creditCard.cardIcon;
11428
11434
  }
11429
11435
 
11430
- if (this.inputElement) {
11436
+ // Only reconfigure the mask if the format has changed
11437
+ if (this.inputElement && previousFormat !== this.format) {
11431
11438
  this.configureAutoFormatting();
11432
11439
  }
11433
11440
  }
@@ -11888,7 +11895,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
11888
11895
  }
11889
11896
  };
11890
11897
 
11891
- var formkitVersion$1 = '202602040023';
11898
+ var formkitVersion$1 = '202602052209';
11892
11899
 
11893
11900
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
11894
11901
  // See LICENSE in the project root for license information.
@@ -12090,6 +12097,7 @@ class AuroInput extends BaseInput {
12090
12097
  /**
12091
12098
  * Common display value wrapper classes.
12092
12099
  * @private
12100
+ * @returns {Record<string, boolean>} - Returns classmap.
12093
12101
  */
12094
12102
  get commonDisplayValueWrapperClasses() {
12095
12103
  return {
@@ -12913,7 +12921,7 @@ class AuroBibtemplate extends LitElement {
12913
12921
  }
12914
12922
  }
12915
12923
 
12916
- var formkitVersion = '202602040023';
12924
+ var formkitVersion = '202602052209';
12917
12925
 
12918
12926
  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}`;
12919
12927
 
@@ -13349,7 +13357,7 @@ class AuroCombobox extends AuroElement {
13349
13357
 
13350
13358
  /**
13351
13359
  * Defines whether the component will be on lighter or darker backgrounds.
13352
- * @property {'default' | 'inverse'}
13360
+ * @type {'default' | 'inverse'}
13353
13361
  * @default 'default'
13354
13362
  */
13355
13363
  appearance: {
@@ -1442,7 +1442,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
1442
1442
  }
1443
1443
  };
1444
1444
 
1445
- var formkitVersion$1 = '202602040023';
1445
+ var formkitVersion$1 = '202602052209';
1446
1446
 
1447
1447
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1448
1448
  // See LICENSE in the project root for license information.
@@ -5135,7 +5135,7 @@ class AuroHelpText extends i$2 {
5135
5135
  }
5136
5136
  }
5137
5137
 
5138
- var formkitVersion = '202602040023';
5138
+ var formkitVersion = '202602052209';
5139
5139
 
5140
5140
  let AuroElement$1 = class AuroElement extends i$2 {
5141
5141
  static get properties() {
@@ -1442,7 +1442,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
1442
1442
  }
1443
1443
  };
1444
1444
 
1445
- var formkitVersion$1 = '202602040023';
1445
+ var formkitVersion$1 = '202602052209';
1446
1446
 
1447
1447
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1448
1448
  // See LICENSE in the project root for license information.
@@ -5135,7 +5135,7 @@ class AuroHelpText extends i$2 {
5135
5135
  }
5136
5136
  }
5137
5137
 
5138
- var formkitVersion = '202602040023';
5138
+ var formkitVersion = '202602052209';
5139
5139
 
5140
5140
  let AuroElement$1 = class AuroElement extends i$2 {
5141
5141
  static get properties() {
@@ -1392,7 +1392,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
1392
1392
  }
1393
1393
  };
1394
1394
 
1395
- var formkitVersion$1 = '202602040023';
1395
+ var formkitVersion$1 = '202602052209';
1396
1396
 
1397
1397
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1398
1398
  // See LICENSE in the project root for license information.
@@ -5067,7 +5067,7 @@ class AuroHelpText extends LitElement {
5067
5067
  }
5068
5068
  }
5069
5069
 
5070
- var formkitVersion = '202602040023';
5070
+ var formkitVersion = '202602052209';
5071
5071
 
5072
5072
  let AuroElement$1 = class AuroElement extends LitElement {
5073
5073
  static get properties() {
@@ -1392,7 +1392,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
1392
1392
  }
1393
1393
  };
1394
1394
 
1395
- var formkitVersion$1 = '202602040023';
1395
+ var formkitVersion$1 = '202602052209';
1396
1396
 
1397
1397
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1398
1398
  // See LICENSE in the project root for license information.
@@ -5067,7 +5067,7 @@ class AuroHelpText extends LitElement {
5067
5067
  }
5068
5068
  }
5069
5069
 
5070
- var formkitVersion = '202602040023';
5070
+ var formkitVersion = '202602052209';
5071
5071
 
5072
5072
  let AuroElement$1 = class AuroElement extends LitElement {
5073
5073
  static get properties() {
@@ -9537,7 +9537,7 @@ class AuroBibtemplate extends i$1 {
9537
9537
  }
9538
9538
  }
9539
9539
 
9540
- var formkitVersion$2 = '202602040023';
9540
+ var formkitVersion$2 = '202602052209';
9541
9541
 
9542
9542
  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$5`${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}"]`),s=(o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim();return s||null}};let h$4 = 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$3`: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]),:host([appearance=brand]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]),:host([appearance=inverse]){--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}
9543
9543
  `,u$6=i$3`.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;box-sizing:border-box}: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:calc(1rem + var(--margin) * 2)}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(1.95rem + var(--margin-xs) * 6);height:calc(.65rem + var(--margin-xs) * 2)}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:calc(2rem + var(--margin-sm) * 2)}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:calc(3rem + var(--margin-md) * 2)}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:calc(5rem + var(--margin-lg) * 2)}: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}}
@@ -13268,7 +13268,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
13268
13268
  }
13269
13269
  };
13270
13270
 
13271
- var formkitVersion$1 = '202602040023';
13271
+ var formkitVersion$1 = '202602052209';
13272
13272
 
13273
13273
  let AuroElement$2 = class AuroElement extends i$1 {
13274
13274
  static get properties() {
@@ -20200,6 +20200,11 @@ class BaseInput extends AuroElement$1 {
20200
20200
  * @returns {void}
20201
20201
  */
20202
20202
  handleInput(event) {
20203
+ // Process credit card type detection and formatting during input
20204
+ if (this.type === 'credit-card') {
20205
+ this.processCreditCard();
20206
+ }
20207
+
20203
20208
  // Sets value property to value of element value (el.value).
20204
20209
  this.value = this.inputElement.value;
20205
20210
 
@@ -20392,7 +20397,7 @@ class BaseInput extends AuroElement$1 {
20392
20397
  /**
20393
20398
  * Support placeholder text.
20394
20399
  * @private
20395
- * @returns {void}
20400
+ * @returns {string}
20396
20401
  */
20397
20402
  get placeholderStr() {
20398
20403
  if (!this.placeholder && this.type === 'date') {
@@ -20441,6 +20446,7 @@ class BaseInput extends AuroElement$1 {
20441
20446
  */
20442
20447
  processCreditCard() {
20443
20448
  const creditCard = this.matchInputValueToCreditCard();
20449
+ const previousFormat = this.format;
20444
20450
 
20445
20451
  this.format = creditCard.maskFormat;
20446
20452
 
@@ -20453,7 +20459,8 @@ class BaseInput extends AuroElement$1 {
20453
20459
  this.inputIconName = creditCard.cardIcon;
20454
20460
  }
20455
20461
 
20456
- if (this.inputElement) {
20462
+ // Only reconfigure the mask if the format has changed
20463
+ if (this.inputElement && previousFormat !== this.format) {
20457
20464
  this.configureAutoFormatting();
20458
20465
  }
20459
20466
  }
@@ -20914,7 +20921,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
20914
20921
  }
20915
20922
  };
20916
20923
 
20917
- var formkitVersion = '202602040023';
20924
+ var formkitVersion = '202602052209';
20918
20925
 
20919
20926
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
20920
20927
  // See LICENSE in the project root for license information.
@@ -21116,6 +21123,7 @@ class AuroInput extends BaseInput {
21116
21123
  /**
21117
21124
  * Common display value wrapper classes.
21118
21125
  * @private
21126
+ * @returns {Record<string, boolean>} - Returns classmap.
21119
21127
  */
21120
21128
  get commonDisplayValueWrapperClasses() {
21121
21129
  return {