@aurodesignsystem-dev/auro-formkit 0.0.0-pr1570.0 → 0.0.0-pr1571.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 (43) hide show
  1. package/components/checkbox/demo/customize.min.js +1 -1
  2. package/components/checkbox/demo/getting-started.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/customize.min.js +49 -7
  7. package/components/combobox/demo/getting-started.min.js +49 -7
  8. package/components/combobox/demo/index.min.js +49 -7
  9. package/components/combobox/dist/index.js +49 -7
  10. package/components/combobox/dist/registered.js +49 -7
  11. package/components/counter/demo/customize.min.js +48 -6
  12. package/components/counter/demo/index.min.js +48 -6
  13. package/components/counter/dist/index.js +48 -6
  14. package/components/counter/dist/registered.js +48 -6
  15. package/components/datepicker/demo/customize.min.js +51 -9
  16. package/components/datepicker/demo/index.min.js +51 -9
  17. package/components/datepicker/dist/index.js +51 -9
  18. package/components/datepicker/dist/registered.js +51 -9
  19. package/components/dropdown/demo/customize.min.js +47 -5
  20. package/components/dropdown/demo/getting-started.min.js +47 -5
  21. package/components/dropdown/demo/index.min.js +47 -5
  22. package/components/dropdown/dist/index.js +47 -5
  23. package/components/dropdown/dist/registered.js +47 -5
  24. package/components/form/demo/customize.min.js +199 -31
  25. package/components/form/demo/getting-started.min.js +199 -31
  26. package/components/form/demo/index.min.js +199 -31
  27. package/components/form/demo/registerDemoDeps.min.js +199 -31
  28. package/components/input/demo/customize.min.js +1 -1
  29. package/components/input/demo/getting-started.min.js +1 -1
  30. package/components/input/demo/index.min.js +1 -1
  31. package/components/input/dist/index.js +1 -1
  32. package/components/input/dist/registered.js +1 -1
  33. package/components/radio/demo/customize.min.js +1 -1
  34. package/components/radio/demo/getting-started.min.js +1 -1
  35. package/components/radio/demo/index.min.js +1 -1
  36. package/components/radio/dist/index.js +1 -1
  37. package/components/radio/dist/registered.js +1 -1
  38. package/components/select/demo/customize.min.js +48 -6
  39. package/components/select/demo/getting-started.min.js +48 -6
  40. package/components/select/demo/index.min.js +48 -6
  41. package/components/select/dist/index.js +48 -6
  42. package/components/select/dist/registered.js +48 -6
  43. package/package.json +2 -1
@@ -1275,7 +1275,7 @@ class AuroHelpText extends i$2 {
1275
1275
  }
1276
1276
  }
1277
1277
 
1278
- var formkitVersion = '202607222048';
1278
+ var formkitVersion = '202607231617';
1279
1279
 
1280
1280
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1281
1281
  // See LICENSE in the project root for license information.
@@ -1275,7 +1275,7 @@ class AuroHelpText extends i$2 {
1275
1275
  }
1276
1276
  }
1277
1277
 
1278
- var formkitVersion = '202607222048';
1278
+ var formkitVersion = '202607231617';
1279
1279
 
1280
1280
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1281
1281
  // See LICENSE in the project root for license information.
@@ -1275,7 +1275,7 @@ class AuroHelpText extends i$2 {
1275
1275
  }
1276
1276
  }
1277
1277
 
1278
- var formkitVersion = '202607222048';
1278
+ var formkitVersion = '202607231617';
1279
1279
 
1280
1280
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1281
1281
  // See LICENSE in the project root for license information.
@@ -1228,7 +1228,7 @@ class AuroHelpText extends LitElement {
1228
1228
  }
1229
1229
  }
1230
1230
 
1231
- var formkitVersion = '202607222048';
1231
+ var formkitVersion = '202607231617';
1232
1232
 
1233
1233
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1234
1234
  // See LICENSE in the project root for license information.
@@ -1228,7 +1228,7 @@ class AuroHelpText extends LitElement {
1228
1228
  }
1229
1229
  }
1230
1230
 
1231
- var formkitVersion = '202607222048';
1231
+ var formkitVersion = '202607231617';
1232
1232
 
1233
1233
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1234
1234
  // See LICENSE in the project root for license information.
