@aurodesignsystem-dev/auro-formkit 0.0.0-pr1052.4 → 0.0.0-pr1052.5

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.
@@ -16716,6 +16716,7 @@ class AuroCombobox extends AuroElement$1 {
16716
16716
  * @returns {void}
16717
16717
  */
16718
16718
  handleMenuOptions() {
16719
+ console.warn('handleMenuOptions()');
16719
16720
  this.resetMenuMatchword();
16720
16721
 
16721
16722
  this.generateOptionsArray();
@@ -16723,7 +16724,7 @@ class AuroCombobox extends AuroElement$1 {
16723
16724
  this.updateFilter();
16724
16725
 
16725
16726
  if (this.value && this.input.value && !this.menu.value) {
16726
- this.menu.value = this.value;
16727
+ this.syncValuesAndStates();
16727
16728
  }
16728
16729
  }
16729
16730
 
@@ -16903,6 +16904,7 @@ class AuroCombobox extends AuroElement$1 {
16903
16904
 
16904
16905
  // handle the menu event for an option selection
16905
16906
  this.menu.addEventListener('auroMenu-selectedOption', (evt) => {
16907
+ console.warn('event auroMenu-selectedOption', evt);
16906
16908
  if (this.menu.optionSelected) {
16907
16909
  const selected = this.menu.optionSelected;
16908
16910
 
@@ -16912,7 +16914,7 @@ class AuroCombobox extends AuroElement$1 {
16912
16914
 
16913
16915
  if (!this.value || this.value !== this.optionSelected.value) {
16914
16916
  this.value = this.optionSelected.value;
16915
- this.menu.value = this.value;
16917
+ // this.menu.value = this.value;
16916
16918
  }
16917
16919
 
16918
16920
  this.updateTriggerTextDisplay();
@@ -17007,6 +17009,7 @@ class AuroCombobox extends AuroElement$1 {
17007
17009
  * @returns {void}
17008
17010
  */
17009
17011
  handleInputValueChange(event) {
17012
+ console.warn('handleInputValueChange', event);
17010
17013
  if (event.target === this.inputInBib) {
17011
17014
  this.input.value = this.inputInBib.value;
17012
17015
  return;
@@ -17290,6 +17293,7 @@ class AuroCombobox extends AuroElement$1 {
17290
17293
  * @returns {void}
17291
17294
  */
17292
17295
  handleSlotChange(event) {
17296
+ console.warn('handleSlotChange', event);
17293
17297
  switch (event.target.name) {
17294
17298
  case '':
17295
17299
  if (!this.menu || this.menu !== this.querySelector('auro-menu, [auro-menu]')) {
@@ -16564,6 +16564,7 @@ class AuroCombobox extends AuroElement$1 {
16564
16564
  * @returns {void}
16565
16565
  */
16566
16566
  handleMenuOptions() {
16567
+ console.warn('handleMenuOptions()');
16567
16568
  this.resetMenuMatchword();
16568
16569
 
16569
16570
  this.generateOptionsArray();
@@ -16571,7 +16572,7 @@ class AuroCombobox extends AuroElement$1 {
16571
16572
  this.updateFilter();
16572
16573
 
16573
16574
  if (this.value && this.input.value && !this.menu.value) {
16574
- this.menu.value = this.value;
16575
+ this.syncValuesAndStates();
16575
16576
  }
16576
16577
  }
16577
16578
 
@@ -16751,6 +16752,7 @@ class AuroCombobox extends AuroElement$1 {
16751
16752
 
16752
16753
  // handle the menu event for an option selection
16753
16754
  this.menu.addEventListener('auroMenu-selectedOption', (evt) => {
16755
+ console.warn('event auroMenu-selectedOption', evt);
16754
16756
  if (this.menu.optionSelected) {
16755
16757
  const selected = this.menu.optionSelected;
16756
16758
 
@@ -16760,7 +16762,7 @@ class AuroCombobox extends AuroElement$1 {
16760
16762
 
16761
16763
  if (!this.value || this.value !== this.optionSelected.value) {
16762
16764
  this.value = this.optionSelected.value;
16763
- this.menu.value = this.value;
16765
+ // this.menu.value = this.value;
16764
16766
  }
16765
16767
 
16766
16768
  this.updateTriggerTextDisplay();
@@ -16855,6 +16857,7 @@ class AuroCombobox extends AuroElement$1 {
16855
16857
  * @returns {void}
16856
16858
  */
16857
16859
  handleInputValueChange(event) {
16860
+ console.warn('handleInputValueChange', event);
16858
16861
  if (event.target === this.inputInBib) {
16859
16862
  this.input.value = this.inputInBib.value;
16860
16863
  return;
@@ -17138,6 +17141,7 @@ class AuroCombobox extends AuroElement$1 {
17138
17141
  * @returns {void}
17139
17142
  */
17140
17143
  handleSlotChange(event) {
17144
+ console.warn('handleSlotChange', event);
17141
17145
  switch (event.target.name) {
17142
17146
  case '':
17143
17147
  if (!this.menu || this.menu !== this.querySelector('auro-menu, [auro-menu]')) {
@@ -16482,6 +16482,7 @@ class AuroCombobox extends AuroElement {
16482
16482
  * @returns {void}
16483
16483
  */
16484
16484
  handleMenuOptions() {
16485
+ console.warn('handleMenuOptions()');
16485
16486
  this.resetMenuMatchword();
16486
16487
 
16487
16488
  this.generateOptionsArray();
@@ -16489,7 +16490,7 @@ class AuroCombobox extends AuroElement {
16489
16490
  this.updateFilter();
16490
16491
 
16491
16492
  if (this.value && this.input.value && !this.menu.value) {
16492
- this.menu.value = this.value;
16493
+ this.syncValuesAndStates();
16493
16494
  }
16494
16495
  }
16495
16496
 
@@ -16669,6 +16670,7 @@ class AuroCombobox extends AuroElement {
16669
16670
 
16670
16671
  // handle the menu event for an option selection
16671
16672
  this.menu.addEventListener('auroMenu-selectedOption', (evt) => {
16673
+ console.warn('event auroMenu-selectedOption', evt);
16672
16674
  if (this.menu.optionSelected) {
16673
16675
  const selected = this.menu.optionSelected;
16674
16676
 
@@ -16678,7 +16680,7 @@ class AuroCombobox extends AuroElement {
16678
16680
 
16679
16681
  if (!this.value || this.value !== this.optionSelected.value) {
16680
16682
  this.value = this.optionSelected.value;
16681
- this.menu.value = this.value;
16683
+ // this.menu.value = this.value;
16682
16684
  }
16683
16685
 
16684
16686
  this.updateTriggerTextDisplay();
@@ -16773,6 +16775,7 @@ class AuroCombobox extends AuroElement {
16773
16775
  * @returns {void}
16774
16776
  */
16775
16777
  handleInputValueChange(event) {
16778
+ console.warn('handleInputValueChange', event);
16776
16779
  if (event.target === this.inputInBib) {
16777
16780
  this.input.value = this.inputInBib.value;
16778
16781
  return;
@@ -17056,6 +17059,7 @@ class AuroCombobox extends AuroElement {
17056
17059
  * @returns {void}
17057
17060
  */
17058
17061
  handleSlotChange(event) {
17062
+ console.warn('handleSlotChange', event);
17059
17063
  switch (event.target.name) {
17060
17064
  case '':
17061
17065
  if (!this.menu || this.menu !== this.querySelector('auro-menu, [auro-menu]')) {
@@ -16482,6 +16482,7 @@ class AuroCombobox extends AuroElement {
16482
16482
  * @returns {void}
16483
16483
  */
16484
16484
  handleMenuOptions() {
16485
+ console.warn('handleMenuOptions()');
16485
16486
  this.resetMenuMatchword();
16486
16487
 
16487
16488
  this.generateOptionsArray();
@@ -16489,7 +16490,7 @@ class AuroCombobox extends AuroElement {
16489
16490
  this.updateFilter();
16490
16491
 
16491
16492
  if (this.value && this.input.value && !this.menu.value) {
16492
- this.menu.value = this.value;
16493
+ this.syncValuesAndStates();
16493
16494
  }
16494
16495
  }
16495
16496
 
@@ -16669,6 +16670,7 @@ class AuroCombobox extends AuroElement {
16669
16670
 
16670
16671
  // handle the menu event for an option selection
16671
16672
  this.menu.addEventListener('auroMenu-selectedOption', (evt) => {
16673
+ console.warn('event auroMenu-selectedOption', evt);
16672
16674
  if (this.menu.optionSelected) {
16673
16675
  const selected = this.menu.optionSelected;
16674
16676
 
@@ -16678,7 +16680,7 @@ class AuroCombobox extends AuroElement {
16678
16680
 
16679
16681
  if (!this.value || this.value !== this.optionSelected.value) {
16680
16682
  this.value = this.optionSelected.value;
16681
- this.menu.value = this.value;
16683
+ // this.menu.value = this.value;
16682
16684
  }
16683
16685
 
16684
16686
  this.updateTriggerTextDisplay();
@@ -16773,6 +16775,7 @@ class AuroCombobox extends AuroElement {
16773
16775
  * @returns {void}
16774
16776
  */
16775
16777
  handleInputValueChange(event) {
16778
+ console.warn('handleInputValueChange', event);
16776
16779
  if (event.target === this.inputInBib) {
16777
16780
  this.input.value = this.inputInBib.value;
16778
16781
  return;
@@ -17056,6 +17059,7 @@ class AuroCombobox extends AuroElement {
17056
17059
  * @returns {void}
17057
17060
  */
17058
17061
  handleSlotChange(event) {
17062
+ console.warn('handleSlotChange', event);
17059
17063
  switch (event.target.name) {
17060
17064
  case '':
17061
17065
  if (!this.menu || this.menu !== this.querySelector('auro-menu, [auro-menu]')) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurodesignsystem-dev/auro-formkit",
3
- "version": "0.0.0-pr1052.4",
3
+ "version": "0.0.0-pr1052.5",
4
4
  "description": "A collection of web components used to build forms.",
5
5
  "homepage": "https://github.com/AlaskaAirlines/auro-formkit#readme",
6
6
  "bugs": {