@aurodesignsystem/auro-formkit 5.9.2 → 5.9.4
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/CHANGELOG.md +2 -16
- package/components/checkbox/demo/api.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/api.min.js +11 -4
- package/components/combobox/demo/index.html +5 -1
- package/components/combobox/demo/index.js +15 -0
- package/components/combobox/demo/index.min.js +16 -4
- package/components/combobox/dist/index.js +11 -4
- package/components/combobox/dist/registered.js +11 -4
- package/components/counter/demo/api.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/api.min.js +11 -4
- package/components/datepicker/demo/index.min.js +11 -4
- package/components/datepicker/dist/index.js +11 -4
- package/components/datepicker/dist/registered.js +11 -4
- package/components/dropdown/README.md +2 -2
- package/components/dropdown/demo/api.html +3 -1
- package/components/dropdown/demo/api.js +20 -17
- package/components/dropdown/demo/api.md +49 -52
- package/components/dropdown/demo/api.min.js +79 -20
- package/components/dropdown/demo/index.html +3 -1
- package/components/dropdown/demo/index.js +10 -13
- package/components/dropdown/demo/index.md +6 -6
- package/components/dropdown/demo/index.min.js +34 -3
- package/components/dropdown/demo/readme.html +9 -1
- package/components/dropdown/demo/readme.md +2 -2
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/input/demo/api.md +2 -2
- package/components/input/demo/api.min.js +9 -2
- package/components/input/demo/index.min.js +9 -2
- package/components/input/dist/index.js +9 -2
- package/components/input/dist/registered.js +9 -2
- package/components/radio/demo/api.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/api.min.js +2 -2
- package/components/select/demo/index.min.js +2 -2
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/package.json +7 -7
|
@@ -1,9 +1,63 @@
|
|
|
1
|
+
function errorExample() {
|
|
2
|
+
const btn = document.querySelector('#errorButton');
|
|
3
|
+
const dropdown = document.querySelector('#error');
|
|
4
|
+
|
|
5
|
+
btn?.addEventListener('click', () => {
|
|
6
|
+
dropdown?.hide();
|
|
7
|
+
});
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
function inverseErrorExample() {
|
|
11
|
+
const btn = document.querySelector('#inverseErrorButton');
|
|
12
|
+
const dropdown = document.querySelector('#inverseError');
|
|
13
|
+
|
|
14
|
+
btn?.addEventListener('click', () => {
|
|
15
|
+
dropdown?.hide();
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function fullscreenBreakpointExample() {
|
|
20
|
+
const btn = document.querySelector('#fullscreenButton');
|
|
21
|
+
const dropdown = document.querySelector('#fullscreen');
|
|
22
|
+
|
|
23
|
+
btn?.addEventListener('click', () => {
|
|
24
|
+
dropdown?.hide();
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
function classicExample() {
|
|
29
|
+
const btn = document.querySelector('#classicButton');
|
|
30
|
+
const dropdown = document.querySelector('#classic');
|
|
31
|
+
|
|
32
|
+
btn?.addEventListener('click', () => {
|
|
33
|
+
dropdown?.hide();
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
function classicInverseExample() {
|
|
38
|
+
const btn = document.querySelector('#classicInverseButton');
|
|
39
|
+
const dropdown = document.querySelector('#classicInverse');
|
|
40
|
+
|
|
41
|
+
btn?.addEventListener('click', () => {
|
|
42
|
+
dropdown?.hide();
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
function matchWidthExample() {
|
|
47
|
+
const btn = document.querySelector('#matchWidthButton');
|
|
48
|
+
const dropdown = document.querySelector('#matchWidth');
|
|
49
|
+
|
|
50
|
+
btn?.addEventListener('click', () => {
|
|
51
|
+
dropdown?.hide();
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
|
|
1
55
|
function hideExample() {
|
|
2
56
|
const btn = document.querySelector('#hideExampleBtn');
|
|
3
57
|
const dropdown = document.querySelector('#hideExample');
|
|
4
58
|
|
|
5
|
-
btn
|
|
6
|
-
dropdown
|
|
59
|
+
btn?.addEventListener('click', () => {
|
|
60
|
+
dropdown?.hide();
|
|
7
61
|
});
|
|
8
62
|
}
|
|
9
63
|
|
|
@@ -11,16 +65,24 @@ function showExample() {
|
|
|
11
65
|
const triggerInput = document.querySelector('#showExampleTriggerInput');
|
|
12
66
|
const dropdownElem = document.querySelector('#showMethodExample');
|
|
13
67
|
|
|
14
|
-
triggerInput
|
|
15
|
-
dropdownElem
|
|
68
|
+
triggerInput?.addEventListener('keydown', () => {
|
|
69
|
+
dropdownElem?.show();
|
|
16
70
|
});
|
|
17
71
|
}
|
|
18
72
|
|
|
19
73
|
function inDialogExample() {
|
|
20
|
-
document.querySelector("#dropdown-dialog-opener")
|
|
74
|
+
const openBtn = document.querySelector("#dropdown-dialog-opener");
|
|
75
|
+
const closeBtn = document.querySelector("#in-dialog-dismiss-btn");
|
|
76
|
+
const dropdown = document.querySelector("#in-dialog-dropdown");
|
|
77
|
+
|
|
78
|
+
openBtn?.addEventListener("click", () => {
|
|
21
79
|
const dialog = document.querySelector("#dropdown-dialog");
|
|
22
80
|
dialog.open = true;
|
|
23
81
|
});
|
|
82
|
+
|
|
83
|
+
closeBtn?.addEventListener("click", () => {
|
|
84
|
+
dropdown?.hide();
|
|
85
|
+
});
|
|
24
86
|
}
|
|
25
87
|
|
|
26
88
|
/**
|
|
@@ -3183,7 +3245,7 @@ class AuroHelpText extends i {
|
|
|
3183
3245
|
}
|
|
3184
3246
|
}
|
|
3185
3247
|
|
|
3186
|
-
var formkitVersion = '
|
|
3248
|
+
var formkitVersion = '202602060041';
|
|
3187
3249
|
|
|
3188
3250
|
class AuroElement extends i {
|
|
3189
3251
|
static get properties() {
|
|
@@ -4239,20 +4301,17 @@ AuroDropdown.register();
|
|
|
4239
4301
|
|
|
4240
4302
|
/* eslint-disable jsdoc/require-jsdoc, no-magic-numbers */
|
|
4241
4303
|
|
|
4242
|
-
function initExamples(
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
}, 100);
|
|
4254
|
-
}
|
|
4255
|
-
}
|
|
4304
|
+
function initExamples() {
|
|
4305
|
+
// javascript example function calls to be added here upon creation to test examples
|
|
4306
|
+
errorExample();
|
|
4307
|
+
inverseErrorExample();
|
|
4308
|
+
fullscreenBreakpointExample();
|
|
4309
|
+
classicExample();
|
|
4310
|
+
classicInverseExample();
|
|
4311
|
+
matchWidthExample();
|
|
4312
|
+
hideExample();
|
|
4313
|
+
showExample();
|
|
4314
|
+
inDialogExample();
|
|
4256
4315
|
}
|
|
4257
4316
|
|
|
4258
4317
|
export { initExamples };
|
|
@@ -51,7 +51,9 @@
|
|
|
51
51
|
<script type="module">
|
|
52
52
|
import { initExamples } from "./index.min.js";
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
window.addEventListener('load', () => {
|
|
55
|
+
initExamples();
|
|
56
|
+
});
|
|
55
57
|
</script>
|
|
56
58
|
<!-- If additional elements are needed for the demo, add them here. -->
|
|
57
59
|
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-icon@latest/+esm" type="module"></script>
|
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
/* eslint-disable jsdoc/require-jsdoc, no-magic-numbers, no-param-reassign */
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
import { classicExample } from '../apiExamples/classic/basic.js';
|
|
4
|
+
import { classicInverseExample } from '../apiExamples/classic/appearance-inverse.js';
|
|
5
|
+
import { customExample } from '../apiExamples/custom.js';
|
|
6
|
+
|
|
3
7
|
import { AuroDropdown } from '../src/auro-dropdown.js';
|
|
4
8
|
AuroDropdown.register();
|
|
5
9
|
AuroDropdown.register('custom-dropdown');
|
|
6
10
|
|
|
7
|
-
export function initExamples(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
if (initialCount <= 20) {
|
|
13
|
-
// setTimeout handles issue where content is sometimes loaded after the functions get called
|
|
14
|
-
setTimeout(() => {
|
|
15
|
-
initExamples(initialCount + 1);
|
|
16
|
-
}, 100);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
11
|
+
export function initExamples() {
|
|
12
|
+
// javascript example function calls to be added here upon creation to test examples
|
|
13
|
+
classicExample();
|
|
14
|
+
classicInverseExample();
|
|
15
|
+
customExample();
|
|
19
16
|
}
|
|
@@ -94,7 +94,7 @@ The `auro-dropdown` element supports multiple layouts to fit different design ne
|
|
|
94
94
|
<div style="padding: var(--ds-size-150);">
|
|
95
95
|
Lorem ipsum solar
|
|
96
96
|
<br />
|
|
97
|
-
<auro-button
|
|
97
|
+
<auro-button id="classicButton">
|
|
98
98
|
Dismiss Dropdown
|
|
99
99
|
</auro-button>
|
|
100
100
|
</div>
|
|
@@ -117,7 +117,7 @@ The `auro-dropdown` element supports multiple layouts to fit different design ne
|
|
|
117
117
|
<div style="padding: var(--ds-size-150);">
|
|
118
118
|
Lorem ipsum solar
|
|
119
119
|
<br />
|
|
120
|
-
<auro-button
|
|
120
|
+
<auro-button id="classicButton">
|
|
121
121
|
Dismiss Dropdown
|
|
122
122
|
</auro-button>
|
|
123
123
|
</div>
|
|
@@ -134,11 +134,11 @@ The `auro-dropdown` element supports multiple layouts to fit different design ne
|
|
|
134
134
|
<div class="exampleWrapper--ondark">
|
|
135
135
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/classic/appearance-inverse.html) -->
|
|
136
136
|
<!-- The below content is automatically added from ./../apiExamples/classic/appearance-inverse.html -->
|
|
137
|
-
<auro-dropdown appearance="inverse" layout="classic" shape="classic" size="lg"
|
|
137
|
+
<auro-dropdown id="classicInverse" appearance="inverse" layout="classic" shape="classic" size="lg" chevron aria-label="Label content for screen reader">
|
|
138
138
|
<div style="padding: var(--ds-size-150);">
|
|
139
139
|
Lorem ipsum solar
|
|
140
140
|
<br />
|
|
141
|
-
<auro-button
|
|
141
|
+
<auro-button id="classicInverseButton">
|
|
142
142
|
Dismiss Dropdown
|
|
143
143
|
</auro-button>
|
|
144
144
|
</div>
|
|
@@ -157,11 +157,11 @@ The `auro-dropdown` element supports multiple layouts to fit different design ne
|
|
|
157
157
|
<!-- The below code snippet is automatically added from ./../apiExamples/classic/appearance-inverse.html -->
|
|
158
158
|
|
|
159
159
|
```html
|
|
160
|
-
<auro-dropdown appearance="inverse" layout="classic" shape="classic" size="lg"
|
|
160
|
+
<auro-dropdown id="classicInverse" appearance="inverse" layout="classic" shape="classic" size="lg" chevron aria-label="Label content for screen reader">
|
|
161
161
|
<div style="padding: var(--ds-size-150);">
|
|
162
162
|
Lorem ipsum solar
|
|
163
163
|
<br />
|
|
164
|
-
<auro-button
|
|
164
|
+
<auro-button id="classicInverseButton">
|
|
165
165
|
Dismiss Dropdown
|
|
166
166
|
</auro-button>
|
|
167
167
|
</div>
|
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
function classicExample() {
|
|
2
|
+
const btn = document.querySelector('#classicButton');
|
|
3
|
+
const dropdown = document.querySelector('#classic');
|
|
4
|
+
|
|
5
|
+
btn?.addEventListener('click', () => {
|
|
6
|
+
dropdown?.hide();
|
|
7
|
+
});
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
function classicInverseExample() {
|
|
11
|
+
const btn = document.querySelector('#classicInverseButton');
|
|
12
|
+
const dropdown = document.querySelector('#classicInverse');
|
|
13
|
+
|
|
14
|
+
btn?.addEventListener('click', () => {
|
|
15
|
+
dropdown?.hide();
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function customExample() {
|
|
20
|
+
const btn = document.querySelector('#customCommonButton');
|
|
21
|
+
const dropdown = document.querySelector('#customCommon');
|
|
22
|
+
|
|
23
|
+
btn?.addEventListener('click', () => {
|
|
24
|
+
dropdown?.hide();
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
|
|
1
28
|
/**
|
|
2
29
|
* @license
|
|
3
30
|
* Copyright 2017 Google LLC
|
|
@@ -3158,7 +3185,7 @@ class AuroHelpText extends i {
|
|
|
3158
3185
|
}
|
|
3159
3186
|
}
|
|
3160
3187
|
|
|
3161
|
-
var formkitVersion = '
|
|
3188
|
+
var formkitVersion = '202602060041';
|
|
3162
3189
|
|
|
3163
3190
|
class AuroElement extends i {
|
|
3164
3191
|
static get properties() {
|
|
@@ -4211,11 +4238,15 @@ class AuroDropdown extends AuroElement {
|
|
|
4211
4238
|
}
|
|
4212
4239
|
|
|
4213
4240
|
/* eslint-disable jsdoc/require-jsdoc, no-magic-numbers, no-param-reassign */
|
|
4214
|
-
|
|
4241
|
+
|
|
4215
4242
|
AuroDropdown.register();
|
|
4216
4243
|
AuroDropdown.register('custom-dropdown');
|
|
4217
4244
|
|
|
4218
|
-
function initExamples(
|
|
4245
|
+
function initExamples() {
|
|
4246
|
+
// javascript example function calls to be added here upon creation to test examples
|
|
4247
|
+
classicExample();
|
|
4248
|
+
classicInverseExample();
|
|
4249
|
+
customExample();
|
|
4219
4250
|
}
|
|
4220
4251
|
|
|
4221
4252
|
export { initExamples };
|
|
@@ -48,9 +48,17 @@
|
|
|
48
48
|
Prism.highlightAll();
|
|
49
49
|
})
|
|
50
50
|
</script>
|
|
51
|
-
<script
|
|
51
|
+
<script type="module">
|
|
52
|
+
import { initExamples } from "./index.min.js";
|
|
53
|
+
|
|
54
|
+
window.addEventListener('load', () => {
|
|
55
|
+
initExamples();
|
|
56
|
+
});
|
|
57
|
+
</script>
|
|
52
58
|
|
|
53
59
|
<!-- If additional elements are needed for the demo, add them here. -->
|
|
60
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-icon@latest/+esm" type="module"></script>
|
|
54
61
|
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-accordion@latest/+esm" type="module"></script>
|
|
62
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-button@latest/+esm" type="module"></script>
|
|
55
63
|
</body>
|
|
56
64
|
</html>
|
|
@@ -124,7 +124,7 @@ This will create a new custom element `<custom-dropdown>` that behaves exactly l
|
|
|
124
124
|
<div style="padding: var(--ds-size-150);">
|
|
125
125
|
Lorem ipsum solar
|
|
126
126
|
<br />
|
|
127
|
-
<auro-button
|
|
127
|
+
<auro-button id="customCommonButton">
|
|
128
128
|
Dismiss Dropdown
|
|
129
129
|
</auro-button>
|
|
130
130
|
</div>
|
|
@@ -144,7 +144,7 @@ This will create a new custom element `<custom-dropdown>` that behaves exactly l
|
|
|
144
144
|
<div style="padding: var(--ds-size-150);">
|
|
145
145
|
Lorem ipsum solar
|
|
146
146
|
<br />
|
|
147
|
-
<auro-button
|
|
147
|
+
<auro-button id="customCommonButton">
|
|
148
148
|
Dismiss Dropdown
|
|
149
149
|
</auro-button>
|
|
150
150
|
</div>
|
|
@@ -961,7 +961,7 @@ Use the `format` attribute to set a custom phone number format.
|
|
|
961
961
|
<div class="exampleWrapper">
|
|
962
962
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/tel-format.html) -->
|
|
963
963
|
<!-- The below content is automatically added from ../apiExamples/tel-format.html -->
|
|
964
|
-
<auro-input type="tel" format="+
|
|
964
|
+
<auro-input type="tel" format="+00 000 00 0000">
|
|
965
965
|
<span slot="label">Telephone</span>
|
|
966
966
|
<span slot="helpText">Help Text</span>
|
|
967
967
|
</auro-input>
|
|
@@ -973,7 +973,7 @@ Use the `format` attribute to set a custom phone number format.
|
|
|
973
973
|
<!-- The below code snippet is automatically added from ../apiExamples/tel-format.html -->
|
|
974
974
|
|
|
975
975
|
```html
|
|
976
|
-
<auro-input type="tel" format="+
|
|
976
|
+
<auro-input type="tel" format="+00 000 00 0000">
|
|
977
977
|
<span slot="label">Telephone</span>
|
|
978
978
|
<span slot="helpText">Help Text</span>
|
|
979
979
|
</auro-input>
|
|
@@ -6015,6 +6015,11 @@ class BaseInput extends AuroElement {
|
|
|
6015
6015
|
* @returns {void}
|
|
6016
6016
|
*/
|
|
6017
6017
|
handleInput(event) {
|
|
6018
|
+
// Process credit card type detection and formatting during input
|
|
6019
|
+
if (this.type === 'credit-card') {
|
|
6020
|
+
this.processCreditCard();
|
|
6021
|
+
}
|
|
6022
|
+
|
|
6018
6023
|
// Sets value property to value of element value (el.value).
|
|
6019
6024
|
this.value = this.inputElement.value;
|
|
6020
6025
|
|
|
@@ -6242,6 +6247,7 @@ class BaseInput extends AuroElement {
|
|
|
6242
6247
|
*/
|
|
6243
6248
|
processCreditCard() {
|
|
6244
6249
|
const creditCard = this.matchInputValueToCreditCard();
|
|
6250
|
+
const previousFormat = this.format;
|
|
6245
6251
|
|
|
6246
6252
|
this.format = creditCard.maskFormat;
|
|
6247
6253
|
|
|
@@ -6254,7 +6260,8 @@ class BaseInput extends AuroElement {
|
|
|
6254
6260
|
this.inputIconName = creditCard.cardIcon;
|
|
6255
6261
|
}
|
|
6256
6262
|
|
|
6257
|
-
if
|
|
6263
|
+
// Only reconfigure the mask if the format has changed
|
|
6264
|
+
if (this.inputElement && previousFormat !== this.format) {
|
|
6258
6265
|
this.configureAutoFormatting();
|
|
6259
6266
|
}
|
|
6260
6267
|
}
|
|
@@ -6715,7 +6722,7 @@ class AuroHelpText extends i$2 {
|
|
|
6715
6722
|
}
|
|
6716
6723
|
}
|
|
6717
6724
|
|
|
6718
|
-
var formkitVersion = '
|
|
6725
|
+
var formkitVersion = '202602060041';
|
|
6719
6726
|
|
|
6720
6727
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
6721
6728
|
// See LICENSE in the project root for license information.
|
|
@@ -5940,6 +5940,11 @@ class BaseInput extends AuroElement {
|
|
|
5940
5940
|
* @returns {void}
|
|
5941
5941
|
*/
|
|
5942
5942
|
handleInput(event) {
|
|
5943
|
+
// Process credit card type detection and formatting during input
|
|
5944
|
+
if (this.type === 'credit-card') {
|
|
5945
|
+
this.processCreditCard();
|
|
5946
|
+
}
|
|
5947
|
+
|
|
5943
5948
|
// Sets value property to value of element value (el.value).
|
|
5944
5949
|
this.value = this.inputElement.value;
|
|
5945
5950
|
|
|
@@ -6167,6 +6172,7 @@ class BaseInput extends AuroElement {
|
|
|
6167
6172
|
*/
|
|
6168
6173
|
processCreditCard() {
|
|
6169
6174
|
const creditCard = this.matchInputValueToCreditCard();
|
|
6175
|
+
const previousFormat = this.format;
|
|
6170
6176
|
|
|
6171
6177
|
this.format = creditCard.maskFormat;
|
|
6172
6178
|
|
|
@@ -6179,7 +6185,8 @@ class BaseInput extends AuroElement {
|
|
|
6179
6185
|
this.inputIconName = creditCard.cardIcon;
|
|
6180
6186
|
}
|
|
6181
6187
|
|
|
6182
|
-
if
|
|
6188
|
+
// Only reconfigure the mask if the format has changed
|
|
6189
|
+
if (this.inputElement && previousFormat !== this.format) {
|
|
6183
6190
|
this.configureAutoFormatting();
|
|
6184
6191
|
}
|
|
6185
6192
|
}
|
|
@@ -6640,7 +6647,7 @@ class AuroHelpText extends i$2 {
|
|
|
6640
6647
|
}
|
|
6641
6648
|
}
|
|
6642
6649
|
|
|
6643
|
-
var formkitVersion = '
|
|
6650
|
+
var formkitVersion = '202602060041';
|
|
6644
6651
|
|
|
6645
6652
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
6646
6653
|
// See LICENSE in the project root for license information.
|
|
@@ -5881,6 +5881,11 @@ class BaseInput extends AuroElement {
|
|
|
5881
5881
|
* @returns {void}
|
|
5882
5882
|
*/
|
|
5883
5883
|
handleInput(event) {
|
|
5884
|
+
// Process credit card type detection and formatting during input
|
|
5885
|
+
if (this.type === 'credit-card') {
|
|
5886
|
+
this.processCreditCard();
|
|
5887
|
+
}
|
|
5888
|
+
|
|
5884
5889
|
// Sets value property to value of element value (el.value).
|
|
5885
5890
|
this.value = this.inputElement.value;
|
|
5886
5891
|
|
|
@@ -6108,6 +6113,7 @@ class BaseInput extends AuroElement {
|
|
|
6108
6113
|
*/
|
|
6109
6114
|
processCreditCard() {
|
|
6110
6115
|
const creditCard = this.matchInputValueToCreditCard();
|
|
6116
|
+
const previousFormat = this.format;
|
|
6111
6117
|
|
|
6112
6118
|
this.format = creditCard.maskFormat;
|
|
6113
6119
|
|
|
@@ -6120,7 +6126,8 @@ class BaseInput extends AuroElement {
|
|
|
6120
6126
|
this.inputIconName = creditCard.cardIcon;
|
|
6121
6127
|
}
|
|
6122
6128
|
|
|
6123
|
-
if
|
|
6129
|
+
// Only reconfigure the mask if the format has changed
|
|
6130
|
+
if (this.inputElement && previousFormat !== this.format) {
|
|
6124
6131
|
this.configureAutoFormatting();
|
|
6125
6132
|
}
|
|
6126
6133
|
}
|
|
@@ -6581,7 +6588,7 @@ class AuroHelpText extends LitElement {
|
|
|
6581
6588
|
}
|
|
6582
6589
|
}
|
|
6583
6590
|
|
|
6584
|
-
var formkitVersion = '
|
|
6591
|
+
var formkitVersion = '202602060041';
|
|
6585
6592
|
|
|
6586
6593
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
6587
6594
|
// See LICENSE in the project root for license information.
|
|
@@ -5881,6 +5881,11 @@ class BaseInput extends AuroElement {
|
|
|
5881
5881
|
* @returns {void}
|
|
5882
5882
|
*/
|
|
5883
5883
|
handleInput(event) {
|
|
5884
|
+
// Process credit card type detection and formatting during input
|
|
5885
|
+
if (this.type === 'credit-card') {
|
|
5886
|
+
this.processCreditCard();
|
|
5887
|
+
}
|
|
5888
|
+
|
|
5884
5889
|
// Sets value property to value of element value (el.value).
|
|
5885
5890
|
this.value = this.inputElement.value;
|
|
5886
5891
|
|
|
@@ -6108,6 +6113,7 @@ class BaseInput extends AuroElement {
|
|
|
6108
6113
|
*/
|
|
6109
6114
|
processCreditCard() {
|
|
6110
6115
|
const creditCard = this.matchInputValueToCreditCard();
|
|
6116
|
+
const previousFormat = this.format;
|
|
6111
6117
|
|
|
6112
6118
|
this.format = creditCard.maskFormat;
|
|
6113
6119
|
|
|
@@ -6120,7 +6126,8 @@ class BaseInput extends AuroElement {
|
|
|
6120
6126
|
this.inputIconName = creditCard.cardIcon;
|
|
6121
6127
|
}
|
|
6122
6128
|
|
|
6123
|
-
if
|
|
6129
|
+
// Only reconfigure the mask if the format has changed
|
|
6130
|
+
if (this.inputElement && previousFormat !== this.format) {
|
|
6124
6131
|
this.configureAutoFormatting();
|
|
6125
6132
|
}
|
|
6126
6133
|
}
|
|
@@ -6581,7 +6588,7 @@ class AuroHelpText extends LitElement {
|
|
|
6581
6588
|
}
|
|
6582
6589
|
}
|
|
6583
6590
|
|
|
6584
|
-
var formkitVersion = '
|
|
6591
|
+
var formkitVersion = '202602060041';
|
|
6585
6592
|
|
|
6586
6593
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
6587
6594
|
// See LICENSE in the project root for license information.
|
|
@@ -1645,7 +1645,7 @@ class AuroHelpText extends i$2 {
|
|
|
1645
1645
|
}
|
|
1646
1646
|
}
|
|
1647
1647
|
|
|
1648
|
-
var formkitVersion = '
|
|
1648
|
+
var formkitVersion = '202602060041';
|
|
1649
1649
|
|
|
1650
1650
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1651
1651
|
// See LICENSE in the project root for license information.
|
|
@@ -1620,7 +1620,7 @@ class AuroHelpText extends i$2 {
|
|
|
1620
1620
|
}
|
|
1621
1621
|
}
|
|
1622
1622
|
|
|
1623
|
-
var formkitVersion = '
|
|
1623
|
+
var formkitVersion = '202602060041';
|
|
1624
1624
|
|
|
1625
1625
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1626
1626
|
// See LICENSE in the project root for license information.
|
|
@@ -1573,7 +1573,7 @@ class AuroHelpText extends LitElement {
|
|
|
1573
1573
|
}
|
|
1574
1574
|
}
|
|
1575
1575
|
|
|
1576
|
-
var formkitVersion = '
|
|
1576
|
+
var formkitVersion = '202602060041';
|
|
1577
1577
|
|
|
1578
1578
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1579
1579
|
// See LICENSE in the project root for license information.
|
|
@@ -1573,7 +1573,7 @@ class AuroHelpText extends LitElement {
|
|
|
1573
1573
|
}
|
|
1574
1574
|
}
|
|
1575
1575
|
|
|
1576
|
-
var formkitVersion = '
|
|
1576
|
+
var formkitVersion = '202602060041';
|
|
1577
1577
|
|
|
1578
1578
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1579
1579
|
// See LICENSE in the project root for license information.
|
|
@@ -4321,7 +4321,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
4321
4321
|
}
|
|
4322
4322
|
};
|
|
4323
4323
|
|
|
4324
|
-
var formkitVersion$1 = '
|
|
4324
|
+
var formkitVersion$1 = '202602060041';
|
|
4325
4325
|
|
|
4326
4326
|
class AuroElement extends i$3 {
|
|
4327
4327
|
static get properties() {
|
|
@@ -5968,7 +5968,7 @@ class AuroHelpText extends i$3 {
|
|
|
5968
5968
|
}
|
|
5969
5969
|
}
|
|
5970
5970
|
|
|
5971
|
-
var formkitVersion = '
|
|
5971
|
+
var formkitVersion = '202602060041';
|
|
5972
5972
|
|
|
5973
5973
|
var styleCss$2 = 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);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, 0.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, 0.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, 0.625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-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, 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, 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 [slot=displayValue]{display:none}.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%;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{height:auto}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}`;
|
|
5974
5974
|
|
|
@@ -4260,7 +4260,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
4260
4260
|
}
|
|
4261
4261
|
};
|
|
4262
4262
|
|
|
4263
|
-
var formkitVersion$1 = '
|
|
4263
|
+
var formkitVersion$1 = '202602060041';
|
|
4264
4264
|
|
|
4265
4265
|
class AuroElement extends i$3 {
|
|
4266
4266
|
static get properties() {
|
|
@@ -5907,7 +5907,7 @@ class AuroHelpText extends i$3 {
|
|
|
5907
5907
|
}
|
|
5908
5908
|
}
|
|
5909
5909
|
|
|
5910
|
-
var formkitVersion = '
|
|
5910
|
+
var formkitVersion = '202602060041';
|
|
5911
5911
|
|
|
5912
5912
|
var styleCss$2 = 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);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, 0.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, 0.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, 0.625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-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, 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, 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 [slot=displayValue]{display:none}.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%;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{height:auto}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}`;
|
|
5913
5913
|
|