@@ -3336,15 +3336,57 @@ class AuroFloatingUI {
3336
3336
  document.body.style.top = `-${this._savedScrollY}px`;
3337
3337
  document.body.style.width = "100%";
3338
3338
 
3339
- // Move `bib` by the amount the viewport is shifted to stay aligned in fullscreen.
3340
- if (element?.bib && window?.visualViewport?.offsetTop) {
3341
- element.bib.style.transform = `translateY(${window?.visualViewport?.offsetTop}px)`;
3339
+ // Keep the bib aligned with the visual viewport as the VKB opens.
3340
+ // A one-shot offsetTop check at lock time is stale by the time the user
3341
+ // taps an input mid-drawer — iOS then pans visualViewport upward and the
3342
+ // bib drifts off-screen. Listen continuously so the transform tracks the pan.
3343
+ // RAF-throttled to avoid a style recalc on every scroll tick during the
3344
+ // keyboard animation; the pending frame is canceled on unlock so it cannot
3345
+ // reapply a translate after bibTransform has been restored.
3346
+ if (window.visualViewport) {
3347
+ this._viewportRafId = undefined;
3348
+ this._viewportHandler = () => {
3349
+ if (this._viewportRafId !== undefined) {
3350
+ return;
3351
+ }
3352
+ this._viewportRafId = requestAnimationFrame(() => {
3353
+ this._viewportRafId = undefined;
3354
+ if (element?.bib) {
3355
+ element.bib.style.transform = `translateY(${window.visualViewport.offsetTop}px)`;
3356
+ }
3357
+ });
3358
+ };
3359
+ window.visualViewport.addEventListener(
3360
+ "resize",
3361
+ this._viewportHandler,
3362
+ );
3363
+ window.visualViewport.addEventListener(
3364
+ "scroll",
3365
+ this._viewportHandler,
3366
+ );
3367
+ this._viewportHandler();
3342
3368
  }
3343
3369
 
3344
3370
  this.lockTouchScroll(true);
3345
3371
  }
3346
3372
  } else {
3347
3373
  if (this._scrollLocked) {
3374
+ if (this._viewportHandler && window.visualViewport) {
3375
+ window.visualViewport.removeEventListener(
3376
+ "resize",
3377
+ this._viewportHandler,
3378
+ );
3379
+ window.visualViewport.removeEventListener(
3380
+ "scroll",
3381
+ this._viewportHandler,
3382
+ );
3383
+ this._viewportHandler = undefined;
3384
+ }
3385
+ if (this._viewportRafId !== undefined) {
3386
+ cancelAnimationFrame(this._viewportRafId);
3387
+ this._viewportRafId = undefined;
3388
+ }
3389
+
3348
3390
  document.documentElement.style.scrollbarGutter =
3349
3391
  this._savedScrollStyles?.rootScrollbarGutter ?? "";
3350
3392
  document.documentElement.style.overflow =
@@ -3436,7 +3478,7 @@ class AuroFloatingUI {
3436
3478
  bibContent.style.width = "";
3437
3479
  bibContent.style.height = "";
3438
3480
  bibContent.style.maxWidth = "";
3439
- bibContent.style.maxHeight = `${window?.visualViewport?.height}px`;
3481
+ bibContent.style.maxHeight = "";
3440
3482
  this.configureTrial = 0;
3441
3483
  } else if (this.configureTrial < MAX_CONFIGURATION_COUNT) {
3442
3484
  this.configureTrial += 1;
@@ -4977,7 +5019,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
4977
5019
  }
4978
5020
  };
4979
5021
 
4980
- var formkitVersion$2 = '202607222048';
5022
+ var formkitVersion$2 = '202607231617';
4981
5023
 
4982
5024
  let AuroElement$2 = class AuroElement extends i$3 {
4983
5025
  static get properties() {
@@ -18666,7 +18708,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
18666
18708
  }
18667
18709
  };
18668
18710
 
18669
- var formkitVersion$1 = '202607222048';
18711
+ var formkitVersion$1 = '202607231617';
18670
18712
 
18671
18713
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
18672
18714
  // See LICENSE in the project root for license information.
@@ -19822,7 +19864,7 @@ class AuroBibtemplate extends i$3 {
19822
19864
  }
19823
19865
  }
19824
19866
 
19825
- var formkitVersion = '202607222048';
19867
+ var formkitVersion = '202607231617';
19826
19868
 
