@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
|
@@ -11863,6 +11863,18 @@ class BaseInput extends AuroElement {
|
|
|
11863
11863
|
cardIcon: 'cc-dinersclub',
|
|
11864
11864
|
maskFormat: "0000 000000 0000"
|
|
11865
11865
|
},
|
|
11866
|
+
{
|
|
11867
|
+
// JCB is variable length (16-19 digits), like UnionPay, so it reuses the
|
|
11868
|
+
// formatMinLength/formatLength range machinery. The 35 prefix overlaps no
|
|
11869
|
+
// other brand (Amex is 34|37, Diners is 30[0-5]|36|38).
|
|
11870
|
+
name: 'JCB',
|
|
11871
|
+
regex: /^(?<num>35)\d{0}/u,
|
|
11872
|
+
formatMinLength: 19,
|
|
11873
|
+
formatLength: 23,
|
|
11874
|
+
errorMessage: CreditCardValidationMessage,
|
|
11875
|
+
cardIcon: 'cc-jcb',
|
|
11876
|
+
maskFormat: "0000 0000 0000 0000 000"
|
|
11877
|
+
},
|
|
11866
11878
|
{
|
|
11867
11879
|
name: 'Visa',
|
|
11868
11880
|
regex: /^(?<num>4)\d{0}/u,
|
|
@@ -11894,6 +11906,20 @@ class BaseInput extends AuroElement {
|
|
|
11894
11906
|
errorMessage: CreditCardValidationMessage,
|
|
11895
11907
|
cardIcon: 'cc-discover',
|
|
11896
11908
|
maskFormat: "0000 0000 0000 0000"
|
|
11909
|
+
},
|
|
11910
|
+
{
|
|
11911
|
+
// China UnionPay is variable length (16-19 digits). It must come after
|
|
11912
|
+
// Discover so the last-match-wins loop below gives its 62 prefix
|
|
11913
|
+
// precedence over the generic `6` that resolves to Discover. 81 is used
|
|
11914
|
+
// by UnionPay cards issued outside mainland China and overlaps no other
|
|
11915
|
+
// brand. 60 is intentionally excluded (it overlaps real Discover 6011).
|
|
11916
|
+
name: 'China UnionPay',
|
|
11917
|
+
regex: /^(?<num>62|81)\d{0}/u,
|
|
11918
|
+
formatMinLength: 19,
|
|
11919
|
+
formatLength: 23,
|
|
11920
|
+
errorMessage: CreditCardValidationMessage,
|
|
11921
|
+
cardIcon: 'cc-unionpay',
|
|
11922
|
+
maskFormat: "0000 0000 0000 0000 000"
|
|
11897
11923
|
}
|
|
11898
11924
|
];
|
|
11899
11925
|
|
|
@@ -11911,7 +11937,12 @@ class BaseInput extends AuroElement {
|
|
|
11911
11937
|
}
|
|
11912
11938
|
});
|
|
11913
11939
|
|
|
11914
|
-
|
|
11940
|
+
// Variable-length brands (both min and max defined, e.g. UnionPay) validate
|
|
11941
|
+
// against the minimum masked length so shorter-but-valid entries are not
|
|
11942
|
+
// flagged tooShort. Fixed-length brands keep their single formatLength.
|
|
11943
|
+
this.validationCCLength = type.formatMinLength && type.formatLength
|
|
11944
|
+
? type.formatMinLength
|
|
11945
|
+
: type.formatLength;
|
|
11915
11946
|
|
|
11916
11947
|
return type;
|
|
11917
11948
|
}
|
|
@@ -12270,7 +12301,7 @@ class AuroHelpText extends i$3 {
|
|
|
12270
12301
|
}
|
|
12271
12302
|
}
|
|
12272
12303
|
|
|
12273
|
-
var formkitVersion = '
|
|
12304
|
+
var formkitVersion = '202608201808';
|
|
12274
12305
|
|
|
12275
12306
|
/**
|
|
12276
12307
|
* @license
|
|
@@ -12704,7 +12735,10 @@ class AuroInput extends BaseInput {
|
|
|
12704
12735
|
*/
|
|
12705
12736
|
definePattern() {
|
|
12706
12737
|
if (this.type === 'credit-card' && !this.noValidate && this.maxLength) {
|
|
12707
|
-
|
|
12738
|
+
// Variable-length brands (e.g. UnionPay) set minLength, so accept a range;
|
|
12739
|
+
// fixed-length brands leave minLength undefined and keep an exact length.
|
|
12740
|
+
const minPatternLength = this.minLength || this.maxLength;
|
|
12741
|
+
return `.{${minPatternLength},${this.maxLength}}`;
|
|
12708
12742
|
}
|
|
12709
12743
|
|
|
12710
12744
|
return this.pattern;
|
|
@@ -11863,6 +11863,18 @@ class BaseInput extends AuroElement {
|
|
|
11863
11863
|
cardIcon: 'cc-dinersclub',
|
|
11864
11864
|
maskFormat: "0000 000000 0000"
|
|
11865
11865
|
},
|
|
11866
|
+
{
|
|
11867
|
+
// JCB is variable length (16-19 digits), like UnionPay, so it reuses the
|
|
11868
|
+
// formatMinLength/formatLength range machinery. The 35 prefix overlaps no
|
|
11869
|
+
// other brand (Amex is 34|37, Diners is 30[0-5]|36|38).
|
|
11870
|
+
name: 'JCB',
|
|
11871
|
+
regex: /^(?<num>35)\d{0}/u,
|
|
11872
|
+
formatMinLength: 19,
|
|
11873
|
+
formatLength: 23,
|
|
11874
|
+
errorMessage: CreditCardValidationMessage,
|
|
11875
|
+
cardIcon: 'cc-jcb',
|
|
11876
|
+
maskFormat: "0000 0000 0000 0000 000"
|
|
11877
|
+
},
|
|
11866
11878
|
{
|
|
11867
11879
|
name: 'Visa',
|
|
11868
11880
|
regex: /^(?<num>4)\d{0}/u,
|
|
@@ -11894,6 +11906,20 @@ class BaseInput extends AuroElement {
|
|
|
11894
11906
|
errorMessage: CreditCardValidationMessage,
|
|
11895
11907
|
cardIcon: 'cc-discover',
|
|
11896
11908
|
maskFormat: "0000 0000 0000 0000"
|
|
11909
|
+
},
|
|
11910
|
+
{
|
|
11911
|
+
// China UnionPay is variable length (16-19 digits). It must come after
|
|
11912
|
+
// Discover so the last-match-wins loop below gives its 62 prefix
|
|
11913
|
+
// precedence over the generic `6` that resolves to Discover. 81 is used
|
|
11914
|
+
// by UnionPay cards issued outside mainland China and overlaps no other
|
|
11915
|
+
// brand. 60 is intentionally excluded (it overlaps real Discover 6011).
|
|
11916
|
+
name: 'China UnionPay',
|
|
11917
|
+
regex: /^(?<num>62|81)\d{0}/u,
|
|
11918
|
+
formatMinLength: 19,
|
|
11919
|
+
formatLength: 23,
|
|
11920
|
+
errorMessage: CreditCardValidationMessage,
|
|
11921
|
+
cardIcon: 'cc-unionpay',
|
|
11922
|
+
maskFormat: "0000 0000 0000 0000 000"
|
|
11897
11923
|
}
|
|
11898
11924
|
];
|
|
11899
11925
|
|
|
@@ -11911,7 +11937,12 @@ class BaseInput extends AuroElement {
|
|
|
11911
11937
|
}
|
|
11912
11938
|
});
|
|
11913
11939
|
|
|
11914
|
-
|
|
11940
|
+
// Variable-length brands (both min and max defined, e.g. UnionPay) validate
|
|
11941
|
+
// against the minimum masked length so shorter-but-valid entries are not
|
|
11942
|
+
// flagged tooShort. Fixed-length brands keep their single formatLength.
|
|
11943
|
+
this.validationCCLength = type.formatMinLength && type.formatLength
|
|
11944
|
+
? type.formatMinLength
|
|
11945
|
+
: type.formatLength;
|
|
11915
11946
|
|
|
11916
11947
|
return type;
|
|
11917
11948
|
}
|
|
@@ -12270,7 +12301,7 @@ class AuroHelpText extends i$3 {
|
|
|
12270
12301
|
}
|
|
12271
12302
|
}
|
|
12272
12303
|
|
|
12273
|
-
var formkitVersion = '
|
|
12304
|
+
var formkitVersion = '202608201808';
|
|
12274
12305
|
|
|
12275
12306
|
/**
|
|
12276
12307
|
* @license
|
|
@@ -12704,7 +12735,10 @@ class AuroInput extends BaseInput {
|
|
|
12704
12735
|
*/
|
|
12705
12736
|
definePattern() {
|
|
12706
12737
|
if (this.type === 'credit-card' && !this.noValidate && this.maxLength) {
|
|
12707
|
-
|
|
12738
|
+
// Variable-length brands (e.g. UnionPay) set minLength, so accept a range;
|
|
12739
|
+
// fixed-length brands leave minLength undefined and keep an exact length.
|
|
12740
|
+
const minPatternLength = this.minLength || this.maxLength;
|
|
12741
|
+
return `.{${minPatternLength},${this.maxLength}}`;
|
|
12708
12742
|
}
|
|
12709
12743
|
|
|
12710
12744
|
return this.pattern;
|
|
@@ -22,17 +22,16 @@
|
|
|
22
22
|
<p>There is no native way to detect a credit card type from input, apply the correct formatting mask, or display the appropriate card icon.</p>
|
|
23
23
|
<p><code>auro-input</code> with <code>type="credit-card"</code> provides:</p>
|
|
24
24
|
<ul>
|
|
25
|
-
<li><strong>Auto-detection</strong> — Identifies Visa, Mastercard, American Express, Discover, Diners Club, and Alaska Airlines cards from the first digits typed.</li>
|
|
25
|
+
<li><strong>Auto-detection</strong> — Identifies Visa, Mastercard, American Express, Discover, Diners Club, JCB, China UnionPay, and Alaska Airlines cards from the first digits typed.</li>
|
|
26
26
|
<li><strong>Dynamic formatting</strong> — Applies the correct digit grouping (e.g., 4-4-4-4 for Visa, 4-6-5 for Amex).</li>
|
|
27
27
|
<li><strong>Card icon</strong> — Displays the detected card brand icon automatically.</li>
|
|
28
|
-
<li><strong>Luhn validation</strong> — Validates the card number using the Luhn algorithm.</li>
|
|
29
28
|
</ul>
|
|
30
29
|
<auro-header level="2" id="validation">Validation</auro-header>
|
|
31
30
|
<p>Native input validation provides <code>required</code>, <code>min</code>, <code>max</code>, <code>minlength</code>, <code>maxlength</code>, and <code>pattern</code>, but error messages are browser-controlled and cannot be customized.</p>
|
|
32
31
|
<p><code>auro-input</code> provides:</p>
|
|
33
32
|
<ul>
|
|
34
33
|
<li>Custom error messages for every validity state: <code>setCustomValidityValueMissing</code>, <code>setCustomValidityRangeOverflow</code>, <code>setCustomValidityRangeUnderflow</code>, <code>setCustomValidityTooLong</code>, <code>setCustomValidityTooShort</code>, <code>setCustomValidityBadInput</code>, <code>setCustomValidityCustomError</code>, <code>setCustomValidityForType</code></li>
|
|
35
|
-
<li>Type-specific validation (email format, credit card
|
|
34
|
+
<li>Type-specific validation (email format, credit card format, phone format, date format)</li>
|
|
36
35
|
<li>Validation timing control: on blur (default), on every input (<code>validateOnInput</code>), or disabled (<code>noValidate</code>)</li>
|
|
37
36
|
<li>Programmatic vs. user input distinction — the component tracks whether a value change was user-initiated or programmatic</li>
|
|
38
37
|
</ul>
|
|
@@ -11805,6 +11805,18 @@ class BaseInput extends AuroElement {
|
|
|
11805
11805
|
cardIcon: 'cc-dinersclub',
|
|
11806
11806
|
maskFormat: "0000 000000 0000"
|
|
11807
11807
|
},
|
|
11808
|
+
{
|
|
11809
|
+
// JCB is variable length (16-19 digits), like UnionPay, so it reuses the
|
|
11810
|
+
// formatMinLength/formatLength range machinery. The 35 prefix overlaps no
|
|
11811
|
+
// other brand (Amex is 34|37, Diners is 30[0-5]|36|38).
|
|
11812
|
+
name: 'JCB',
|
|
11813
|
+
regex: /^(?<num>35)\d{0}/u,
|
|
11814
|
+
formatMinLength: 19,
|
|
11815
|
+
formatLength: 23,
|
|
11816
|
+
errorMessage: CreditCardValidationMessage,
|
|
11817
|
+
cardIcon: 'cc-jcb',
|
|
11818
|
+
maskFormat: "0000 0000 0000 0000 000"
|
|
11819
|
+
},
|
|
11808
11820
|
{
|
|
11809
11821
|
name: 'Visa',
|
|
11810
11822
|
regex: /^(?<num>4)\d{0}/u,
|
|
@@ -11836,6 +11848,20 @@ class BaseInput extends AuroElement {
|
|
|
11836
11848
|
errorMessage: CreditCardValidationMessage,
|
|
11837
11849
|
cardIcon: 'cc-discover',
|
|
11838
11850
|
maskFormat: "0000 0000 0000 0000"
|
|
11851
|
+
},
|
|
11852
|
+
{
|
|
11853
|
+
// China UnionPay is variable length (16-19 digits). It must come after
|
|
11854
|
+
// Discover so the last-match-wins loop below gives its 62 prefix
|
|
11855
|
+
// precedence over the generic `6` that resolves to Discover. 81 is used
|
|
11856
|
+
// by UnionPay cards issued outside mainland China and overlaps no other
|
|
11857
|
+
// brand. 60 is intentionally excluded (it overlaps real Discover 6011).
|
|
11858
|
+
name: 'China UnionPay',
|
|
11859
|
+
regex: /^(?<num>62|81)\d{0}/u,
|
|
11860
|
+
formatMinLength: 19,
|
|
11861
|
+
formatLength: 23,
|
|
11862
|
+
errorMessage: CreditCardValidationMessage,
|
|
11863
|
+
cardIcon: 'cc-unionpay',
|
|
11864
|
+
maskFormat: "0000 0000 0000 0000 000"
|
|
11839
11865
|
}
|
|
11840
11866
|
];
|
|
11841
11867
|
|
|
@@ -11853,7 +11879,12 @@ class BaseInput extends AuroElement {
|
|
|
11853
11879
|
}
|
|
11854
11880
|
});
|
|
11855
11881
|
|
|
11856
|
-
|
|
11882
|
+
// Variable-length brands (both min and max defined, e.g. UnionPay) validate
|
|
11883
|
+
// against the minimum masked length so shorter-but-valid entries are not
|
|
11884
|
+
// flagged tooShort. Fixed-length brands keep their single formatLength.
|
|
11885
|
+
this.validationCCLength = type.formatMinLength && type.formatLength
|
|
11886
|
+
? type.formatMinLength
|
|
11887
|
+
: type.formatLength;
|
|
11857
11888
|
|
|
11858
11889
|
return type;
|
|
11859
11890
|
}
|
|
@@ -12212,7 +12243,7 @@ class AuroHelpText extends LitElement {
|
|
|
12212
12243
|
}
|
|
12213
12244
|
}
|
|
12214
12245
|
|
|
12215
|
-
var formkitVersion = '
|
|
12246
|
+
var formkitVersion = '202608201808';
|
|
12216
12247
|
|
|
12217
12248
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12218
12249
|
// See LICENSE in the project root for license information.
|
|
@@ -12634,7 +12665,10 @@ class AuroInput extends BaseInput {
|
|
|
12634
12665
|
*/
|
|
12635
12666
|
definePattern() {
|
|
12636
12667
|
if (this.type === 'credit-card' && !this.noValidate && this.maxLength) {
|
|
12637
|
-
|
|
12668
|
+
// Variable-length brands (e.g. UnionPay) set minLength, so accept a range;
|
|
12669
|
+
// fixed-length brands leave minLength undefined and keep an exact length.
|
|
12670
|
+
const minPatternLength = this.minLength || this.maxLength;
|
|
12671
|
+
return `.{${minPatternLength},${this.maxLength}}`;
|
|
12638
12672
|
}
|
|
12639
12673
|
|
|
12640
12674
|
return this.pattern;
|
|
@@ -11805,6 +11805,18 @@ class BaseInput extends AuroElement {
|
|
|
11805
11805
|
cardIcon: 'cc-dinersclub',
|
|
11806
11806
|
maskFormat: "0000 000000 0000"
|
|
11807
11807
|
},
|
|
11808
|
+
{
|
|
11809
|
+
// JCB is variable length (16-19 digits), like UnionPay, so it reuses the
|
|
11810
|
+
// formatMinLength/formatLength range machinery. The 35 prefix overlaps no
|
|
11811
|
+
// other brand (Amex is 34|37, Diners is 30[0-5]|36|38).
|
|
11812
|
+
name: 'JCB',
|
|
11813
|
+
regex: /^(?<num>35)\d{0}/u,
|
|
11814
|
+
formatMinLength: 19,
|
|
11815
|
+
formatLength: 23,
|
|
11816
|
+
errorMessage: CreditCardValidationMessage,
|
|
11817
|
+
cardIcon: 'cc-jcb',
|
|
11818
|
+
maskFormat: "0000 0000 0000 0000 000"
|
|
11819
|
+
},
|
|
11808
11820
|
{
|
|
11809
11821
|
name: 'Visa',
|
|
11810
11822
|
regex: /^(?<num>4)\d{0}/u,
|
|
@@ -11836,6 +11848,20 @@ class BaseInput extends AuroElement {
|
|
|
11836
11848
|
errorMessage: CreditCardValidationMessage,
|
|
11837
11849
|
cardIcon: 'cc-discover',
|
|
11838
11850
|
maskFormat: "0000 0000 0000 0000"
|
|
11851
|
+
},
|
|
11852
|
+
{
|
|
11853
|
+
// China UnionPay is variable length (16-19 digits). It must come after
|
|
11854
|
+
// Discover so the last-match-wins loop below gives its 62 prefix
|
|
11855
|
+
// precedence over the generic `6` that resolves to Discover. 81 is used
|
|
11856
|
+
// by UnionPay cards issued outside mainland China and overlaps no other
|
|
11857
|
+
// brand. 60 is intentionally excluded (it overlaps real Discover 6011).
|
|
11858
|
+
name: 'China UnionPay',
|
|
11859
|
+
regex: /^(?<num>62|81)\d{0}/u,
|
|
11860
|
+
formatMinLength: 19,
|
|
11861
|
+
formatLength: 23,
|
|
11862
|
+
errorMessage: CreditCardValidationMessage,
|
|
11863
|
+
cardIcon: 'cc-unionpay',
|
|
11864
|
+
maskFormat: "0000 0000 0000 0000 000"
|
|
11839
11865
|
}
|
|
11840
11866
|
];
|
|
11841
11867
|
|
|
@@ -11853,7 +11879,12 @@ class BaseInput extends AuroElement {
|
|
|
11853
11879
|
}
|
|
11854
11880
|
});
|
|
11855
11881
|
|
|
11856
|
-
|
|
11882
|
+
// Variable-length brands (both min and max defined, e.g. UnionPay) validate
|
|
11883
|
+
// against the minimum masked length so shorter-but-valid entries are not
|
|
11884
|
+
// flagged tooShort. Fixed-length brands keep their single formatLength.
|
|
11885
|
+
this.validationCCLength = type.formatMinLength && type.formatLength
|
|
11886
|
+
? type.formatMinLength
|
|
11887
|
+
: type.formatLength;
|
|
11857
11888
|
|
|
11858
11889
|
return type;
|
|
11859
11890
|
}
|
|
@@ -12212,7 +12243,7 @@ class AuroHelpText extends LitElement {
|
|
|
12212
12243
|
}
|
|
12213
12244
|
}
|
|
12214
12245
|
|
|
12215
|
-
var formkitVersion = '
|
|
12246
|
+
var formkitVersion = '202608201808';
|
|
12216
12247
|
|
|
12217
12248
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12218
12249
|
// See LICENSE in the project root for license information.
|
|
@@ -12634,7 +12665,10 @@ class AuroInput extends BaseInput {
|
|
|
12634
12665
|
*/
|
|
12635
12666
|
definePattern() {
|
|
12636
12667
|
if (this.type === 'credit-card' && !this.noValidate && this.maxLength) {
|
|
12637
|
-
|
|
12668
|
+
// Variable-length brands (e.g. UnionPay) set minLength, so accept a range;
|
|
12669
|
+
// fixed-length brands leave minLength undefined and keep an exact length.
|
|
12670
|
+
const minPatternLength = this.minLength || this.maxLength;
|
|
12671
|
+
return `.{${minPatternLength},${this.maxLength}}`;
|
|
12638
12672
|
}
|
|
12639
12673
|
|
|
12640
12674
|
return this.pattern;
|
|
@@ -1227,7 +1227,7 @@ class AuroHelpText extends i$2 {
|
|
|
1227
1227
|
}
|
|
1228
1228
|
}
|
|
1229
1229
|
|
|
1230
|
-
var formkitVersion = '
|
|
1230
|
+
var formkitVersion = '202608201808';
|
|
1231
1231
|
|
|
1232
1232
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1233
1233
|
// See LICENSE in the project root for license information.
|
|
@@ -1473,9 +1473,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
1473
1473
|
|
|
1474
1474
|
this.optionSelected = event.target;
|
|
1475
1475
|
|
|
1476
|
-
|
|
1477
|
-
this.validation.validate(this, this.optionSelected !== undefined);
|
|
1478
|
-
}
|
|
1476
|
+
this.validation.validate(this, this.optionSelected !== undefined);
|
|
1479
1477
|
}
|
|
1480
1478
|
|
|
1481
1479
|
/**
|
|
@@ -1485,13 +1483,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
1485
1483
|
*/
|
|
1486
1484
|
handleRadioBlur() {
|
|
1487
1485
|
this.touched = true;
|
|
1488
|
-
|
|
1489
|
-
this.validation.validate(this);
|
|
1490
|
-
} else if (this.validity !== undefined) {
|
|
1491
|
-
// Clear stale error state left by a previous validate(true) call
|
|
1492
|
-
this.validity = undefined;
|
|
1493
|
-
this.errorMessage = '';
|
|
1494
|
-
}
|
|
1486
|
+
this.validation.validate(this);
|
|
1495
1487
|
}
|
|
1496
1488
|
|
|
1497
1489
|
/**
|
|
@@ -1667,9 +1659,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
1667
1659
|
this.value = event.target.value;
|
|
1668
1660
|
this.optionSelected = event.target;
|
|
1669
1661
|
|
|
1670
|
-
|
|
1671
|
-
this.validation.validate(this);
|
|
1672
|
-
}
|
|
1662
|
+
this.validation.validate(this);
|
|
1673
1663
|
}
|
|
1674
1664
|
|
|
1675
1665
|
/**
|
|
@@ -1227,7 +1227,7 @@ class AuroHelpText extends i$2 {
|
|
|
1227
1227
|
}
|
|
1228
1228
|
}
|
|
1229
1229
|
|
|
1230
|
-
var formkitVersion = '
|
|
1230
|
+
var formkitVersion = '202608201808';
|
|
1231
1231
|
|
|
1232
1232
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1233
1233
|
// See LICENSE in the project root for license information.
|
|
@@ -1473,9 +1473,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
1473
1473
|
|
|
1474
1474
|
this.optionSelected = event.target;
|
|
1475
1475
|
|
|
1476
|
-
|
|
1477
|
-
this.validation.validate(this, this.optionSelected !== undefined);
|
|
1478
|
-
}
|
|
1476
|
+
this.validation.validate(this, this.optionSelected !== undefined);
|
|
1479
1477
|
}
|
|
1480
1478
|
|
|
1481
1479
|
/**
|
|
@@ -1485,13 +1483,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
1485
1483
|
*/
|
|
1486
1484
|
handleRadioBlur() {
|
|
1487
1485
|
this.touched = true;
|
|
1488
|
-
|
|
1489
|
-
this.validation.validate(this);
|
|
1490
|
-
} else if (this.validity !== undefined) {
|
|
1491
|
-
// Clear stale error state left by a previous validate(true) call
|
|
1492
|
-
this.validity = undefined;
|
|
1493
|
-
this.errorMessage = '';
|
|
1494
|
-
}
|
|
1486
|
+
this.validation.validate(this);
|
|
1495
1487
|
}
|
|
1496
1488
|
|
|
1497
1489
|
/**
|
|
@@ -1667,9 +1659,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
1667
1659
|
this.value = event.target.value;
|
|
1668
1660
|
this.optionSelected = event.target;
|
|
1669
1661
|
|
|
1670
|
-
|
|
1671
|
-
this.validation.validate(this);
|
|
1672
|
-
}
|
|
1662
|
+
this.validation.validate(this);
|
|
1673
1663
|
}
|
|
1674
1664
|
|
|
1675
1665
|
/**
|
|
@@ -1227,7 +1227,7 @@ class AuroHelpText extends i$2 {
|
|
|
1227
1227
|
}
|
|
1228
1228
|
}
|
|
1229
1229
|
|
|
1230
|
-
var formkitVersion = '
|
|
1230
|
+
var formkitVersion = '202608201808';
|
|
1231
1231
|
|
|
1232
1232
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1233
1233
|
// See LICENSE in the project root for license information.
|
|
@@ -1473,9 +1473,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
1473
1473
|
|
|
1474
1474
|
this.optionSelected = event.target;
|
|
1475
1475
|
|
|
1476
|
-
|
|
1477
|
-
this.validation.validate(this, this.optionSelected !== undefined);
|
|
1478
|
-
}
|
|
1476
|
+
this.validation.validate(this, this.optionSelected !== undefined);
|
|
1479
1477
|
}
|
|
1480
1478
|
|
|
1481
1479
|
/**
|
|
@@ -1485,13 +1483,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
1485
1483
|
*/
|
|
1486
1484
|
handleRadioBlur() {
|
|
1487
1485
|
this.touched = true;
|
|
1488
|
-
|
|
1489
|
-
this.validation.validate(this);
|
|
1490
|
-
} else if (this.validity !== undefined) {
|
|
1491
|
-
// Clear stale error state left by a previous validate(true) call
|
|
1492
|
-
this.validity = undefined;
|
|
1493
|
-
this.errorMessage = '';
|
|
1494
|
-
}
|
|
1486
|
+
this.validation.validate(this);
|
|
1495
1487
|
}
|
|
1496
1488
|
|
|
1497
1489
|
/**
|
|
@@ -1667,9 +1659,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
1667
1659
|
this.value = event.target.value;
|
|
1668
1660
|
this.optionSelected = event.target;
|
|
1669
1661
|
|
|
1670
|
-
|
|
1671
|
-
this.validation.validate(this);
|
|
1672
|
-
}
|
|
1662
|
+
this.validation.validate(this);
|
|
1673
1663
|
}
|
|
1674
1664
|
|
|
1675
1665
|
/**
|
|
@@ -169,7 +169,6 @@ export class AuroRadioGroup extends LitElement {
|
|
|
169
169
|
* @returns {void}
|
|
170
170
|
*/
|
|
171
171
|
private handleRadioBlur;
|
|
172
|
-
errorMessage: string | undefined;
|
|
173
172
|
/**
|
|
174
173
|
* LitElement lifecycle method. Called after the DOM has been updated.
|
|
175
174
|
* @param {Map<string, any>} changedProperties - Keys are the names of changed properties, values are the corresponding previous values.
|
|
@@ -1166,7 +1166,7 @@ class AuroHelpText extends LitElement {
|
|
|
1166
1166
|
}
|
|
1167
1167
|
}
|
|
1168
1168
|
|
|
1169
|
-
var formkitVersion = '
|
|
1169
|
+
var formkitVersion = '202608201808';
|
|
1170
1170
|
|
|
1171
1171
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1172
1172
|
// See LICENSE in the project root for license information.
|
|
@@ -1412,9 +1412,7 @@ class AuroRadioGroup extends LitElement {
|
|
|
1412
1412
|
|
|
1413
1413
|
this.optionSelected = event.target;
|
|
1414
1414
|
|
|
1415
|
-
|
|
1416
|
-
this.validation.validate(this, this.optionSelected !== undefined);
|
|
1417
|
-
}
|
|
1415
|
+
this.validation.validate(this, this.optionSelected !== undefined);
|
|
1418
1416
|
}
|
|
1419
1417
|
|
|
1420
1418
|
/**
|
|
@@ -1424,13 +1422,7 @@ class AuroRadioGroup extends LitElement {
|
|
|
1424
1422
|
*/
|
|
1425
1423
|
handleRadioBlur() {
|
|
1426
1424
|
this.touched = true;
|
|
1427
|
-
|
|
1428
|
-
this.validation.validate(this);
|
|
1429
|
-
} else if (this.validity !== undefined) {
|
|
1430
|
-
// Clear stale error state left by a previous validate(true) call
|
|
1431
|
-
this.validity = undefined;
|
|
1432
|
-
this.errorMessage = '';
|
|
1433
|
-
}
|
|
1425
|
+
this.validation.validate(this);
|
|
1434
1426
|
}
|
|
1435
1427
|
|
|
1436
1428
|
/**
|
|
@@ -1606,9 +1598,7 @@ class AuroRadioGroup extends LitElement {
|
|
|
1606
1598
|
this.value = event.target.value;
|
|
1607
1599
|
this.optionSelected = event.target;
|
|
1608
1600
|
|
|
1609
|
-
|
|
1610
|
-
this.validation.validate(this);
|
|
1611
|
-
}
|
|
1601
|
+
this.validation.validate(this);
|
|
1612
1602
|
}
|
|
1613
1603
|
|
|
1614
1604
|
/**
|
|
@@ -1166,7 +1166,7 @@ class AuroHelpText extends LitElement {
|
|
|
1166
1166
|
}
|
|
1167
1167
|
}
|
|
1168
1168
|
|
|
1169
|
-
var formkitVersion = '
|
|
1169
|
+
var formkitVersion = '202608201808';
|
|
1170
1170
|
|
|
1171
1171
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1172
1172
|
// See LICENSE in the project root for license information.
|
|
@@ -1412,9 +1412,7 @@ class AuroRadioGroup extends LitElement {
|
|
|
1412
1412
|
|
|
1413
1413
|
this.optionSelected = event.target;
|
|
1414
1414
|
|
|
1415
|
-
|
|
1416
|
-
this.validation.validate(this, this.optionSelected !== undefined);
|
|
1417
|
-
}
|
|
1415
|
+
this.validation.validate(this, this.optionSelected !== undefined);
|
|
1418
1416
|
}
|
|
1419
1417
|
|
|
1420
1418
|
/**
|
|
@@ -1424,13 +1422,7 @@ class AuroRadioGroup extends LitElement {
|
|
|
1424
1422
|
*/
|
|
1425
1423
|
handleRadioBlur() {
|
|
1426
1424
|
this.touched = true;
|
|
1427
|
-
|
|
1428
|
-
this.validation.validate(this);
|
|
1429
|
-
} else if (this.validity !== undefined) {
|
|
1430
|
-
// Clear stale error state left by a previous validate(true) call
|
|
1431
|
-
this.validity = undefined;
|
|
1432
|
-
this.errorMessage = '';
|
|
1433
|
-
}
|
|
1425
|
+
this.validation.validate(this);
|
|
1434
1426
|
}
|
|
1435
1427
|
|
|
1436
1428
|
/**
|
|
@@ -1606,9 +1598,7 @@ class AuroRadioGroup extends LitElement {
|
|
|
1606
1598
|
this.value = event.target.value;
|
|
1607
1599
|
this.optionSelected = event.target;
|
|
1608
1600
|
|
|
1609
|
-
|
|
1610
|
-
this.validation.validate(this);
|
|
1611
|
-
}
|
|
1601
|
+
this.validation.validate(this);
|
|
1612
1602
|
}
|
|
1613
1603
|
|
|
1614
1604
|
/**
|
|
@@ -4836,7 +4836,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
4836
4836
|
}
|
|
4837
4837
|
};
|
|
4838
4838
|
|
|
4839
|
-
var formkitVersion$1 = '
|
|
4839
|
+
var formkitVersion$1 = '202608201808';
|
|
4840
4840
|
|
|
4841
4841
|
class AuroElement extends i$2 {
|
|
4842
4842
|
static get properties() {
|
|
@@ -6947,7 +6947,7 @@ class AuroHelpText extends i$2 {
|
|
|
6947
6947
|
}
|
|
6948
6948
|
}
|
|
6949
6949
|
|
|
6950
|
-
var formkitVersion = '
|
|
6950
|
+
var formkitVersion = '202608201808';
|
|
6951
6951
|
|
|
6952
6952
|
var styleCss$2 = i$5`.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}`;
|
|
6953
6953
|
|
|
@@ -7944,13 +7944,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7944
7944
|
this.addEventListener('focusin', this.handleFocusin);
|
|
7945
7945
|
|
|
7946
7946
|
this.addEventListener('blur', () => {
|
|
7947
|
-
|
|
7948
|
-
this.validate();
|
|
7949
|
-
} else if (this.validity !== undefined) {
|
|
7950
|
-
// Clear stale error state left by a previous validate(true) call
|
|
7951
|
-
this.validity = undefined;
|
|
7952
|
-
this.errorMessage = '';
|
|
7953
|
-
}
|
|
7947
|
+
this.validate();
|
|
7954
7948
|
this.hasFocus = false;
|
|
7955
7949
|
this._clearTypeaheadBuffer();
|
|
7956
7950
|
});
|
|
@@ -8285,9 +8279,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
8285
8279
|
this.setMenuValue(this.value);
|
|
8286
8280
|
|
|
8287
8281
|
this._updateNativeSelect();
|
|
8288
|
-
|
|
8289
|
-
this.validate();
|
|
8290
|
-
}
|
|
8282
|
+
this.validate();
|
|
8291
8283
|
if (!this.multiSelect) {
|
|
8292
8284
|
this.hideBib();
|
|
8293
8285
|
}
|