@aurodesignsystem-dev/auro-formkit 0.0.0-pr1249.0 → 0.0.0-pr1257.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.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/README.md +5 -5
- package/components/combobox/demo/api.md +10 -10
- package/components/combobox/demo/api.min.js +28 -8
- package/components/combobox/demo/index.md +35 -35
- package/components/combobox/demo/index.min.js +28 -8
- package/components/combobox/demo/readme.md +5 -5
- package/components/combobox/dist/auro-combobox.d.ts +1 -0
- package/components/combobox/dist/index.js +9 -7
- package/components/combobox/dist/registered.js +9 -7
- 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 +3 -3
- package/components/datepicker/demo/index.min.js +3 -3
- package/components/datepicker/dist/index.js +3 -3
- package/components/datepicker/dist/registered.js +3 -3
- package/components/dropdown/demo/api.min.js +1 -1
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/input/demo/api.min.js +1 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/menu/README.md +5 -5
- package/components/menu/demo/api.md +11 -10
- package/components/menu/demo/api.min.js +19 -1
- package/components/menu/demo/index.md +10 -10
- package/components/menu/demo/index.min.js +19 -1
- package/components/menu/demo/readme.md +5 -5
- package/components/menu/dist/auro-menu.context.d.ts +5 -0
- package/components/menu/dist/auro-menu.d.ts +5 -0
- package/components/menu/dist/index.js +19 -1
- package/components/menu/dist/registered.js +19 -1
- 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/README.md +6 -6
- package/components/select/demo/api.md +12 -12
- package/components/select/demo/api.min.js +21 -3
- package/components/select/demo/index.md +60 -60
- package/components/select/demo/index.min.js +21 -3
- package/components/select/demo/readme.md +6 -6
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/package.json +1 -1
|
@@ -1607,7 +1607,7 @@ class AuroHelpText extends i$2 {
|
|
|
1607
1607
|
}
|
|
1608
1608
|
}
|
|
1609
1609
|
|
|
1610
|
-
var formkitVersion = '
|
|
1610
|
+
var formkitVersion = '202512151926';
|
|
1611
1611
|
|
|
1612
1612
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1613
1613
|
// See LICENSE in the project root for license information.
|
|
@@ -1599,7 +1599,7 @@ class AuroHelpText extends i$2 {
|
|
|
1599
1599
|
}
|
|
1600
1600
|
}
|
|
1601
1601
|
|
|
1602
|
-
var formkitVersion = '
|
|
1602
|
+
var formkitVersion = '202512151926';
|
|
1603
1603
|
|
|
1604
1604
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1605
1605
|
// See LICENSE in the project root for license information.
|
|
@@ -1552,7 +1552,7 @@ class AuroHelpText extends LitElement {
|
|
|
1552
1552
|
}
|
|
1553
1553
|
}
|
|
1554
1554
|
|
|
1555
|
-
var formkitVersion = '
|
|
1555
|
+
var formkitVersion = '202512151926';
|
|
1556
1556
|
|
|
1557
1557
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1558
1558
|
// See LICENSE in the project root for license information.
|
|
@@ -1552,7 +1552,7 @@ class AuroHelpText extends LitElement {
|
|
|
1552
1552
|
}
|
|
1553
1553
|
}
|
|
1554
1554
|
|
|
1555
|
-
var formkitVersion = '
|
|
1555
|
+
var formkitVersion = '202512151926';
|
|
1556
1556
|
|
|
1557
1557
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1558
1558
|
// See LICENSE in the project root for license information.
|
|
@@ -91,11 +91,11 @@ This configuration enables proper module resolution for the component's TypeScri
|
|
|
91
91
|
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
92
92
|
<span slot="label">Name</span>
|
|
93
93
|
<auro-menu>
|
|
94
|
-
<auro-menuoption value="
|
|
95
|
-
<auro-menuoption value="
|
|
96
|
-
<auro-menuoption value="
|
|
97
|
-
<auro-menuoption value="
|
|
98
|
-
<auro-menuoption value="
|
|
94
|
+
<auro-menuoption value="app" id="option-0">Apples</auro-menuoption>
|
|
95
|
+
<auro-menuoption value="ora" id="option-1">Oranges</auro-menuoption>
|
|
96
|
+
<auro-menuoption value="pea" id="option-2">Peaches</auro-menuoption>
|
|
97
|
+
<auro-menuoption value="gra" id="option-3">Grapes</auro-menuoption>
|
|
98
|
+
<auro-menuoption value="che" id="option-4">Cherries</auro-menuoption>
|
|
99
99
|
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
100
100
|
</auro-menu>
|
|
101
101
|
</auro-combobox>
|
|
@@ -96,11 +96,11 @@
|
|
|
96
96
|
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
97
97
|
<span slot="label">Name</span>
|
|
98
98
|
<auro-menu>
|
|
99
|
-
<auro-menuoption value="
|
|
100
|
-
<auro-menuoption value="
|
|
101
|
-
<auro-menuoption value="
|
|
102
|
-
<auro-menuoption value="
|
|
103
|
-
<auro-menuoption value="
|
|
99
|
+
<auro-menuoption value="app" id="option-0">Apples</auro-menuoption>
|
|
100
|
+
<auro-menuoption value="ora" id="option-1">Oranges</auro-menuoption>
|
|
101
|
+
<auro-menuoption value="pea" id="option-2">Peaches</auro-menuoption>
|
|
102
|
+
<auro-menuoption value="gra" id="option-3">Grapes</auro-menuoption>
|
|
103
|
+
<auro-menuoption value="che" id="option-4">Cherries</auro-menuoption>
|
|
104
104
|
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
105
105
|
</auro-menu>
|
|
106
106
|
</auro-combobox>
|
|
@@ -135,11 +135,11 @@
|
|
|
135
135
|
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
136
136
|
<span slot="label">Name</span>
|
|
137
137
|
<auro-menu>
|
|
138
|
-
<auro-menuoption value="
|
|
139
|
-
<auro-menuoption value="
|
|
140
|
-
<auro-menuoption value="
|
|
141
|
-
<auro-menuoption value="
|
|
142
|
-
<auro-menuoption value="
|
|
138
|
+
<auro-menuoption value="app" id="option-0">Apples</auro-menuoption>
|
|
139
|
+
<auro-menuoption value="ora" id="option-1">Oranges</auro-menuoption>
|
|
140
|
+
<auro-menuoption value="pea" id="option-2">Peaches</auro-menuoption>
|
|
141
|
+
<auro-menuoption value="gra" id="option-3">Grapes</auro-menuoption>
|
|
142
|
+
<auro-menuoption value="che" id="option-4">Cherries</auro-menuoption>
|
|
143
143
|
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
144
144
|
</auro-menu>
|
|
145
145
|
</auro-combobox>
|
|
@@ -4303,7 +4303,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
4303
4303
|
}
|
|
4304
4304
|
};
|
|
4305
4305
|
|
|
4306
|
-
var formkitVersion$2 = '
|
|
4306
|
+
var formkitVersion$2 = '202512151926';
|
|
4307
4307
|
|
|
4308
4308
|
let AuroElement$2 = class AuroElement extends i$3 {
|
|
4309
4309
|
static get properties() {
|
|
@@ -11928,7 +11928,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
11928
11928
|
}
|
|
11929
11929
|
};
|
|
11930
11930
|
|
|
11931
|
-
var formkitVersion$1 = '
|
|
11931
|
+
var formkitVersion$1 = '202512151926';
|
|
11932
11932
|
|
|
11933
11933
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
11934
11934
|
// See LICENSE in the project root for license information.
|
|
@@ -12918,7 +12918,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
12918
12918
|
}
|
|
12919
12919
|
}
|
|
12920
12920
|
|
|
12921
|
-
var formkitVersion = '
|
|
12921
|
+
var formkitVersion = '202512151926';
|
|
12922
12922
|
|
|
12923
12923
|
var styleCss$3 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
12924
12924
|
|
|
@@ -13809,17 +13809,19 @@ class AuroCombobox extends AuroElement {
|
|
|
13809
13809
|
if (this.menu) {
|
|
13810
13810
|
this.menu.matchWord = this.input.value;
|
|
13811
13811
|
}
|
|
13812
|
-
this.
|
|
13812
|
+
const label = this.menu.currentLabel;
|
|
13813
|
+
this.updateTriggerTextDisplay(label || this.value);
|
|
13813
13814
|
}
|
|
13814
13815
|
|
|
13815
13816
|
/**
|
|
13816
13817
|
* Update displayValue or input.value, it's called when making a selection.
|
|
13818
|
+
* @param {string} label - The label of the selected option.
|
|
13817
13819
|
* @private
|
|
13818
13820
|
*/
|
|
13819
|
-
updateTriggerTextDisplay() {
|
|
13821
|
+
updateTriggerTextDisplay(label) {
|
|
13820
13822
|
// update the input content if persistInput is false
|
|
13821
13823
|
if (!this.persistInput) {
|
|
13822
|
-
this.input.value = this.value;
|
|
13824
|
+
this.input.value = label || this.value;
|
|
13823
13825
|
}
|
|
13824
13826
|
|
|
13825
13827
|
// update the displayValue in the trigger if displayValue slot content is present
|
|
@@ -14045,7 +14047,7 @@ class AuroCombobox extends AuroElement {
|
|
|
14045
14047
|
this.value = event.detail.stringValue;
|
|
14046
14048
|
|
|
14047
14049
|
// Update display
|
|
14048
|
-
this.updateTriggerTextDisplay();
|
|
14050
|
+
this.updateTriggerTextDisplay(event.detail.label || event.detail.value);
|
|
14049
14051
|
|
|
14050
14052
|
// Update match word for filtering
|
|
14051
14053
|
if (this.menu.matchWord !== this.input.value) {
|
|
@@ -15280,6 +15282,15 @@ class MenuService {
|
|
|
15280
15282
|
return this.multiSelect ? values : values[0];
|
|
15281
15283
|
}
|
|
15282
15284
|
|
|
15285
|
+
/**
|
|
15286
|
+
* Gets the label(s) of the currently selected option(s).
|
|
15287
|
+
* @returns {string}
|
|
15288
|
+
*/
|
|
15289
|
+
get currentLabel() {
|
|
15290
|
+
const labels = (this.selectedOptions || []).map(option => option.textContent);
|
|
15291
|
+
return this.multiSelect ? labels.join(", ") : labels[0] || '';
|
|
15292
|
+
}
|
|
15293
|
+
|
|
15283
15294
|
/**
|
|
15284
15295
|
* Gets the string representation of the current value(s).
|
|
15285
15296
|
* For multi-select, this is a JSON stringified array.
|
|
@@ -15711,7 +15722,8 @@ class MenuService {
|
|
|
15711
15722
|
value: this.currentValue,
|
|
15712
15723
|
stringValue: this.stringValue,
|
|
15713
15724
|
keys: this.currentKeys,
|
|
15714
|
-
options: this.selectedOptions
|
|
15725
|
+
options: this.selectedOptions,
|
|
15726
|
+
label: this.currentLabel
|
|
15715
15727
|
};
|
|
15716
15728
|
|
|
15717
15729
|
// If only one option is selected, include its index
|
|
@@ -16032,6 +16044,14 @@ class AuroMenu extends AuroElement {
|
|
|
16032
16044
|
];
|
|
16033
16045
|
}
|
|
16034
16046
|
|
|
16047
|
+
/**
|
|
16048
|
+
* @readonly
|
|
16049
|
+
* @returns {string} - Returns the label of the currently selected option(s).
|
|
16050
|
+
*/
|
|
16051
|
+
get currentLabel() {
|
|
16052
|
+
return this.menuService.currentLabel;
|
|
16053
|
+
};
|
|
16054
|
+
|
|
16035
16055
|
/**
|
|
16036
16056
|
* @readonly
|
|
16037
16057
|
* @returns {Array<HTMLElement>} - Returns the array of available menu options.
|
|
@@ -35,11 +35,11 @@ The `<auro-combobox>` element should be used in situations where users may:
|
|
|
35
35
|
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
36
36
|
<span slot="label">Name</span>
|
|
37
37
|
<auro-menu>
|
|
38
|
-
<auro-menuoption value="
|
|
39
|
-
<auro-menuoption value="
|
|
40
|
-
<auro-menuoption value="
|
|
41
|
-
<auro-menuoption value="
|
|
42
|
-
<auro-menuoption value="
|
|
38
|
+
<auro-menuoption value="app" id="option-0">Apples</auro-menuoption>
|
|
39
|
+
<auro-menuoption value="ora" id="option-1">Oranges</auro-menuoption>
|
|
40
|
+
<auro-menuoption value="pea" id="option-2">Peaches</auro-menuoption>
|
|
41
|
+
<auro-menuoption value="gra" id="option-3">Grapes</auro-menuoption>
|
|
42
|
+
<auro-menuoption value="che" id="option-4">Cherries</auro-menuoption>
|
|
43
43
|
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
44
44
|
</auro-menu>
|
|
45
45
|
</auro-combobox>
|
|
@@ -57,11 +57,11 @@ The `<auro-combobox>` element should be used in situations where users may:
|
|
|
57
57
|
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
58
58
|
<span slot="label">Name</span>
|
|
59
59
|
<auro-menu>
|
|
60
|
-
<auro-menuoption value="
|
|
61
|
-
<auro-menuoption value="
|
|
62
|
-
<auro-menuoption value="
|
|
63
|
-
<auro-menuoption value="
|
|
64
|
-
<auro-menuoption value="
|
|
60
|
+
<auro-menuoption value="app" id="option-0">Apples</auro-menuoption>
|
|
61
|
+
<auro-menuoption value="ora" id="option-1">Oranges</auro-menuoption>
|
|
62
|
+
<auro-menuoption value="pea" id="option-2">Peaches</auro-menuoption>
|
|
63
|
+
<auro-menuoption value="gra" id="option-3">Grapes</auro-menuoption>
|
|
64
|
+
<auro-menuoption value="che" id="option-4">Cherries</auro-menuoption>
|
|
65
65
|
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
66
66
|
</auro-menu>
|
|
67
67
|
</auro-combobox>
|
|
@@ -80,11 +80,11 @@ The `<auro-combobox>` element should be used in situations where users may:
|
|
|
80
80
|
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
81
81
|
<span slot="label">Name</span>
|
|
82
82
|
<auro-menu>
|
|
83
|
-
<auro-menuoption value="
|
|
84
|
-
<auro-menuoption value="
|
|
85
|
-
<auro-menuoption value="
|
|
86
|
-
<auro-menuoption value="
|
|
87
|
-
<auro-menuoption value="
|
|
83
|
+
<auro-menuoption value="app" id="option-0">Apples</auro-menuoption>
|
|
84
|
+
<auro-menuoption value="ora" id="option-1">Oranges</auro-menuoption>
|
|
85
|
+
<auro-menuoption value="pea" id="option-2">Peaches</auro-menuoption>
|
|
86
|
+
<auro-menuoption value="gra" id="option-3">Grapes</auro-menuoption>
|
|
87
|
+
<auro-menuoption value="che" id="option-4">Cherries</auro-menuoption>
|
|
88
88
|
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
89
89
|
</auro-menu>
|
|
90
90
|
<span slot="helpText">
|
|
@@ -127,11 +127,11 @@ The `<auro-combobox>` element should be used in situations where users may:
|
|
|
127
127
|
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
128
128
|
<span slot="label">Name</span>
|
|
129
129
|
<auro-menu>
|
|
130
|
-
<auro-menuoption value="
|
|
131
|
-
<auro-menuoption value="
|
|
132
|
-
<auro-menuoption value="
|
|
133
|
-
<auro-menuoption value="
|
|
134
|
-
<auro-menuoption value="
|
|
130
|
+
<auro-menuoption value="app" id="option-0">Apples</auro-menuoption>
|
|
131
|
+
<auro-menuoption value="ora" id="option-1">Oranges</auro-menuoption>
|
|
132
|
+
<auro-menuoption value="pea" id="option-2">Peaches</auro-menuoption>
|
|
133
|
+
<auro-menuoption value="gra" id="option-3">Grapes</auro-menuoption>
|
|
134
|
+
<auro-menuoption value="che" id="option-4">Cherries</auro-menuoption>
|
|
135
135
|
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
136
136
|
</auro-menu>
|
|
137
137
|
<span slot="helpText">
|
|
@@ -158,11 +158,11 @@ The `<auro-combobox>` element should be used in situations where users may:
|
|
|
158
158
|
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
159
159
|
<span slot="label">Name</span>
|
|
160
160
|
<auro-menu>
|
|
161
|
-
<auro-menuoption value="
|
|
162
|
-
<auro-menuoption value="
|
|
163
|
-
<auro-menuoption value="
|
|
164
|
-
<auro-menuoption value="
|
|
165
|
-
<auro-menuoption value="
|
|
161
|
+
<auro-menuoption value="app" id="option-0">Apples</auro-menuoption>
|
|
162
|
+
<auro-menuoption value="ora" id="option-1">Oranges</auro-menuoption>
|
|
163
|
+
<auro-menuoption value="pea" id="option-2">Peaches</auro-menuoption>
|
|
164
|
+
<auro-menuoption value="gra" id="option-3">Grapes</auro-menuoption>
|
|
165
|
+
<auro-menuoption value="che" id="option-4">Cherries</auro-menuoption>
|
|
166
166
|
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
167
167
|
</auro-menu>
|
|
168
168
|
<span slot="helpText">
|
|
@@ -183,11 +183,11 @@ The `<auro-combobox>` element should be used in situations where users may:
|
|
|
183
183
|
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
184
184
|
<span slot="label">Name</span>
|
|
185
185
|
<auro-menu>
|
|
186
|
-
<auro-menuoption value="
|
|
187
|
-
<auro-menuoption value="
|
|
188
|
-
<auro-menuoption value="
|
|
189
|
-
<auro-menuoption value="
|
|
190
|
-
<auro-menuoption value="
|
|
186
|
+
<auro-menuoption value="app" id="option-0">Apples</auro-menuoption>
|
|
187
|
+
<auro-menuoption value="ora" id="option-1">Oranges</auro-menuoption>
|
|
188
|
+
<auro-menuoption value="pea" id="option-2">Peaches</auro-menuoption>
|
|
189
|
+
<auro-menuoption value="gra" id="option-3">Grapes</auro-menuoption>
|
|
190
|
+
<auro-menuoption value="che" id="option-4">Cherries</auro-menuoption>
|
|
191
191
|
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
192
192
|
</auro-menu>
|
|
193
193
|
</auro-combobox>
|
|
@@ -222,11 +222,11 @@ The `<auro-combobox>` element should be used in situations where users may:
|
|
|
222
222
|
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
223
223
|
<span slot="label">Name</span>
|
|
224
224
|
<auro-menu>
|
|
225
|
-
<auro-menuoption value="
|
|
226
|
-
<auro-menuoption value="
|
|
227
|
-
<auro-menuoption value="
|
|
228
|
-
<auro-menuoption value="
|
|
229
|
-
<auro-menuoption value="
|
|
225
|
+
<auro-menuoption value="app" id="option-0">Apples</auro-menuoption>
|
|
226
|
+
<auro-menuoption value="ora" id="option-1">Oranges</auro-menuoption>
|
|
227
|
+
<auro-menuoption value="pea" id="option-2">Peaches</auro-menuoption>
|
|
228
|
+
<auro-menuoption value="gra" id="option-3">Grapes</auro-menuoption>
|
|
229
|
+
<auro-menuoption value="che" id="option-4">Cherries</auro-menuoption>
|
|
230
230
|
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
231
231
|
</auro-menu>
|
|
232
232
|
</auro-combobox>
|
|
@@ -4175,7 +4175,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
4175
4175
|
}
|
|
4176
4176
|
};
|
|
4177
4177
|
|
|
4178
|
-
var formkitVersion$2 = '
|
|
4178
|
+
var formkitVersion$2 = '202512151926';
|
|
4179
4179
|
|
|
4180
4180
|
let AuroElement$2 = class AuroElement extends i$3 {
|
|
4181
4181
|
static get properties() {
|
|
@@ -11800,7 +11800,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
11800
11800
|
}
|
|
11801
11801
|
};
|
|
11802
11802
|
|
|
11803
|
-
var formkitVersion$1 = '
|
|
11803
|
+
var formkitVersion$1 = '202512151926';
|
|
11804
11804
|
|
|
11805
11805
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
11806
11806
|
// See LICENSE in the project root for license information.
|
|
@@ -12790,7 +12790,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
12790
12790
|
}
|
|
12791
12791
|
}
|
|
12792
12792
|
|
|
12793
|
-
var formkitVersion = '
|
|
12793
|
+
var formkitVersion = '202512151926';
|
|
12794
12794
|
|
|
12795
12795
|
var styleCss$3 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
12796
12796
|
|
|
@@ -13681,17 +13681,19 @@ class AuroCombobox extends AuroElement {
|
|
|
13681
13681
|
if (this.menu) {
|
|
13682
13682
|
this.menu.matchWord = this.input.value;
|
|
13683
13683
|
}
|
|
13684
|
-
this.
|
|
13684
|
+
const label = this.menu.currentLabel;
|
|
13685
|
+
this.updateTriggerTextDisplay(label || this.value);
|
|
13685
13686
|
}
|
|
13686
13687
|
|
|
13687
13688
|
/**
|
|
13688
13689
|
* Update displayValue or input.value, it's called when making a selection.
|
|
13690
|
+
* @param {string} label - The label of the selected option.
|
|
13689
13691
|
* @private
|
|
13690
13692
|
*/
|
|
13691
|
-
updateTriggerTextDisplay() {
|
|
13693
|
+
updateTriggerTextDisplay(label) {
|
|
13692
13694
|
// update the input content if persistInput is false
|
|
13693
13695
|
if (!this.persistInput) {
|
|
13694
|
-
this.input.value = this.value;
|
|
13696
|
+
this.input.value = label || this.value;
|
|
13695
13697
|
}
|
|
13696
13698
|
|
|
13697
13699
|
// update the displayValue in the trigger if displayValue slot content is present
|
|
@@ -13917,7 +13919,7 @@ class AuroCombobox extends AuroElement {
|
|
|
13917
13919
|
this.value = event.detail.stringValue;
|
|
13918
13920
|
|
|
13919
13921
|
// Update display
|
|
13920
|
-
this.updateTriggerTextDisplay();
|
|
13922
|
+
this.updateTriggerTextDisplay(event.detail.label || event.detail.value);
|
|
13921
13923
|
|
|
13922
13924
|
// Update match word for filtering
|
|
13923
13925
|
if (this.menu.matchWord !== this.input.value) {
|
|
@@ -15056,6 +15058,15 @@ class MenuService {
|
|
|
15056
15058
|
return this.multiSelect ? values : values[0];
|
|
15057
15059
|
}
|
|
15058
15060
|
|
|
15061
|
+
/**
|
|
15062
|
+
* Gets the label(s) of the currently selected option(s).
|
|
15063
|
+
* @returns {string}
|
|
15064
|
+
*/
|
|
15065
|
+
get currentLabel() {
|
|
15066
|
+
const labels = (this.selectedOptions || []).map(option => option.textContent);
|
|
15067
|
+
return this.multiSelect ? labels.join(", ") : labels[0] || '';
|
|
15068
|
+
}
|
|
15069
|
+
|
|
15059
15070
|
/**
|
|
15060
15071
|
* Gets the string representation of the current value(s).
|
|
15061
15072
|
* For multi-select, this is a JSON stringified array.
|
|
@@ -15487,7 +15498,8 @@ class MenuService {
|
|
|
15487
15498
|
value: this.currentValue,
|
|
15488
15499
|
stringValue: this.stringValue,
|
|
15489
15500
|
keys: this.currentKeys,
|
|
15490
|
-
options: this.selectedOptions
|
|
15501
|
+
options: this.selectedOptions,
|
|
15502
|
+
label: this.currentLabel
|
|
15491
15503
|
};
|
|
15492
15504
|
|
|
15493
15505
|
// If only one option is selected, include its index
|
|
@@ -15808,6 +15820,14 @@ class AuroMenu extends AuroElement {
|
|
|
15808
15820
|
];
|
|
15809
15821
|
}
|
|
15810
15822
|
|
|
15823
|
+
/**
|
|
15824
|
+
* @readonly
|
|
15825
|
+
* @returns {string} - Returns the label of the currently selected option(s).
|
|
15826
|
+
*/
|
|
15827
|
+
get currentLabel() {
|
|
15828
|
+
return this.menuService.currentLabel;
|
|
15829
|
+
};
|
|
15830
|
+
|
|
15811
15831
|
/**
|
|
15812
15832
|
* @readonly
|
|
15813
15833
|
* @returns {Array<HTMLElement>} - Returns the array of available menu options.
|
|
@@ -91,11 +91,11 @@ This configuration enables proper module resolution for the component's TypeScri
|
|
|
91
91
|
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
92
92
|
<span slot="label">Name</span>
|
|
93
93
|
<auro-menu>
|
|
94
|
-
<auro-menuoption value="
|
|
95
|
-
<auro-menuoption value="
|
|
96
|
-
<auro-menuoption value="
|
|
97
|
-
<auro-menuoption value="
|
|
98
|
-
<auro-menuoption value="
|
|
94
|
+
<auro-menuoption value="app" id="option-0">Apples</auro-menuoption>
|
|
95
|
+
<auro-menuoption value="ora" id="option-1">Oranges</auro-menuoption>
|
|
96
|
+
<auro-menuoption value="pea" id="option-2">Peaches</auro-menuoption>
|
|
97
|
+
<auro-menuoption value="gra" id="option-3">Grapes</auro-menuoption>
|
|
98
|
+
<auro-menuoption value="che" id="option-4">Cherries</auro-menuoption>
|
|
99
99
|
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
100
100
|
</auro-menu>
|
|
101
101
|
</auro-combobox>
|
|
@@ -381,6 +381,7 @@ export class AuroCombobox extends AuroElement {
|
|
|
381
381
|
private syncValuesAndStates;
|
|
382
382
|
/**
|
|
383
383
|
* Update displayValue or input.value, it's called when making a selection.
|
|
384
|
+
* @param {string} label - The label of the selected option.
|
|
384
385
|
* @private
|
|
385
386
|
*/
|
|
386
387
|
private updateTriggerTextDisplay;
|
|
@@ -4089,7 +4089,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4089
4089
|
}
|
|
4090
4090
|
};
|
|
4091
4091
|
|
|
4092
|
-
var formkitVersion$2 = '
|
|
4092
|
+
var formkitVersion$2 = '202512151926';
|
|
4093
4093
|
|
|
4094
4094
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4095
4095
|
static get properties() {
|
|
@@ -11707,7 +11707,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
11707
11707
|
}
|
|
11708
11708
|
};
|
|
11709
11709
|
|
|
11710
|
-
var formkitVersion$1 = '
|
|
11710
|
+
var formkitVersion$1 = '202512151926';
|
|
11711
11711
|
|
|
11712
11712
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
11713
11713
|
// See LICENSE in the project root for license information.
|
|
@@ -12697,7 +12697,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
12697
12697
|
}
|
|
12698
12698
|
}
|
|
12699
12699
|
|
|
12700
|
-
var formkitVersion = '
|
|
12700
|
+
var formkitVersion = '202512151926';
|
|
12701
12701
|
|
|
12702
12702
|
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}`;
|
|
12703
12703
|
|
|
@@ -13588,17 +13588,19 @@ class AuroCombobox extends AuroElement {
|
|
|
13588
13588
|
if (this.menu) {
|
|
13589
13589
|
this.menu.matchWord = this.input.value;
|
|
13590
13590
|
}
|
|
13591
|
-
this.
|
|
13591
|
+
const label = this.menu.currentLabel;
|
|
13592
|
+
this.updateTriggerTextDisplay(label || this.value);
|
|
13592
13593
|
}
|
|
13593
13594
|
|
|
13594
13595
|
/**
|
|
13595
13596
|
* Update displayValue or input.value, it's called when making a selection.
|
|
13597
|
+
* @param {string} label - The label of the selected option.
|
|
13596
13598
|
* @private
|
|
13597
13599
|
*/
|
|
13598
|
-
updateTriggerTextDisplay() {
|
|
13600
|
+
updateTriggerTextDisplay(label) {
|
|
13599
13601
|
// update the input content if persistInput is false
|
|
13600
13602
|
if (!this.persistInput) {
|
|
13601
|
-
this.input.value = this.value;
|
|
13603
|
+
this.input.value = label || this.value;
|
|
13602
13604
|
}
|
|
13603
13605
|
|
|
13604
13606
|
// update the displayValue in the trigger if displayValue slot content is present
|
|
@@ -13824,7 +13826,7 @@ class AuroCombobox extends AuroElement {
|
|
|
13824
13826
|
this.value = event.detail.stringValue;
|
|
13825
13827
|
|
|
13826
13828
|
// Update display
|
|
13827
|
-
this.updateTriggerTextDisplay();
|
|
13829
|
+
this.updateTriggerTextDisplay(event.detail.label || event.detail.value);
|
|
13828
13830
|
|
|
13829
13831
|
// Update match word for filtering
|
|
13830
13832
|
if (this.menu.matchWord !== this.input.value) {
|
|
@@ -4089,7 +4089,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4089
4089
|
}
|
|
4090
4090
|
};
|
|
4091
4091
|
|
|
4092
|
-
var formkitVersion$2 = '
|
|
4092
|
+
var formkitVersion$2 = '202512151926';
|
|
4093
4093
|
|
|
4094
4094
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4095
4095
|
static get properties() {
|
|
@@ -11707,7 +11707,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
11707
11707
|
}
|
|
11708
11708
|
};
|
|
11709
11709
|
|
|
11710
|
-
var formkitVersion$1 = '
|
|
11710
|
+
var formkitVersion$1 = '202512151926';
|
|
11711
11711
|
|
|
11712
11712
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
11713
11713
|
// See LICENSE in the project root for license information.
|
|
@@ -12697,7 +12697,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
12697
12697
|
}
|
|
12698
12698
|
}
|
|
12699
12699
|
|
|
12700
|
-
var formkitVersion = '
|
|
12700
|
+
var formkitVersion = '202512151926';
|
|
12701
12701
|
|
|
12702
12702
|
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}`;
|
|
12703
12703
|
|
|
@@ -13588,17 +13588,19 @@ class AuroCombobox extends AuroElement {
|
|
|
13588
13588
|
if (this.menu) {
|
|
13589
13589
|
this.menu.matchWord = this.input.value;
|
|
13590
13590
|
}
|
|
13591
|
-
this.
|
|
13591
|
+
const label = this.menu.currentLabel;
|
|
13592
|
+
this.updateTriggerTextDisplay(label || this.value);
|
|
13592
13593
|
}
|
|
13593
13594
|
|
|
13594
13595
|
/**
|
|
13595
13596
|
* Update displayValue or input.value, it's called when making a selection.
|
|
13597
|
+
* @param {string} label - The label of the selected option.
|
|
13596
13598
|
* @private
|
|
13597
13599
|
*/
|
|
13598
|
-
updateTriggerTextDisplay() {
|
|
13600
|
+
updateTriggerTextDisplay(label) {
|
|
13599
13601
|
// update the input content if persistInput is false
|
|
13600
13602
|
if (!this.persistInput) {
|
|
13601
|
-
this.input.value = this.value;
|
|
13603
|
+
this.input.value = label || this.value;
|
|
13602
13604
|
}
|
|
13603
13605
|
|
|
13604
13606
|
// update the displayValue in the trigger if displayValue slot content is present
|
|
@@ -13824,7 +13826,7 @@ class AuroCombobox extends AuroElement {
|
|
|
13824
13826
|
this.value = event.detail.stringValue;
|
|
13825
13827
|
|
|
13826
13828
|
// Update display
|
|
13827
|
-
this.updateTriggerTextDisplay();
|
|
13829
|
+
this.updateTriggerTextDisplay(event.detail.label || event.detail.value);
|
|
13828
13830
|
|
|
13829
13831
|
// Update match word for filtering
|
|
13830
13832
|
if (this.menu.matchWord !== this.input.value) {
|
|
@@ -1437,7 +1437,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1437
1437
|
}
|
|
1438
1438
|
};
|
|
1439
1439
|
|
|
1440
|
-
var formkitVersion$1 = '
|
|
1440
|
+
var formkitVersion$1 = '202512151926';
|
|
1441
1441
|
|
|
1442
1442
|
/* eslint-disable lit/binding-positions, lit/no-invalid-html, max-lines */
|
|
1443
1443
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
@@ -4972,7 +4972,7 @@ class AuroHelpText extends i$2 {
|
|
|
4972
4972
|
}
|
|
4973
4973
|
}
|
|
4974
4974
|
|
|
4975
|
-
var formkitVersion = '
|
|
4975
|
+
var formkitVersion = '202512151926';
|
|
4976
4976
|
|
|
4977
4977
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
4978
4978
|
static get properties() {
|
|
@@ -1437,7 +1437,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1437
1437
|
}
|
|
1438
1438
|
};
|
|
1439
1439
|
|
|
1440
|
-
var formkitVersion$1 = '
|
|
1440
|
+
var formkitVersion$1 = '202512151926';
|
|
1441
1441
|
|
|
1442
1442
|
/* eslint-disable lit/binding-positions, lit/no-invalid-html, max-lines */
|
|
1443
1443
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
@@ -4972,7 +4972,7 @@ class AuroHelpText extends i$2 {
|
|
|
4972
4972
|
}
|
|
4973
4973
|
}
|
|
4974
4974
|
|
|
4975
|
-
var formkitVersion = '
|
|
4975
|
+
var formkitVersion = '202512151926';
|
|
4976
4976
|
|
|
4977
4977
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
4978
4978
|
static get properties() {
|
|
@@ -1391,7 +1391,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
1391
1391
|
}
|
|
1392
1392
|
};
|
|
1393
1393
|
|
|
1394
|
-
var formkitVersion$1 = '
|
|
1394
|
+
var formkitVersion$1 = '202512151926';
|
|
1395
1395
|
|
|
1396
1396
|
/* eslint-disable lit/binding-positions, lit/no-invalid-html, max-lines */
|
|
1397
1397
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
@@ -4908,7 +4908,7 @@ class AuroHelpText extends LitElement {
|
|
|
4908
4908
|
}
|
|
4909
4909
|
}
|
|
4910
4910
|
|
|
4911
|
-
var formkitVersion = '
|
|
4911
|
+
var formkitVersion = '202512151926';
|
|
4912
4912
|
|
|
4913
4913
|
let AuroElement$1 = class AuroElement extends LitElement {
|
|
4914
4914
|
static get properties() {
|
|
@@ -1391,7 +1391,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
1391
1391
|
}
|
|
1392
1392
|
};
|
|
1393
1393
|
|
|
1394
|
-
var formkitVersion$1 = '
|
|
1394
|
+
var formkitVersion$1 = '202512151926';
|
|
1395
1395
|
|
|
1396
1396
|
/* eslint-disable lit/binding-positions, lit/no-invalid-html, max-lines */
|
|
1397
1397
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
@@ -4908,7 +4908,7 @@ class AuroHelpText extends LitElement {
|
|
|
4908
4908
|
}
|
|
4909
4909
|
}
|
|
4910
4910
|
|
|
4911
|
-
var formkitVersion = '
|
|
4911
|
+
var formkitVersion = '202512151926';
|
|
4912
4912
|
|
|
4913
4913
|
let AuroElement$1 = class AuroElement extends LitElement {
|
|
4914
4914
|
static get properties() {
|