@aurodesignsystem-dev/auro-formkit 0.0.0-pr1348.2 → 0.0.0-pr1350.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 (35) hide show
  1. package/components/bibtemplate/dist/index.js +2 -2
  2. package/components/bibtemplate/dist/registered.js +2 -2
  3. package/components/checkbox/demo/api.min.js +1 -1
  4. package/components/checkbox/demo/index.min.js +1 -1
  5. package/components/checkbox/dist/index.js +1 -1
  6. package/components/checkbox/dist/registered.js +1 -1
  7. package/components/combobox/demo/api.min.js +28 -38
  8. package/components/combobox/demo/index.min.js +28 -38
  9. package/components/combobox/dist/index.js +28 -38
  10. package/components/combobox/dist/registered.js +28 -38
  11. package/components/counter/demo/api.min.js +5 -5
  12. package/components/counter/demo/index.min.js +5 -5
  13. package/components/counter/dist/index.js +5 -5
  14. package/components/counter/dist/registered.js +5 -5
  15. package/components/datepicker/demo/api.min.js +28 -38
  16. package/components/datepicker/demo/index.min.js +28 -38
  17. package/components/datepicker/dist/index.js +28 -38
  18. package/components/datepicker/dist/registered.js +28 -38
  19. package/components/dropdown/demo/api.min.js +1 -1
  20. package/components/dropdown/demo/index.min.js +1 -1
  21. package/components/dropdown/dist/index.js +1 -1
  22. package/components/dropdown/dist/registered.js +1 -1
  23. package/components/input/demo/api.min.js +24 -34
  24. package/components/input/demo/index.min.js +24 -34
  25. package/components/input/dist/index.js +24 -34
  26. package/components/input/dist/registered.js +24 -34
  27. package/components/radio/demo/api.min.js +1 -1
  28. package/components/radio/demo/index.min.js +1 -1
  29. package/components/radio/dist/index.js +1 -1
  30. package/components/radio/dist/registered.js +1 -1
  31. package/components/select/demo/api.min.js +4 -4
  32. package/components/select/demo/index.min.js +4 -4
  33. package/components/select/dist/index.js +4 -4
  34. package/components/select/dist/registered.js +4 -4
  35. package/package.json +1 -1
@@ -9161,13 +9161,13 @@ class AuroBibtemplate extends LitElement {
9161
9161
  super.connectedCallback();
9162
9162
 
9163
9163
  this.preventBodyScroll = this.preventBodyScroll.bind(this);
9164
- this.addEventListener('touchmove', this.preventBodyScroll, { passive: false });
9164
+ // this.addEventListener('touchmove', this.preventBodyScroll, { passive: false });
9165
9165
  }
9166
9166
 
9167
9167
  disconnectedCallback() {
9168
9168
  super.disconnectedCallback();
9169
9169
 
9170
- this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
9170
+ // this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
9171
9171
  }
9172
9172
 
9173
9173
  onCloseButtonClick() {
@@ -9228,7 +9228,7 @@ class AuroBibtemplate extends LitElement {
9228
9228
  }
9229
9229
  }
9230
9230
 
9231
- var formkitVersion$2 = '202602192147';
9231
+ var formkitVersion$2 = '202602231818';
9232
9232
 