19827
19869
  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}`;
19828
19870
 
@@ -3336,15 +3336,57 @@ class AuroFloatingUI {
3336
3336
  document.body.style.top = `-${this._savedScrollY}px`;
3337
3337
  document.body.style.width = "100%";
3338
3338
 
3339
- // Move `bib` by the amount the viewport is shifted to stay aligned in fullscreen.
3340
- if (element?.bib && window?.visualViewport?.offsetTop) {
3341
- element.bib.style.transform = `translateY(${window?.visualViewport?.offsetTop}px)`;
3339
+ // Keep the bib aligned with the visual viewport as the VKB opens.
3340
+ // A one-shot offsetTop check at lock time is stale by the time the user
3341
+ // taps an input mid-drawer — iOS then pans visualViewport upward and the
3342
+ // bib drifts off-screen. Listen continuously so the transform tracks the pan.
3343
+ // RAF-throttled to avoid a style recalc on every scroll tick during the
3344
+ // keyboard animation; the pending frame is canceled on unlock so it cannot
3345
+ // reapply a translate after bibTransform has been restored.
3346
+ if (window.visualViewport) {
3347
+ this._viewportRafId = undefined;
3348
+ this._viewportHandler = () => {
3349
+ if (this._viewportRafId !== undefined) {
3350
+ return;
3351
+ }
3352
+ this._viewportRafId = requestAnimationFrame(() => {
3353
+ this._viewportRafId = undefined;
3354
+ if (element?.bib) {
3355
+ element.bib.style.transform = `translateY(${window.visualViewport.offsetTop}px)`;
3356
+ }
3357
+ });
3358
+ };
3359
+ window.visualViewport.addEventListener(
3360
+ "resize",
3361
+ this._viewportHandler,
3362
+ );
3363
+ window.visualViewport.addEventListener(
3364
+ "scroll",
3365
+ this._viewportHandler,
3366
+ );
3367
+ this._viewportHandler();
3342
3368
  }
3343
3369
 
3344
3370
  this.lockTouchScroll(true);
3345
3371
  }
3346
3372
  } else {
3347
3373
  if (this._scrollLocked) {
3374
+ if (this._viewportHandler && window.visualViewport) {
3375
+ window.visualViewport.removeEventListener(
3376
+ "resize",
3377
+ this._viewportHandler,
3378
+ );
3379
+ window.visualViewport.removeEventListener(
3380
+ "scroll",
3381
+ this._viewportHandler,
3382
+ );
3383
+ this._viewportHandler = undefined;
3384
+ }
3385
+ if (this._viewportRafId !== undefined) {
3386
+ cancelAnimationFrame(this._viewportRafId);
3387
+ this._viewportRafId = undefined;
3388
+ }
3389
+
3348
3390
  document.documentElement.style.scrollbarGutter =
3349
3391
  this._savedScrollStyles?.rootScrollbarGutter ?? "";
3350
3392
  document.documentElement.style.overflow =
@@ -3436,7 +3478,7 @@ class AuroFloatingUI {
3436
3478
  bibContent.style.width = "";
3437
3479
  bibContent.style.height = "";
3438
3480
  bibContent.style.maxWidth = "";
3439
- bibContent.style.maxHeight = `${window?.visualViewport?.height}px`;
3481
+ bibContent.style.maxHeight = "";
3440
3482
  this.configureTrial = 0;
3441
3483
  } else if (this.configureTrial < MAX_CONFIGURATION_COUNT) {
3442
3484
  this.configureTrial += 1;
@@ -4977,7 +5019,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
4977
5019
  }
4978
5020
  };
4979
5021
 
4980
- var formkitVersion$2 = '202607222048';
5022
+ var formkitVersion$2 = '202607231617';
4981
5023
 
4982
5024
  let AuroElement$2 = class AuroElement extends i$3 {
4983
5025
  static get properties() {
@@ -18666,7 +18708,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
18666
18708
  }
18667
18709
  };
18668
18710
 
18669
- var formkitVersion$1 = '202607222048';
18711
+ var formkitVersion$1 = '202607231617';
18670
18712
 
18671
18713
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
18672
18714
  // See LICENSE in the project root for license information.
@@ -19822,7 +19864,7 @@ class AuroBibtemplate extends i$3 {
19822
19864
  }
19823
19865
  }
19824
19866
 
19825
- var formkitVersion = '202607222048';
19867
+ var formkitVersion = '202607231617';
19826
19868
 
19827
19869
  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}`;
