@aurodesignsystem-dev/auro-formkit 0.0.0-pr1433.0 → 0.0.0-pr1433.2

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/README.md +1 -1
  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 +14 -3
  7. package/components/combobox/demo/index.min.js +14 -3
  8. package/components/combobox/dist/auro-combobox copy.d.ts +578 -0
  9. package/components/combobox/dist/index.js +14 -3
  10. package/components/combobox/dist/registered.js +14 -3
  11. package/components/counter/demo/api.min.js +5 -2
  12. package/components/counter/demo/index.min.js +5 -2
  13. package/components/counter/dist/index.js +5 -2
  14. package/components/counter/dist/registered.js +5 -2
  15. package/components/datepicker/demo/api.min.js +6 -3
  16. package/components/datepicker/demo/index.min.js +6 -3
  17. package/components/datepicker/dist/index.js +6 -3
  18. package/components/datepicker/dist/registered.js +6 -3
  19. package/components/dropdown/demo/api.min.js +4 -1
  20. package/components/dropdown/demo/index.min.js +4 -1
  21. package/components/dropdown/dist/index.js +4 -1
  22. package/components/dropdown/dist/keyboardUtils.d.ts +18 -0
  23. package/components/dropdown/dist/registered.js +4 -1
  24. package/components/form/demo/api.min.js +33 -13
  25. package/components/form/demo/index.min.js +33 -13
  26. package/components/input/demo/api.min.js +1 -1
  27. package/components/input/demo/index.min.js +1 -1
  28. package/components/input/dist/index.js +1 -1
  29. package/components/input/dist/registered.js +1 -1
  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 +5 -2
  35. package/components/select/demo/index.min.js +5 -2
  36. package/components/select/dist/index.js +5 -2
  37. package/components/select/dist/registered.js +5 -2
  38. package/custom-elements.json +2658 -2658
  39. package/package.json +2 -2
package/README.md CHANGED
@@ -17,7 +17,7 @@ The following sections are editable by making changes to the following files:
17
17
  | kit Example Code | HTML sample code of the kits use | `./apiExamples/basic.html` |
18
18
  -->
19
19
 
20
- # Formkit
20
+ # Dev/auro-formkit
21
21
 
22
22
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/description.md) -->
23
23
  <!-- The below content is automatically added from ./docs/partials/description.md -->
@@ -1687,7 +1687,7 @@ class AuroHelpText extends i$2 {
1687
1687
  }
1688
1688
  }
1689
1689
 
1690
- var formkitVersion = '202604100244';
1690
+ var formkitVersion = '202604101700';
1691
1691
 
1692
1692
  // Copyright (c) 2026 Alaska Airlines. All rights 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 = '202604100244';
1682
+ var formkitVersion = '202604101700';
1683
1683
 
1684
1684
  // Copyright (c) 2026 Alaska Airlines. All rights 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 = '202604100244';
1635
+ var formkitVersion = '202604101700';
1636
1636
 
1637
1637
  // Copyright (c) 2026 Alaska Airlines. All rights 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 = '202604100244';
1635
+ var formkitVersion = '202604101700';
1636
1636
 
1637
1637
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1638
1638
  // See LICENSE in the project root for license information.
