@aurodesignsystem-dev/auro-formkit 0.0.0-pr1052.6 → 0.0.0-pr1052.7

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.
@@ -17739,6 +17739,8 @@ class AuroMenu extends AuroElement$1 {
17739
17739
 
17740
17740
 
17741
17741
  if (changedProperties.has("value")) {
17742
+ console.warn('menu value updated', this.value);
17743
+ console.info('available options', this.availableOptions);
17742
17744
  // Handle null/undefined case
17743
17745
  if (this.value === undefined || this.value === null) {
17744
17746
  this.clearSelection();
@@ -17750,9 +17752,12 @@ class AuroMenu extends AuroElement$1 {
17750
17752
 
17751
17753
  this.optionSelected = matchingOptions.length > 0 ? matchingOptions : undefined;
17752
17754
  } else {
17755
+ console.info('single-select mode, looking for value', this.value);
17753
17756
  // In single-select mode, this.value should be a string
17754
17757
  const matchingOptions = this.items.find((item) => item.value === this.value);
17755
17758
 
17759
+ console.info('matchingOptions', matchingOptions);
17760
+
17756
17761
  if (matchingOptions) {
17757
17762
  this.optionSelected = matchingOptions;
17758
17763
  this.index = this.items.indexOf(matchingOptions);
@@ -17761,6 +17766,8 @@ class AuroMenu extends AuroElement$1 {
17761
17766
  this.optionSelected = undefined;
17762
17767
  this.index = -1;
17763
17768
  }
17769
+
17770
+ console.warn('optionSelected', this.optionSelected);
17764
17771
  }
17765
17772
 
17766
17773
  // If no matching options were found in either mode
@@ -17587,6 +17587,8 @@ class AuroMenu extends AuroElement$1 {
17587
17587
 
17588
17588
 
17589
17589
  if (changedProperties.has("value")) {
17590
+ console.warn('menu value updated', this.value);
17591
+ console.info('available options', this.availableOptions);
17590
17592
  // Handle null/undefined case
17591
17593
  if (this.value === undefined || this.value === null) {
17592
17594
  this.clearSelection();
@@ -17598,9 +17600,12 @@ class AuroMenu extends AuroElement$1 {
17598
17600
 
17599
17601
  this.optionSelected = matchingOptions.length > 0 ? matchingOptions : undefined;
17600
17602
  } else {
17603
+ console.info('single-select mode, looking for value', this.value);
17601
17604
  // In single-select mode, this.value should be a string
17602
17605
  const matchingOptions = this.items.find((item) => item.value === this.value);
17603
17606
 
17607
+ console.info('matchingOptions', matchingOptions);
17608
+
17604
17609
  if (matchingOptions) {
17605
17610
  this.optionSelected = matchingOptions;
17606
17611
  this.index = this.items.indexOf(matchingOptions);
@@ -17609,6 +17614,8 @@ class AuroMenu extends AuroElement$1 {
17609
17614
  this.optionSelected = undefined;
17610
17615
  this.index = -1;
17611
17616
  }
17617
+
17618
+ console.warn('optionSelected', this.optionSelected);
17612
17619
  }
17613
17620
 
17614
17621
  // If no matching options were found in either mode
@@ -537,6 +537,8 @@ class AuroMenu extends AuroElement$1 {
537
537
 
538
538
 
539
539
  if (changedProperties.has("value")) {
540
+ console.warn('menu value updated', this.value);
541
+ console.info('available options', this.availableOptions);
540
542
  // Handle null/undefined case
541
543
  if (this.value === undefined || this.value === null) {
542
544
  this.clearSelection();
@@ -548,9 +550,12 @@ class AuroMenu extends AuroElement$1 {
548
550
 
549
551
  this.optionSelected = matchingOptions.length > 0 ? matchingOptions : undefined;
550
552
  } else {
553
+ console.info('single-select mode, looking for value', this.value);
551
554
  // In single-select mode, this.value should be a string
552
555
  const matchingOptions = this.items.find((item) => item.value === this.value);
553
556
 
557
+ console.info('matchingOptions', matchingOptions);
558
+
554
559
  if (matchingOptions) {
555
560
  this.optionSelected = matchingOptions;
556
561
  this.index = this.items.indexOf(matchingOptions);
@@ -559,6 +564,8 @@ class AuroMenu extends AuroElement$1 {
559
564
  this.optionSelected = undefined;
560
565
  this.index = -1;
561
566
  }
567
+
568
+ console.warn('optionSelected', this.optionSelected);
562
569
  }
563
570
 
564
571
  // If no matching options were found in either mode
@@ -497,6 +497,8 @@ class AuroMenu extends AuroElement$1 {
497
497
 
498
498
 
499
499
  if (changedProperties.has("value")) {
500
+ console.warn('menu value updated', this.value);
501
+ console.info('available options', this.availableOptions);
500
502
  // Handle null/undefined case
501
503
  if (this.value === undefined || this.value === null) {
502
504
  this.clearSelection();
@@ -508,9 +510,12 @@ class AuroMenu extends AuroElement$1 {
508
510
 
509
511
  this.optionSelected = matchingOptions.length > 0 ? matchingOptions : undefined;
510
512
  } else {
513
+ console.info('single-select mode, looking for value', this.value);
511
514
  // In single-select mode, this.value should be a string
512
515
  const matchingOptions = this.items.find((item) => item.value === this.value);
513
516
 
517
+ console.info('matchingOptions', matchingOptions);
518
+
514
519
  if (matchingOptions) {
515
520
  this.optionSelected = matchingOptions;
516
521
  this.index = this.items.indexOf(matchingOptions);
@@ -519,6 +524,8 @@ class AuroMenu extends AuroElement$1 {
519
524
  this.optionSelected = undefined;
520
525
  this.index = -1;
521
526
  }
527
+
528
+ console.warn('optionSelected', this.optionSelected);
522
529
  }
523
530
 
524
531
  // If no matching options were found in either mode
@@ -504,6 +504,8 @@ class AuroMenu extends AuroElement$1 {
504
504
 
505
505
 
506
506
  if (changedProperties.has("value")) {
507
+ console.warn('menu value updated', this.value);
508
+ console.info('available options', this.availableOptions);
507
509
  // Handle null/undefined case
508
510
  if (this.value === undefined || this.value === null) {
509
511
  this.clearSelection();
@@ -515,9 +517,12 @@ class AuroMenu extends AuroElement$1 {
515
517
 
516
518
  this.optionSelected = matchingOptions.length > 0 ? matchingOptions : undefined;
517
519
  } else {
520
+ console.info('single-select mode, looking for value', this.value);
518
521
  // In single-select mode, this.value should be a string
519
522
  const matchingOptions = this.items.find((item) => item.value === this.value);
520
523
 
524
+ console.info('matchingOptions', matchingOptions);
525
+
521
526
  if (matchingOptions) {
522
527
  this.optionSelected = matchingOptions;
523
528
  this.index = this.items.indexOf(matchingOptions);
@@ -526,6 +531,8 @@ class AuroMenu extends AuroElement$1 {
526
531
  this.optionSelected = undefined;
527
532
  this.index = -1;
528
533
  }
534
+
535
+ console.warn('optionSelected', this.optionSelected);
529
536
  }
530
537
 
531
538
  // If no matching options were found in either mode
@@ -463,6 +463,8 @@ class AuroMenu extends AuroElement$1 {
463
463
 
464
464
 
465
465
  if (changedProperties.has("value")) {
466
+ console.warn('menu value updated', this.value);
467
+ console.info('available options', this.availableOptions);
466
468
  // Handle null/undefined case
467
469
  if (this.value === undefined || this.value === null) {
468
470
  this.clearSelection();
@@ -474,9 +476,12 @@ class AuroMenu extends AuroElement$1 {
474
476
 
475
477
  this.optionSelected = matchingOptions.length > 0 ? matchingOptions : undefined;
476
478
  } else {
479
+ console.info('single-select mode, looking for value', this.value);
477
480
  // In single-select mode, this.value should be a string
478
481
  const matchingOptions = this.items.find((item) => item.value === this.value);
479
482
 
483
+ console.info('matchingOptions', matchingOptions);
484
+
480
485
  if (matchingOptions) {
481
486
  this.optionSelected = matchingOptions;
482
487
  this.index = this.items.indexOf(matchingOptions);
@@ -485,6 +490,8 @@ class AuroMenu extends AuroElement$1 {
485
490
  this.optionSelected = undefined;
486
491
  this.index = -1;
487
492
  }
493
+
494
+ console.warn('optionSelected', this.optionSelected);
488
495
  }
489
496
 
490
497
  // If no matching options were found in either mode
@@ -9351,6 +9351,8 @@ class AuroMenu extends AuroElement$4 {
9351
9351
 
9352
9352
 
9353
9353
  if (changedProperties.has("value")) {
9354
+ console.warn('menu value updated', this.value);
9355
+ console.info('available options', this.availableOptions);
9354
9356
  // Handle null/undefined case
9355
9357
  if (this.value === undefined || this.value === null) {
9356
9358
  this.clearSelection();
@@ -9362,9 +9364,12 @@ class AuroMenu extends AuroElement$4 {
9362
9364
 
9363
9365
  this.optionSelected = matchingOptions.length > 0 ? matchingOptions : undefined;
9364
9366
  } else {
9367
+ console.info('single-select mode, looking for value', this.value);
9365
9368
  // In single-select mode, this.value should be a string
9366
9369
  const matchingOptions = this.items.find((item) => item.value === this.value);
9367
9370
 
9371
+ console.info('matchingOptions', matchingOptions);
9372
+
9368
9373
  if (matchingOptions) {
9369
9374
  this.optionSelected = matchingOptions;
9370
9375
  this.index = this.items.indexOf(matchingOptions);
@@ -9373,6 +9378,8 @@ class AuroMenu extends AuroElement$4 {
9373
9378
  this.optionSelected = undefined;
9374
9379
  this.index = -1;
9375
9380
  }
9381
+
9382
+ console.warn('optionSelected', this.optionSelected);
9376
9383
  }
9377
9384
 
9378
9385
  // If no matching options were found in either mode
@@ -9259,6 +9259,8 @@ class AuroMenu extends AuroElement$4 {
9259
9259
 
9260
9260
 
9261
9261
  if (changedProperties.has("value")) {
9262
+ console.warn('menu value updated', this.value);
9263
+ console.info('available options', this.availableOptions);
9262
9264
  // Handle null/undefined case
9263
9265
  if (this.value === undefined || this.value === null) {
9264
9266
  this.clearSelection();
@@ -9270,9 +9272,12 @@ class AuroMenu extends AuroElement$4 {
9270
9272
 
9271
9273
  this.optionSelected = matchingOptions.length > 0 ? matchingOptions : undefined;
9272
9274
  } else {
9275
+ console.info('single-select mode, looking for value', this.value);
9273
9276
  // In single-select mode, this.value should be a string
9274
9277
  const matchingOptions = this.items.find((item) => item.value === this.value);
9275
9278
 
9279
+ console.info('matchingOptions', matchingOptions);
9280
+
9276
9281
  if (matchingOptions) {
9277
9282
  this.optionSelected = matchingOptions;
9278
9283
  this.index = this.items.indexOf(matchingOptions);
@@ -9281,6 +9286,8 @@ class AuroMenu extends AuroElement$4 {
9281
9286
  this.optionSelected = undefined;
9282
9287
  this.index = -1;
9283
9288
  }
9289
+
9290
+ console.warn('optionSelected', this.optionSelected);
9284
9291
  }
9285
9292
 
9286
9293
  // If no matching options were found in either mode
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurodesignsystem-dev/auro-formkit",
3
- "version": "0.0.0-pr1052.6",
3
+ "version": "0.0.0-pr1052.7",
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": {