@aurodesignsystem-dev/auro-formkit 0.0.0-pr1588.2 → 0.0.0-pr1590.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.
- package/components/checkbox/demo/customize.min.js +4 -13
- package/components/checkbox/demo/getting-started.min.js +4 -13
- package/components/checkbox/demo/index.min.js +4 -13
- package/components/checkbox/dist/index.js +4 -13
- package/components/checkbox/dist/registered.js +4 -13
- package/components/combobox/demo/customize.min.js +41 -11
- package/components/combobox/demo/getting-started.min.js +41 -11
- package/components/combobox/demo/index.min.js +41 -11
- package/components/combobox/dist/index.js +41 -11
- package/components/combobox/dist/registered.js +41 -11
- package/components/counter/demo/customize.min.js +2 -2
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/dist/index.js +2 -2
- package/components/counter/dist/registered.js +2 -2
- package/components/datepicker/demo/customize.min.js +39 -5
- package/components/datepicker/demo/index.min.js +39 -5
- package/components/datepicker/dist/index.js +39 -5
- package/components/datepicker/dist/registered.js +39 -5
- package/components/dropdown/demo/customize.min.js +1 -1
- package/components/dropdown/demo/getting-started.min.js +38 -4
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/form/demo/customize.min.js +131 -60
- package/components/form/demo/getting-started.min.js +131 -60
- package/components/form/demo/index.min.js +131 -60
- package/components/form/demo/registerDemoDeps.min.js +131 -60
- package/components/input/demo/css-only.md +2 -2
- package/components/input/demo/customize.md +2 -2
- package/components/input/demo/customize.min.js +37 -3
- package/components/input/demo/getting-started.min.js +37 -3
- package/components/input/demo/index.min.js +37 -3
- package/components/input/demo/why-input.md +2 -3
- package/components/input/dist/index.js +37 -3
- package/components/input/dist/registered.js +37 -3
- package/components/radio/demo/customize.min.js +4 -14
- package/components/radio/demo/getting-started.min.js +4 -14
- package/components/radio/demo/index.min.js +4 -14
- package/components/radio/dist/auro-radio-group.d.ts +0 -1
- package/components/radio/dist/index.js +4 -14
- package/components/radio/dist/registered.js +4 -14
- package/components/select/demo/customize.min.js +4 -12
- package/components/select/demo/getting-started.min.js +4 -12
- package/components/select/demo/index.min.js +4 -12
- package/components/select/dist/auro-select.d.ts +0 -2
- package/components/select/dist/index.js +4 -12
- package/components/select/dist/registered.js +4 -12
- package/package.json +1 -1
|
@@ -12983,6 +12983,18 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
12983
12983
|
cardIcon: 'cc-dinersclub',
|
|
12984
12984
|
maskFormat: "0000 000000 0000"
|
|
12985
12985
|
},
|
|
12986
|
+
{
|
|
12987
|
+
// JCB is variable length (16-19 digits), like UnionPay, so it reuses the
|
|
12988
|
+
// formatMinLength/formatLength range machinery. The 35 prefix overlaps no
|
|
12989
|
+
// other brand (Amex is 34|37, Diners is 30[0-5]|36|38).
|
|
12990
|
+
name: 'JCB',
|
|
12991
|
+
regex: /^(?<num>35)\d{0}/u,
|
|
12992
|
+
formatMinLength: 19,
|
|
12993
|
+
formatLength: 23,
|
|
12994
|
+
errorMessage: CreditCardValidationMessage,
|
|
12995
|
+
cardIcon: 'cc-jcb',
|
|
12996
|
+
maskFormat: "0000 0000 0000 0000 000"
|
|
12997
|
+
},
|
|
12986
12998
|
{
|
|
12987
12999
|
name: 'Visa',
|
|
12988
13000
|
regex: /^(?<num>4)\d{0}/u,
|
|
@@ -13014,6 +13026,20 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
13014
13026
|
errorMessage: CreditCardValidationMessage,
|
|
13015
13027
|
cardIcon: 'cc-discover',
|
|
13016
13028
|
maskFormat: "0000 0000 0000 0000"
|
|
13029
|
+
},
|
|
13030
|
+
{
|
|
13031
|
+
// China UnionPay is variable length (16-19 digits). It must come after
|
|
13032
|
+
// Discover so the last-match-wins loop below gives its 62 prefix
|
|
13033
|
+
// precedence over the generic `6` that resolves to Discover. 81 is used
|
|
13034
|
+
// by UnionPay cards issued outside mainland China and overlaps no other
|
|
13035
|
+
// brand. 60 is intentionally excluded (it overlaps real Discover 6011).
|
|
13036
|
+
name: 'China UnionPay',
|
|
13037
|
+
regex: /^(?<num>62|81)\d{0}/u,
|
|
13038
|
+
formatMinLength: 19,
|
|
13039
|
+
formatLength: 23,
|
|
13040
|
+
errorMessage: CreditCardValidationMessage,
|
|
13041
|
+
cardIcon: 'cc-unionpay',
|
|
13042
|
+
maskFormat: "0000 0000 0000 0000 000"
|
|
13017
13043
|
}
|
|
13018
13044
|
];
|
|
13019
13045
|
|
|
@@ -13031,7 +13057,12 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
13031
13057
|
}
|
|
13032
13058
|
});
|
|
13033
13059
|
|
|
13034
|
-
|
|
13060
|
+
// Variable-length brands (both min and max defined, e.g. UnionPay) validate
|
|
13061
|
+
// against the minimum masked length so shorter-but-valid entries are not
|
|
13062
|
+
// flagged tooShort. Fixed-length brands keep their single formatLength.
|
|
13063
|
+
this.validationCCLength = type.formatMinLength && type.formatLength
|
|
13064
|
+
? type.formatMinLength
|
|
13065
|
+
: type.formatLength;
|
|
13035
13066
|
|
|
13036
13067
|
return type;
|
|
13037
13068
|
}
|
|
@@ -13390,7 +13421,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$3 {
|
|
|
13390
13421
|
}
|
|
13391
13422
|
};
|
|
13392
13423
|
|
|
13393
|
-
var formkitVersion$8 = '
|
|
13424
|
+
var formkitVersion$8 = '202608201808';
|
|
13394
13425
|
|
|
13395
13426
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13396
13427
|
// See LICENSE in the project root for license information.
|
|
@@ -13812,7 +13843,10 @@ let AuroInput$2 = class AuroInput extends BaseInput$2 {
|
|
|
13812
13843
|
*/
|
|
13813
13844
|
definePattern() {
|
|
13814
13845
|
if (this.type === 'credit-card' && !this.noValidate && this.maxLength) {
|
|
13815
|
-
|
|
13846
|
+
// Variable-length brands (e.g. UnionPay) set minLength, so accept a range;
|
|
13847
|
+
// fixed-length brands leave minLength undefined and keep an exact length.
|
|
13848
|
+
const minPatternLength = this.minLength || this.maxLength;
|
|
13849
|
+
return `.{${minPatternLength},${this.maxLength}}`;
|
|
13816
13850
|
}
|
|
13817
13851
|
|
|
13818
13852
|
return this.pattern;
|
|
@@ -27842,7 +27876,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$3 {
|
|
|
27842
27876
|
}
|
|
27843
27877
|
};
|
|
27844
27878
|
|
|
27845
|
-
var formkitVersion$2$1 = '
|
|
27879
|
+
var formkitVersion$2$1 = '202608201808';
|
|
27846
27880
|
|
|
27847
27881
|
let l$1$2 = 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=i$2`${s$3(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1$2 = 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$2 = 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$3=i$6`: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}
|
|
27848
27882
|
`,u$4$2=i$6`.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}}
|
|
@@ -33573,7 +33607,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$3 {
|
|
|
33573
33607
|
}
|
|
33574
33608
|
};
|
|
33575
33609
|
|
|
33576
|
-
var formkitVersion$1$3 = '
|
|
33610
|
+
var formkitVersion$1$3 = '202608201808';
|
|
33577
33611
|
|
|
33578
33612
|
let AuroElement$2$2 = class AuroElement extends i$3 {
|
|
33579
33613
|
static get properties() {
|
|
@@ -46859,6 +46893,18 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46859
46893
|
cardIcon: 'cc-dinersclub',
|
|
46860
46894
|
maskFormat: "0000 000000 0000"
|
|
46861
46895
|
},
|
|
46896
|
+
{
|
|
46897
|
+
// JCB is variable length (16-19 digits), like UnionPay, so it reuses the
|
|
46898
|
+
// formatMinLength/formatLength range machinery. The 35 prefix overlaps no
|
|
46899
|
+
// other brand (Amex is 34|37, Diners is 30[0-5]|36|38).
|
|
46900
|
+
name: 'JCB',
|
|
46901
|
+
regex: /^(?<num>35)\d{0}/u,
|
|
46902
|
+
formatMinLength: 19,
|
|
46903
|
+
formatLength: 23,
|
|
46904
|
+
errorMessage: CreditCardValidationMessage,
|
|
46905
|
+
cardIcon: 'cc-jcb',
|
|
46906
|
+
maskFormat: "0000 0000 0000 0000 000"
|
|
46907
|
+
},
|
|
46862
46908
|
{
|
|
46863
46909
|
name: 'Visa',
|
|
46864
46910
|
regex: /^(?<num>4)\d{0}/u,
|
|
@@ -46890,6 +46936,20 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46890
46936
|
errorMessage: CreditCardValidationMessage,
|
|
46891
46937
|
cardIcon: 'cc-discover',
|
|
46892
46938
|
maskFormat: "0000 0000 0000 0000"
|
|
46939
|
+
},
|
|
46940
|
+
{
|
|
46941
|
+
// China UnionPay is variable length (16-19 digits). It must come after
|
|
46942
|
+
// Discover so the last-match-wins loop below gives its 62 prefix
|
|
46943
|
+
// precedence over the generic `6` that resolves to Discover. 81 is used
|
|
46944
|
+
// by UnionPay cards issued outside mainland China and overlaps no other
|
|
46945
|
+
// brand. 60 is intentionally excluded (it overlaps real Discover 6011).
|
|
46946
|
+
name: 'China UnionPay',
|
|
46947
|
+
regex: /^(?<num>62|81)\d{0}/u,
|
|
46948
|
+
formatMinLength: 19,
|
|
46949
|
+
formatLength: 23,
|
|
46950
|
+
errorMessage: CreditCardValidationMessage,
|
|
46951
|
+
cardIcon: 'cc-unionpay',
|
|
46952
|
+
maskFormat: "0000 0000 0000 0000 000"
|
|
46893
46953
|
}
|
|
46894
46954
|
];
|
|
46895
46955
|
|
|
@@ -46907,7 +46967,12 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46907
46967
|
}
|
|
46908
46968
|
});
|
|
46909
46969
|
|
|
46910
|
-
|
|
46970
|
+
// Variable-length brands (both min and max defined, e.g. UnionPay) validate
|
|
46971
|
+
// against the minimum masked length so shorter-but-valid entries are not
|
|
46972
|
+
// flagged tooShort. Fixed-length brands keep their single formatLength.
|
|
46973
|
+
this.validationCCLength = type.formatMinLength && type.formatLength
|
|
46974
|
+
? type.formatMinLength
|
|
46975
|
+
: type.formatLength;
|
|
46911
46976
|
|
|
46912
46977
|
return type;
|
|
46913
46978
|
}
|
|
@@ -47266,7 +47331,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$3 {
|
|
|
47266
47331
|
}
|
|
47267
47332
|
};
|
|
47268
47333
|
|
|
47269
|
-
var formkitVersion$7 = '
|
|
47334
|
+
var formkitVersion$7 = '202608201808';
|
|
47270
47335
|
|
|
47271
47336
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
47272
47337
|
// See LICENSE in the project root for license information.
|
|
@@ -47688,7 +47753,10 @@ let AuroInput$1 = class AuroInput extends BaseInput$1 {
|
|
|
47688
47753
|
*/
|
|
47689
47754
|
definePattern() {
|
|
47690
47755
|
if (this.type === 'credit-card' && !this.noValidate && this.maxLength) {
|
|
47691
|
-
|
|
47756
|
+
// Variable-length brands (e.g. UnionPay) set minLength, so accept a range;
|
|
47757
|
+
// fixed-length brands leave minLength undefined and keep an exact length.
|
|
47758
|
+
const minPatternLength = this.minLength || this.maxLength;
|
|
47759
|
+
return `.{${minPatternLength},${this.maxLength}}`;
|
|
47692
47760
|
}
|
|
47693
47761
|
|
|
47694
47762
|
return this.pattern;
|
|
@@ -52268,7 +52336,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$3 {
|
|
|
52268
52336
|
}
|
|
52269
52337
|
};
|
|
52270
52338
|
|
|
52271
|
-
var formkitVersion$1$2 = '
|
|
52339
|
+
var formkitVersion$1$2 = '202608201808';
|
|
52272
52340
|
|
|
52273
52341
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
52274
52342
|
// See LICENSE in the project root for license information.
|
|
@@ -56421,7 +56489,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$3 {
|
|
|
56421
56489
|
}
|
|
56422
56490
|
};
|
|
56423
56491
|
|
|
56424
|
-
var formkitVersion$6 = '
|
|
56492
|
+
var formkitVersion$6 = '202608201808';
|
|
56425
56493
|
|
|
56426
56494
|
let AuroElement$1$2 = class AuroElement extends i$3 {
|
|
56427
56495
|
static get properties() {
|
|
@@ -60484,7 +60552,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$3 {
|
|
|
60484
60552
|
}
|
|
60485
60553
|
};
|
|
60486
60554
|
|
|
60487
|
-
var formkitVersion$5 = '
|
|
60555
|
+
var formkitVersion$5 = '202608201808';
|
|
60488
60556
|
|
|
60489
60557
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
60490
60558
|
// See LICENSE in the project root for license information.
|
|
@@ -60730,9 +60798,7 @@ class AuroRadioGroup extends i$3 {
|
|
|
60730
60798
|
|
|
60731
60799
|
this.optionSelected = event.target;
|
|
60732
60800
|
|
|
60733
|
-
|
|
60734
|
-
this.validation.validate(this, this.optionSelected !== undefined);
|
|
60735
|
-
}
|
|
60801
|
+
this.validation.validate(this, this.optionSelected !== undefined);
|
|
60736
60802
|
}
|
|
60737
60803
|
|
|
60738
60804
|
/**
|
|
@@ -60742,13 +60808,7 @@ class AuroRadioGroup extends i$3 {
|
|
|
60742
60808
|
*/
|
|
60743
60809
|
handleRadioBlur() {
|
|
60744
60810
|
this.touched = true;
|
|
60745
|
-
|
|
60746
|
-
this.validation.validate(this);
|
|
60747
|
-
} else if (this.validity !== undefined) {
|
|
60748
|
-
// Clear stale error state left by a previous validate(true) call
|
|
60749
|
-
this.validity = undefined;
|
|
60750
|
-
this.errorMessage = '';
|
|
60751
|
-
}
|
|
60811
|
+
this.validation.validate(this);
|
|
60752
60812
|
}
|
|
60753
60813
|
|
|
60754
60814
|
/**
|
|
@@ -60924,9 +60984,7 @@ class AuroRadioGroup extends i$3 {
|
|
|
60924
60984
|
this.value = event.target.value;
|
|
60925
60985
|
this.optionSelected = event.target;
|
|
60926
60986
|
|
|
60927
|
-
|
|
60928
|
-
this.validation.validate(this);
|
|
60929
|
-
}
|
|
60987
|
+
this.validation.validate(this);
|
|
60930
60988
|
}
|
|
60931
60989
|
|
|
60932
60990
|
/**
|
|
@@ -62259,7 +62317,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$3 {
|
|
|
62259
62317
|
}
|
|
62260
62318
|
};
|
|
62261
62319
|
|
|
62262
|
-
var formkitVersion$4 = '
|
|
62320
|
+
var formkitVersion$4 = '202608201808';
|
|
62263
62321
|
|
|
62264
62322
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
62265
62323
|
// See LICENSE in the project root for license information.
|
|
@@ -62479,9 +62537,7 @@ class AuroCheckboxGroup extends i$3 {
|
|
|
62479
62537
|
composed: true,
|
|
62480
62538
|
}));
|
|
62481
62539
|
|
|
62482
|
-
|
|
62483
|
-
this.validate(true);
|
|
62484
|
-
}
|
|
62540
|
+
this.validate(true);
|
|
62485
62541
|
}
|
|
62486
62542
|
|
|
62487
62543
|
firstUpdated() {
|
|
@@ -62492,18 +62548,11 @@ class AuroCheckboxGroup extends i$3 {
|
|
|
62492
62548
|
const checkFocusWithin = function(evt) {
|
|
62493
62549
|
if (document.auroCheckboxGroupActive && !document.auroCheckboxGroupActive.contains(evt.target)) {
|
|
62494
62550
|
// if focus has left the group, cleanup and validate
|
|
62495
|
-
|
|
62496
|
-
group.focusWithin = false;
|
|
62551
|
+
document.auroCheckboxGroupActive.focusWithin = false;
|
|
62497
62552
|
window.removeEventListener('focusin', checkFocusWithin);
|
|
62498
62553
|
document.removeEventListener('click', checkFocusWithin);
|
|
62499
62554
|
// execute the validation
|
|
62500
|
-
|
|
62501
|
-
group.validation.validate(group);
|
|
62502
|
-
} else if (group.validity !== undefined) {
|
|
62503
|
-
// Clear stale error state left by a previous validate(true) call
|
|
62504
|
-
group.validity = undefined;
|
|
62505
|
-
group.errorMessage = '';
|
|
62506
|
-
}
|
|
62555
|
+
document.auroCheckboxGroupActive.validation.validate(document.auroCheckboxGroupActive);
|
|
62507
62556
|
}
|
|
62508
62557
|
};
|
|
62509
62558
|
|
|
@@ -67587,7 +67636,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
67587
67636
|
}
|
|
67588
67637
|
};
|
|
67589
67638
|
|
|
67590
|
-
var formkitVersion$2 = '
|
|
67639
|
+
var formkitVersion$2 = '202608201808';
|
|
67591
67640
|
|
|
67592
67641
|
let AuroElement$2$1 = class AuroElement extends i$3 {
|
|
67593
67642
|
static get properties() {
|
|
@@ -80873,6 +80922,18 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
80873
80922
|
cardIcon: 'cc-dinersclub',
|
|
80874
80923
|
maskFormat: "0000 000000 0000"
|
|
80875
80924
|
},
|
|
80925
|
+
{
|
|
80926
|
+
// JCB is variable length (16-19 digits), like UnionPay, so it reuses the
|
|
80927
|
+
// formatMinLength/formatLength range machinery. The 35 prefix overlaps no
|
|
80928
|
+
// other brand (Amex is 34|37, Diners is 30[0-5]|36|38).
|
|
80929
|
+
name: 'JCB',
|
|
80930
|
+
regex: /^(?<num>35)\d{0}/u,
|
|
80931
|
+
formatMinLength: 19,
|
|
80932
|
+
formatLength: 23,
|
|
80933
|
+
errorMessage: CreditCardValidationMessage,
|
|
80934
|
+
cardIcon: 'cc-jcb',
|
|
80935
|
+
maskFormat: "0000 0000 0000 0000 000"
|
|
80936
|
+
},
|
|
80876
80937
|
{
|
|
80877
80938
|
name: 'Visa',
|
|
80878
80939
|
regex: /^(?<num>4)\d{0}/u,
|
|
@@ -80904,6 +80965,20 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
80904
80965
|
errorMessage: CreditCardValidationMessage,
|
|
80905
80966
|
cardIcon: 'cc-discover',
|
|
80906
80967
|
maskFormat: "0000 0000 0000 0000"
|
|
80968
|
+
},
|
|
80969
|
+
{
|
|
80970
|
+
// China UnionPay is variable length (16-19 digits). It must come after
|
|
80971
|
+
// Discover so the last-match-wins loop below gives its 62 prefix
|
|
80972
|
+
// precedence over the generic `6` that resolves to Discover. 81 is used
|
|
80973
|
+
// by UnionPay cards issued outside mainland China and overlaps no other
|
|
80974
|
+
// brand. 60 is intentionally excluded (it overlaps real Discover 6011).
|
|
80975
|
+
name: 'China UnionPay',
|
|
80976
|
+
regex: /^(?<num>62|81)\d{0}/u,
|
|
80977
|
+
formatMinLength: 19,
|
|
80978
|
+
formatLength: 23,
|
|
80979
|
+
errorMessage: CreditCardValidationMessage,
|
|
80980
|
+
cardIcon: 'cc-unionpay',
|
|
80981
|
+
maskFormat: "0000 0000 0000 0000 000"
|
|
80907
80982
|
}
|
|
80908
80983
|
];
|
|
80909
80984
|
|
|
@@ -80921,7 +80996,12 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
80921
80996
|
}
|
|
80922
80997
|
});
|
|
80923
80998
|
|
|
80924
|
-
|
|
80999
|
+
// Variable-length brands (both min and max defined, e.g. UnionPay) validate
|
|
81000
|
+
// against the minimum masked length so shorter-but-valid entries are not
|
|
81001
|
+
// flagged tooShort. Fixed-length brands keep their single formatLength.
|
|
81002
|
+
this.validationCCLength = type.formatMinLength && type.formatLength
|
|
81003
|
+
? type.formatMinLength
|
|
81004
|
+
: type.formatLength;
|
|
80925
81005
|
|
|
80926
81006
|
return type;
|
|
80927
81007
|
}
|
|
@@ -81280,7 +81360,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$3 {
|
|
|
81280
81360
|
}
|
|
81281
81361
|
};
|
|
81282
81362
|
|
|
81283
|
-
var formkitVersion$1$1 = '
|
|
81363
|
+
var formkitVersion$1$1 = '202608201808';
|
|
81284
81364
|
|
|
81285
81365
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
81286
81366
|
// See LICENSE in the project root for license information.
|
|
@@ -81702,7 +81782,10 @@ class AuroInput extends BaseInput {
|
|
|
81702
81782
|
*/
|
|
81703
81783
|
definePattern() {
|
|
81704
81784
|
if (this.type === 'credit-card' && !this.noValidate && this.maxLength) {
|
|
81705
|
-
|
|
81785
|
+
// Variable-length brands (e.g. UnionPay) set minLength, so accept a range;
|
|
81786
|
+
// fixed-length brands leave minLength undefined and keep an exact length.
|
|
81787
|
+
const minPatternLength = this.minLength || this.maxLength;
|
|
81788
|
+
return `.{${minPatternLength},${this.maxLength}}`;
|
|
81706
81789
|
}
|
|
81707
81790
|
|
|
81708
81791
|
return this.pattern;
|
|
@@ -82456,7 +82539,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$3 {
|
|
|
82456
82539
|
}
|
|
82457
82540
|
};
|
|
82458
82541
|
|
|
82459
|
-
var formkitVersion$3 = '
|
|
82542
|
+
var formkitVersion$3 = '202608201808';
|
|
82460
82543
|
|
|
82461
82544
|
var styleCss$1$3 = i$6`.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}`;
|
|
82462
82545
|
|
|
@@ -84151,12 +84234,8 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
84151
84234
|
// and validating against the pre-selection value flashes a stale error
|
|
84152
84235
|
// between mousedown and mouseup. The next focusout fires after the
|
|
84153
84236
|
// dropdown closes and validates against the post-selection value.
|
|
84154
|
-
if (!this.
|
|
84237
|
+
if (!this.componentHasFocus && !this._inFullscreenTransition && !this.dropdownOpen) {
|
|
84155
84238
|
this.validate();
|
|
84156
|
-
} else if (this.noValidate && !this.componentHasFocus && !this._inFullscreenTransition && !this.dropdownOpen && this.validity !== undefined) {
|
|
84157
|
-
// Clear stale error state left by a previous validate(true) call
|
|
84158
|
-
this.validity = undefined;
|
|
84159
|
-
this.errorMessage = null;
|
|
84160
84239
|
}
|
|
84161
84240
|
});
|
|
84162
84241
|
|
|
@@ -84295,7 +84374,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
84295
84374
|
// interaction). In fullscreen dialog mode, componentHasFocus returns false
|
|
84296
84375
|
// because focus is inside the top-layer dialog, so also check
|
|
84297
84376
|
// dropdownOpen and the fullscreen transition flag.
|
|
84298
|
-
if (!this.
|
|
84377
|
+
if (!this.componentHasFocus && !this.dropdownOpen && !this._inFullscreenTransition) {
|
|
84299
84378
|
this.validate();
|
|
84300
84379
|
}
|
|
84301
84380
|
|
|
@@ -91660,7 +91739,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
91660
91739
|
}
|
|
91661
91740
|
};
|
|
91662
91741
|
|
|
91663
|
-
var formkitVersion$1 = '
|
|
91742
|
+
var formkitVersion$1 = '202608201808';
|
|
91664
91743
|
|
|
91665
91744
|
class AuroElement extends i$3 {
|
|
91666
91745
|
static get properties() {
|
|
@@ -93771,7 +93850,7 @@ class AuroHelpText extends i$3 {
|
|
|
93771
93850
|
}
|
|
93772
93851
|
}
|
|
93773
93852
|
|
|
93774
|
-
var formkitVersion = '
|
|
93853
|
+
var formkitVersion = '202608201808';
|
|
93775
93854
|
|
|
93776
93855
|
var styleCss = i$6`.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}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{font-size:var(--wcss-body-default-emphasized-font-size, 1rem);font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{font-size:var(--wcss-body-sm-emphasized-font-size, 0.875rem);font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{font-size:var(--wcss-body-xs-emphasized-font-size, 0.75rem);font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-line-height, 1rem)}.body-2xs{font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{font-size:var(--wcss-body-2xs-emphasized-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-line-height, 0.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, 300);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, 300);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, 0.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, 0.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, 0.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, 0.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, 0.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, 0.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(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}[auro-dropdown]{--ds-auro-dropdown-trigger-border-color: var(--ds-auro-select-border-color);--ds-auro-dropdown-trigger-background-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-container-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-outline-color: var(--ds-auro-select-outline-color)}:host{display:inline-block;text-align:left;vertical-align:top}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}:host([layout*=emphasized]) .mainContent,:host([layout*=snowflake]) .mainContent{text-align:center}.mainContent{position:relative;display:flex;overflow:hidden;flex:1;flex-direction:column;align-items:center;justify-content:center}.valueContainer{max-width:100%}.accents{display:flex;flex-direction:row;align-items:center;justify-content:center}::slotted([slot=typeIcon]){margin-right:var(--ds-size-100, 0.5rem)}.displayValue{display:block}.displayValue:not(.force){display:none}.displayValue:not(.force).hasContent:is(.withValue):not(.hasFocus){display:block}.triggerContent{display:flex;width:100%;box-sizing:border-box;align-items:center;justify-content:center}:host([layout*=emphasized]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host([layout*=snowflake]) label{padding-block:var(--ds-size-25, 0.125rem)}:host([layout*=classic]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem)}:host([layout*=classic]) .mainContent{align-items:start}:host([layout*=classic]) label{overflow:hidden;cursor:text;text-overflow:ellipsis;white-space:nowrap}:host([layout*=classic]) .value{overflow:hidden;height:auto;text-overflow:ellipsis;white-space:nowrap}label{color:var(--ds-auro-select-label-text-color)}:host(:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-select-outline-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host([ondark]:is([validity]:not([validity=valid]))) [auro-dropdown],:host([appearance=inverse]:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-select-outline-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}#slotHolder{display:none}:host([fluid]){width:100%}:host([disabled]){pointer-events:none;user-select:none}:host([disabled]:not([ondark])) [auro-dropdown],:host([disabled]:not([appearance=inverse])) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([layout*=classic])[disabled][ondark]) [auro-dropdown],:host(:not([layout*=classic])[disabled][appearance=inverse]) [auro-dropdown]{--ds-auro-select-border-color: transparent}`;
|
|
93777
93856
|
|
|
@@ -94768,13 +94847,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
94768
94847
|
this.addEventListener('focusin', this.handleFocusin);
|
|
94769
94848
|
|
|
94770
94849
|
this.addEventListener('blur', () => {
|
|
94771
|
-
|
|
94772
|
-
this.validate();
|
|
94773
|
-
} else if (this.validity !== undefined) {
|
|
94774
|
-
// Clear stale error state left by a previous validate(true) call
|
|
94775
|
-
this.validity = undefined;
|
|
94776
|
-
this.errorMessage = '';
|
|
94777
|
-
}
|
|
94850
|
+
this.validate();
|
|
94778
94851
|
this.hasFocus = false;
|
|
94779
94852
|
this._clearTypeaheadBuffer();
|
|
94780
94853
|
});
|
|
@@ -95109,9 +95182,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
95109
95182
|
this.setMenuValue(this.value);
|
|
95110
95183
|
|
|
95111
95184
|
this._updateNativeSelect();
|
|
95112
|
-
|
|
95113
|
-
this.validate();
|
|
95114
|
-
}
|
|
95185
|
+
this.validate();
|
|
95115
95186
|
if (!this.multiSelect) {
|
|
95116
95187
|
this.hideBib();
|
|
95117
95188
|
}
|