9233
9233
  let l$1 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(o,s,a){const r=this.generateElementName(o,s),i=literal`${unsafeStatic(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1 = class d{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`),s=(o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim();return s||null}};let h$1 = class h{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}};var c$1=css`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]),:host([appearance=brand]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]),:host([appearance=inverse]){--ds-auro-loader-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
9234
9234
  `,u$4=css`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, .875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, .75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, .625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, .875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, .05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, .05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, .05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, .05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, .05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, .1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(.875rem, 1.1666666667vw, .875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0;box-sizing:border-box}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin) * 6);height:calc(1rem + var(--margin) * 2)}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(1.95rem + var(--margin-xs) * 6);height:calc(.65rem + var(--margin-xs) * 2)}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:calc(2rem + var(--margin-sm) * 2)}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:calc(3rem + var(--margin-md) * 2)}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:calc(5rem + var(--margin-lg) * 2)}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-.4s}:host([pulse])>span:nth-child(2){animation-delay:-.2s}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}:host>.no-animation{display:none}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>span{opacity:1}:host>.loader{display:none}:host>svg{display:none}:host>.no-animation{display:block}}
@@ -12941,7 +12941,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
12941
12941
  }
12942
12942
  };
12943
12943
 
12944
- var formkitVersion$1 = '202602192147';
12944
+ var formkitVersion$1 = '202602231818';
12945
12945
 
12946
12946
  let AuroElement$2 = class AuroElement extends LitElement {
12947
12947
  static get properties() {
@@ -19758,12 +19758,6 @@ class BaseInput extends AuroElement$1 {
19758
19758
 
19759
19759
  this.maskInstance.on('accept', () => {
19760
19760
  this.value = this.maskInstance.value;
19761
-
19762
- // For credit card inputs, validate on every accept event when validateOnInput is true
19763
- if (this.type === 'credit-card' && this.validateOnInput) {
19764
- this.touched = true;
19765
- this.validation.validate(this);
19766
- }
19767
19761
  });
19768
19762
 
19769
19763
  this.maskInstance.on('complete', () => {
@@ -19776,9 +19770,6 @@ class BaseInput extends AuroElement$1 {
19776
19770
  this.formattedDate = formattedDates.formattedDate;
19777
19771
  this.comparisonDate = formattedDates.dateForComparison;
19778
19772
  }
19779
-
19780
- this.touched = true;
19781
- this.validation.validate(this);
19782
19773
  });
19783
19774
  }
19784
19775
  }
@@ -19865,35 +19856,34 @@ class BaseInput extends AuroElement$1 {
19865
19856
  // Process credit card type detection and formatting during input
19866
19857
  if (this.type === 'credit-card') {
19867
19858
  this.processCreditCard();
19868
- }
19869
-
19870
- // Sets value property to value of element value (el.value).
19871
- this.value = this.inputElement.value;
19859
+ this.touched = true;
19860
+ this.validation.validate(this);
19861
+ } else {
19872
19862
 
19873
- // Determine if the value change was programmatic, including autofill.
19874
- const inputWasProgrammatic = !this.matches(":focus") || event.isProgrammatic;
19863
+ // Sets value property to value of element value (el.value).
19864
+ this.value = this.inputElement.value;
19875
19865
 
19876
- // For credit card inputs with mask, let the mask events handle validation
19877
- // to avoid validation with inconsistent value states
19878
- const shouldSkipValidation = this.type === 'credit-card' && this.maskInstance;
19866
+ // Determine if the value change was programmatic, including autofill.
19867
+ const inputWasProgrammatic = !this.matches(":focus") || event.isProgrammatic;
19879
19868
 
19880
- // Validation on input or programmatic value change (including autofill).
19881
- if ((this.validateOnInput || inputWasProgrammatic) && !shouldSkipValidation) {
19882
- this.touched = true;
19883
- this.validation.validate(this);
19884
- }
19869
+ // Validation on input or programmatic value change (including autofill).
19870
+ if (this.validateOnInput || inputWasProgrammatic) {
19871
+ this.touched = true;
19872
+ this.validation.validate(this);
19873
+ }
19885
19874
 
19886
- // Prevents cursor jumping in Safari.
19887
- const { selectionStart } = this.inputElement;
19875
+ // Prevents cursor jumping in Safari.
19876
+ const { selectionStart } = this.inputElement;
19888
19877
 
19889
- if (this.setSelectionInputTypes.includes(this.type)) {
19890
- this.updateComplete.then(() => {
19891
- try {
19892
- this.inputElement.setSelectionRange(selectionStart, selectionStart);
19893
- } catch (error) { // eslint-disable-line
19894
- // do nothing
19895
- }
19896
- });
19878
+ if (this.setSelectionInputTypes.includes(this.type)) {
19879
+ this.updateComplete.then(() => {
19880
+ try {
19881
+ this.inputElement.setSelectionRange(selectionStart, selectionStart);
19882
+ } catch (error) { // eslint-disable-line
19883
+ // do nothing
19884
+ }
19885
+ });
19886
+ }
19897
19887
  }
19898
19888
  }
19899
19889
 
@@ -20579,7 +20569,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
20579
20569
  }
20580
20570
  };
20581
20571
 
20582
- var formkitVersion = '202602192147';
20572
+ var formkitVersion = '202602231818';
20583
20573
 
20584
20574
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
20585
20575
  // See LICENSE in the project root for license information.
@@ -3405,7 +3405,7 @@ class AuroHelpText extends i {
3405
3405
  }
3406
3406
  }
3407
3407
 
3408
- var formkitVersion = '202602192147';
3408
+ var formkitVersion = '202602231818';
3409
3409
 
3410
3410
  class AuroElement extends i {
3411
3411
  static get properties() {
@@ -3345,7 +3345,7 @@ class AuroHelpText extends i {
3345
3345
  }
3346
3346
  }
3347
3347
 
3348
- var formkitVersion = '202602192147';
3348
+ var formkitVersion = '202602231818';
3349
3349
 
3350
3350
  class AuroElement extends i {
3351
3351
  static get properties() {
@@ -3254,7 +3254,7 @@ class AuroHelpText extends LitElement {
3254
3254
  }
3255
3255
  }
3256
3256
 
3257
- var formkitVersion = '202602192147';
3257
+ var formkitVersion = '202602231818';
3258
3258
 
3259
3259
  class AuroElement extends LitElement {
3260
3260
  static get properties() {
@@ -3254,7 +3254,7 @@ class AuroHelpText extends LitElement {
3254
3254
  }
3255
3255
  }
3256
3256
 
3257
- var formkitVersion = '202602192147';
3257
+ var formkitVersion = '202602231818';
3258
3258
 
3259
3259
  class AuroElement extends LitElement {
3260
3260
  static get properties() {
@@ -5903,12 +5903,6 @@ class BaseInput extends AuroElement {
5903
5903
 
5904
5904
  this.maskInstance.on('accept', () => {
5905
5905
  this.value = this.maskInstance.value;
5906
-
5907
- // For credit card inputs, validate on every accept event when validateOnInput is true
5908
- if (this.type === 'credit-card' && this.validateOnInput) {
5909
- this.touched = true;
5910
- this.validation.validate(this);
5911
- }
5912
5906
  });
5913
5907
 
5914
5908
  this.maskInstance.on('complete', () => {
@@ -5921,9 +5915,6 @@ class BaseInput extends AuroElement {
5921
5915
  this.formattedDate = formattedDates.formattedDate;
5922
5916
  this.comparisonDate = formattedDates.dateForComparison;
5923
5917
  }
5924
-
5925
- this.touched = true;
5926
- this.validation.validate(this);
5927
5918
  });
5928
5919
  }
5929
5920
  }
@@ -6010,35 +6001,34 @@ class BaseInput extends AuroElement {
6010
6001
  // Process credit card type detection and formatting during input
6011
6002
  if (this.type === 'credit-card') {
6012
6003
  this.processCreditCard();
6013
- }
6014
-
6015
- // Sets value property to value of element value (el.value).
6016
- this.value = this.inputElement.value;
6004
+ this.touched = true;
6005
+ this.validation.validate(this);
6006
+ } else {
6017
6007
 
6018
- // Determine if the value change was programmatic, including autofill.
6019
- const inputWasProgrammatic = !this.matches(":focus") || event.isProgrammatic;
6008
+ // Sets value property to value of element value (el.value).
6009
+ this.value = this.inputElement.value;
6020
6010
 
6021
- // For credit card inputs with mask, let the mask events handle validation
6022
- // to avoid validation with inconsistent value states
6023
- const shouldSkipValidation = this.type === 'credit-card' && this.maskInstance;
6011
+ // Determine if the value change was programmatic, including autofill.
6012
+ const inputWasProgrammatic = !this.matches(":focus") || event.isProgrammatic;
6024
6013
 
6025
- // Validation on input or programmatic value change (including autofill).
6026
- if ((this.validateOnInput || inputWasProgrammatic) && !shouldSkipValidation) {
6027
- this.touched = true;
6028
- this.validation.validate(this);
6029
- }
6014
+ // Validation on input or programmatic value change (including autofill).
6015
+ if (this.validateOnInput || inputWasProgrammatic) {
6016
+ this.touched = true;
6017
+ this.validation.validate(this);
6018
+ }
6030
6019
 
6031
- // Prevents cursor jumping in Safari.
6032
- const { selectionStart } = this.inputElement;
6020
+ // Prevents cursor jumping in Safari.
6021
+ const { selectionStart } = this.inputElement;
6033
6022
 
6034
- if (this.setSelectionInputTypes.includes(this.type)) {
6035
- this.updateComplete.then(() => {
6036
- try {
6037
- this.inputElement.setSelectionRange(selectionStart, selectionStart);
6038
- } catch (error) { // eslint-disable-line
6039
- // do nothing
6040
- }
6041
- });
6023
+ if (this.setSelectionInputTypes.includes(this.type)) {
6024
+ this.updateComplete.then(() => {
6025
+ try {
6026
+ this.inputElement.setSelectionRange(selectionStart, selectionStart);
6027
+ } catch (error) { // eslint-disable-line
6028
+ // do nothing
6029
+ }
6030
+ });
6031
+ }
6042
6032
  }
6043
6033
  }
6044
6034
 
@@ -6724,7 +6714,7 @@ class AuroHelpText extends i$3 {
6724
6714
  }
6725
6715
  }
6726
6716
 
6727
- var formkitVersion = '202602192147';
6717
+ var formkitVersion = '202602231818';
6728
6718
 
6729
6719
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
6730
6720
  // See LICENSE in the project root for license information.
@@ -5828,12 +5828,6 @@ class BaseInput extends AuroElement {
5828
5828
 
5829
5829
  this.maskInstance.on('accept', () => {
5830
5830
  this.value = this.maskInstance.value;
5831
-
5832
- // For credit card inputs, validate on every accept event when validateOnInput is true
5833
- if (this.type === 'credit-card' && this.validateOnInput) {
5834
- this.touched = true;
5835
- this.validation.validate(this);
5836
- }
5837
5831
  });
5838
5832
 
5839
5833
  this.maskInstance.on('complete', () => {
@@ -5846,9 +5840,6 @@ class BaseInput extends AuroElement {
5846
5840
  this.formattedDate = formattedDates.formattedDate;
5847
5841
  this.comparisonDate = formattedDates.dateForComparison;
5848
5842
  }
5849
-
5850
- this.touched = true;
5851
- this.validation.validate(this);
5852
5843
  });
5853
5844
  }
5854
5845
  }
@@ -5935,35 +5926,34 @@ class BaseInput extends AuroElement {
5935
5926
  // Process credit card type detection and formatting during input
5936
5927
  if (this.type === 'credit-card') {
5937
5928
  this.processCreditCard();
5938
- }
5939
-
5940
- // Sets value property to value of element value (el.value).
5941
- this.value = this.inputElement.value;
5929
+ this.touched = true;
5930
+ this.validation.validate(this);
5931
+ } else {
5942
5932
 
5943
- // Determine if the value change was programmatic, including autofill.
5944
- const inputWasProgrammatic = !this.matches(":focus") || event.isProgrammatic;
5933
+ // Sets value property to value of element value (el.value).
5934
+ this.value = this.inputElement.value;
5945
5935
 
5946
- // For credit card inputs with mask, let the mask events handle validation
5947
- // to avoid validation with inconsistent value states
5948
- const shouldSkipValidation = this.type === 'credit-card' && this.maskInstance;
5936
+ // Determine if the value change was programmatic, including autofill.
5937
+ const inputWasProgrammatic = !this.matches(":focus") || event.isProgrammatic;
5949
5938
 
5950
- // Validation on input or programmatic value change (including autofill).
5951
- if ((this.validateOnInput || inputWasProgrammatic) && !shouldSkipValidation) {
5952
- this.touched = true;
5953
- this.validation.validate(this);
5954
- }
5939
+ // Validation on input or programmatic value change (including autofill).
5940
+ if (this.validateOnInput || inputWasProgrammatic) {
5941
+ this.touched = true;
5942
+ this.validation.validate(this);
5943
+ }
5955
5944
 
5956
- // Prevents cursor jumping in Safari.
5957
- const { selectionStart } = this.inputElement;
5945
+ // Prevents cursor jumping in Safari.
5946
+ const { selectionStart } = this.inputElement;
5958
5947
 
5959
- if (this.setSelectionInputTypes.includes(this.type)) {
5960
- this.updateComplete.then(() => {
5961
- try {
5962
- this.inputElement.setSelectionRange(selectionStart, selectionStart);
5963
- } catch (error) { // eslint-disable-line
5964
- // do nothing
5965
- }
5966
- });
5948
+ if (this.setSelectionInputTypes.includes(this.type)) {
5949
+ this.updateComplete.then(() => {
5950
+ try {
5951
+ this.inputElement.setSelectionRange(selectionStart, selectionStart);
5952
+ } catch (error) { // eslint-disable-line
5953
+ // do nothing
5954
+ }
5955
+ });
5956
+ }
5967
5957
  }
5968
5958
  }
5969
5959
 
@@ -6649,7 +6639,7 @@ class AuroHelpText extends i$3 {
6649
6639
  }
6650
6640
  }
6651
6641
 
6652
- var formkitVersion = '202602192147';
6642
+ var formkitVersion = '202602231818';
6653
6643
 
6654
6644
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
6655
6645
  // See LICENSE in the project root for license information.
@@ -5769,12 +5769,6 @@ class BaseInput extends AuroElement {
5769
5769
 
5770
5770
  this.maskInstance.on('accept', () => {
5771
5771
  this.value = this.maskInstance.value;
5772
-
5773
- // For credit card inputs, validate on every accept event when validateOnInput is true
5774
- if (this.type === 'credit-card' && this.validateOnInput) {
5775
- this.touched = true;
5776
- this.validation.validate(this);
5777
- }
5778
5772
  });
5779
5773
 
5780
5774
  this.maskInstance.on('complete', () => {
@@ -5787,9 +5781,6 @@ class BaseInput extends AuroElement {
5787
5781
  this.formattedDate = formattedDates.formattedDate;
5788
5782
  this.comparisonDate = formattedDates.dateForComparison;
5789
5783
  }
5790
-
5791
- this.touched = true;
5792
- this.validation.validate(this);
5793
5784
  });
5794
5785
  }
5795
5786
  }
@@ -5876,35 +5867,34 @@ class BaseInput extends AuroElement {
5876
5867
  // Process credit card type detection and formatting during input
5877
5868
  if (this.type === 'credit-card') {
5878
5869
  this.processCreditCard();
5879
- }
5880
-
5881
- // Sets value property to value of element value (el.value).
5882
- this.value = this.inputElement.value;
5870
+ this.touched = true;
5871
+ this.validation.validate(this);
5872
+ } else {
5883
5873
 
5884
- // Determine if the value change was programmatic, including autofill.
5885
- const inputWasProgrammatic = !this.matches(":focus") || event.isProgrammatic;
5874
+ // Sets value property to value of element value (el.value).
5875
+ this.value = this.inputElement.value;
5886
5876
 
5887
- // For credit card inputs with mask, let the mask events handle validation
5888
- // to avoid validation with inconsistent value states
5889
- const shouldSkipValidation = this.type === 'credit-card' && this.maskInstance;
5877
+ // Determine if the value change was programmatic, including autofill.
5878
+ const inputWasProgrammatic = !this.matches(":focus") || event.isProgrammatic;
5890
5879
 
5891
- // Validation on input or programmatic value change (including autofill).
5892
- if ((this.validateOnInput || inputWasProgrammatic) && !shouldSkipValidation) {
5893
- this.touched = true;
5894
- this.validation.validate(this);
5895
- }
5880
+ // Validation on input or programmatic value change (including autofill).
5881
+ if (this.validateOnInput || inputWasProgrammatic) {
5882
+ this.touched = true;
5883
+ this.validation.validate(this);
5884
+ }
5896
5885
 
5897
- // Prevents cursor jumping in Safari.
5898
- const { selectionStart } = this.inputElement;
5886
+ // Prevents cursor jumping in Safari.
5887
+ const { selectionStart } = this.inputElement;
5899
5888
 
5900
- if (this.setSelectionInputTypes.includes(this.type)) {
5901
- this.updateComplete.then(() => {
5902
- try {
5903
- this.inputElement.setSelectionRange(selectionStart, selectionStart);
5904
- } catch (error) { // eslint-disable-line
5905
- // do nothing
5906
- }
5907
- });
5889
+ if (this.setSelectionInputTypes.includes(this.type)) {
5890
+ this.updateComplete.then(() => {
5891
+ try {
5892
+ this.inputElement.setSelectionRange(selectionStart, selectionStart);
5893
+ } catch (error) { // eslint-disable-line
5894
+ // do nothing
5895
+ }
5896
+ });
5897
+ }
5908
5898
  }
5909
5899
  }
5910
5900
 
@@ -6590,7 +6580,7 @@ class AuroHelpText extends LitElement {
6590
6580
  }
6591
6581
  }
6592
6582
 
6593
- var formkitVersion = '202602192147';
6583
+ var formkitVersion = '202602231818';
6594
6584
 
6595
6585
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
6596
6586
  // See LICENSE in the project root for license information.
@@ -5769,12 +5769,6 @@ class BaseInput extends AuroElement {
5769
5769
 
5770
5770
  this.maskInstance.on('accept', () => {
5771
5771
  this.value = this.maskInstance.value;
5772
-
5773
- // For credit card inputs, validate on every accept event when validateOnInput is true
5774
- if (this.type === 'credit-card' && this.validateOnInput) {
5775
- this.touched = true;
5776
- this.validation.validate(this);
5777
- }
5778
5772
  });
5779
5773
 
5780
5774
  this.maskInstance.on('complete', () => {
@@ -5787,9 +5781,6 @@ class BaseInput extends AuroElement {
5787
5781
  this.formattedDate = formattedDates.formattedDate;
5788
5782
  this.comparisonDate = formattedDates.dateForComparison;
5789
5783
  }
5790
-
5791
- this.touched = true;
5792
- this.validation.validate(this);
5793
5784
  });
5794
5785
  }
5795
5786
  }
@@ -5876,35 +5867,34 @@ class BaseInput extends AuroElement {
5876
5867
  // Process credit card type detection and formatting during input
5877
5868
  if (this.type === 'credit-card') {
5878
5869
  this.processCreditCard();
5879
- }
5880
-
5881
- // Sets value property to value of element value (el.value).
5882
- this.value = this.inputElement.value;
5870
+ this.touched = true;
5871
+ this.validation.validate(this);
5872
+ } else {
5883
5873
 
5884
- // Determine if the value change was programmatic, including autofill.
5885
- const inputWasProgrammatic = !this.matches(":focus") || event.isProgrammatic;
5874
+ // Sets value property to value of element value (el.value).
5875
+ this.value = this.inputElement.value;
5886
5876
 
5887
- // For credit card inputs with mask, let the mask events handle validation
5888
- // to avoid validation with inconsistent value states
5889
- const shouldSkipValidation = this.type === 'credit-card' && this.maskInstance;
5877
+ // Determine if the value change was programmatic, including autofill.
5878
+ const inputWasProgrammatic = !this.matches(":focus") || event.isProgrammatic;
5890
5879
 
5891
- // Validation on input or programmatic value change (including autofill).
5892
- if ((this.validateOnInput || inputWasProgrammatic) && !shouldSkipValidation) {
5893
- this.touched = true;
5894
- this.validation.validate(this);
5895
- }
5880
+ // Validation on input or programmatic value change (including autofill).
5881
+ if (this.validateOnInput || inputWasProgrammatic) {
5882
+ this.touched = true;
5883
+ this.validation.validate(this);
5884
+ }
5896
5885
 
5897
- // Prevents cursor jumping in Safari.
5898
- const { selectionStart } = this.inputElement;
5886
+ // Prevents cursor jumping in Safari.
5887
+ const { selectionStart } = this.inputElement;
5899
5888
 
5900
- if (this.setSelectionInputTypes.includes(this.type)) {
5901
- this.updateComplete.then(() => {
5902
- try {
5903
- this.inputElement.setSelectionRange(selectionStart, selectionStart);
5904
- } catch (error) { // eslint-disable-line
5905
- // do nothing
5906
- }
5907
- });
5889
+ if (this.setSelectionInputTypes.includes(this.type)) {
5890
+ this.updateComplete.then(() => {
5891
+ try {
5892
+ this.inputElement.setSelectionRange(selectionStart, selectionStart);
5893
+ } catch (error) { // eslint-disable-line
5894
+ // do nothing
5895
+ }
5896
+ });
5897
+ }
5908
5898
  }
5909
5899
  }
5910
5900
 
@@ -6590,7 +6580,7 @@ class AuroHelpText extends LitElement {
6590
6580
  }
6591
6581
  }
6592
6582
 
6593
- var formkitVersion = '202602192147';
6583
+ var formkitVersion = '202602231818';
6594
6584
 
6595
6585
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
6596
6586
  // See LICENSE in the project root for license information.
@@ -1645,7 +1645,7 @@ class AuroHelpText extends i$2 {
1645
1645
  }
1646
1646
  }
1647
1647
 
1648
- var formkitVersion = '202602192147';
1648
+ var formkitVersion = '202602231818';
1649
1649
 
1650
1650
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1651
1651
  // See LICENSE in the project root for license information.
@@ -1620,7 +1620,7 @@ class AuroHelpText extends i$2 {
1620
1620
  }
1621
1621
  }
1622
1622
 
1623
- var formkitVersion = '202602192147';
1623
+ var formkitVersion = '202602231818';
1624
1624
 
1625
1625
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1626
1626
  // See LICENSE in the project root for license information.
@@ -1573,7 +1573,7 @@ class AuroHelpText extends LitElement {
1573
1573
  }
1574
1574
  }
1575
1575
 
1576
- var formkitVersion = '202602192147';
1576
+ var formkitVersion = '202602231818';
1577
1577
 
1578
1578
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1579
1579
  // See LICENSE in the project root for license information.
@@ -1573,7 +1573,7 @@ class AuroHelpText extends LitElement {
1573
1573
  }
1574
1574
  }
1575
1575
 
1576
- var formkitVersion = '202602192147';
1576
+ var formkitVersion = '202602231818';
1577
1577
 
1578
1578
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1579
1579
  // See LICENSE in the project root for license information.