@aurodesignsystem-dev/auro-formkit 0.0.0-pr1516.0 → 0.0.0-pr1519.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 (54) hide show
  1. package/components/checkbox/demo/customize.min.js +18 -10
  2. package/components/checkbox/demo/getting-started.min.js +18 -10
  3. package/components/checkbox/demo/index.min.js +18 -10
  4. package/components/checkbox/dist/index.js +18 -10
  5. package/components/checkbox/dist/registered.js +18 -10
  6. package/components/combobox/README.md +1 -1
  7. package/components/combobox/demo/customize.md +2 -10
  8. package/components/combobox/demo/customize.min.js +454 -467
  9. package/components/combobox/demo/getting-started.min.js +454 -463
  10. package/components/combobox/demo/index.md +1 -1
  11. package/components/combobox/demo/index.min.js +454 -463
  12. package/components/combobox/demo/keyboard-behavior.md +2 -142
  13. package/components/combobox/demo/readme.md +1 -1
  14. package/components/combobox/demo/why-combobox.md +2 -2
  15. package/components/combobox/dist/auro-combobox.d.ts +30 -14
  16. package/components/combobox/dist/index.js +454 -463
  17. package/components/combobox/dist/registered.js +454 -463
  18. package/components/counter/demo/customize.min.js +32 -12
  19. package/components/counter/demo/index.min.js +32 -12
  20. package/components/counter/dist/index.js +32 -12
  21. package/components/counter/dist/registered.js +32 -12
  22. package/components/datepicker/demo/customize.min.js +183 -167
  23. package/components/datepicker/demo/index.min.js +183 -167
  24. package/components/datepicker/dist/index.js +183 -167
  25. package/components/datepicker/dist/registered.js +183 -167
  26. package/components/dropdown/demo/customize.min.js +14 -2
  27. package/components/dropdown/demo/getting-started.min.js +14 -2
  28. package/components/dropdown/demo/index.min.js +14 -2
  29. package/components/dropdown/dist/index.js +14 -2
  30. package/components/dropdown/dist/registered.js +14 -2
  31. package/components/form/demo/customize.min.js +851 -829
  32. package/components/form/demo/getting-started.min.js +851 -829
  33. package/components/form/demo/index.min.js +851 -829
  34. package/components/form/demo/registerDemoDeps.min.js +851 -829
  35. package/components/input/demo/api.md +58 -57
  36. package/components/input/demo/customize.min.js +114 -155
  37. package/components/input/demo/getting-started.min.js +114 -155
  38. package/components/input/demo/index.min.js +114 -155
  39. package/components/input/dist/base-input.d.ts +9 -51
  40. package/components/input/dist/index.js +114 -155
  41. package/components/input/dist/registered.js +114 -155
  42. package/components/input/dist/utilities.d.ts +9 -0
  43. package/components/radio/demo/customize.min.js +18 -10
  44. package/components/radio/demo/getting-started.min.js +18 -10
  45. package/components/radio/demo/index.min.js +18 -10
  46. package/components/radio/dist/index.js +18 -10
  47. package/components/radio/dist/registered.js +18 -10
  48. package/components/select/demo/customize.min.js +32 -12
  49. package/components/select/demo/getting-started.min.js +32 -12
  50. package/components/select/demo/index.min.js +32 -12
  51. package/components/select/dist/index.js +32 -12
  52. package/components/select/dist/registered.js +32 -12
  53. package/custom-elements.json +142 -278
  54. package/package.json +1 -1
@@ -3942,7 +3942,7 @@ class AuroHelpText extends i {
3942
3942
  }
3943
3943
  }
3944
3944
 
3945
- var formkitVersion = '202606292156';
3945
+ var formkitVersion = '202607011722';
3946
3946
 
3947
3947
  class AuroElement extends i {
3948
3948
  static get properties() {
@@ -4694,7 +4694,19 @@ class AuroDropdown extends AuroElement {
4694
4694
  if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown") {
4695
4695
  this.trigger.focus();
4696
4696
  }
4697
- }
4697
+
4698
+
4699
+ if (!this.isPopoverVisible) {
4700
+ // wait til the bib gets fully closed and rendered
4701
+ setTimeout(() => {
4702
+ // check if it's still closed and the focus is still within the dropdown, but not in the bib. If so, move focus to the trigger.
4703
+ if (!this.isPopoverVisible || !this.bib.matches(':focus-within')) {
4704
+ return;
4705
+ }
4706
+ // Move focus out of bib into trigger.
4707
+ this.trigger.focus();
4708
+ });
4709
+ } }
4698
4710
 
4699
4711
  firstUpdated() {
4700
4712
  // Configure the floater to, this will generate the ID for the bib
@@ -3942,7 +3942,7 @@ class AuroHelpText extends i {
3942
3942
  }
3943
3943
  }
