@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.7 → 0.0.0-pr1628.9
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/bibtemplate/dist/auro-bibtemplate.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +1 -1
- package/components/bibtemplate/dist/registered.js +1 -1
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/accessibility.md +2 -2
- package/components/checkbox/demo/api.md +17 -17
- package/components/checkbox/demo/customize.md +16 -16
- package/components/checkbox/demo/customize.min.js +3 -3
- package/components/checkbox/demo/design.md +24 -24
- package/components/checkbox/demo/getting-started.md +33 -27
- package/components/checkbox/demo/getting-started.min.js +3 -3
- package/components/checkbox/demo/index.md +17 -17
- package/components/checkbox/demo/index.min.js +3 -3
- package/components/checkbox/demo/readme.md +1 -1
- package/components/checkbox/dist/auro-checkbox-group.d.ts +2 -2
- package/components/checkbox/dist/index.js +3 -3
- package/components/checkbox/dist/registered.js +3 -3
- package/components/combobox/demo/api.md +3 -3
- package/components/combobox/demo/css-only.md +3 -3
- package/components/combobox/demo/customize.md +12 -12
- package/components/combobox/demo/customize.min.js +22 -19
- package/components/combobox/demo/getting-started.min.js +22 -19
- package/components/combobox/demo/index.md +1 -1
- package/components/combobox/demo/index.min.js +22 -19
- package/components/combobox/dist/auro-combobox.d.ts +6 -4
- package/components/combobox/dist/index.js +21 -18
- package/components/combobox/dist/registered.js +21 -18
- package/components/counter/demo/accessibility.md +1 -1
- package/components/counter/demo/css-only.md +1 -1
- package/components/counter/demo/customize.md +2 -2
- package/components/counter/demo/customize.min.js +12 -12
- package/components/counter/demo/getting-started.min.js +12 -12
- package/components/counter/demo/index.min.js +12 -12
- package/components/counter/demo/why-counter.md +3 -3
- package/components/counter/dist/auro-counter-group.d.ts +2 -3
- package/components/counter/dist/index.js +12 -12
- package/components/counter/dist/registered.js +12 -12
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/accessibility.md +2 -2
- package/components/datepicker/demo/css-only.md +4 -4
- package/components/datepicker/demo/customize.md +3 -3
- package/components/datepicker/demo/customize.min.js +128 -113
- package/components/datepicker/demo/design.md +2 -2
- package/components/datepicker/demo/getting-started.md +1 -1
- package/components/datepicker/demo/getting-started.min.js +128 -113
- package/components/datepicker/demo/index.md +2 -2
- package/components/datepicker/demo/index.min.js +128 -113
- package/components/datepicker/demo/keyboard-behavior.md +1 -1
- package/components/datepicker/demo/readme.md +1 -1
- package/components/datepicker/demo/voiceover.md +3 -3
- package/components/datepicker/demo/why-datepicker.md +3 -3
- package/components/datepicker/dist/auro-calendar-cell.d.ts +32 -33
- package/components/datepicker/dist/auro-calendar-month.d.ts +8 -8
- package/components/datepicker/dist/auro-calendar.d.ts +43 -42
- package/components/datepicker/dist/auro-datepicker.d.ts +9 -7
- package/components/datepicker/dist/index.js +128 -113
- package/components/datepicker/dist/registered.js +128 -113
- package/components/datepicker/dist/utilities.d.ts +1 -1
- package/components/datepicker/dist/utilitiesCalendar.d.ts +9 -4
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +9 -6
- package/components/dropdown/demo/api.md +1 -1
- package/components/dropdown/demo/customize.min.js +8 -7
- package/components/dropdown/demo/getting-started.min.js +13 -12
- package/components/dropdown/demo/index.min.js +8 -7
- package/components/dropdown/demo/voiceover.md +1 -1
- package/components/dropdown/demo/why-dropdown.md +1 -1
- package/components/dropdown/dist/auro-dropdown.d.ts +7 -6
- package/components/dropdown/dist/index.js +8 -7
- package/components/dropdown/dist/registered.js +8 -7
- package/components/form/README.md +1 -1
- package/components/form/demo/api.md +1 -1
- package/components/form/demo/css-only.md +1 -1
- package/components/form/demo/customize.md +2 -0
- package/components/form/demo/customize.min.js +185 -168
- package/components/form/demo/getting-started.md +2 -0
- package/components/form/demo/getting-started.min.js +185 -168
- package/components/form/demo/index.min.js +185 -168
- package/components/form/demo/keyboard-behavior.md +1 -1
- package/components/form/demo/readme.md +1 -1
- package/components/form/demo/registerDemoDeps.min.js +184 -167
- package/components/form/demo/voiceover.md +2 -2
- package/components/form/dist/auro-form.d.ts +1 -1
- package/components/form/dist/index.js +1 -1
- package/components/form/dist/registered.js +1 -1
- package/components/input/demo/api.md +1 -1
- package/components/input/demo/css-only.md +4 -4
- package/components/input/demo/customize.md +4 -4
- package/components/input/demo/customize.min.js +5 -5
- package/components/input/demo/design.md +2 -2
- package/components/input/demo/getting-started.md +2 -2
- package/components/input/demo/getting-started.min.js +5 -5
- package/components/input/demo/index.md +1 -1
- package/components/input/demo/index.min.js +5 -5
- package/components/input/demo/why-input.md +2 -2
- package/components/input/dist/auro-input.d.ts +1 -1
- package/components/input/dist/base-input.d.ts +3 -3
- package/components/input/dist/index.js +5 -5
- package/components/input/dist/registered.js +5 -5
- package/components/menu/demo/api.md +1 -1
- package/components/menu/demo/css-only.md +4 -4
- package/components/menu/demo/getting-started.md +2 -2
- package/components/menu/demo/index.min.js +1 -1
- package/components/menu/demo/why-menu.md +3 -3
- package/components/menu/dist/auro-menu.d.ts +1 -1
- package/components/menu/dist/index.js +1 -1
- package/components/menu/dist/registered.js +1 -1
- package/components/radio/demo/api.md +4 -4
- package/components/radio/demo/customize.md +14 -4
- package/components/radio/demo/customize.min.js +4 -6
- package/components/radio/demo/getting-started.md +2 -2
- package/components/radio/demo/getting-started.min.js +4 -6
- package/components/radio/demo/index.min.js +4 -6
- package/components/radio/demo/why-radio.md +1 -1
- package/components/radio/dist/auro-radio-group.d.ts +3 -5
- package/components/radio/dist/index.js +4 -6
- package/components/radio/dist/registered.js +4 -6
- package/components/select/demo/css-only.md +1 -1
- package/components/select/demo/customize.md +1 -1
- package/components/select/demo/customize.min.js +11 -10
- package/components/select/demo/getting-started.min.js +11 -10
- package/components/select/demo/index.md +1 -1
- package/components/select/demo/index.min.js +11 -10
- package/components/select/demo/voiceover.md +1 -1
- package/components/select/dist/index.js +10 -9
- package/components/select/dist/registered.js +10 -9
- package/custom-elements.json +88 -84
- package/package.json +1 -1
|
@@ -116,11 +116,17 @@
|
|
|
116
116
|
<!-- The below content is automatically added from ./../apiExamples/custom-tokens.html -->
|
|
117
117
|
<style>
|
|
118
118
|
#customTokenRadioGroup {
|
|
119
|
+
--ds-auro-radio-group-label-color: purple;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
#customTokenRadioGroup auro-radio {
|
|
119
123
|
--ds-auro-radio-btn-border-color: purple;
|
|
124
|
+
--ds-auro-radio-label-color: purple;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
#customTokenRadioGroup auro-radio[checked] {
|
|
120
128
|
--ds-auro-radio-btn-fill-color: lavender;
|
|
121
129
|
--ds-auro-radio-btn-inset-color: purple;
|
|
122
|
-
--ds-auro-radio-label-color: purple;
|
|
123
|
-
--ds-auro-radio-group-label-color: purple;
|
|
124
130
|
}
|
|
125
131
|
</style>
|
|
126
132
|
<auro-radio-group id="customTokenRadioGroup">
|
|
@@ -137,11 +143,15 @@
|
|
|
137
143
|
<!-- The below code snippet is automatically added from ./../apiExamples/custom-tokens.html -->
|
|
138
144
|
<pre class="language-html"><code class="language-html"><style>
|
|
139
145
|
#customTokenRadioGroup {
|
|
146
|
+
--ds-auro-radio-group-label-color: purple;
|
|
147
|
+
}
|
|
148
|
+
#customTokenRadioGroup auro-radio {
|
|
140
149
|
--ds-auro-radio-btn-border-color: purple;
|
|
150
|
+
--ds-auro-radio-label-color: purple;
|
|
151
|
+
}
|
|
152
|
+
#customTokenRadioGroup auro-radio[checked] {
|
|
141
153
|
--ds-auro-radio-btn-fill-color: lavender;
|
|
142
154
|
--ds-auro-radio-btn-inset-color: purple;
|
|
143
|
-
--ds-auro-radio-label-color: purple;
|
|
144
|
-
--ds-auro-radio-group-label-color: purple;
|
|
145
155
|
}
|
|
146
156
|
</style>
|
|
147
157
|
<auro-radio-group id="customTokenRadioGroup">
|
|
@@ -1338,7 +1338,7 @@ class AuroHelpText extends i$2 {
|
|
|
1338
1338
|
}
|
|
1339
1339
|
}
|
|
1340
1340
|
|
|
1341
|
-
var formkitVersion = '
|
|
1341
|
+
var formkitVersion = '202611090436';
|
|
1342
1342
|
|
|
1343
1343
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1344
1344
|
// See LICENSE in the project root for license information.
|
|
@@ -1534,8 +1534,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
1534
1534
|
|
|
1535
1535
|
/**
|
|
1536
1536
|
* Requires a selection in the group and hides the "(optional)" text after the legend.
|
|
1537
|
-
*
|
|
1538
|
-
* @relevantWhen !noValidate
|
|
1537
|
+
* Unless `noValidate` is set, the group shows an error when focus leaves it with nothing selected.
|
|
1539
1538
|
* @category behavior
|
|
1540
1539
|
*/
|
|
1541
1540
|
required: {
|
|
@@ -1546,7 +1545,6 @@ class AuroRadioGroup extends i$2 {
|
|
|
1546
1545
|
/**
|
|
1547
1546
|
* Sets one error message for every kind of error, such as "Choose an option".
|
|
1548
1547
|
* It replaces the `error` text and the `setCustomValidityValueMissing` and `setCustomValidityCustomError` messages.
|
|
1549
|
-
* @relevantWhen !noValidate
|
|
1550
1548
|
* @category behavior
|
|
1551
1549
|
*/
|
|
1552
1550
|
setCustomValidity: {
|
|
@@ -1557,7 +1555,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
1557
1555
|
/**
|
|
1558
1556
|
* Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.
|
|
1559
1557
|
* `setCustomValidity` takes priority when both are set.
|
|
1560
|
-
* @relevantWhen
|
|
1558
|
+
* @relevantWhen error
|
|
1561
1559
|
* @category behavior
|
|
1562
1560
|
*/
|
|
1563
1561
|
setCustomValidityCustomError: {
|
|
@@ -1568,7 +1566,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
1568
1566
|
/**
|
|
1569
1567
|
* Sets the error message shown when the group is `required` and nothing is selected, such as "Select an option".
|
|
1570
1568
|
* The group has no default message, so set this or `setCustomValidity` to show one. `setCustomValidity` takes priority when both are set.
|
|
1571
|
-
* @relevantWhen
|
|
1569
|
+
* @relevantWhen required
|
|
1572
1570
|
* @category behavior
|
|
1573
1571
|
*/
|
|
1574
1572
|
setCustomValidityValueMissing: {
|
|
@@ -319,7 +319,7 @@ Ensure your `tsconfig.json` uses `"moduleResolution": "bundler"` so TypeScript c
|
|
|
319
319
|
<auro-radio-group>
|
|
320
320
|
<span slot="legend">Form label goes here</span>
|
|
321
321
|
<auro-radio id="basicGroupRadio1" label="Sample text" name="radioDemo" value="option1"></auro-radio>
|
|
322
|
-
<auro-radio id="basicGroupRadio2"
|
|
322
|
+
<auro-radio id="basicGroupRadio2" name="radioDemo" value="option2">This text is long enough to wrap onto multiple lines. This text is long enough to wrap onto multiple lines. This text is long enough to wrap onto multiple lines. This text is long enough to wrap onto multiple lines.</auro-radio>
|
|
323
323
|
<auro-radio id="basicGroupRadio3" label="Sample text" name="radioDemo" value="option3"></auro-radio>
|
|
324
324
|
</auro-radio-group>
|
|
325
325
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -331,7 +331,7 @@ Ensure your `tsconfig.json` uses `"moduleResolution": "bundler"` so TypeScript c
|
|
|
331
331
|
<pre class="language-html"><code class="language-html"><auro-radio-group>
|
|
332
332
|
<span slot="legend">Form label goes here</span>
|
|
333
333
|
<auro-radio id="basicGroupRadio1" label="Sample text" name="radioDemo" value="option1"></auro-radio>
|
|
334
|
-
<auro-radio id="basicGroupRadio2"
|
|
334
|
+
<auro-radio id="basicGroupRadio2" name="radioDemo" value="option2">This text is long enough to wrap onto multiple lines. This text is long enough to wrap onto multiple lines. This text is long enough to wrap onto multiple lines. This text is long enough to wrap onto multiple lines.</auro-radio>
|
|
335
335
|
<auro-radio id="basicGroupRadio3" label="Sample text" name="radioDemo" value="option3"></auro-radio>
|
|
336
336
|
</auro-radio-group></code></pre>
|
|
337
337
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -1338,7 +1338,7 @@ class AuroHelpText extends i$2 {
|
|
|
1338
1338
|
}
|
|
1339
1339
|
}
|
|
1340
1340
|
|
|
1341
|
-
var formkitVersion = '
|
|
1341
|
+
var formkitVersion = '202611090436';
|
|
1342
1342
|
|
|
1343
1343
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1344
1344
|
// See LICENSE in the project root for license information.
|
|
@@ -1534,8 +1534,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
1534
1534
|
|
|
1535
1535
|
/**
|
|
1536
1536
|
* Requires a selection in the group and hides the "(optional)" text after the legend.
|
|
1537
|
-
*
|
|
1538
|
-
* @relevantWhen !noValidate
|
|
1537
|
+
* Unless `noValidate` is set, the group shows an error when focus leaves it with nothing selected.
|
|
1539
1538
|
* @category behavior
|
|
1540
1539
|
*/
|
|
1541
1540
|
required: {
|
|
@@ -1546,7 +1545,6 @@ class AuroRadioGroup extends i$2 {
|
|
|
1546
1545
|
/**
|
|
1547
1546
|
* Sets one error message for every kind of error, such as "Choose an option".
|
|
1548
1547
|
* It replaces the `error` text and the `setCustomValidityValueMissing` and `setCustomValidityCustomError` messages.
|
|
1549
|
-
* @relevantWhen !noValidate
|
|
1550
1548
|
* @category behavior
|
|
1551
1549
|
*/
|
|
1552
1550
|
setCustomValidity: {
|
|
@@ -1557,7 +1555,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
1557
1555
|
/**
|
|
1558
1556
|
* Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.
|
|
1559
1557
|
* `setCustomValidity` takes priority when both are set.
|
|
1560
|
-
* @relevantWhen
|
|
1558
|
+
* @relevantWhen error
|
|
1561
1559
|
* @category behavior
|
|
1562
1560
|
*/
|
|
1563
1561
|
setCustomValidityCustomError: {
|
|
@@ -1568,7 +1566,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
1568
1566
|
/**
|
|
1569
1567
|
* Sets the error message shown when the group is `required` and nothing is selected, such as "Select an option".
|
|
1570
1568
|
* The group has no default message, so set this or `setCustomValidity` to show one. `setCustomValidity` takes priority when both are set.
|
|
1571
|
-
* @relevantWhen
|
|
1569
|
+
* @relevantWhen required
|
|
1572
1570
|
* @category behavior
|
|
1573
1571
|
*/
|
|
1574
1572
|
setCustomValidityValueMissing: {
|
|
@@ -1338,7 +1338,7 @@ class AuroHelpText extends i$2 {
|
|
|
1338
1338
|
}
|
|
1339
1339
|
}
|
|
1340
1340
|
|
|
1341
|
-
var formkitVersion = '
|
|
1341
|
+
var formkitVersion = '202611090436';
|
|
1342
1342
|
|
|
1343
1343
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1344
1344
|
// See LICENSE in the project root for license information.
|
|
@@ -1534,8 +1534,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
1534
1534
|
|
|
1535
1535
|
/**
|
|
1536
1536
|
* Requires a selection in the group and hides the "(optional)" text after the legend.
|
|
1537
|
-
*
|
|
1538
|
-
* @relevantWhen !noValidate
|
|
1537
|
+
* Unless `noValidate` is set, the group shows an error when focus leaves it with nothing selected.
|
|
1539
1538
|
* @category behavior
|
|
1540
1539
|
*/
|
|
1541
1540
|
required: {
|
|
@@ -1546,7 +1545,6 @@ class AuroRadioGroup extends i$2 {
|
|
|
1546
1545
|
/**
|
|
1547
1546
|
* Sets one error message for every kind of error, such as "Choose an option".
|
|
1548
1547
|
* It replaces the `error` text and the `setCustomValidityValueMissing` and `setCustomValidityCustomError` messages.
|
|
1549
|
-
* @relevantWhen !noValidate
|
|
1550
1548
|
* @category behavior
|
|
1551
1549
|
*/
|
|
1552
1550
|
setCustomValidity: {
|
|
@@ -1557,7 +1555,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
1557
1555
|
/**
|
|
1558
1556
|
* Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.
|
|
1559
1557
|
* `setCustomValidity` takes priority when both are set.
|
|
1560
|
-
* @relevantWhen
|
|
1558
|
+
* @relevantWhen error
|
|
1561
1559
|
* @category behavior
|
|
1562
1560
|
*/
|
|
1563
1561
|
setCustomValidityCustomError: {
|
|
@@ -1568,7 +1566,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
1568
1566
|
/**
|
|
1569
1567
|
* Sets the error message shown when the group is `required` and nothing is selected, such as "Select an option".
|
|
1570
1568
|
* The group has no default message, so set this or `setCustomValidity` to show one. `setCustomValidity` takes priority when both are set.
|
|
1571
|
-
* @relevantWhen
|
|
1569
|
+
* @relevantWhen required
|
|
1572
1570
|
* @category behavior
|
|
1573
1571
|
*/
|
|
1574
1572
|
setCustomValidityValueMissing: {
|
|
@@ -104,8 +104,7 @@ export class AuroRadioGroup extends LitElement {
|
|
|
104
104
|
optionSelected: HTMLElement;
|
|
105
105
|
/**
|
|
106
106
|
* Requires a selection in the group and hides the "(optional)" text after the legend.
|
|
107
|
-
*
|
|
108
|
-
* @relevantWhen !noValidate
|
|
107
|
+
* Unless `noValidate` is set, the group shows an error when focus leaves it with nothing selected.
|
|
109
108
|
* @category behavior
|
|
110
109
|
*/
|
|
111
110
|
required: {
|
|
@@ -115,7 +114,6 @@ export class AuroRadioGroup extends LitElement {
|
|
|
115
114
|
/**
|
|
116
115
|
* Sets one error message for every kind of error, such as "Choose an option".
|
|
117
116
|
* It replaces the `error` text and the `setCustomValidityValueMissing` and `setCustomValidityCustomError` messages.
|
|
118
|
-
* @relevantWhen !noValidate
|
|
119
117
|
* @category behavior
|
|
120
118
|
*/
|
|
121
119
|
setCustomValidity: {
|
|
@@ -125,7 +123,7 @@ export class AuroRadioGroup extends LitElement {
|
|
|
125
123
|
/**
|
|
126
124
|
* Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.
|
|
127
125
|
* `setCustomValidity` takes priority when both are set.
|
|
128
|
-
* @relevantWhen
|
|
126
|
+
* @relevantWhen error
|
|
129
127
|
* @category behavior
|
|
130
128
|
*/
|
|
131
129
|
setCustomValidityCustomError: {
|
|
@@ -135,7 +133,7 @@ export class AuroRadioGroup extends LitElement {
|
|
|
135
133
|
/**
|
|
136
134
|
* Sets the error message shown when the group is `required` and nothing is selected, such as "Select an option".
|
|
137
135
|
* The group has no default message, so set this or `setCustomValidity` to show one. `setCustomValidity` takes priority when both are set.
|
|
138
|
-
* @relevantWhen
|
|
136
|
+
* @relevantWhen required
|
|
139
137
|
* @category behavior
|
|
140
138
|
*/
|
|
141
139
|
setCustomValidityValueMissing: {
|
|
@@ -1277,7 +1277,7 @@ class AuroHelpText extends LitElement {
|
|
|
1277
1277
|
}
|
|
1278
1278
|
}
|
|
1279
1279
|
|
|
1280
|
-
var formkitVersion = '
|
|
1280
|
+
var formkitVersion = '202611090436';
|
|
1281
1281
|
|
|
1282
1282
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1283
1283
|
// See LICENSE in the project root for license information.
|
|
@@ -1473,8 +1473,7 @@ class AuroRadioGroup extends LitElement {
|
|
|
1473
1473
|
|
|
1474
1474
|
/**
|
|
1475
1475
|
* Requires a selection in the group and hides the "(optional)" text after the legend.
|
|
1476
|
-
*
|
|
1477
|
-
* @relevantWhen !noValidate
|
|
1476
|
+
* Unless `noValidate` is set, the group shows an error when focus leaves it with nothing selected.
|
|
1478
1477
|
* @category behavior
|
|
1479
1478
|
*/
|
|
1480
1479
|
required: {
|
|
@@ -1485,7 +1484,6 @@ class AuroRadioGroup extends LitElement {
|
|
|
1485
1484
|
/**
|
|
1486
1485
|
* Sets one error message for every kind of error, such as "Choose an option".
|
|
1487
1486
|
* It replaces the `error` text and the `setCustomValidityValueMissing` and `setCustomValidityCustomError` messages.
|
|
1488
|
-
* @relevantWhen !noValidate
|
|
1489
1487
|
* @category behavior
|
|
1490
1488
|
*/
|
|
1491
1489
|
setCustomValidity: {
|
|
@@ -1496,7 +1494,7 @@ class AuroRadioGroup extends LitElement {
|
|
|
1496
1494
|
/**
|
|
1497
1495
|
* Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.
|
|
1498
1496
|
* `setCustomValidity` takes priority when both are set.
|
|
1499
|
-
* @relevantWhen
|
|
1497
|
+
* @relevantWhen error
|
|
1500
1498
|
* @category behavior
|
|
1501
1499
|
*/
|
|
1502
1500
|
setCustomValidityCustomError: {
|
|
@@ -1507,7 +1505,7 @@ class AuroRadioGroup extends LitElement {
|
|
|
1507
1505
|
/**
|
|
1508
1506
|
* Sets the error message shown when the group is `required` and nothing is selected, such as "Select an option".
|
|
1509
1507
|
* The group has no default message, so set this or `setCustomValidity` to show one. `setCustomValidity` takes priority when both are set.
|
|
1510
|
-
* @relevantWhen
|
|
1508
|
+
* @relevantWhen required
|
|
1511
1509
|
* @category behavior
|
|
1512
1510
|
*/
|
|
1513
1511
|
setCustomValidityValueMissing: {
|
|
@@ -1277,7 +1277,7 @@ class AuroHelpText extends LitElement {
|
|
|
1277
1277
|
}
|
|
1278
1278
|
}
|
|
1279
1279
|
|
|
1280
|
-
var formkitVersion = '
|
|
1280
|
+
var formkitVersion = '202611090436';
|
|
1281
1281
|
|
|
1282
1282
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1283
1283
|
// See LICENSE in the project root for license information.
|
|
@@ -1473,8 +1473,7 @@ class AuroRadioGroup extends LitElement {
|
|
|
1473
1473
|
|
|
1474
1474
|
/**
|
|
1475
1475
|
* Requires a selection in the group and hides the "(optional)" text after the legend.
|
|
1476
|
-
*
|
|
1477
|
-
* @relevantWhen !noValidate
|
|
1476
|
+
* Unless `noValidate` is set, the group shows an error when focus leaves it with nothing selected.
|
|
1478
1477
|
* @category behavior
|
|
1479
1478
|
*/
|
|
1480
1479
|
required: {
|
|
@@ -1485,7 +1484,6 @@ class AuroRadioGroup extends LitElement {
|
|
|
1485
1484
|
/**
|
|
1486
1485
|
* Sets one error message for every kind of error, such as "Choose an option".
|
|
1487
1486
|
* It replaces the `error` text and the `setCustomValidityValueMissing` and `setCustomValidityCustomError` messages.
|
|
1488
|
-
* @relevantWhen !noValidate
|
|
1489
1487
|
* @category behavior
|
|
1490
1488
|
*/
|
|
1491
1489
|
setCustomValidity: {
|
|
@@ -1496,7 +1494,7 @@ class AuroRadioGroup extends LitElement {
|
|
|
1496
1494
|
/**
|
|
1497
1495
|
* Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.
|
|
1498
1496
|
* `setCustomValidity` takes priority when both are set.
|
|
1499
|
-
* @relevantWhen
|
|
1497
|
+
* @relevantWhen error
|
|
1500
1498
|
* @category behavior
|
|
1501
1499
|
*/
|
|
1502
1500
|
setCustomValidityCustomError: {
|
|
@@ -1507,7 +1505,7 @@ class AuroRadioGroup extends LitElement {
|
|
|
1507
1505
|
/**
|
|
1508
1506
|
* Sets the error message shown when the group is `required` and nothing is selected, such as "Select an option".
|
|
1509
1507
|
* The group has no default message, so set this or `setCustomValidity` to show one. `setCustomValidity` takes priority when both are set.
|
|
1510
|
-
* @relevantWhen
|
|
1508
|
+
* @relevantWhen required
|
|
1511
1509
|
* @category behavior
|
|
1512
1510
|
*/
|
|
1513
1511
|
setCustomValidityValueMissing: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<auro-header level="1">CSS only with native select</auro-header>
|
|
2
2
|
<p>For situations where the <code><auro-select></code> web component can't be used, a native HTML <code><select></code> element with <code><option></code> children can be styled with the Auro Design System tokens to approximate the visual appearance of <code>auro-select</code>. Unlike <auro-hyperlink href="https://auro.alaskaair.com/components/auro/hyperlink/css-only" target="_blank">auro-hyperlink</auro-hyperlink>, <auro-hyperlink href="https://alaskaairlines.github.io/WebCoreStyleSheets/" target="_blank">Web Core Style Sheets</auro-hyperlink> doesn't provide a prebuilt <code>.select</code> class, so the styling must be authored manually using Auro design tokens.</p>
|
|
3
3
|
<auro-header level="2">Styling a native select</auro-header>
|
|
4
|
-
<p>
|
|
4
|
+
<p>Reset and restyle the native select with the Auro design tokens published by <auro-hyperlink href="https://github.com/AlaskaAirlines/AuroDesignTokens" target="_blank">@aurodesignsystem/design-tokens</auro-hyperlink>. Only the closed chrome of <code><select></code> can be styled. The dropdown panel that opens when the user activates the control is browser-controlled and largely can't be styled. The pattern below replicates the border, padding, caret, and focus-state colors used by <code>auro-select</code> in its collapsed state.</p>
|
|
5
5
|
<pre><code>/* Color tokens */
|
|
6
6
|
@import "./node_modules/@aurodesignsystem/design-tokens/dist/themes/alaska/CSSCustomProperties--alaska.css";
|
|
7
7
|
/* Size, border-radius, and typography tokens */
|
|
@@ -788,7 +788,7 @@
|
|
|
788
788
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/customize/typeahead.md) -->
|
|
789
789
|
<!-- The below content is automatically added from ./../docs/partials/customize/typeahead.md -->
|
|
790
790
|
<p>Type-ahead lets a guest jump to an option by typing. As people type, the active option moves to the first option whose <strong>displayed text</strong> starts with the typed characters. This follows the <auro-hyperlink href="https://www.w3.org/WAI/ARIA/apg/patterns/listbox/">WAI-ARIA Listbox pattern</auro-hyperlink> and mirrors native HTML <code><select></code> behavior. Matching uses the shown text, not the <code>value</code> attribute.</p>
|
|
791
|
-
<p>The <code>typeaheadTimeoutMs</code> attribute (default <code>500</code>) sets how long typed characters keep adding to the search between keystrokes. Repeating the same character cycles through
|
|
791
|
+
<p>The <code>typeaheadTimeoutMs</code> attribute (default <code>500</code>) sets how long typed characters keep adding to the search between keystrokes. Repeating the same character cycles through the options that start with it. When an option starts with the repeated characters themselves, such as "Aachen" for <kbd>a</kbd>, <kbd>a</kbd>, type-ahead moves to that option instead. Type-ahead skips <code>disabled</code>, <code>hidden</code>, and <code>static</code> options.</p>
|
|
792
792
|
<div class="note">
|
|
793
793
|
<strong>Note:</strong> The <kbd>Space</kbd> key depends on context. When no type-ahead search is in progress, it opens or closes the bib, as elsewhere in <code><auro-select></code>. While a type-ahead search is in progress, it adds a space to the search instead, so multi-word options such as "San Francisco" can be matched by typing <kbd>s</kbd>, <kbd>a</kbd>, <kbd>n</kbd>, <kbd>Space</kbd>, <kbd>f</kbd>.
|
|
794
794
|
</div>
|
|
@@ -5185,7 +5185,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
5185
5185
|
}
|
|
5186
5186
|
};
|
|
5187
5187
|
|
|
5188
|
-
var formkitVersion$1 = '
|
|
5188
|
+
var formkitVersion$1 = '202611090436';
|
|
5189
5189
|
|
|
5190
5190
|
/**
|
|
5191
5191
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -5681,6 +5681,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5681
5681
|
/**
|
|
5682
5682
|
* Removes the trigger's border, background, and shadow.
|
|
5683
5683
|
* Applies only when `shape` and `size` are both set.
|
|
5684
|
+
* @relevantWhen shape !== undefined && size !== undefined
|
|
5684
5685
|
* @category ui
|
|
5685
5686
|
*/
|
|
5686
5687
|
simple: {
|
|
@@ -5973,6 +5974,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5973
5974
|
/**
|
|
5974
5975
|
* Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
|
|
5975
5976
|
* Applies only when the `trigger` slot content isn't focusable.
|
|
5977
|
+
* @default 0
|
|
5976
5978
|
* @category a11y
|
|
5977
5979
|
*/
|
|
5978
5980
|
tabIndex: {
|
|
@@ -6664,7 +6666,6 @@ class AuroDropdown extends AuroElement {
|
|
|
6664
6666
|
*
|
|
6665
6667
|
* @private
|
|
6666
6668
|
* @method handleDefaultSlot
|
|
6667
|
-
* @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
|
|
6668
6669
|
*/
|
|
6669
6670
|
handleDefaultSlot() {
|
|
6670
6671
|
|
|
@@ -6677,7 +6678,7 @@ class AuroDropdown extends AuroElement {
|
|
|
6677
6678
|
* Renders the markup that every layout shares: the trigger, the help text, and the bib.
|
|
6678
6679
|
* @private
|
|
6679
6680
|
* @param {Object} helpTextClasses - The classes to apply to the help text container.
|
|
6680
|
-
* @returns {
|
|
6681
|
+
* @returns {import('lit').TemplateResult} The template for the shared markup.
|
|
6681
6682
|
*/
|
|
6682
6683
|
renderBasicHtml(helpTextClasses) {
|
|
6683
6684
|
return u$4`
|
|
@@ -6739,7 +6740,7 @@ class AuroDropdown extends AuroElement {
|
|
|
6739
6740
|
/**
|
|
6740
6741
|
* Renders the classic layout.
|
|
6741
6742
|
* @private
|
|
6742
|
-
* @returns {
|
|
6743
|
+
* @returns {import('lit').TemplateResult} The template for the classic layout.
|
|
6743
6744
|
*/
|
|
6744
6745
|
renderLayoutClassic() {
|
|
6745
6746
|
// TODO: check with Doug why this was never used?
|
|
@@ -6755,7 +6756,7 @@ class AuroDropdown extends AuroElement {
|
|
|
6755
6756
|
/**
|
|
6756
6757
|
* Renders the snowflake layout, which indents the help text on both sides.
|
|
6757
6758
|
* @private
|
|
6758
|
-
* @returns {
|
|
6759
|
+
* @returns {import('lit').TemplateResult} The template for the snowflake layout.
|
|
6759
6760
|
*/
|
|
6760
6761
|
renderLayoutSnowflake() {
|
|
6761
6762
|
const helpTextClasses = {
|
|
@@ -6772,7 +6773,7 @@ class AuroDropdown extends AuroElement {
|
|
|
6772
6773
|
/**
|
|
6773
6774
|
* Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
|
|
6774
6775
|
* @private
|
|
6775
|
-
* @returns {
|
|
6776
|
+
* @returns {import('lit').TemplateResult} The template for the emphasized layout.
|
|
6776
6777
|
*/
|
|
6777
6778
|
renderLayoutEmphasized() {
|
|
6778
6779
|
const helpTextClasses = {
|
|
@@ -6790,7 +6791,7 @@ class AuroDropdown extends AuroElement {
|
|
|
6790
6791
|
* Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
|
|
6791
6792
|
* @private
|
|
6792
6793
|
* @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
|
|
6793
|
-
* @returns {
|
|
6794
|
+
* @returns {import('lit').TemplateResult} The template for the layout.
|
|
6794
6795
|
*/
|
|
6795
6796
|
renderLayout(ForcedLayout) {
|
|
6796
6797
|
const layout = ForcedLayout || this.layout;
|
|
@@ -7175,7 +7176,7 @@ class AuroBibtemplate extends i$2 {
|
|
|
7175
7176
|
}
|
|
7176
7177
|
|
|
7177
7178
|
/**
|
|
7178
|
-
* Called
|
|
7179
|
+
* Called when a `touchmove` event reaches the element. Stops the page behind the bib from scrolling when the touch is on the bibtemplate's own layout, such as its padding, instead of on slotted content.
|
|
7179
7180
|
* @param {Event} event - The `touchmove` event.
|
|
7180
7181
|
* @returns {void}
|
|
7181
7182
|
*/
|
|
@@ -7525,7 +7526,7 @@ class AuroHelpText extends i$2 {
|
|
|
7525
7526
|
}
|
|
7526
7527
|
}
|
|
7527
7528
|
|
|
7528
|
-
var formkitVersion = '
|
|
7529
|
+
var formkitVersion = '202611090436';
|
|
7529
7530
|
|
|
7530
7531
|
var styleCss$2 = i$5`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.body-default{font-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-default-font-size, 1rem);font-variant-ligatures:none;font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{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-default-emphasized-font-size, 1rem);font-variant-ligatures:none;font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{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-lg-font-size, 1.125rem);font-variant-ligatures:none;font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{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-lg-emphasized-font-size, 1.125rem);font-variant-ligatures:none;font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{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-sm-font-size, 0.875rem);font-variant-ligatures:none;font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{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-sm-emphasized-font-size, 0.875rem);font-variant-ligatures:none;font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{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-xs-font-size, 0.75rem);font-variant-ligatures:none;font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{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-xs-emphasized-font-size, 0.75rem);font-variant-ligatures:none;font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-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-variant-ligatures:none;font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{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-emphasized-font-size, 0.625rem);font-variant-ligatures:none;font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;font-weight:var(--wcss-heading-xs-weight, 300);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-2xs-weight, 300);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}[auro-dropdown]{--ds-auro-dropdown-trigger-border-color: var(--ds-auro-select-border-color);--ds-auro-dropdown-trigger-background-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-container-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-outline-color: var(--ds-auro-select-outline-color)}:host{display:inline-block;text-align:left;vertical-align:top}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}:host([layout*=emphasized]) .mainContent,:host([layout*=snowflake]) .mainContent{text-align:center}.mainContent{position:relative;display:flex;overflow:hidden;flex:1;flex-direction:column;align-items:center;justify-content:center}.valueContainer{max-width:100%}#dropdownLabel,.value,#placeholder{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#dropdownLabel{display:block}.accents{display:flex;flex-direction:row;align-items:center;justify-content:center}::slotted([slot=typeIcon]){margin-right:var(--ds-size-100, 0.5rem)}.displayValue{display:block}.displayValue:not(.force){display:none}.displayValue:not(.force).hasContent:is(.withValue):not(.hasFocus){display:block}.triggerContent{display:flex;width:100%;box-sizing:border-box;align-items:center;justify-content:center}:host([layout*=emphasized]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host([layout*=snowflake]) label{padding-block:var(--ds-size-25, 0.125rem)}:host([layout*=classic]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem)}:host([layout*=classic]) .mainContent{align-items:start}:host([layout*=classic]) label{cursor:text}: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}`;
|
|
7531
7532
|
|
|
@@ -9652,7 +9653,7 @@ let menuInstanceIdCounter = 0;
|
|
|
9652
9653
|
*
|
|
9653
9654
|
* @event {CustomEvent<Element>} auroMenu-activatedOption - Fires when an option becomes the active (highlighted) option, through the arrow keys, hover, or `updateActiveOption()`. The option is in `detail`.
|
|
9654
9655
|
* @event {CustomEvent<any>} auroMenu-customEventFired - Fires right after the menu fires the event named in an option's `event` attribute. The option is in `detail.option`.
|
|
9655
|
-
* @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Fires when `loading` changes.
|
|
9656
|
+
* @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Fires when `loading` changes, and once when the menu first renders.
|
|
9656
9657
|
* @event {CustomEvent<{ options: Array<HTMLElement> }>} auroMenu-optionsChange - Fires when the set of options in the menu changes.
|
|
9657
9658
|
* @event {CustomEvent<any>} auroMenu-selectValueFailure - Fires when a value doesn't match any option that can be selected, or when someone chooses an option with no `value` in multi-select mode.
|
|
9658
9659
|
* @event {CustomEvent<any>} auroMenu-selectValueReset - Fires when `reset()` clears the menu.
|
|
@@ -5185,7 +5185,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
5185
5185
|
}
|
|
5186
5186
|
};
|
|
5187
5187
|
|
|
5188
|
-
var formkitVersion$1 = '
|
|
5188
|
+
var formkitVersion$1 = '202611090436';
|
|
5189
5189
|
|
|
5190
5190
|
/**
|
|
5191
5191
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -5681,6 +5681,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5681
5681
|
/**
|
|
5682
5682
|
* Removes the trigger's border, background, and shadow.
|
|
5683
5683
|
* Applies only when `shape` and `size` are both set.
|
|
5684
|
+
* @relevantWhen shape !== undefined && size !== undefined
|
|
5684
5685
|
* @category ui
|
|
5685
5686
|
*/
|
|
5686
5687
|
simple: {
|
|
@@ -5973,6 +5974,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5973
5974
|
/**
|
|
5974
5975
|
* Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
|
|
5975
5976
|
* Applies only when the `trigger` slot content isn't focusable.
|
|
5977
|
+
* @default 0
|
|
5976
5978
|
* @category a11y
|
|
5977
5979
|
*/
|
|
5978
5980
|
tabIndex: {
|
|
@@ -6664,7 +6666,6 @@ class AuroDropdown extends AuroElement {
|
|
|
6664
6666
|
*
|
|
6665
6667
|
* @private
|
|
6666
6668
|
* @method handleDefaultSlot
|
|
6667
|
-
* @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
|
|
6668
6669
|
*/
|
|
6669
6670
|
handleDefaultSlot() {
|
|
6670
6671
|
|
|
@@ -6677,7 +6678,7 @@ class AuroDropdown extends AuroElement {
|
|
|
6677
6678
|
* Renders the markup that every layout shares: the trigger, the help text, and the bib.
|
|
6678
6679
|
* @private
|
|
6679
6680
|
* @param {Object} helpTextClasses - The classes to apply to the help text container.
|
|
6680
|
-
* @returns {
|
|
6681
|
+
* @returns {import('lit').TemplateResult} The template for the shared markup.
|
|
6681
6682
|
*/
|
|
6682
6683
|
renderBasicHtml(helpTextClasses) {
|
|
6683
6684
|
return u$4`
|
|
@@ -6739,7 +6740,7 @@ class AuroDropdown extends AuroElement {
|
|
|
6739
6740
|
/**
|
|
6740
6741
|
* Renders the classic layout.
|
|
6741
6742
|
* @private
|
|
6742
|
-
* @returns {
|
|
6743
|
+
* @returns {import('lit').TemplateResult} The template for the classic layout.
|
|
6743
6744
|
*/
|
|
6744
6745
|
renderLayoutClassic() {
|
|
6745
6746
|
// TODO: check with Doug why this was never used?
|
|
@@ -6755,7 +6756,7 @@ class AuroDropdown extends AuroElement {
|
|
|
6755
6756
|
/**
|
|
6756
6757
|
* Renders the snowflake layout, which indents the help text on both sides.
|
|
6757
6758
|
* @private
|
|
6758
|
-
* @returns {
|
|
6759
|
+
* @returns {import('lit').TemplateResult} The template for the snowflake layout.
|
|
6759
6760
|
*/
|
|
6760
6761
|
renderLayoutSnowflake() {
|
|
6761
6762
|
const helpTextClasses = {
|
|
@@ -6772,7 +6773,7 @@ class AuroDropdown extends AuroElement {
|
|
|
6772
6773
|
/**
|
|
6773
6774
|
* Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
|
|
6774
6775
|
* @private
|
|
6775
|
-
* @returns {
|
|
6776
|
+
* @returns {import('lit').TemplateResult} The template for the emphasized layout.
|
|
6776
6777
|
*/
|
|
6777
6778
|
renderLayoutEmphasized() {
|
|
6778
6779
|
const helpTextClasses = {
|
|
@@ -6790,7 +6791,7 @@ class AuroDropdown extends AuroElement {
|
|
|
6790
6791
|
* Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
|
|
6791
6792
|
* @private
|
|
6792
6793
|
* @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
|
|
6793
|
-
* @returns {
|
|
6794
|
+
* @returns {import('lit').TemplateResult} The template for the layout.
|
|
6794
6795
|
*/
|
|
6795
6796
|
renderLayout(ForcedLayout) {
|
|
6796
6797
|
const layout = ForcedLayout || this.layout;
|
|
@@ -7175,7 +7176,7 @@ class AuroBibtemplate extends i$2 {
|
|
|
7175
7176
|
}
|
|
7176
7177
|
|
|
7177
7178
|
/**
|
|
7178
|
-
* Called
|
|
7179
|
+
* Called when a `touchmove` event reaches the element. Stops the page behind the bib from scrolling when the touch is on the bibtemplate's own layout, such as its padding, instead of on slotted content.
|
|
7179
7180
|
* @param {Event} event - The `touchmove` event.
|
|
7180
7181
|
* @returns {void}
|
|
7181
7182
|
*/
|
|
@@ -7525,7 +7526,7 @@ class AuroHelpText extends i$2 {
|
|
|
7525
7526
|
}
|
|
7526
7527
|
}
|
|
7527
7528
|
|
|
7528
|
-
var formkitVersion = '
|
|
7529
|
+
var formkitVersion = '202611090436';
|
|
7529
7530
|
|
|
7530
7531
|
var styleCss$2 = i$5`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.body-default{font-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-default-font-size, 1rem);font-variant-ligatures:none;font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{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-default-emphasized-font-size, 1rem);font-variant-ligatures:none;font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{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-lg-font-size, 1.125rem);font-variant-ligatures:none;font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{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-lg-emphasized-font-size, 1.125rem);font-variant-ligatures:none;font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{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-sm-font-size, 0.875rem);font-variant-ligatures:none;font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{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-sm-emphasized-font-size, 0.875rem);font-variant-ligatures:none;font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{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-xs-font-size, 0.75rem);font-variant-ligatures:none;font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{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-xs-emphasized-font-size, 0.75rem);font-variant-ligatures:none;font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-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-variant-ligatures:none;font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{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-emphasized-font-size, 0.625rem);font-variant-ligatures:none;font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;font-weight:var(--wcss-heading-xs-weight, 300);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-2xs-weight, 300);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}[auro-dropdown]{--ds-auro-dropdown-trigger-border-color: var(--ds-auro-select-border-color);--ds-auro-dropdown-trigger-background-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-container-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-outline-color: var(--ds-auro-select-outline-color)}:host{display:inline-block;text-align:left;vertical-align:top}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}:host([layout*=emphasized]) .mainContent,:host([layout*=snowflake]) .mainContent{text-align:center}.mainContent{position:relative;display:flex;overflow:hidden;flex:1;flex-direction:column;align-items:center;justify-content:center}.valueContainer{max-width:100%}#dropdownLabel,.value,#placeholder{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#dropdownLabel{display:block}.accents{display:flex;flex-direction:row;align-items:center;justify-content:center}::slotted([slot=typeIcon]){margin-right:var(--ds-size-100, 0.5rem)}.displayValue{display:block}.displayValue:not(.force){display:none}.displayValue:not(.force).hasContent:is(.withValue):not(.hasFocus){display:block}.triggerContent{display:flex;width:100%;box-sizing:border-box;align-items:center;justify-content:center}:host([layout*=emphasized]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host([layout*=snowflake]) label{padding-block:var(--ds-size-25, 0.125rem)}:host([layout*=classic]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem)}:host([layout*=classic]) .mainContent{align-items:start}:host([layout*=classic]) label{cursor:text}: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}`;
|
|
7531
7532
|
|
|
@@ -9652,7 +9653,7 @@ let menuInstanceIdCounter = 0;
|
|
|
9652
9653
|
*
|
|
9653
9654
|
* @event {CustomEvent<Element>} auroMenu-activatedOption - Fires when an option becomes the active (highlighted) option, through the arrow keys, hover, or `updateActiveOption()`. The option is in `detail`.
|
|
9654
9655
|
* @event {CustomEvent<any>} auroMenu-customEventFired - Fires right after the menu fires the event named in an option's `event` attribute. The option is in `detail.option`.
|
|
9655
|
-
* @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Fires when `loading` changes.
|
|
9656
|
+
* @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Fires when `loading` changes, and once when the menu first renders.
|
|
9656
9657
|
* @event {CustomEvent<{ options: Array<HTMLElement> }>} auroMenu-optionsChange - Fires when the set of options in the menu changes.
|
|
9657
9658
|
* @event {CustomEvent<any>} auroMenu-selectValueFailure - Fires when a value doesn't match any option that can be selected, or when someone chooses an option with no `value` in multi-select mode.
|
|
9658
9659
|
* @event {CustomEvent<any>} auroMenu-selectValueReset - Fires when `reset()` clears the menu.
|