19828
19870
 
@@ -3351,15 +3351,57 @@ class AuroFloatingUI {
3351
3351
  document.body.style.top = `-${this._savedScrollY}px`;
3352
3352
  document.body.style.width = "100%";
3353
3353
 
3354
- // Move `bib` by the amount the viewport is shifted to stay aligned in fullscreen.
3355
- if (element?.bib && window?.visualViewport?.offsetTop) {
3356
- element.bib.style.transform = `translateY(${window?.visualViewport?.offsetTop}px)`;
3354
+ // Keep the bib aligned with the visual viewport as the VKB opens.
3355
+ // A one-shot offsetTop check at lock time is stale by the time the user
3356
+ // taps an input mid-drawer — iOS then pans visualViewport upward and the
3357
+ // bib drifts off-screen. Listen continuously so the transform tracks the pan.
3358
+ // RAF-throttled to avoid a style recalc on every scroll tick during the
3359
+ // keyboard animation; the pending frame is canceled on unlock so it cannot
3360
+ // reapply a translate after bibTransform has been restored.
3361
+ if (window.visualViewport) {
3362
+ this._viewportRafId = undefined;
3363
+ this._viewportHandler = () => {
3364
+ if (this._viewportRafId !== undefined) {
3365
+ return;
3366
+ }
3367
+ this._viewportRafId = requestAnimationFrame(() => {
3368
+ this._viewportRafId = undefined;
3369
+ if (element?.bib) {
3370
+ element.bib.style.transform = `translateY(${window.visualViewport.offsetTop}px)`;
3371
+ }
3372
+ });
3373
+ };
3374
+ window.visualViewport.addEventListener(
3375
+ "resize",
3376
+ this._viewportHandler,
3377
+ );
3378
+ window.visualViewport.addEventListener(
3379
+ "scroll",
3380
+ this._viewportHandler,
3381
+ );
3382
+ this._viewportHandler();
3357
3383
  }
3358
3384
 
3359
3385
  this.lockTouchScroll(true);
3360
3386
  }
3361
3387
  } else {
3362
3388
  if (this._scrollLocked) {
3389
+ if (this._viewportHandler && window.visualViewport) {
3390
+ window.visualViewport.removeEventListener(
3391
+ "resize",
3392
+ this._viewportHandler,
3393
+ );
3394
+ window.visualViewport.removeEventListener(
3395
+ "scroll",
3396
+ this._viewportHandler,
3397
+ );
3398
+ this._viewportHandler = undefined;
3399
+ }
3400
+ if (this._viewportRafId !== undefined) {
3401
+ cancelAnimationFrame(this._viewportRafId);
3402
+ this._viewportRafId = undefined;
3403
+ }
3404
+
3363
3405
  document.documentElement.style.scrollbarGutter =
3364
3406
  this._savedScrollStyles?.rootScrollbarGutter ?? "";
3365
3407
  document.documentElement.style.overflow =
@@ -3451,7 +3493,7 @@ class AuroFloatingUI {
3451
3493
  bibContent.style.width = "";
3452
3494
  bibContent.style.height = "";
3453
3495
  bibContent.style.maxWidth = "";
3454
- bibContent.style.maxHeight = `${window?.visualViewport?.height}px`;
3496
+ bibContent.style.maxHeight = "";
3455
3497
  this.configureTrial = 0;
3456
3498
  } else if (this.configureTrial < MAX_CONFIGURATION_COUNT) {
3457
3499
  this.configureTrial += 1;
@@ -4992,7 +5034,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
4992
5034
  }
4993
5035
  };
4994
5036
 
4995
- var formkitVersion$2 = '202607222048';
5037
+ var formkitVersion$2 = '202607231617';
4996
5038
 
4997
5039
  let AuroElement$2 = class AuroElement extends i$3 {
4998
5040
  static get properties() {
@@ -18681,7 +18723,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
18681
18723
  }
18682
18724
  };
18683
18725
 
18684
- var formkitVersion$1 = '202607222048';
18726
+ var formkitVersion$1 = '202607231617';
18685
18727
 
18686
18728
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
18687
18729
  // See LICENSE in the project root for license information.
@@ -19837,7 +19879,7 @@ class AuroBibtemplate extends i$3 {
19837
19879
  }
19838
19880
  }
19839
19881
 
19840
- var formkitVersion = '202607222048';
19882
+ var formkitVersion = '202607231617';
19841
19883
 