@@ -4918,6 +4918,7 @@ class AuroDropdownBib extends i$4 {
4918
4918
  documentElement.style.overflow = 'hidden';
4919
4919
 
4920
4920
  try {
4921
+ console.log('showing modal dialog');
4921
4922
  dialog.showModal();
4922
4923
  } finally {
4923
4924
  // Restore overflow immediately — the lock was only needed to
@@ -4931,6 +4932,7 @@ class AuroDropdownBib extends i$4 {
4931
4932
 
4932
4933
  } else {
4933
4934
  // Open the inner dialog so slotted content renders.
4935
+ console.log('showing non-modal dialog');
4934
4936
  dialog.setAttribute('open', '');
4935
4937
 
4936
4938
  // Use popover on the host for top-layer placement without focus
@@ -5228,7 +5230,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
5228
5230
  }
5229
5231
  };
5230
5232
 
5231
- var formkitVersion$2 = '202604100244';
5233
+ var formkitVersion$2 = '202604101700';
5232
5234
 
5233
5235
  let AuroElement$2 = class AuroElement extends i$4 {
5234
5236
  static get properties() {
@@ -5498,6 +5500,7 @@ class AuroDropdown extends AuroElement$2 {
5498
5500
  * @returns {void}
5499
5501
  */
5500
5502
  show() {
5503
+ console.log('show first line');
5501
5504
  this.floater.showBib();
5502
5505
 
5503
5506
  // Open dialog synchronously so callers remain in the user gesture
@@ -12992,7 +12995,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
12992
12995
  }
12993
12996
  };
12994
12997
 
12995
- var formkitVersion$1 = '202604100244';
12998
+ var formkitVersion$1 = '202604101700';
12996
12999
 
12997
13000
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12998
13001
  // See LICENSE in the project root for license information.
@@ -14057,7 +14060,7 @@ class AuroBibtemplate extends i$4 {
14057
14060
  }
14058
14061
  }
14059
14062
 
14060
- var formkitVersion = '202604100244';
14063
+ var formkitVersion = '202604101700';
14061
14064
 
14062
14065
  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}`;
14063
14066
 
@@ -15107,6 +15110,7 @@ class AuroCombobox extends AuroElement {
15107
15110
  * @returns {void}
15108
15111
  */
15109
15112
  showBib() {
15113
+ console.log('inside showBib first line');
15110
15114
  // Do not auto-open from programmatic value/option updates when the
15111
15115
  // combobox is not focused. User-driven interactions still open normally
15112
15116
  // once focus enters the component.
@@ -15123,6 +15127,7 @@ class AuroCombobox extends AuroElement {
15123
15127
  if (this.menu.hasAttribute('loading') && !this.menu.hasLoadingPlaceholder) {
15124
15128
  this.isHiddenWhileLoading = true;
15125
15129
  } else {
15130
+ console.log('inside showBib before dropdown show');
15126
15131
  this.dropdown.show();
15127
15132
  }
15128
15133
  }
@@ -15215,6 +15220,7 @@ class AuroCombobox extends AuroElement {
15215
15220
  });
15216
15221
 
15217
15222
  this.dropdown.addEventListener('auroDropdown-triggerClick', () => {
15223
+ console.log('inside triggerClick event listener');
15218
15224
  this.showBib();
15219
15225
  });
15220
15226
 
@@ -15556,6 +15562,8 @@ class AuroCombobox extends AuroElement {
15556
15562
  * @returns {void}
15557
15563
  */
15558
15564
  handleInputValueChange(event) {
15565
+ console.log('handleInputValueChange first line');
15566
+
15559
15567
  // When the event comes from the fullscreen bib input, sync the value to
15560
15568
  // the trigger input. Setting trigger.value triggers Lit's updated()
15561
15569
  // (async, microtask) which fires notifyValueChanged() → another 'input'
@@ -15624,6 +15632,7 @@ class AuroCombobox extends AuroElement {
15624
15632
  this.hideBib();
15625
15633
  } else if (this.menu.loading) {
15626
15634
  // if input has value but menu is loading, show bib immediately
15635
+ console.log('handleInputValueChange showBib because loading');
15627
15636
  this.showBib();
15628
15637
  } else if (this.availableOptions.length === 0 && !this.dropdown.isBibFullscreen) {
15629
15638
  // Force dropdown bib to hide if input value has no matching suggestions
@@ -15639,6 +15648,7 @@ class AuroCombobox extends AuroElement {
15639
15648
  // typing.
15640
15649
  if (this.dropdown.isBibFullscreen && this.input.value && this.input.value.length > 0) {
15641
15650
  if (!this.dropdown.isPopoverVisible) {
15651
+ console.log('handleInputValueChange showBib for iOS keyboard retention');
15642
15652
  this.showBib();
15643
15653
  }
15644
15654
  if (this.dropdown.isPopoverVisible) {
@@ -15905,6 +15915,7 @@ class AuroCombobox extends AuroElement {
15905
15915
  // :focus-within hasn't propagated through the top-layer dialog's nested
15906
15916
  // shadow DOM boundaries.
15907
15917
  if ((this.availableOptions.length > 0 && (this.componentHasFocus || this.dropdownOpen)) || this.menu.loading || (this.availableOptions.length === 0 && this.noMatchOption)) {
15918
+ console.log('changedProperties has availableOptions showBib');
15908
15919
  this.showBib();
15909
15920
  if (!this.availableOptions.includes(this.menu.optionActive)) {
15910
15921
  this.activateFirstEnabledAvailableOption();
@@ -4830,6 +4830,7 @@ class AuroDropdownBib extends i$4 {
4830
4830
  documentElement.style.overflow = 'hidden';
4831
4831
 
4832
4832
  try {
4833
+ console.log('showing modal dialog');
4833
4834
  dialog.showModal();
4834
4835
  } finally {
4835
4836
  // Restore overflow immediately — the lock was only needed to
@@ -4843,6 +4844,7 @@ class AuroDropdownBib extends i$4 {
4843
4844
 
4844
4845
  } else {
4845
4846
  // Open the inner dialog so slotted content renders.
4847
+ console.log('showing non-modal dialog');
4846
4848
  dialog.setAttribute('open', '');
4847
4849
 
4848
4850
  // Use popover on the host for top-layer placement without focus
@@ -5140,7 +5142,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
5140
5142
  }
5141
5143
  };
5142
5144
 
5143
- var formkitVersion$2 = '202604100244';
5145
+ var formkitVersion$2 = '202604101700';
5144
5146
 
5145
5147
  let AuroElement$2 = class AuroElement extends i$4 {
5146
5148
  static get properties() {
@@ -5410,6 +5412,7 @@ class AuroDropdown extends AuroElement$2 {
5410
5412
  * @returns {void}
5411
5413
  */
5412
5414
  show() {
5415
+ console.log('show first line');
5413
5416
  this.floater.showBib();
5414
5417
 
5415
5418
  // Open dialog synchronously so callers remain in the user gesture
@@ -12904,7 +12907,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
12904
12907
  }
12905
12908
  };
12906
12909
 
12907
- var formkitVersion$1 = '202604100244';
12910
+ var formkitVersion$1 = '202604101700';
12908
12911
 
12909
12912
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12910
12913
  // See LICENSE in the project root for license information.
@@ -13969,7 +13972,7 @@ class AuroBibtemplate extends i$4 {
13969
13972
  }
13970
13973
  }
13971
13974
 
13972
- var formkitVersion = '202604100244';
13975
+ var formkitVersion = '202604101700';
13973
13976
 
13974
13977
  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}`;
13975
13978
 
@@ -15019,6 +15022,7 @@ class AuroCombobox extends AuroElement {
15019
15022
  * @returns {void}
15020
15023
  */
15021
15024
  showBib() {
15025
+ console.log('inside showBib first line');
15022
15026
  // Do not auto-open from programmatic value/option updates when the
15023
15027
  // combobox is not focused. User-driven interactions still open normally
15024
15028
  // once focus enters the component.
@@ -15035,6 +15039,7 @@ class AuroCombobox extends AuroElement {
15035
15039
  if (this.menu.hasAttribute('loading') && !this.menu.hasLoadingPlaceholder) {
15036
15040
  this.isHiddenWhileLoading = true;
15037
15041
  } else {
15042
+ console.log('inside showBib before dropdown show');
15038
15043
  this.dropdown.show();
15039
15044
  }
15040
15045
  }
@@ -15127,6 +15132,7 @@ class AuroCombobox extends AuroElement {
15127
15132
  });
15128
15133
 
15129
15134
  this.dropdown.addEventListener('auroDropdown-triggerClick', () => {
15135
+ console.log('inside triggerClick event listener');
15130
15136
  this.showBib();
15131
15137
  });
15132
15138
 
@@ -15468,6 +15474,8 @@ class AuroCombobox extends AuroElement {
15468
15474
  * @returns {void}
15469
15475
  */
15470
15476
  handleInputValueChange(event) {
15477
+ console.log('handleInputValueChange first line');
15478
+
15471
15479
  // When the event comes from the fullscreen bib input, sync the value to
15472
15480
  // the trigger input. Setting trigger.value triggers Lit's updated()
15473
15481
  // (async, microtask) which fires notifyValueChanged() → another 'input'
@@ -15536,6 +15544,7 @@ class AuroCombobox extends AuroElement {
15536
15544
  this.hideBib();
15537
15545
  } else if (this.menu.loading) {
15538
15546
  // if input has value but menu is loading, show bib immediately
15547
+ console.log('handleInputValueChange showBib because loading');
15539
15548
  this.showBib();
15540
15549
  } else if (this.availableOptions.length === 0 && !this.dropdown.isBibFullscreen) {
15541
15550
  // Force dropdown bib to hide if input value has no matching suggestions
@@ -15551,6 +15560,7 @@ class AuroCombobox extends AuroElement {
15551
15560
  // typing.
15552
15561
  if (this.dropdown.isBibFullscreen && this.input.value && this.input.value.length > 0) {
15553
15562
  if (!this.dropdown.isPopoverVisible) {
15563
+ console.log('handleInputValueChange showBib for iOS keyboard retention');
15554
15564
  this.showBib();
15555
15565
  }
15556
15566
  if (this.dropdown.isPopoverVisible) {
@@ -15817,6 +15827,7 @@ class AuroCombobox extends AuroElement {
15817
15827
  // :focus-within hasn't propagated through the top-layer dialog's nested
15818
15828
  // shadow DOM boundaries.
15819
15829
  if ((this.availableOptions.length > 0 && (this.componentHasFocus || this.dropdownOpen)) || this.menu.loading || (this.availableOptions.length === 0 && this.noMatchOption)) {
15830
+ console.log('changedProperties has availableOptions showBib');
15820
15831
  this.showBib();
15821
15832
  if (!this.availableOptions.includes(this.menu.optionActive)) {
15822
15833
  this.activateFirstEnabledAvailableOption();