3944
3944
 
3945
- var formkitVersion = '202606292156';
3945
+ var formkitVersion = '202607011722';
3946
3946
 
3947
3947
  class AuroElement extends i {
3948
3948
  static get properties() {
@@ -4694,7 +4694,19 @@ class AuroDropdown extends AuroElement {
4694
4694
  if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown") {
4695
4695
  this.trigger.focus();
4696
4696
  }
4697
- }
4697
+
4698
+
4699
+ if (!this.isPopoverVisible) {
4700
+ // wait til the bib gets fully closed and rendered
4701
+ setTimeout(() => {
4702
+ // check if it's still closed and the focus is still within the dropdown, but not in the bib. If so, move focus to the trigger.
4703
+ if (!this.isPopoverVisible || !this.bib.matches(':focus-within')) {
4704
+ return;
4705
+ }
4706
+ // Move focus out of bib into trigger.
4707
+ this.trigger.focus();
4708
+ });
4709
+ } }
4698
4710
 
4699
4711
  firstUpdated() {
4700
4712
  // Configure the floater to, this will generate the ID for the bib
@@ -3969,7 +3969,7 @@ class AuroHelpText extends i {
3969
3969
  }
3970
3970
  }
3971
3971
 
3972
- var formkitVersion = '202606292156';
3972
+ var formkitVersion = '202607011722';
3973
3973
 
3974
3974
  class AuroElement extends i {
3975
3975
  static get properties() {
@@ -4721,7 +4721,19 @@ class AuroDropdown extends AuroElement {
4721
4721
  if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown") {
4722
4722
  this.trigger.focus();
4723
4723
  }
4724
- }
4724
+
4725
+
4726
+ if (!this.isPopoverVisible) {
4727
+ // wait til the bib gets fully closed and rendered
4728
+ setTimeout(() => {
4729
+ // check if it's still closed and the focus is still within the dropdown, but not in the bib. If so, move focus to the trigger.
4730
+ if (!this.isPopoverVisible || !this.bib.matches(':focus-within')) {
4731
+ return;
4732
+ }
4733
+ // Move focus out of bib into trigger.
4734
+ this.trigger.focus();
4735
+ });
4736
+ } }
4725
4737
 
4726
4738
  firstUpdated() {
4727
4739
  // Configure the floater to, this will generate the ID for the bib
@@ -3874,7 +3874,7 @@ class AuroHelpText extends LitElement {
3874
3874
  }
3875
3875
  }
3876
3876
 
3877
- var formkitVersion = '202606292156';
3877
+ var formkitVersion = '202607011722';
3878
3878
 
3879
3879
  class AuroElement extends LitElement {
3880
3880
  static get properties() {
@@ -4626,7 +4626,19 @@ class AuroDropdown extends AuroElement {
4626
4626
  if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown") {
4627
4627
  this.trigger.focus();
4628
4628
  }
4629
- }
4629
+
4630
+
4631
+ if (!this.isPopoverVisible) {
4632
+ // wait til the bib gets fully closed and rendered
4633
+ setTimeout(() => {
4634
+ // check if it's still closed and the focus is still within the dropdown, but not in the bib. If so, move focus to the trigger.
4635
+ if (!this.isPopoverVisible || !this.bib.matches(':focus-within')) {
4636
+ return;
4637
+ }
4638
+ // Move focus out of bib into trigger.
4639
+ this.trigger.focus();
4640
+ });
4641
+ } }
4630
4642
 
4631
4643
  firstUpdated() {
4632
4644
  // Configure the floater to, this will generate the ID for the bib
@@ -3874,7 +3874,7 @@ class AuroHelpText extends LitElement {
3874
3874
  }
3875
3875
  }
3876
3876
 
3877
- var formkitVersion = '202606292156';
3877
+ var formkitVersion = '202607011722';
3878
3878
 
3879
3879
  class AuroElement extends LitElement {
3880
3880
  static get properties() {
@@ -4626,7 +4626,19 @@ class AuroDropdown extends AuroElement {
4626
4626
  if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown") {
4627
4627
  this.trigger.focus();
4628
4628
  }
4629
- }
4629
+
4630
+
4631
+ if (!this.isPopoverVisible) {
4632
+ // wait til the bib gets fully closed and rendered
4633
+ setTimeout(() => {
4634
+ // check if it's still closed and the focus is still within the dropdown, but not in the bib. If so, move focus to the trigger.
4635
+ if (!this.isPopoverVisible || !this.bib.matches(':focus-within')) {
4636
+ return;
4637
+ }
4638
+ // Move focus out of bib into trigger.
4639
+ this.trigger.focus();
4640
+ });
4641
+ } }
4630
4642
 
4631
4643
  firstUpdated() {
4632
4644
  // Configure the floater to, this will generate the ID for the bib