19842
19884
  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}`;
19843
19885
 
@@ -3269,15 +3269,57 @@ class AuroFloatingUI {
3269
3269
  document.body.style.top = `-${this._savedScrollY}px`;
3270
3270
  document.body.style.width = "100%";
3271
3271
 
3272
- // Move `bib` by the amount the viewport is shifted to stay aligned in fullscreen.
3273
- if (element?.bib && window?.visualViewport?.offsetTop) {
3274
- element.bib.style.transform = `translateY(${window?.visualViewport?.offsetTop}px)`;
3272
+ // Keep the bib aligned with the visual viewport as the VKB opens.
3273
+ // A one-shot offsetTop check at lock time is stale by the time the user
3274
+ // taps an input mid-drawer — iOS then pans visualViewport upward and the
3275
+ // bib drifts off-screen. Listen continuously so the transform tracks the pan.
3276
+ // RAF-throttled to avoid a style recalc on every scroll tick during the
3277
+ // keyboard animation; the pending frame is canceled on unlock so it cannot
3278
+ // reapply a translate after bibTransform has been restored.
3279
+ if (window.visualViewport) {
3280
+ this._viewportRafId = undefined;
3281
+ this._viewportHandler = () => {
3282
+ if (this._viewportRafId !== undefined) {
3283
+ return;
3284
+ }
3285
+ this._viewportRafId = requestAnimationFrame(() => {
3286
+ this._viewportRafId = undefined;
3287
+ if (element?.bib) {
3288
+ element.bib.style.transform = `translateY(${window.visualViewport.offsetTop}px)`;
3289
+ }
3290
+ });
3291
+ };
3292
+ window.visualViewport.addEventListener(
3293
+ "resize",
3294
+ this._viewportHandler,
3295
+ );
3296
+ window.visualViewport.addEventListener(
3297
+ "scroll",
3298
+ this._viewportHandler,
3299
+ );
3300
+ this._viewportHandler();
3275
3301
  }
3276
3302
 
3277
3303
  this.lockTouchScroll(true);
3278
3304
  }
3279
3305
  } else {
3280
3306
  if (this._scrollLocked) {
3307
+ if (this._viewportHandler && window.visualViewport) {
3308
+ window.visualViewport.removeEventListener(
3309
+ "resize",
3310
+ this._viewportHandler,
3311
+ );
3312
+ window.visualViewport.removeEventListener(
3313
+ "scroll",
3314
+ this._viewportHandler,
3315
+ );
3316
+ this._viewportHandler = undefined;
3317
+ }
3318
+ if (this._viewportRafId !== undefined) {
3319
+ cancelAnimationFrame(this._viewportRafId);
3320
+ this._viewportRafId = undefined;
3321
+ }
3322
+
3281
3323
  document.documentElement.style.scrollbarGutter =
3282
3324
  this._savedScrollStyles?.rootScrollbarGutter ?? "";
3283
3325
  document.documentElement.style.overflow =
@@ -3369,7 +3411,7 @@ class AuroFloatingUI {
3369
3411
  bibContent.style.width = "";
3370
3412
  bibContent.style.height = "";
3371
3413
  bibContent.style.maxWidth = "";
3372
- bibContent.style.maxHeight = `${window?.visualViewport?.height}px`;
3414
+ bibContent.style.maxHeight = "";
3373
3415
  this.configureTrial = 0;
3374
3416
  } else if (this.configureTrial < MAX_CONFIGURATION_COUNT) {
3375
3417
  this.configureTrial += 1;
@@ -4910,7 +4952,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
4910
4952
  }
4911
4953
  };
4912
4954
 
4913
- var formkitVersion$2 = '202607222048';
4955
+ var formkitVersion$2 = '202607231617';
4914
4956
 
4915
4957
  let AuroElement$2 = class AuroElement extends LitElement {
4916
4958
  static get properties() {
@@ -18592,7 +18634,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
18592
18634
  }
18593
18635
  };
18594
18636
 
18595
- var formkitVersion$1 = '202607222048';
18637
+ var formkitVersion$1 = '202607231617';
18596
18638
 
18597
18639
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
18598
18640
  // See LICENSE in the project root for license information.
@@ -19748,7 +19790,7 @@ class AuroBibtemplate extends LitElement {
19748
19790
  }
19749
19791
  }
19750
19792
 
19751
- var formkitVersion = '202607222048';
19793
+ var formkitVersion = '202607231617';
19752
19794
 
19753
19795
  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}`;
