@aurodesignsystem-dev/auro-formkit 0.0.0-pr1448.0 → 0.0.0-pr1451.1
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/api.md +201 -221
- package/components/checkbox/demo/api.min.js +1 -1
- package/components/checkbox/demo/index.md +21 -23
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/demo/keyboard-behavior.md +39 -0
- package/components/checkbox/demo/readme.md +23 -35
- package/components/checkbox/dist/auro-checkbox-group.d.ts +6 -6
- package/components/checkbox/dist/auro-checkbox.d.ts +8 -8
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/README.md +13 -3
- package/components/combobox/demo/accessibility.html +57 -0
- package/components/combobox/demo/accessibility.md +77 -0
- package/components/combobox/demo/api.html +24 -0
- package/components/combobox/demo/api.md +1613 -1685
- package/components/combobox/demo/api.min.js +15 -21
- package/components/combobox/demo/design.html +83 -0
- package/components/combobox/demo/design.md +283 -0
- package/components/combobox/demo/index.html +49 -16
- package/components/combobox/demo/index.js +3 -2
- package/components/combobox/demo/index.md +861 -185
- package/components/combobox/demo/index.min.js +41 -22
- package/components/combobox/demo/install.html +84 -0
- package/components/combobox/demo/install.js +24 -0
- package/components/combobox/demo/install.md +100 -0
- package/components/combobox/demo/install.min.js +17991 -0
- package/components/combobox/demo/{keyboardBehavior.html → keyboard-behavior.html} +2 -1
- package/components/combobox/demo/keyboard-behavior.md +276 -0
- package/components/combobox/demo/layout.md +112 -0
- package/components/combobox/demo/readme.html +25 -1
- package/components/combobox/demo/readme.md +50 -52
- package/components/combobox/demo/styles.css +141 -0
- package/components/combobox/demo/voiceover.html +66 -0
- package/components/combobox/demo/voiceover.md +118 -0
- package/components/combobox/dist/auro-combobox.d.ts +36 -36
- package/components/combobox/dist/index.js +12 -17
- package/components/combobox/dist/registered.js +12 -17
- package/components/counter/demo/api.md +751 -819
- package/components/counter/demo/api.min.js +2 -2
- package/components/counter/demo/index.md +35 -39
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/demo/keyboard-behavior.md +127 -0
- package/components/counter/demo/readme.md +39 -51
- package/components/counter/dist/auro-counter-group.d.ts +2 -2
- package/components/counter/dist/auro-counter.d.ts +10 -10
- package/components/counter/dist/index.js +2 -2
- package/components/counter/dist/registered.js +2 -2
- package/components/datepicker/demo/api.md +827 -931
- package/components/datepicker/demo/api.min.js +4 -4
- package/components/datepicker/demo/index.md +79 -87
- package/components/datepicker/demo/index.min.js +4 -4
- package/components/datepicker/demo/keyboard-behavior.md +19 -0
- package/components/datepicker/demo/readme.md +19 -31
- package/components/datepicker/dist/index.js +4 -4
- package/components/datepicker/dist/registered.js +4 -4
- package/components/datepicker/dist/{auro-calendar-cell.d.ts → src/auro-calendar-cell.d.ts} +2 -2
- package/components/datepicker/dist/{auro-datepicker.d.ts → src/auro-datepicker.d.ts} +13 -13
- package/components/datepicker/dist/{utilities.d.ts → src/utilities.d.ts} +4 -4
- package/components/datepicker/dist/{utilitiesCalendar.d.ts → src/utilitiesCalendar.d.ts} +3 -3
- package/components/datepicker/dist/{vendor → src/vendor}/wc-range-datepicker/range-datepicker-calendar.d.ts +2 -2
- package/components/datepicker/dist/{vendor → src/vendor}/wc-range-datepicker/range-datepicker.d.ts +1 -1
- package/components/dropdown/demo/api.md +795 -851
- package/components/dropdown/demo/api.min.js +1 -1
- package/components/dropdown/demo/index.md +145 -155
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/demo/keyboard-behavior.md +72 -0
- package/components/dropdown/demo/readme.md +39 -51
- package/components/dropdown/dist/auro-dropdown.d.ts +22 -22
- package/components/dropdown/dist/auro-dropdownBib.d.ts +3 -3
- package/components/dropdown/dist/dropdownBibKeyboardStrategy.d.ts +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/form/demo/api.md +173 -179
- package/components/form/demo/api.min.js +27 -33
- package/components/form/demo/index.md +27 -33
- package/components/form/demo/index.min.js +27 -33
- package/components/form/demo/keyboard-behavior.md +38 -0
- package/components/form/demo/readme.md +14 -28
- package/components/input/demo/api.md +572 -664
- package/components/input/demo/api.min.js +2 -2
- package/components/input/demo/index.md +93 -99
- package/components/input/demo/index.min.js +2 -2
- package/components/input/demo/keyboard-behavior.md +25 -0
- package/components/input/demo/readme.md +17 -29
- package/components/input/dist/auro-input.d.ts +1 -1
- package/components/input/dist/base-input.d.ts +29 -29
- package/components/input/dist/index.js +2 -2
- package/components/input/dist/registered.js +2 -2
- package/components/menu/demo/api.md +745 -789
- package/components/menu/demo/api.min.js +3 -4
- package/components/menu/demo/index.md +35 -37
- package/components/menu/demo/index.min.js +3 -4
- package/components/menu/demo/keyboard-behavior.md +18 -0
- package/components/menu/demo/readme.md +23 -35
- package/components/menu/dist/auro-menu-utils.d.ts +1 -1
- package/components/menu/dist/auro-menu.context.d.ts +3 -3
- package/components/menu/dist/auro-menu.d.ts +5 -5
- package/components/menu/dist/auro-menuoption.d.ts +6 -6
- package/components/menu/dist/index.js +3 -4
- package/components/menu/dist/registered.js +3 -4
- package/components/radio/demo/api.md +318 -350
- package/components/radio/demo/api.min.js +1 -1
- package/components/radio/demo/index.md +25 -29
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/demo/keyboard-behavior.md +72 -0
- package/components/radio/demo/readme.md +21 -33
- package/components/radio/dist/auro-radio-group.d.ts +9 -9
- package/components/radio/dist/auro-radio.d.ts +8 -8
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/README.md +12 -1
- package/components/select/demo/accessibility.html +65 -0
- package/components/select/demo/accessibility.md +76 -0
- package/components/select/demo/api.md +1713 -1793
- package/components/select/demo/api.min.js +5 -6
- package/components/select/demo/index.html +247 -37
- package/components/select/demo/index.md +225 -345
- package/components/select/demo/index.min.js +5 -6
- package/components/select/demo/keyboard-behavior.md +39 -0
- package/components/select/demo/layout.html +59 -0
- package/components/select/demo/layout.md +299 -0
- package/components/select/demo/readme.md +45 -46
- package/components/select/demo/voiceover.html +65 -0
- package/components/select/demo/voiceover.md +183 -0
- package/components/select/dist/auro-select.d.ts +11 -11
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/custom-elements.json +13 -11
- package/package.json +26 -26
- package/components/checkbox/demo/keyboardBehavior.md +0 -0
- package/components/combobox/demo/keyboardBehavior.md +0 -281
- package/components/counter/demo/keyboardBehavior.md +0 -127
- package/components/datepicker/demo/keyboardBehavior.md +0 -19
- package/components/dropdown/demo/keyboardBehavior.md +0 -77
- package/components/form/demo/keyboardBehavior.md +0 -0
- package/components/input/demo/keyboardBehavior.md +0 -0
- package/components/menu/demo/keyboardBehavior.md +0 -0
- package/components/radio/demo/keyboardBehavior.md +0 -0
- package/components/select/demo/keyboardBehavior.md +0 -245
- /package/components/datepicker/dist/{auro-calendar-month.d.ts → src/auro-calendar-month.d.ts} +0 -0
- /package/components/datepicker/dist/{auro-calendar.d.ts → src/auro-calendar.d.ts} +0 -0
- /package/components/datepicker/dist/{buttonVersion.d.ts → src/buttonVersion.d.ts} +0 -0
- /package/components/datepicker/dist/{datepickerKeyboardStrategy.d.ts → src/datepickerKeyboardStrategy.d.ts} +0 -0
- /package/components/datepicker/dist/{iconVersion.d.ts → src/iconVersion.d.ts} +0 -0
- /package/components/datepicker/dist/{index.d.ts → src/index.d.ts} +0 -0
- /package/components/datepicker/dist/{popoverVersion.d.ts → src/popoverVersion.d.ts} +0 -0
- /package/components/datepicker/dist/{styles → src/styles}/classic/color-css.d.ts +0 -0
- /package/components/datepicker/dist/{styles → src/styles}/classic/style-css.d.ts +0 -0
- /package/components/datepicker/dist/{styles → src/styles}/color-calendar-css.d.ts +0 -0
- /package/components/datepicker/dist/{styles → src/styles}/color-cell-css.d.ts +0 -0
- /package/components/datepicker/dist/{styles → src/styles}/color-css.d.ts +0 -0
- /package/components/datepicker/dist/{styles → src/styles}/color-month-css.d.ts +0 -0
- /package/components/datepicker/dist/{styles → src/styles}/shapeSize-css.d.ts +0 -0
- /package/components/datepicker/dist/{styles → src/styles}/snowflake/color-css.d.ts +0 -0
- /package/components/datepicker/dist/{styles → src/styles}/snowflake/style-css.d.ts +0 -0
- /package/components/datepicker/dist/{styles → src/styles}/style-auro-calendar-cell-css.d.ts +0 -0
- /package/components/datepicker/dist/{styles → src/styles}/style-auro-calendar-css.d.ts +0 -0
- /package/components/datepicker/dist/{styles → src/styles}/style-auro-calendar-month-css.d.ts +0 -0
- /package/components/datepicker/dist/{styles → src/styles}/style-css.d.ts +0 -0
- /package/components/datepicker/dist/{styles → src/styles}/tokens-css.d.ts +0 -0
- /package/components/datepicker/dist/{utilitiesCalendarRender.d.ts → src/utilitiesCalendarRender.d.ts} +0 -0
- /package/components/datepicker/dist/{vendor → src/vendor}/wc-range-datepicker/day.d.ts +0 -0
- /package/components/datepicker/dist/{vendor → src/vendor}/wc-range-datepicker/range-datepicker-cell.d.ts +0 -0
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
pre[class*="language-"] {
|
|
2
|
+
overflow: unset !important;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
table {
|
|
6
|
+
--ds-color-container-secondary-default: transparent;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
tr:not(:last-of-type) {
|
|
10
|
+
border-bottom: 1px solid var(--ds-color-border-tertiary-default);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
sup {
|
|
14
|
+
font-size: 60%;
|
|
15
|
+
font-style: italic;
|
|
16
|
+
top: -0.5rem;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
sup a {
|
|
20
|
+
text-decoration: none !important;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
body {
|
|
24
|
+
padding: 0;
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
height: 100vh;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
main {
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
min-height: 0;
|
|
34
|
+
flex: 1;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.contentWrapper {
|
|
38
|
+
flex: 1;
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-direction: row-reverse;
|
|
41
|
+
gap: 25px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.mainContent {
|
|
45
|
+
flex: 1;
|
|
46
|
+
display: flex;
|
|
47
|
+
flex-direction: column;
|
|
48
|
+
flex-basis: 0;
|
|
49
|
+
box-sizing: border-box;
|
|
50
|
+
min-width: 0;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.scrollWrapper {
|
|
54
|
+
flex: 1;
|
|
55
|
+
flex-basis: 0;
|
|
56
|
+
min-height: 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
nav {
|
|
60
|
+
max-width: 200px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
pre[class*="language-"] {
|
|
64
|
+
background-color: #ddd !important;
|
|
65
|
+
padding: var(--ds-size-200) !important;
|
|
66
|
+
border-radius: .5rem;
|
|
67
|
+
border-style: solid !important;
|
|
68
|
+
border-width: 1px !important;
|
|
69
|
+
border-color: var(--ds-color-border-secondary-default) !important;
|
|
70
|
+
margin-top: var(--ds-size-200) !important;
|
|
71
|
+
box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.1) !important;
|
|
72
|
+
overflow-x: scroll !important;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
code[class*="language-"] {
|
|
76
|
+
text-shadow: none;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
:not(pre) > code[class*=language-] {
|
|
80
|
+
background-color: unset !important;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.token.operator {
|
|
84
|
+
background-color: unset !important;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
auro-header {
|
|
88
|
+
margin: 10px 0;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
auro-anchorlink.level2 {
|
|
92
|
+
padding-left: var(--ds-size-200);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
table.compressed {
|
|
96
|
+
width: unset !important;
|
|
97
|
+
margin: var(--ds-size-50) 0 var(--ds-size-100) !important;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.note {
|
|
101
|
+
margin: 10px 0;
|
|
102
|
+
padding: 10px;
|
|
103
|
+
border-radius: 6px;
|
|
104
|
+
font-style: italic;
|
|
105
|
+
color: var(--ds-basic-color-texticon-muted);
|
|
106
|
+
background-color: var(--ds-basic-color-surface-neutral-subtle);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
table.compressed th,
|
|
110
|
+
table.compressed td {
|
|
111
|
+
padding: var(--ds-size-50) !important;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.pre-wrapper {
|
|
115
|
+
position: relative;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.copy-btn {
|
|
119
|
+
position: absolute;
|
|
120
|
+
top: 6px;
|
|
121
|
+
right: 6px;
|
|
122
|
+
opacity: 0;
|
|
123
|
+
transition: opacity 0.15s ease;
|
|
124
|
+
background: var(--ds-color-container-primary-default, #fff);
|
|
125
|
+
border: 1px solid var(--ds-color-border-secondary-default, #ccc);
|
|
126
|
+
border-radius: 4px;
|
|
127
|
+
padding: 4px 8px;
|
|
128
|
+
cursor: pointer;
|
|
129
|
+
font-size: 12px;
|
|
130
|
+
line-height: 1;
|
|
131
|
+
color: var(--ds-color-text-secondary-default, #333);
|
|
132
|
+
z-index: 1;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.copy-btn:hover {
|
|
136
|
+
background: var(--ds-color-container-secondary-default, #f0f0f0);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.pre-wrapper:hover .copy-btn {
|
|
140
|
+
opacity: 1;
|
|
141
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
3
|
+
See LICENSE in the project root for license information.
|
|
4
|
+
|
|
5
|
+
HTML in this document is standardized and NOT to be edited.
|
|
6
|
+
All demo code should be added/edited in ./demo/voiceover.md
|
|
7
|
+
|
|
8
|
+
With the exception of adding custom elements if needed for the demo.
|
|
9
|
+
|
|
10
|
+
----------------------- DO NOT EDIT -----------------------------
|
|
11
|
+
|
|
12
|
+
-->
|
|
13
|
+
|
|
14
|
+
<!DOCTYPE html>
|
|
15
|
+
<html lang="en">
|
|
16
|
+
<head>
|
|
17
|
+
<meta charset="UTF-8" />
|
|
18
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
19
|
+
<title>Auro Web Component Demo | auro-combobox | VoiceOver</title>
|
|
20
|
+
|
|
21
|
+
<!-- Prism.js Stylesheet -->
|
|
22
|
+
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css"/>
|
|
23
|
+
|
|
24
|
+
<!-- Legacy reference is still needed to support auro-combobox's use of legacy token values at this time -->
|
|
25
|
+
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/legacy/auro-classic/CSSCustomProperties.css"/>
|
|
26
|
+
|
|
27
|
+
<!-- Design Token Alaska Theme -->
|
|
28
|
+
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/themes/alaska/CSSCustomProperties--alaska.min.css"/>
|
|
29
|
+
|
|
30
|
+
<!-- Webcore Stylesheet Alaska Theme -->
|
|
31
|
+
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/bundled/themes/alaska.global.min.css" />
|
|
32
|
+
|
|
33
|
+
<!-- Demo Specific Styles -->
|
|
34
|
+
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/demoWrapper.css" />
|
|
35
|
+
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/elementDemoStyles.css" />
|
|
36
|
+
<link rel="stylesheet" type="text/css" href="./styles.css" />
|
|
37
|
+
<style>
|
|
38
|
+
table {
|
|
39
|
+
--ds-color-container-secondary-default: transparent;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
tr:not(:last-of-type) {
|
|
43
|
+
border-bottom: 1px solid var(--ds-color-border-tertiary-default);
|
|
44
|
+
}
|
|
45
|
+
</style>
|
|
46
|
+
</head>
|
|
47
|
+
<body class="auro-markdown">
|
|
48
|
+
<main></main>
|
|
49
|
+
|
|
50
|
+
<script type="module">
|
|
51
|
+
import 'https://cdn.jsdelivr.net/npm/marked@latest/marked.min.js';
|
|
52
|
+
import 'https://cdn.jsdelivr.net/npm/prismjs@latest/prism.js';
|
|
53
|
+
fetch('./voiceover.md')
|
|
54
|
+
.then((response) => response.text())
|
|
55
|
+
.then((text) => {
|
|
56
|
+
const rawHtml = marked.parse(text);
|
|
57
|
+
document.querySelector('main').innerHTML = rawHtml;
|
|
58
|
+
Prism.highlightAll();
|
|
59
|
+
});
|
|
60
|
+
</script>
|
|
61
|
+
|
|
62
|
+
<!-- If additional elements are needed for the demo, add them here. -->
|
|
63
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-header@latest/+esm" type="module"></script>
|
|
64
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-hyperlink@latest/+esm" type="module"></script>
|
|
65
|
+
</body>
|
|
66
|
+
</html>
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
<auro-header level="1" id="overview">Combobox - VoiceOver Behavior</auro-header>
|
|
2
|
+
<p>This page documents the VoiceOver experience when using the <code><auro-combobox></code> component. It covers announcements, gestures, and workflows for both large and small viewports.</p>
|
|
3
|
+
<auro-header level="2" id="voiceOverInteractiveAnnouncements">Interactive Announcements</auro-header>
|
|
4
|
+
<auro-header level="3" id="voiceOverFocusAnnouncement">Focus</auro-header>
|
|
5
|
+
<p>When focus is given to the component trigger the following is announced:</p>
|
|
6
|
+
<ol>
|
|
7
|
+
<li><strong>Label:</strong> <code>label</code> slot content</li>
|
|
8
|
+
<li><strong>Current value:</strong> [current value or <em>"no selection"</em>]</li>
|
|
9
|
+
<li><strong>Role:</strong> <em>"combo box"</em></li>
|
|
10
|
+
<li>
|
|
11
|
+
<strong>State hints:</strong>
|
|
12
|
+
<table class="compressed body-xs">
|
|
13
|
+
<thead>
|
|
14
|
+
<tr>
|
|
15
|
+
<th>State</th>
|
|
16
|
+
<th>What gets announced</th>
|
|
17
|
+
</tr>
|
|
18
|
+
</thead>
|
|
19
|
+
<tbody>
|
|
20
|
+
<tr>
|
|
21
|
+
<td>Expanded</td>
|
|
22
|
+
<td><em>"collapsed"</em> or <em>"expanded"</em></td>
|
|
23
|
+
</tr>
|
|
24
|
+
<tr>
|
|
25
|
+
<td>Required</td>
|
|
26
|
+
<td><em>"required"</em></td>
|
|
27
|
+
</tr>
|
|
28
|
+
<tr>
|
|
29
|
+
<td>Invalid</td>
|
|
30
|
+
<td><em>"invalid data"</em></td>
|
|
31
|
+
</tr>
|
|
32
|
+
<tr>
|
|
33
|
+
<td>Disabled</td>
|
|
34
|
+
<td><em>"dimmed"</em></td>
|
|
35
|
+
</tr>
|
|
36
|
+
<tr>
|
|
37
|
+
<td>autocomplete</td>
|
|
38
|
+
<td><em>"has auto complete"</em></td>
|
|
39
|
+
</tr>
|
|
40
|
+
</tbody>
|
|
41
|
+
</table>
|
|
42
|
+
</li>
|
|
43
|
+
<li><strong>Additional description:</strong> <code>helptext</code> slot content if present (after a brief pause)</li>
|
|
44
|
+
</ol>
|
|
45
|
+
<auro-header level="3" id="voiceOverNavigateAnnouncement">Navigating Options</auro-header>
|
|
46
|
+
<p>Announces each option <em>"[option label], [<em>"selected"</em> if <code>selected</code>], [<em>"dimmed"</em> if <code>disabled</code>]"</em> as you move.</p>
|
|
47
|
+
<p>3 finger swipe gesture may be used to scroll the option list.</p>
|
|
48
|
+
<auro-header level="3" id="voiceOverCloseGesture">Close Gesture</auro-header>
|
|
49
|
+
<p>The component may be <strong>closed</strong> | <strong>collapsed</strong> using a gesture.</p>
|
|
50
|
+
<ul>
|
|
51
|
+
<li><strong>iOS VoiceOver:</strong> The two-finger <em>"scrub"</em> (zigzag / a <em>"Z"</em> shape) gesture acts as the <em>'Escape'</em> key, commonly used to dismiss modal views.</li>
|
|
52
|
+
<li>
|
|
53
|
+
<strong>Android TalkBack:</strong> users typically swipe down then left (an <em>"L"</em> gesture) or use the back gesture to go back/close.<br />
|
|
54
|
+
<div class="note">
|
|
55
|
+
<strong>How to Perform Android back/close gesture:</strong> Swipe inwards from either the left or right edge of the screen, typically from the middle-edge, to go to the previous screen.
|
|
56
|
+
</div>
|
|
57
|
+
</li>
|
|
58
|
+
</ul>
|
|
59
|
+
<auro-header level="3" id="voiceOverCollapseAnnouncement">Closed | Collapsed Announcements</auro-header>
|
|
60
|
+
<p>When the component is <strong>closed</strong> | <strong>collapsed</strong> announces the <strong>expanded</strong> state change.</p>
|
|
61
|
+
<auro-header level="2" id="voiceOverLargeVPAnnouncements">Large Viewport Workflow</auro-header>
|
|
62
|
+
<p>Examples: large tablet, typical size or larger desktop browser window</p>
|
|
63
|
+
<ol>
|
|
64
|
+
<li><strong>Focus</strong></li>
|
|
65
|
+
<li>
|
|
66
|
+
<strong>Open | Expand:</strong> When the component is <strong>opened</strong> | <strong>expanded</strong> announces the active option <em>"[option label], ['selected' if <code>selected</code>]"</em>.
|
|
67
|
+
<div class="note">
|
|
68
|
+
<strong>Note:</strong> <code>disabled</code> options can not be <strong>active</strong>, this state would never be included in this announcement.
|
|
69
|
+
</div>
|
|
70
|
+
</li>
|
|
71
|
+
<li><strong>Navigate options</strong></li>
|
|
72
|
+
<li>
|
|
73
|
+
<strong>Select an option:</strong> Collapses the list, announces the <strong>expanded</strong> state change.
|
|
74
|
+
<p>~OR~</p>
|
|
75
|
+
<strong>Close | Collapse without selecting an option:</strong> Collapses the list, announces the <strong>expanded</strong> state change.
|
|
76
|
+
</li>
|
|
77
|
+
</ol>
|
|
78
|
+
<auro-header level="2" id="voiceOverSmallVPAnnouncements">Small Viewport Workflow</auro-header>
|
|
79
|
+
<p>Examples: mobile phone, very small desktop browser window</p>
|
|
80
|
+
<ol>
|
|
81
|
+
<li><strong>Focus</strong></li>
|
|
82
|
+
<li>
|
|
83
|
+
<strong>Open | Expand:</strong> Focus is moved to the fullscreen modal dialog <strong>Close</strong> button, announces the active option <em>"[option label], [<em>'selected'</em> if <code>selected</code>]"</em>.
|
|
84
|
+
<div class="note">
|
|
85
|
+
<strong>Note:</strong> <code>disabled</code> options can not be <strong>active</strong>, this state would never be included in this announcement.
|
|
86
|
+
</div>
|
|
87
|
+
</li>
|
|
88
|
+
<li><strong>Navigate options</strong></li>
|
|
89
|
+
<li>
|
|
90
|
+
<strong>Select option:</strong> Closes the fullscreen modal dialog, announces the <strong>expanded</strong> state change.
|
|
91
|
+
<p>~OR~</p>
|
|
92
|
+
<strong>Close | Collapse without selecting an option:</strong> Closes the fullscreen modal dialog, announces the <strong>expanded</strong> state change.
|
|
93
|
+
</li>
|
|
94
|
+
</ol>
|
|
95
|
+
<p>Key characteristics across both platforms:</p>
|
|
96
|
+
<ul>
|
|
97
|
+
<li>The <code>label</code> is always read first.</li>
|
|
98
|
+
<li>The component <strong>role</strong> is announced as <em>"combo box"</em>.</li>
|
|
99
|
+
<li><code>disabled</code> options are announced as <em>"dimmed"</em> and cannot be selected.</li>
|
|
100
|
+
</ul>
|
|
101
|
+
<auro-header level="2" id="voiceOverStates">Impact of State</auro-header>
|
|
102
|
+
<auro-header level="3" id="voiceOverStateDisabled">Disabled</auro-header>
|
|
103
|
+
<p><strong>What VoiceOver does:</strong></p>
|
|
104
|
+
<ul>
|
|
105
|
+
<li>Focuses the element and announces it (e.g., <em>"[label], dimmed, combo box"</em> on macOS / <em>"[label], dimmed"</em> on iOS).</li>
|
|
106
|
+
<li>The word <strong>"dimmed"</strong> is VoiceOver's way of indicating disabled.</li>
|
|
107
|
+
<li>The element remains in the focus order (Tab still reaches it).</li>
|
|
108
|
+
<li>The user cannot interact with it — the option list can not be expanded, and no selection can be made.</li>
|
|
109
|
+
</ul>
|
|
110
|
+
<p>Key distinction from <code>aria-hidden</code>: A disabled element is <em>reachable but not operable</em>. If you want VoiceOver to skip it entirely, you would need <code>aria-hidden="true"</code> or <code>tabindex="-1"</code>, but that is generally not recommended for disabled controls — users benefit from knowing the field exists and why it may be unavailable.</p>
|
|
111
|
+
<p>This is consistent across NVDA and JAWS as well, though the announcement wording differs (e.g., NVDA says <em>"unavailable"</em>).</p>
|
|
112
|
+
<auro-header level="3" id="voiceOverStateInvalid">Invalid</auro-header>
|
|
113
|
+
<p>When an <code><auro-combobox></code> is invalid the following occurs:</p>
|
|
114
|
+
<ul>
|
|
115
|
+
<li><code>Focus</code> — VoiceOver announces <em>"invalid data"</em> (macOS) or <em>"invalid entry"</em> (iOS) after the element's label.</li>
|
|
116
|
+
<li>The Help Text will render the error message and it will be included in the VoiceOver focus announcement.</li>
|
|
117
|
+
</ul>
|
|
118
|
+
<p>Example: when focusing on an invalid <code><auro-combobox></code> the VoiceOver announces something like <em>"Destination, invalid data, combo box, Please select a destination"</em>.</p>
|
|
@@ -329,47 +329,48 @@ export class AuroCombobox extends AuroElement {
|
|
|
329
329
|
* @returns {void} Internal defaults.
|
|
330
330
|
*/
|
|
331
331
|
private _initializeDefaults;
|
|
332
|
-
appearance: string;
|
|
333
|
-
disabled: boolean;
|
|
334
|
-
msgSelectionMissing: string;
|
|
335
|
-
noFilter: boolean;
|
|
336
|
-
noValidate: boolean;
|
|
332
|
+
appearance: string | undefined;
|
|
333
|
+
disabled: boolean | undefined;
|
|
334
|
+
msgSelectionMissing: string | undefined;
|
|
335
|
+
noFilter: boolean | undefined;
|
|
336
|
+
noValidate: boolean | undefined;
|
|
337
337
|
optionActive: any;
|
|
338
|
-
persistInput: boolean;
|
|
339
|
-
required: boolean;
|
|
338
|
+
persistInput: boolean | undefined;
|
|
339
|
+
required: boolean | undefined;
|
|
340
|
+
value: any;
|
|
340
341
|
typedValue: any;
|
|
341
|
-
behavior: string;
|
|
342
|
-
clearBtnFocused: boolean;
|
|
343
|
-
checkmark: boolean;
|
|
344
|
-
dvInputOnly: boolean;
|
|
345
|
-
fullscreenBreakpoint: string;
|
|
346
|
-
matchWidth: boolean;
|
|
347
|
-
shape: string;
|
|
348
|
-
size: string;
|
|
349
|
-
triggerIcon: boolean;
|
|
350
|
-
placement: string;
|
|
351
|
-
offset: number;
|
|
352
|
-
noFlip: boolean;
|
|
353
|
-
shift: boolean;
|
|
354
|
-
autoPlacement: boolean;
|
|
342
|
+
behavior: string | undefined;
|
|
343
|
+
clearBtnFocused: boolean | undefined;
|
|
344
|
+
checkmark: boolean | undefined;
|
|
345
|
+
dvInputOnly: boolean | undefined;
|
|
346
|
+
fullscreenBreakpoint: string | undefined;
|
|
347
|
+
matchWidth: boolean | undefined;
|
|
348
|
+
shape: string | undefined;
|
|
349
|
+
size: string | undefined;
|
|
350
|
+
triggerIcon: boolean | undefined;
|
|
351
|
+
placement: string | undefined;
|
|
352
|
+
offset: number | undefined;
|
|
353
|
+
noFlip: boolean | undefined;
|
|
354
|
+
shift: boolean | undefined;
|
|
355
|
+
autoPlacement: boolean | undefined;
|
|
355
356
|
dropdownTag: any;
|
|
356
357
|
bibtemplateTag: any;
|
|
357
358
|
inputTag: any;
|
|
358
359
|
helpTextTag: any;
|
|
359
|
-
availableOptions: any[] | any[];
|
|
360
|
+
availableOptions: any[] | any[] | undefined;
|
|
360
361
|
dropdownId: any;
|
|
361
362
|
dropdownOpen: any;
|
|
362
|
-
triggerExpandedState: boolean;
|
|
363
|
-
_expandedTimeout:
|
|
364
|
-
_inFullscreenTransition: boolean;
|
|
363
|
+
triggerExpandedState: boolean | undefined;
|
|
364
|
+
_expandedTimeout: number | null | undefined;
|
|
365
|
+
_inFullscreenTransition: boolean | undefined;
|
|
365
366
|
errorMessage: any;
|
|
366
|
-
isHiddenWhileLoading: boolean;
|
|
367
|
-
largeFullscreenHeadline: boolean;
|
|
368
|
-
onDark: boolean;
|
|
367
|
+
isHiddenWhileLoading: boolean | undefined;
|
|
368
|
+
largeFullscreenHeadline: boolean | undefined;
|
|
369
|
+
onDark: boolean | undefined;
|
|
369
370
|
optionSelected: any;
|
|
370
371
|
runtimeUtils: any;
|
|
371
|
-
touched: boolean;
|
|
372
|
-
validation: AuroFormValidation;
|
|
372
|
+
touched: boolean | undefined;
|
|
373
|
+
validation: AuroFormValidation | undefined;
|
|
373
374
|
validity: any;
|
|
374
375
|
/**
|
|
375
376
|
* Returns the current value of the input element within the combobox.
|
|
@@ -481,9 +482,8 @@ export class AuroCombobox extends AuroElement {
|
|
|
481
482
|
* @returns {void}
|
|
482
483
|
*/
|
|
483
484
|
private configureMenu;
|
|
484
|
-
menu: Element;
|
|
485
|
-
defaultMenuShape: string;
|
|
486
|
-
value: any;
|
|
485
|
+
menu: Element | null | undefined;
|
|
486
|
+
defaultMenuShape: string | null | undefined;
|
|
487
487
|
/**
|
|
488
488
|
* Binds all behavior needed to the input after rendering.
|
|
489
489
|
* @private
|
|
@@ -512,14 +512,14 @@ export class AuroCombobox extends AuroElement {
|
|
|
512
512
|
* @returns {void}
|
|
513
513
|
*/
|
|
514
514
|
private handleInputValueChange;
|
|
515
|
-
_syncingBibValue: boolean;
|
|
515
|
+
_syncingBibValue: boolean | undefined;
|
|
516
516
|
/**
|
|
517
517
|
* Binds all behavior needed to the combobox after rendering.
|
|
518
518
|
* @private
|
|
519
519
|
* @returns {void}
|
|
520
520
|
*/
|
|
521
521
|
private configureCombobox;
|
|
522
|
-
menus: Element[];
|
|
522
|
+
menus: Element[] | undefined;
|
|
523
523
|
firstUpdated(): void;
|
|
524
524
|
dropdown: any;
|
|
525
525
|
input: any;
|
|
@@ -550,7 +550,7 @@ export class AuroCombobox extends AuroElement {
|
|
|
550
550
|
*/
|
|
551
551
|
validate(force?: boolean): void;
|
|
552
552
|
updated(changedProperties: any): void;
|
|
553
|
-
hasValue: boolean;
|
|
553
|
+
hasValue: boolean | undefined;
|
|
554
554
|
/**
|
|
555
555
|
* Applies slotted nodes to a target element with a new slot name.
|
|
556
556
|
* @private
|
|
@@ -5073,7 +5073,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
5073
5073
|
}
|
|
5074
5074
|
};
|
|
5075
5075
|
|
|
5076
|
-
var formkitVersion$2 = '
|
|
5076
|
+
var formkitVersion$2 = '202604232250';
|
|
5077
5077
|
|
|
5078
5078
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
5079
5079
|
static get properties() {
|
|
@@ -6215,7 +6215,7 @@ var styleCss$1$1 = css`.util_displayInline{display:inline}.util_displayInlineBlo
|
|
|
6215
6215
|
|
|
6216
6216
|
var styleDefaultCss = css`.layoutDefault .typeIcon,:host(:not([layout])) .typeIcon{display:flex;flex-direction:row;align-items:center}.layoutDefault .typeIcon [auro-icon],:host(:not([layout])) .typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.layoutDefault .notificationIcons,:host(:not([layout])) .notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .typeIcon,:host(:not([layout])[bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .notificationIcons,:host(:not([layout])[bordered]) .notificationIcons{align-items:center}:host([class=layoutDefault][bordered]) .notification:not(:first-of-type),:host(:not([layout])[bordered]) .notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .alertNotification,:host(:not([layout])[bordered]) .alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}:host([class=layoutDefault][bordered]) .passwordBtn,:host(:not([layout])[bordered]) .passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}:host([class=layoutDefault][bordered]) .notificationBtn,:host(:not([layout])[bordered]) .notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}:host([class=layoutDefault][bordered]) .notificationBtn [auro-icon],:host(:not([layout])[bordered]) .notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}:host([class=layoutDefault][bordered]) .notificationBtn [auro-icon][hidden],:host(:not([layout])[bordered]) .notificationBtn [auro-icon][hidden]{display:none}:host([class=layoutDefault]:not([bordered])) .typeIcon,:host([class=layoutDefault]:not([bordered])) .notificationIcons,:host(:not([layout]):not([bordered])) .typeIcon,:host(:not([layout]):not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}:host([class=layoutDefault]:not([bordered])) .clearBtn,:host(:not([layout]):not([bordered])) .clearBtn{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);overflow:hidden;width:0;opacity:0}.layoutDefault .wrapper:hover .clearBtn,.layoutDefault .wrapper:focus-within .clearBtn,:host(:not([layout])) .wrapper:hover .clearBtn,:host(:not([layout])) .wrapper:focus-within .clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));opacity:1}:host([class=layoutDefault]:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification,:host(:not([layout]):focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}.layoutDefault input,:host(:not([layout])) input{border:unset}.layoutDefault .wrapper,:host(:not([layout])) .wrapper{position:relative;overflow:hidden;border-style:solid}:host([class=layoutDefault]:not([bordered],[borderless])) .wrapper,:host(:not([layout]):not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([class=layoutDefault][bordered]) .wrapper,:host(:not([layout])[bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host([class=layoutDefault]:not([borderless])) .wrapper:focus-within:before,:host(:not([layout]):not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([class=layoutDefault][validity]:not([validity=valid])) .wrapper:before,:host(:not([layout])[validity]:not([validity=valid])) .wrapper:before{border-bottom:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{text-align:left}.layoutDefault :host,:host(:not([layout])) :host{position:relative;display:block}.layoutDefault .wrapper,:host(:not([layout])) .wrapper{display:flex;flex-direction:row}.layoutDefault .main,:host(:not([layout])) .main{display:flex;flex-direction:row;position:relative;flex:1}`;
|
|
6217
6217
|
|
|
6218
|
-
var colorBaseCss = css`.wrapper{border-color:
|
|
6218
|
+
var colorBaseCss = css`.wrapper{border-color:red;background-color:var(--ds-auro-input-container-color);color:var(--ds-auro-input-text-color)}.wrapper label{color:var(--ds-auro-input-label-text-color)}.wrapper input{caret-color:var(--ds-auro-input-caret-color);color:var(--ds-auro-input-text-color)}.wrapper input::placeholder{color:var(--ds-auro-input-placeholder-text-color)}.wrapper input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}:host(:not([ondark])) .wrapper:focus-within,:host(:not([appearance=inverse])) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-brand, #00274a)}:host([ondark]) .wrapper:focus-within,:host([appearance=inverse]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff)}:host(:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([ondark]:is([validity]:not([validity=valid]))) .wrapper,:host([appearance=inverse]:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}:host(:not([ondark])[disabled]),:host(:not([appearance=inverse])[disabled]){--ds-auro-input-border-color: var(--ds-basic-color-border-subtle, #dddddd);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-input-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([ondark][disabled]),:host([appearance=inverse][disabled]){--ds-auro-input-border-color: var(--ds-advanced-color-button-primary-border-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-input-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}`;
|
|
6219
6219
|
|
|
6220
6220
|
var tokensCss$1 = css`:host(:not([ondark])),:host(:not([appearance=inverse])){--ds-auro-input-border-color: var(--ds-basic-color-border-bold, #585e67);--ds-auro-input-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-input-caret-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-input-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-input-error-icon-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-input-outline-color: transparent}:host([ondark]),:host([appearance=inverse]){--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff);--ds-auro-input-container-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-input-caret-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-input-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-input-error-icon-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-input-outline-color: transparent}`;
|
|
6221
6221
|
|
|
@@ -12818,7 +12818,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
12818
12818
|
}
|
|
12819
12819
|
};
|
|
12820
12820
|
|
|
12821
|
-
var formkitVersion$1 = '
|
|
12821
|
+
var formkitVersion$1 = '202604232250';
|
|
12822
12822
|
|
|
12823
12823
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12824
12824
|
// See LICENSE in the project root for license information.
|
|
@@ -13883,7 +13883,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
13883
13883
|
}
|
|
13884
13884
|
}
|
|
13885
13885
|
|
|
13886
|
-
var formkitVersion = '
|
|
13886
|
+
var formkitVersion = '202604232250';
|
|
13887
13887
|
|
|
13888
13888
|
var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
13889
13889
|
|
|
@@ -14280,6 +14280,7 @@ class AuroCombobox extends AuroElement {
|
|
|
14280
14280
|
this.optionActive = null;
|
|
14281
14281
|
this.persistInput = false;
|
|
14282
14282
|
this.required = false;
|
|
14283
|
+
this.value = undefined;
|
|
14283
14284
|
this.typedValue = undefined;
|
|
14284
14285
|
this.behavior = "suggestion";
|
|
14285
14286
|
this.clearBtnFocused = false;
|
|
@@ -14892,10 +14893,6 @@ class AuroCombobox extends AuroElement {
|
|
|
14892
14893
|
});
|
|
14893
14894
|
|
|
14894
14895
|
if (this.value && this.input.value && !this.menu.value) {
|
|
14895
|
-
if (this.behavior === 'suggestion' && this.menu.options && this.menu.options.some((opt) => opt.value === this.value)) {
|
|
14896
|
-
this.setMenuValue(this.value);
|
|
14897
|
-
}
|
|
14898
|
-
|
|
14899
14896
|
this.syncValuesAndStates();
|
|
14900
14897
|
}
|
|
14901
14898
|
|
|
@@ -15506,6 +15503,10 @@ class AuroCombobox extends AuroElement {
|
|
|
15506
15503
|
this.configureCombobox();
|
|
15507
15504
|
this.configureMenu();
|
|
15508
15505
|
|
|
15506
|
+
// Set the initial value in auro-menu if defined
|
|
15507
|
+
if (this.hasAttribute('value') && this.getAttribute('value').length > 0) {
|
|
15508
|
+
this.menu.value = this.value;
|
|
15509
|
+
}
|
|
15509
15510
|
}
|
|
15510
15511
|
|
|
15511
15512
|
/**
|
|
@@ -15586,16 +15587,10 @@ class AuroCombobox extends AuroElement {
|
|
|
15586
15587
|
this.input.value = this.value;
|
|
15587
15588
|
}
|
|
15588
15589
|
|
|
15589
|
-
if (this.menu && this.hasValue && this.menu.options) {
|
|
15590
|
-
this.menu.options.forEach((opt) => {
|
|
15591
|
-
if (!opt.hasAttribute('static')) {
|
|
15592
|
-
opt.removeAttribute('hidden');
|
|
15593
|
-
}
|
|
15594
|
-
});
|
|
15595
|
-
}
|
|
15596
|
-
|
|
15597
15590
|
if (this.behavior === 'suggestion') {
|
|
15598
|
-
if
|
|
15591
|
+
// if menu has an option that has matched value, then select it,
|
|
15592
|
+
// otherwise clear the menu value since the input value doesn't match any option
|
|
15593
|
+
if (this.menu.options && this.menu.options.filter((opt) => opt.value === this.value).length > 0) {
|
|
15599
15594
|
this.setMenuValue(this.value);
|
|
15600
15595
|
} else {
|
|
15601
15596
|
this.menu.value = undefined;
|
|
@@ -5073,7 +5073,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
5073
5073
|
}
|
|
5074
5074
|
};
|
|
5075
5075
|
|
|
5076
|
-
var formkitVersion$2 = '
|
|
5076
|
+
var formkitVersion$2 = '202604232250';
|
|
5077
5077
|
|
|
5078
5078
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
5079
5079
|
static get properties() {
|
|
@@ -6215,7 +6215,7 @@ var styleCss$1$1 = css`.util_displayInline{display:inline}.util_displayInlineBlo
|
|
|
6215
6215
|
|
|
6216
6216
|
var styleDefaultCss = css`.layoutDefault .typeIcon,:host(:not([layout])) .typeIcon{display:flex;flex-direction:row;align-items:center}.layoutDefault .typeIcon [auro-icon],:host(:not([layout])) .typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.layoutDefault .notificationIcons,:host(:not([layout])) .notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .typeIcon,:host(:not([layout])[bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .notificationIcons,:host(:not([layout])[bordered]) .notificationIcons{align-items:center}:host([class=layoutDefault][bordered]) .notification:not(:first-of-type),:host(:not([layout])[bordered]) .notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .alertNotification,:host(:not([layout])[bordered]) .alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}:host([class=layoutDefault][bordered]) .passwordBtn,:host(:not([layout])[bordered]) .passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}:host([class=layoutDefault][bordered]) .notificationBtn,:host(:not([layout])[bordered]) .notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}:host([class=layoutDefault][bordered]) .notificationBtn [auro-icon],:host(:not([layout])[bordered]) .notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}:host([class=layoutDefault][bordered]) .notificationBtn [auro-icon][hidden],:host(:not([layout])[bordered]) .notificationBtn [auro-icon][hidden]{display:none}:host([class=layoutDefault]:not([bordered])) .typeIcon,:host([class=layoutDefault]:not([bordered])) .notificationIcons,:host(:not([layout]):not([bordered])) .typeIcon,:host(:not([layout]):not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}:host([class=layoutDefault]:not([bordered])) .clearBtn,:host(:not([layout]):not([bordered])) .clearBtn{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);overflow:hidden;width:0;opacity:0}.layoutDefault .wrapper:hover .clearBtn,.layoutDefault .wrapper:focus-within .clearBtn,:host(:not([layout])) .wrapper:hover .clearBtn,:host(:not([layout])) .wrapper:focus-within .clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));opacity:1}:host([class=layoutDefault]:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification,:host(:not([layout]):focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}.layoutDefault input,:host(:not([layout])) input{border:unset}.layoutDefault .wrapper,:host(:not([layout])) .wrapper{position:relative;overflow:hidden;border-style:solid}:host([class=layoutDefault]:not([bordered],[borderless])) .wrapper,:host(:not([layout]):not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([class=layoutDefault][bordered]) .wrapper,:host(:not([layout])[bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host([class=layoutDefault]:not([borderless])) .wrapper:focus-within:before,:host(:not([layout]):not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([class=layoutDefault][validity]:not([validity=valid])) .wrapper:before,:host(:not([layout])[validity]:not([validity=valid])) .wrapper:before{border-bottom:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{text-align:left}.layoutDefault :host,:host(:not([layout])) :host{position:relative;display:block}.layoutDefault .wrapper,:host(:not([layout])) .wrapper{display:flex;flex-direction:row}.layoutDefault .main,:host(:not([layout])) .main{display:flex;flex-direction:row;position:relative;flex:1}`;
|
|
6217
6217
|
|
|
6218
|
-
var colorBaseCss = css`.wrapper{border-color:
|
|
6218
|
+
var colorBaseCss = css`.wrapper{border-color:red;background-color:var(--ds-auro-input-container-color);color:var(--ds-auro-input-text-color)}.wrapper label{color:var(--ds-auro-input-label-text-color)}.wrapper input{caret-color:var(--ds-auro-input-caret-color);color:var(--ds-auro-input-text-color)}.wrapper input::placeholder{color:var(--ds-auro-input-placeholder-text-color)}.wrapper input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}:host(:not([ondark])) .wrapper:focus-within,:host(:not([appearance=inverse])) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-brand, #00274a)}:host([ondark]) .wrapper:focus-within,:host([appearance=inverse]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff)}:host(:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([ondark]:is([validity]:not([validity=valid]))) .wrapper,:host([appearance=inverse]:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}:host(:not([ondark])[disabled]),:host(:not([appearance=inverse])[disabled]){--ds-auro-input-border-color: var(--ds-basic-color-border-subtle, #dddddd);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-input-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([ondark][disabled]),:host([appearance=inverse][disabled]){--ds-auro-input-border-color: var(--ds-advanced-color-button-primary-border-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-input-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}`;
|
|
6219
6219
|
|
|
6220
6220
|
var tokensCss$1 = css`:host(:not([ondark])),:host(:not([appearance=inverse])){--ds-auro-input-border-color: var(--ds-basic-color-border-bold, #585e67);--ds-auro-input-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-input-caret-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-input-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-input-error-icon-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-input-outline-color: transparent}:host([ondark]),:host([appearance=inverse]){--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff);--ds-auro-input-container-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-input-caret-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-input-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-input-error-icon-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-input-outline-color: transparent}`;
|
|
6221
6221
|
|
|
@@ -12818,7 +12818,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
12818
12818
|
}
|
|
12819
12819
|
};
|
|
12820
12820
|
|
|
12821
|
-
var formkitVersion$1 = '
|
|
12821
|
+
var formkitVersion$1 = '202604232250';
|
|
12822
12822
|
|
|
12823
12823
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12824
12824
|
// See LICENSE in the project root for license information.
|
|
@@ -13883,7 +13883,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
13883
13883
|
}
|
|
13884
13884
|
}
|
|
13885
13885
|
|
|
13886
|
-
var formkitVersion = '
|
|
13886
|
+
var formkitVersion = '202604232250';
|
|
13887
13887
|
|
|
13888
13888
|
var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
13889
13889
|
|
|
@@ -14280,6 +14280,7 @@ class AuroCombobox extends AuroElement {
|
|
|
14280
14280
|
this.optionActive = null;
|
|
14281
14281
|
this.persistInput = false;
|
|
14282
14282
|
this.required = false;
|
|
14283
|
+
this.value = undefined;
|
|
14283
14284
|
this.typedValue = undefined;
|
|
14284
14285
|
this.behavior = "suggestion";
|
|
14285
14286
|
this.clearBtnFocused = false;
|
|
@@ -14892,10 +14893,6 @@ class AuroCombobox extends AuroElement {
|
|
|
14892
14893
|
});
|
|
14893
14894
|
|
|
14894
14895
|
if (this.value && this.input.value && !this.menu.value) {
|
|
14895
|
-
if (this.behavior === 'suggestion' && this.menu.options && this.menu.options.some((opt) => opt.value === this.value)) {
|
|
14896
|
-
this.setMenuValue(this.value);
|
|
14897
|
-
}
|
|
14898
|
-
|
|
14899
14896
|
this.syncValuesAndStates();
|
|
14900
14897
|
}
|
|
14901
14898
|
|
|
@@ -15506,6 +15503,10 @@ class AuroCombobox extends AuroElement {
|
|
|
15506
15503
|
this.configureCombobox();
|
|
15507
15504
|
this.configureMenu();
|
|
15508
15505
|
|
|
15506
|
+
// Set the initial value in auro-menu if defined
|
|
15507
|
+
if (this.hasAttribute('value') && this.getAttribute('value').length > 0) {
|
|
15508
|
+
this.menu.value = this.value;
|
|
15509
|
+
}
|
|
15509
15510
|
}
|
|
15510
15511
|
|
|
15511
15512
|
/**
|
|
@@ -15586,16 +15587,10 @@ class AuroCombobox extends AuroElement {
|
|
|
15586
15587
|
this.input.value = this.value;
|
|
15587
15588
|
}
|
|
15588
15589
|
|
|
15589
|
-
if (this.menu && this.hasValue && this.menu.options) {
|
|
15590
|
-
this.menu.options.forEach((opt) => {
|
|
15591
|
-
if (!opt.hasAttribute('static')) {
|
|
15592
|
-
opt.removeAttribute('hidden');
|
|
15593
|
-
}
|
|
15594
|
-
});
|
|
15595
|
-
}
|
|
15596
|
-
|
|
15597
15590
|
if (this.behavior === 'suggestion') {
|
|
15598
|
-
if
|
|
15591
|
+
// if menu has an option that has matched value, then select it,
|
|
15592
|
+
// otherwise clear the menu value since the input value doesn't match any option
|
|
15593
|
+
if (this.menu.options && this.menu.options.filter((opt) => opt.value === this.value).length > 0) {
|
|
15599
15594
|
this.setMenuValue(this.value);
|
|
15600
15595
|
} else {
|
|
15601
15596
|
this.menu.value = undefined;
|