19754
19796
 
@@ -3269,15 +3269,57 @@ class AuroFloatingUI {
3269
3269
  document.body.style.top = `-${this._savedScrollY}px`;
3270
3270
  document.body.style.width = "100%";
3271
3271
 
3272
- // Move `bib` by the amount the viewport is shifted to stay aligned in fullscreen.
3273
- if (element?.bib && window?.visualViewport?.offsetTop) {
3274
- element.bib.style.transform = `translateY(${window?.visualViewport?.offsetTop}px)`;
3272
+ // Keep the bib aligned with the visual viewport as the VKB opens.
3273
+ // A one-shot offsetTop check at lock time is stale by the time the user
3274
+ // taps an input mid-drawer — iOS then pans visualViewport upward and the
3275
+ // bib drifts off-screen. Listen continuously so the transform tracks the pan.
3276
+ // RAF-throttled to avoid a style recalc on every scroll tick during the
3277
+ // keyboard animation; the pending frame is canceled on unlock so it cannot
3278
+ // reapply a translate after bibTransform has been restored.
3279
+ if (window.visualViewport) {
3280
+ this._viewportRafId = undefined;
3281
+ this._viewportHandler = () => {
3282
+ if (this._viewportRafId !== undefined) {
3283
+ return;
3284
+ }
3285
+ this._viewportRafId = requestAnimationFrame(() => {
3286
+ this._viewportRafId = undefined;
3287
+ if (element?.bib) {
3288
+ element.bib.style.transform = `translateY(${window.visualViewport.offsetTop}px)`;
3289
+ }
3290
+ });
3291
+ };
3292
+ window.visualViewport.addEventListener(
3293
+ "resize",
3294
+ this._viewportHandler,
3295
+ );
3296
+ window.visualViewport.addEventListener(
3297
+ "scroll",
3298
+ this._viewportHandler,
3299
+ );
3300
+ this._viewportHandler();
3275
3301
  }
3276
3302
 
3277
3303
  this.lockTouchScroll(true);
3278
3304
  }
3279
3305
  } else {
3280
3306
  if (this._scrollLocked) {
3307
+ if (this._viewportHandler && window.visualViewport) {
3308
+ window.visualViewport.removeEventListener(
3309
+ "resize",
3310
+ this._viewportHandler,
3311
+ );
3312
+ window.visualViewport.removeEventListener(
3313
+ "scroll",
3314
+ this._viewportHandler,
3315
+ );
3316
+ this._viewportHandler = undefined;
3317
+ }
3318
+ if (this._viewportRafId !== undefined) {
3319
+ cancelAnimationFrame(this._viewportRafId);
3320
+ this._viewportRafId = undefined;
3321
+ }
3322
+
3281
3323
  document.documentElement.style.scrollbarGutter =
3282
3324
  this._savedScrollStyles?.rootScrollbarGutter ?? "";
3283
3325
  document.documentElement.style.overflow =
@@ -3369,7 +3411,7 @@ class AuroFloatingUI {
3369
3411
  bibContent.style.width = "";
3370
3412
  bibContent.style.height = "";
3371
3413
  bibContent.style.maxWidth = "";
3372
- bibContent.style.maxHeight = `${window?.visualViewport?.height}px`;
3414
+ bibContent.style.maxHeight = "";
3373
3415
  this.configureTrial = 0;
3374
3416
  } else if (this.configureTrial < MAX_CONFIGURATION_COUNT) {
3375
3417
  this.configureTrial += 1;
@@ -4910,7 +4952,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
4910
4952
  }
4911
4953
  };
4912
4954
 
4913
- var formkitVersion$2 = '202607222048';
4955
+ var formkitVersion$2 = '202607231617';
4914
4956
 
4915
4957
  let AuroElement$2 = class AuroElement extends LitElement {
4916
4958
  static get properties() {
@@ -18592,7 +18634,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
18592
18634
  }
18593
18635
  };
18594
18636
 
18595
- var formkitVersion$1 = '202607222048';
18637
+ var formkitVersion$1 = '202607231617';
18596
18638
 
18597
18639
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
18598
18640
  // See LICENSE in the project root for license information.
@@ -19748,7 +19790,7 @@ class AuroBibtemplate extends LitElement {
19748
19790
  }
19749
19791
  }
19750
19792
 
19751
- var formkitVersion = '202607222048';
19793
+ var formkitVersion = '202607231617';
19752
19794
 
19753
19795
  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}`;
19754
19796
 
@@ -1117,7 +1117,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
1117
1117
  }
1118
1118
  };
1119
1119
 
1120
- var formkitVersion$1 = '202607222048';
1120
+ var formkitVersion$1 = '202607231617';
1121
1121
 
1122
1122
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1123
1123
  // See LICENSE in the project root for license information.
@@ -3647,15 +3647,57 @@ class AuroFloatingUI {
3647
3647
  document.body.style.top = `-${this._savedScrollY}px`;
3648
3648
  document.body.style.width = "100%";
3649
3649
 
3650
- // Move `bib` by the amount the viewport is shifted to stay aligned in fullscreen.
3651
- if (element?.bib && window?.visualViewport?.offsetTop) {
3652
- element.bib.style.transform = `translateY(${window?.visualViewport?.offsetTop}px)`;
3650
+ // Keep the bib aligned with the visual viewport as the VKB opens.
3651
+ // A one-shot offsetTop check at lock time is stale by the time the user
3652
+ // taps an input mid-drawer — iOS then pans visualViewport upward and the
3653
+ // bib drifts off-screen. Listen continuously so the transform tracks the pan.
3654
+ // RAF-throttled to avoid a style recalc on every scroll tick during the
3655
+ // keyboard animation; the pending frame is canceled on unlock so it cannot
3656
+ // reapply a translate after bibTransform has been restored.
3657
+ if (window.visualViewport) {
3658
+ this._viewportRafId = undefined;
3659
+ this._viewportHandler = () => {
3660
+ if (this._viewportRafId !== undefined) {
3661
+ return;
3662
+ }
3663
+ this._viewportRafId = requestAnimationFrame(() => {
3664
+ this._viewportRafId = undefined;
3665
+ if (element?.bib) {
3666
+ element.bib.style.transform = `translateY(${window.visualViewport.offsetTop}px)`;
3667
+ }
3668
+ });
3669
+ };
3670
+ window.visualViewport.addEventListener(
3671
+ "resize",
3672
+ this._viewportHandler,
3673
+ );
3674
+ window.visualViewport.addEventListener(
3675
+ "scroll",
3676
+ this._viewportHandler,
3677
+ );
3678
+ this._viewportHandler();
3653
3679
  }
3654
3680
 
3655
3681
  this.lockTouchScroll(true);
3656
3682
  }
3657
3683
  } else {
3658
3684
  if (this._scrollLocked) {
3685
+ if (this._viewportHandler && window.visualViewport) {
3686
+ window.visualViewport.removeEventListener(
3687
+ "resize",
3688
+ this._viewportHandler,
3689
+ );
3690
+ window.visualViewport.removeEventListener(
3691
+ "scroll",
3692
+ this._viewportHandler,
3693
+ );
3694
+ this._viewportHandler = undefined;
3695
+ }
3696
+ if (this._viewportRafId !== undefined) {
3697
+ cancelAnimationFrame(this._viewportRafId);
3698
+ this._viewportRafId = undefined;
3699
+ }
3700
+
3659
3701
  document.documentElement.style.scrollbarGutter =
3660
3702
  this._savedScrollStyles?.rootScrollbarGutter ?? "";
3661
3703
  document.documentElement.style.overflow =
@@ -3747,7 +3789,7 @@ class AuroFloatingUI {
3747
3789
  bibContent.style.width = "";
3748
3790
  bibContent.style.height = "";
3749
3791
  bibContent.style.maxWidth = "";
3750
- bibContent.style.maxHeight = `${window?.visualViewport?.height}px`;
3792
+ bibContent.style.maxHeight = "";
3751
3793
  this.configureTrial = 0;
3752
3794
  } else if (this.configureTrial < MAX_CONFIGURATION_COUNT) {
3753
3795
  this.configureTrial += 1;
@@ -5288,7 +5330,7 @@ class AuroHelpText extends i$2 {
5288
5330
  }
5289
5331
  }
5290
5332
 
5291
- var formkitVersion = '202607222048';
5333
+ var formkitVersion = '202607231617';
5292
5334
 
5293
5335
  let AuroElement$1 = class AuroElement extends i$2 {
5294
5336
  static get properties() {