@aurodesignsystem-dev/auro-formkit 0.0.0-pr1411.0 → 0.0.0-pr1411.2
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/demo/api.min.js +27 -7
- package/components/combobox/demo/index.min.js +27 -7
- package/components/combobox/dist/index.js +27 -7
- package/components/combobox/dist/registered.js +27 -7
- package/components/counter/demo/api.min.js +26 -6
- package/components/counter/demo/index.min.js +26 -6
- package/components/counter/dist/index.js +26 -6
- package/components/counter/dist/registered.js +26 -6
- package/components/datepicker/demo/api.min.js +27 -7
- package/components/datepicker/demo/index.min.js +27 -7
- package/components/datepicker/dist/index.js +27 -7
- package/components/datepicker/dist/registered.js +27 -7
- package/components/dropdown/demo/api.md +29 -28
- package/components/dropdown/demo/api.min.js +25 -5
- package/components/dropdown/demo/index.min.js +25 -5
- package/components/dropdown/dist/auro-dropdown.d.ts +8 -0
- package/components/dropdown/dist/index.js +25 -5
- package/components/dropdown/dist/registered.js +25 -5
- package/components/form/demo/api.min.js +159 -54
- package/components/form/demo/index.min.js +159 -54
- 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/radio/demo/api.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/api.min.js +76 -31
- package/components/select/demo/index.min.js +76 -31
- package/components/select/dist/index.js +76 -31
- package/components/select/dist/registered.js +76 -31
- package/components/select/dist/selectKeyboardStrategy.d.ts +4 -3
- package/custom-elements.json +20 -1
- package/package.json +5 -5
|
@@ -6625,7 +6625,7 @@ class AuroHelpText extends LitElement {
|
|
|
6625
6625
|
}
|
|
6626
6626
|
}
|
|
6627
6627
|
|
|
6628
|
-
var formkitVersion = '
|
|
6628
|
+
var formkitVersion = '202604021752';
|
|
6629
6629
|
|
|
6630
6630
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
6631
6631
|
// See LICENSE in the project root for license information.
|
|
@@ -1645,7 +1645,7 @@ class AuroHelpText extends i$2 {
|
|
|
1645
1645
|
}
|
|
1646
1646
|
}
|
|
1647
1647
|
|
|
1648
|
-
var formkitVersion = '
|
|
1648
|
+
var formkitVersion = '202604021752';
|
|
1649
1649
|
|
|
1650
1650
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1651
1651
|
// See LICENSE in the project root for license information.
|
|
@@ -1620,7 +1620,7 @@ class AuroHelpText extends i$2 {
|
|
|
1620
1620
|
}
|
|
1621
1621
|
}
|
|
1622
1622
|
|
|
1623
|
-
var formkitVersion = '
|
|
1623
|
+
var formkitVersion = '202604021752';
|
|
1624
1624
|
|
|
1625
1625
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1626
1626
|
// See LICENSE in the project root for license information.
|
|
@@ -1573,7 +1573,7 @@ class AuroHelpText extends LitElement {
|
|
|
1573
1573
|
}
|
|
1574
1574
|
}
|
|
1575
1575
|
|
|
1576
|
-
var formkitVersion = '
|
|
1576
|
+
var formkitVersion = '202604021752';
|
|
1577
1577
|
|
|
1578
1578
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1579
1579
|
// See LICENSE in the project root for license information.
|
|
@@ -1573,7 +1573,7 @@ class AuroHelpText extends LitElement {
|
|
|
1573
1573
|
}
|
|
1574
1574
|
}
|
|
1575
1575
|
|
|
1576
|
-
var formkitVersion = '
|
|
1576
|
+
var formkitVersion = '202604021752';
|
|
1577
1577
|
|
|
1578
1578
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1579
1579
|
// See LICENSE in the project root for license information.
|
|
@@ -1363,41 +1363,48 @@ function navigateArrow(component, direction, options = {}) {
|
|
|
1363
1363
|
}
|
|
1364
1364
|
}
|
|
1365
1365
|
|
|
1366
|
+
/* eslint-disable new-cap */
|
|
1367
|
+
|
|
1366
1368
|
const selectKeyboardStrategy = {
|
|
1367
1369
|
ArrowUp(component, evt, ctx) {
|
|
1368
|
-
// Navigate menu only if the bib is open, otherwise open the bib
|
|
1369
1370
|
evt.preventDefault();
|
|
1370
|
-
if (evt.altKey || evt.metaKey)
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
});
|
|
1375
|
-
} else {
|
|
1376
|
-
component.dropdown.show();
|
|
1371
|
+
if (evt.altKey || evt.metaKey) {
|
|
1372
|
+
// navigate to first enabled option
|
|
1373
|
+
selectKeyboardStrategy.Home(component, evt, ctx);
|
|
1374
|
+
return;
|
|
1377
1375
|
}
|
|
1376
|
+
navigateArrow(component, 'up', {
|
|
1377
|
+
ctx,
|
|
1378
|
+
showFn: () => component.dropdown.show(),
|
|
1379
|
+
});
|
|
1378
1380
|
},
|
|
1379
1381
|
|
|
1380
1382
|
ArrowDown(component, evt, ctx) {
|
|
1381
|
-
// Navigate menu only if the bib is open, otherwise open the bib
|
|
1382
1383
|
evt.preventDefault();
|
|
1383
|
-
if (evt.altKey || evt.metaKey)
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
});
|
|
1388
|
-
} else {
|
|
1389
|
-
component.dropdown.show();
|
|
1384
|
+
if (evt.altKey || evt.metaKey) {
|
|
1385
|
+
// navigate to last enabled option
|
|
1386
|
+
selectKeyboardStrategy.End(component, evt, ctx);
|
|
1387
|
+
return;
|
|
1390
1388
|
}
|
|
1389
|
+
navigateArrow(component, 'down', {
|
|
1390
|
+
ctx,
|
|
1391
|
+
showFn: () => component.dropdown.show(),
|
|
1392
|
+
});
|
|
1391
1393
|
},
|
|
1392
1394
|
|
|
1393
1395
|
Enter(component, evt, ctx) {
|
|
1394
|
-
if (!ctx.isExpanded
|
|
1395
|
-
component.
|
|
1396
|
-
|
|
1397
|
-
// for modal, isExpanded is always true
|
|
1398
|
-
// defaultPrevented will be true if Floating UI has already handled the event to open the dropdown
|
|
1399
|
-
component.menu.makeSelection();
|
|
1396
|
+
if (!ctx.isExpanded) {
|
|
1397
|
+
component.dropdown.show();
|
|
1398
|
+
return;
|
|
1400
1399
|
}
|
|
1400
|
+
component.menu.makeSelection();
|
|
1401
|
+
},
|
|
1402
|
+
|
|
1403
|
+
Escape(component, evt, ctx) {
|
|
1404
|
+
if (!ctx.isExpanded) {
|
|
1405
|
+
return;
|
|
1406
|
+
}
|
|
1407
|
+
component.dropdown.hide();
|
|
1401
1408
|
},
|
|
1402
1409
|
|
|
1403
1410
|
Tab(component, evt, ctx) {
|
|
@@ -1412,7 +1419,10 @@ const selectKeyboardStrategy = {
|
|
|
1412
1419
|
}
|
|
1413
1420
|
component.dropdown.hide();
|
|
1414
1421
|
},
|
|
1415
|
-
Home(component, evt) {
|
|
1422
|
+
Home(component, evt, ctx) {
|
|
1423
|
+
if (!ctx.isExpanded) {
|
|
1424
|
+
return;
|
|
1425
|
+
}
|
|
1416
1426
|
evt.preventDefault();
|
|
1417
1427
|
evt.stopPropagation();
|
|
1418
1428
|
const firstOption = component.menu.menuService.menuOptions.find((option) => !option.disabled);
|
|
@@ -1421,7 +1431,10 @@ const selectKeyboardStrategy = {
|
|
|
1421
1431
|
}
|
|
1422
1432
|
},
|
|
1423
1433
|
|
|
1424
|
-
End(component, evt) {
|
|
1434
|
+
End(component, evt, ctx) {
|
|
1435
|
+
if (!ctx.isExpanded) {
|
|
1436
|
+
return;
|
|
1437
|
+
}
|
|
1425
1438
|
evt.preventDefault();
|
|
1426
1439
|
evt.stopPropagation();
|
|
1427
1440
|
const lastOption = [...component.menu.menuService.menuOptions].reverse().find((option) => !option.disabled);
|
|
@@ -1430,8 +1443,17 @@ const selectKeyboardStrategy = {
|
|
|
1430
1443
|
}
|
|
1431
1444
|
},
|
|
1432
1445
|
|
|
1433
|
-
default(component, evt) {
|
|
1446
|
+
default(component, evt, ctx) {
|
|
1434
1447
|
component.updateActiveOptionBasedOnKey(evt.key);
|
|
1448
|
+
if (evt.key === ' ') {
|
|
1449
|
+
evt.preventDefault();
|
|
1450
|
+
evt.stopPropagation();
|
|
1451
|
+
if (ctx.isExpanded) {
|
|
1452
|
+
component.dropdown.hide();
|
|
1453
|
+
return;
|
|
1454
|
+
}
|
|
1455
|
+
component.dropdown.show();
|
|
1456
|
+
}
|
|
1435
1457
|
},
|
|
1436
1458
|
};
|
|
1437
1459
|
|
|
@@ -3288,6 +3310,11 @@ class AuroFloatingUI {
|
|
|
3288
3310
|
this.clickHandler = null;
|
|
3289
3311
|
this.keyDownHandler = null;
|
|
3290
3312
|
|
|
3313
|
+
/**
|
|
3314
|
+
* @private
|
|
3315
|
+
*/
|
|
3316
|
+
this.enableKeyboardHandling = true;
|
|
3317
|
+
|
|
3291
3318
|
/**
|
|
3292
3319
|
* @private
|
|
3293
3320
|
*/
|
|
@@ -3622,7 +3649,9 @@ class AuroFloatingUI {
|
|
|
3622
3649
|
document.addEventListener("focusin", this.focusHandler);
|
|
3623
3650
|
}
|
|
3624
3651
|
|
|
3625
|
-
|
|
3652
|
+
if (this.enableKeyboardHandling) {
|
|
3653
|
+
document.addEventListener("keydown", this.keyDownHandler);
|
|
3654
|
+
}
|
|
3626
3655
|
|
|
3627
3656
|
// send this task to the end of queue to prevent conflicting
|
|
3628
3657
|
// it conflicts if showBib gets call from a button that's not this.element.trigger
|
|
@@ -3878,8 +3907,9 @@ class AuroFloatingUI {
|
|
|
3878
3907
|
this.element.bib.setAttribute("id", `${this.id}-floater-bib`);
|
|
3879
3908
|
}
|
|
3880
3909
|
|
|
3881
|
-
configure(elem, eventPrefix) {
|
|
3910
|
+
configure(elem, eventPrefix, enableKeyboardHandling = true) {
|
|
3882
3911
|
AuroFloatingUI.setupMousePressChecker();
|
|
3912
|
+
this.enableKeyboardHandling = enableKeyboardHandling;
|
|
3883
3913
|
|
|
3884
3914
|
this.eventPrefix = eventPrefix;
|
|
3885
3915
|
if (this.element !== elem) {
|
|
@@ -3912,7 +3942,9 @@ class AuroFloatingUI {
|
|
|
3912
3942
|
|
|
3913
3943
|
this.handleEvent = this.handleEvent.bind(this);
|
|
3914
3944
|
if (this.element.trigger) {
|
|
3915
|
-
|
|
3945
|
+
if (this.enableKeyboardHandling) {
|
|
3946
|
+
this.element.trigger.addEventListener("keydown", this.handleEvent);
|
|
3947
|
+
}
|
|
3916
3948
|
this.element.trigger.addEventListener("click", this.handleEvent);
|
|
3917
3949
|
this.element.trigger.addEventListener("mouseenter", this.handleEvent);
|
|
3918
3950
|
this.element.trigger.addEventListener("mouseleave", this.handleEvent);
|
|
@@ -5066,7 +5098,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
5066
5098
|
}
|
|
5067
5099
|
};
|
|
5068
5100
|
|
|
5069
|
-
var formkitVersion$1 = '
|
|
5101
|
+
var formkitVersion$1 = '202604021752';
|
|
5070
5102
|
|
|
5071
5103
|
class AuroElement extends i$3 {
|
|
5072
5104
|
static get properties() {
|
|
@@ -5247,6 +5279,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5247
5279
|
this.appearance = 'default';
|
|
5248
5280
|
this.chevron = false;
|
|
5249
5281
|
this.disabled = false;
|
|
5282
|
+
this.disableKeyboardHandling = false;
|
|
5250
5283
|
this.error = false;
|
|
5251
5284
|
this.tabIndex = 0;
|
|
5252
5285
|
this.noToggle = false;
|
|
@@ -5458,6 +5491,14 @@ class AuroDropdown extends AuroElement {
|
|
|
5458
5491
|
reflect: true
|
|
5459
5492
|
},
|
|
5460
5493
|
|
|
5494
|
+
/**
|
|
5495
|
+
* If declared, the dropdown will not handle keyboard events and will require the consumer to manage this behavior.
|
|
5496
|
+
*/
|
|
5497
|
+
disableKeyboardHandling: {
|
|
5498
|
+
type: Boolean,
|
|
5499
|
+
reflect: true
|
|
5500
|
+
},
|
|
5501
|
+
|
|
5461
5502
|
/**
|
|
5462
5503
|
* @private
|
|
5463
5504
|
*/
|
|
@@ -5763,7 +5804,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5763
5804
|
|
|
5764
5805
|
firstUpdated() {
|
|
5765
5806
|
// Configure the floater to, this will generate the ID for the bib
|
|
5766
|
-
this.floater.configure(this, 'auroDropdown');
|
|
5807
|
+
this.floater.configure(this, 'auroDropdown', !this.disableKeyboardHandling);
|
|
5767
5808
|
|
|
5768
5809
|
// Prevent `contain: layout` on the dropdown host. Layout containment
|
|
5769
5810
|
// creates a containing block for position:fixed descendants (the bib),
|
|
@@ -6071,6 +6112,7 @@ class AuroDropdown extends AuroElement {
|
|
|
6071
6112
|
aria-expanded="${o(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
|
|
6072
6113
|
aria-controls="${o(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
|
|
6073
6114
|
aria-labelledby="${o(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
|
|
6115
|
+
aria-disabled="${o(this.disabled ? 'true' : undefined)}"
|
|
6074
6116
|
@focusin="${this.handleFocusin}"
|
|
6075
6117
|
@blur="${this.handleFocusOut}">
|
|
6076
6118
|
<div class="triggerContentWrapper" id="triggerLabel">
|
|
@@ -6809,7 +6851,7 @@ class AuroHelpText extends i$3 {
|
|
|
6809
6851
|
}
|
|
6810
6852
|
}
|
|
6811
6853
|
|
|
6812
|
-
var formkitVersion = '
|
|
6854
|
+
var formkitVersion = '202604021752';
|
|
6813
6855
|
|
|
6814
6856
|
var styleCss$2 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}[auro-dropdown]{--ds-auro-dropdown-trigger-border-color: var(--ds-auro-select-border-color);--ds-auro-dropdown-trigger-background-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-container-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-outline-color: var(--ds-auro-select-outline-color)}:host{display:inline-block;text-align:left;vertical-align:top}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}:host([layout*=emphasized]) .mainContent,:host([layout*=snowflake]) .mainContent{text-align:center}.mainContent{position:relative;display:flex;overflow:hidden;flex:1;flex-direction:column;align-items:center;justify-content:center}.valueContainer [slot=displayValue]{display:none}.accents{display:flex;flex-direction:row;align-items:center;justify-content:center}::slotted([slot=typeIcon]){margin-right:var(--ds-size-100, 0.5rem)}.displayValue{display:block}.displayValue:not(.force){display:none}.displayValue:not(.force).hasContent:is(.withValue):not(.hasFocus){display:block}.triggerContent{display:flex;width:100%;align-items:center;justify-content:center}:host([layout*=emphasized]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host([layout*=snowflake]) label{padding-block:var(--ds-size-25, 0.125rem)}:host([layout*=classic]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem)}:host([layout*=classic]) .mainContent{align-items:start}:host([layout*=classic]) label{overflow:hidden;cursor:text;text-overflow:ellipsis;white-space:nowrap}:host([layout*=classic]) .value{height:auto}label{color:var(--ds-auro-select-label-text-color)}:host(:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-select-outline-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host([ondark]:is([validity]:not([validity=valid]))) [auro-dropdown],:host([appearance=inverse]:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-select-outline-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}#slotHolder{display:none}:host([fluid]){width:100%}:host([disabled]){pointer-events:none;user-select:none}:host([disabled]:not([ondark])) [auro-dropdown],:host([disabled]:not([appearance=inverse])) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([layout*=classic])[disabled][ondark]) [auro-dropdown],:host(:not([layout*=classic])[disabled][appearance=inverse]) [auro-dropdown]{--ds-auro-select-border-color: transparent}`;
|
|
6815
6857
|
|
|
@@ -8062,6 +8104,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
8062
8104
|
<slot name="bib.fullscreen.headline" @slotchange="${this.handleSlotChange}"></slot>
|
|
8063
8105
|
</div>
|
|
8064
8106
|
<${this.dropdownTag}
|
|
8107
|
+
disableKeyboardHandling
|
|
8065
8108
|
appearance="${this.onDark ? 'inverse' : this.appearance}"
|
|
8066
8109
|
.a11yRole=${"combobox"}
|
|
8067
8110
|
?autoPlacement="${this.autoPlacement}"
|
|
@@ -8141,6 +8184,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
8141
8184
|
<slot name="bib.fullscreen.headline" @slotchange="${this.handleSlotChange}"></slot>
|
|
8142
8185
|
</div>
|
|
8143
8186
|
<${this.dropdownTag}
|
|
8187
|
+
disableKeyboardHandling
|
|
8144
8188
|
appearance="${this.onDark ? 'inverse' : this.appearance}"
|
|
8145
8189
|
.a11yRole=${"combobox"}
|
|
8146
8190
|
?autoPlacement="${this.autoPlacement}"
|
|
@@ -8226,6 +8270,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
8226
8270
|
<slot name="bib.fullscreen.headline" @slotchange="${this.handleSlotChange}"></slot>
|
|
8227
8271
|
</div>
|
|
8228
8272
|
<${this.dropdownTag}
|
|
8273
|
+
disableKeyboardHandling
|
|
8229
8274
|
appearance="${this.onDark ? 'inverse' : this.appearance}"
|
|
8230
8275
|
.a11yRole=${"combobox"}
|
|
8231
8276
|
?autoPlacement="${this.autoPlacement}"
|
|
@@ -1291,41 +1291,48 @@ function navigateArrow(component, direction, options = {}) {
|
|
|
1291
1291
|
}
|
|
1292
1292
|
}
|
|
1293
1293
|
|
|
1294
|
+
/* eslint-disable new-cap */
|
|
1295
|
+
|
|
1294
1296
|
const selectKeyboardStrategy = {
|
|
1295
1297
|
ArrowUp(component, evt, ctx) {
|
|
1296
|
-
// Navigate menu only if the bib is open, otherwise open the bib
|
|
1297
1298
|
evt.preventDefault();
|
|
1298
|
-
if (evt.altKey || evt.metaKey)
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
});
|
|
1303
|
-
} else {
|
|
1304
|
-
component.dropdown.show();
|
|
1299
|
+
if (evt.altKey || evt.metaKey) {
|
|
1300
|
+
// navigate to first enabled option
|
|
1301
|
+
selectKeyboardStrategy.Home(component, evt, ctx);
|
|
1302
|
+
return;
|
|
1305
1303
|
}
|
|
1304
|
+
navigateArrow(component, 'up', {
|
|
1305
|
+
ctx,
|
|
1306
|
+
showFn: () => component.dropdown.show(),
|
|
1307
|
+
});
|
|
1306
1308
|
},
|
|
1307
1309
|
|
|
1308
1310
|
ArrowDown(component, evt, ctx) {
|
|
1309
|
-
// Navigate menu only if the bib is open, otherwise open the bib
|
|
1310
1311
|
evt.preventDefault();
|
|
1311
|
-
if (evt.altKey || evt.metaKey)
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
});
|
|
1316
|
-
} else {
|
|
1317
|
-
component.dropdown.show();
|
|
1312
|
+
if (evt.altKey || evt.metaKey) {
|
|
1313
|
+
// navigate to last enabled option
|
|
1314
|
+
selectKeyboardStrategy.End(component, evt, ctx);
|
|
1315
|
+
return;
|
|
1318
1316
|
}
|
|
1317
|
+
navigateArrow(component, 'down', {
|
|
1318
|
+
ctx,
|
|
1319
|
+
showFn: () => component.dropdown.show(),
|
|
1320
|
+
});
|
|
1319
1321
|
},
|
|
1320
1322
|
|
|
1321
1323
|
Enter(component, evt, ctx) {
|
|
1322
|
-
if (!ctx.isExpanded
|
|
1323
|
-
component.
|
|
1324
|
-
|
|
1325
|
-
// for modal, isExpanded is always true
|
|
1326
|
-
// defaultPrevented will be true if Floating UI has already handled the event to open the dropdown
|
|
1327
|
-
component.menu.makeSelection();
|
|
1324
|
+
if (!ctx.isExpanded) {
|
|
1325
|
+
component.dropdown.show();
|
|
1326
|
+
return;
|
|
1328
1327
|
}
|
|
1328
|
+
component.menu.makeSelection();
|
|
1329
|
+
},
|
|
1330
|
+
|
|
1331
|
+
Escape(component, evt, ctx) {
|
|
1332
|
+
if (!ctx.isExpanded) {
|
|
1333
|
+
return;
|
|
1334
|
+
}
|
|
1335
|
+
component.dropdown.hide();
|
|
1329
1336
|
},
|
|
1330
1337
|
|
|
1331
1338
|
Tab(component, evt, ctx) {
|
|
@@ -1340,7 +1347,10 @@ const selectKeyboardStrategy = {
|
|
|
1340
1347
|
}
|
|
1341
1348
|
component.dropdown.hide();
|
|
1342
1349
|
},
|
|
1343
|
-
Home(component, evt) {
|
|
1350
|
+
Home(component, evt, ctx) {
|
|
1351
|
+
if (!ctx.isExpanded) {
|
|
1352
|
+
return;
|
|
1353
|
+
}
|
|
1344
1354
|
evt.preventDefault();
|
|
1345
1355
|
evt.stopPropagation();
|
|
1346
1356
|
const firstOption = component.menu.menuService.menuOptions.find((option) => !option.disabled);
|
|
@@ -1349,7 +1359,10 @@ const selectKeyboardStrategy = {
|
|
|
1349
1359
|
}
|
|
1350
1360
|
},
|
|
1351
1361
|
|
|
1352
|
-
End(component, evt) {
|
|
1362
|
+
End(component, evt, ctx) {
|
|
1363
|
+
if (!ctx.isExpanded) {
|
|
1364
|
+
return;
|
|
1365
|
+
}
|
|
1353
1366
|
evt.preventDefault();
|
|
1354
1367
|
evt.stopPropagation();
|
|
1355
1368
|
const lastOption = [...component.menu.menuService.menuOptions].reverse().find((option) => !option.disabled);
|
|
@@ -1358,8 +1371,17 @@ const selectKeyboardStrategy = {
|
|
|
1358
1371
|
}
|
|
1359
1372
|
},
|
|
1360
1373
|
|
|
1361
|
-
default(component, evt) {
|
|
1374
|
+
default(component, evt, ctx) {
|
|
1362
1375
|
component.updateActiveOptionBasedOnKey(evt.key);
|
|
1376
|
+
if (evt.key === ' ') {
|
|
1377
|
+
evt.preventDefault();
|
|
1378
|
+
evt.stopPropagation();
|
|
1379
|
+
if (ctx.isExpanded) {
|
|
1380
|
+
component.dropdown.hide();
|
|
1381
|
+
return;
|
|
1382
|
+
}
|
|
1383
|
+
component.dropdown.show();
|
|
1384
|
+
}
|
|
1363
1385
|
},
|
|
1364
1386
|
};
|
|
1365
1387
|
|
|
@@ -3216,6 +3238,11 @@ class AuroFloatingUI {
|
|
|
3216
3238
|
this.clickHandler = null;
|
|
3217
3239
|
this.keyDownHandler = null;
|
|
3218
3240
|
|
|
3241
|
+
/**
|
|
3242
|
+
* @private
|
|
3243
|
+
*/
|
|
3244
|
+
this.enableKeyboardHandling = true;
|
|
3245
|
+
|
|
3219
3246
|
/**
|
|
3220
3247
|
* @private
|
|
3221
3248
|
*/
|
|
@@ -3550,7 +3577,9 @@ class AuroFloatingUI {
|
|
|
3550
3577
|
document.addEventListener("focusin", this.focusHandler);
|
|
3551
3578
|
}
|
|
3552
3579
|
|
|
3553
|
-
|
|
3580
|
+
if (this.enableKeyboardHandling) {
|
|
3581
|
+
document.addEventListener("keydown", this.keyDownHandler);
|
|
3582
|
+
}
|
|
3554
3583
|
|
|
3555
3584
|
// send this task to the end of queue to prevent conflicting
|
|
3556
3585
|
// it conflicts if showBib gets call from a button that's not this.element.trigger
|
|
@@ -3806,8 +3835,9 @@ class AuroFloatingUI {
|
|
|
3806
3835
|
this.element.bib.setAttribute("id", `${this.id}-floater-bib`);
|
|
3807
3836
|
}
|
|
3808
3837
|
|
|
3809
|
-
configure(elem, eventPrefix) {
|
|
3838
|
+
configure(elem, eventPrefix, enableKeyboardHandling = true) {
|
|
3810
3839
|
AuroFloatingUI.setupMousePressChecker();
|
|
3840
|
+
this.enableKeyboardHandling = enableKeyboardHandling;
|
|
3811
3841
|
|
|
3812
3842
|
this.eventPrefix = eventPrefix;
|
|
3813
3843
|
if (this.element !== elem) {
|
|
@@ -3840,7 +3870,9 @@ class AuroFloatingUI {
|
|
|
3840
3870
|
|
|
3841
3871
|
this.handleEvent = this.handleEvent.bind(this);
|
|
3842
3872
|
if (this.element.trigger) {
|
|
3843
|
-
|
|
3873
|
+
if (this.enableKeyboardHandling) {
|
|
3874
|
+
this.element.trigger.addEventListener("keydown", this.handleEvent);
|
|
3875
|
+
}
|
|
3844
3876
|
this.element.trigger.addEventListener("click", this.handleEvent);
|
|
3845
3877
|
this.element.trigger.addEventListener("mouseenter", this.handleEvent);
|
|
3846
3878
|
this.element.trigger.addEventListener("mouseleave", this.handleEvent);
|
|
@@ -4994,7 +5026,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
4994
5026
|
}
|
|
4995
5027
|
};
|
|
4996
5028
|
|
|
4997
|
-
var formkitVersion$1 = '
|
|
5029
|
+
var formkitVersion$1 = '202604021752';
|
|
4998
5030
|
|
|
4999
5031
|
class AuroElement extends i$3 {
|
|
5000
5032
|
static get properties() {
|
|
@@ -5175,6 +5207,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5175
5207
|
this.appearance = 'default';
|
|
5176
5208
|
this.chevron = false;
|
|
5177
5209
|
this.disabled = false;
|
|
5210
|
+
this.disableKeyboardHandling = false;
|
|
5178
5211
|
this.error = false;
|
|
5179
5212
|
this.tabIndex = 0;
|
|
5180
5213
|
this.noToggle = false;
|
|
@@ -5386,6 +5419,14 @@ class AuroDropdown extends AuroElement {
|
|
|
5386
5419
|
reflect: true
|
|
5387
5420
|
},
|
|
5388
5421
|
|
|
5422
|
+
/**
|
|
5423
|
+
* If declared, the dropdown will not handle keyboard events and will require the consumer to manage this behavior.
|
|
5424
|
+
*/
|
|
5425
|
+
disableKeyboardHandling: {
|
|
5426
|
+
type: Boolean,
|
|
5427
|
+
reflect: true
|
|
5428
|
+
},
|
|
5429
|
+
|
|
5389
5430
|
/**
|
|
5390
5431
|
* @private
|
|
5391
5432
|
*/
|
|
@@ -5691,7 +5732,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5691
5732
|
|
|
5692
5733
|
firstUpdated() {
|
|
5693
5734
|
// Configure the floater to, this will generate the ID for the bib
|
|
5694
|
-
this.floater.configure(this, 'auroDropdown');
|
|
5735
|
+
this.floater.configure(this, 'auroDropdown', !this.disableKeyboardHandling);
|
|
5695
5736
|
|
|
5696
5737
|
// Prevent `contain: layout` on the dropdown host. Layout containment
|
|
5697
5738
|
// creates a containing block for position:fixed descendants (the bib),
|
|
@@ -5999,6 +6040,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5999
6040
|
aria-expanded="${o(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
|
|
6000
6041
|
aria-controls="${o(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
|
|
6001
6042
|
aria-labelledby="${o(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
|
|
6043
|
+
aria-disabled="${o(this.disabled ? 'true' : undefined)}"
|
|
6002
6044
|
@focusin="${this.handleFocusin}"
|
|
6003
6045
|
@blur="${this.handleFocusOut}">
|
|
6004
6046
|
<div class="triggerContentWrapper" id="triggerLabel">
|
|
@@ -6737,7 +6779,7 @@ class AuroHelpText extends i$3 {
|
|
|
6737
6779
|
}
|
|
6738
6780
|
}
|
|
6739
6781
|
|
|
6740
|
-
var formkitVersion = '
|
|
6782
|
+
var formkitVersion = '202604021752';
|
|
6741
6783
|
|
|
6742
6784
|
var styleCss$2 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}[auro-dropdown]{--ds-auro-dropdown-trigger-border-color: var(--ds-auro-select-border-color);--ds-auro-dropdown-trigger-background-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-container-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-outline-color: var(--ds-auro-select-outline-color)}:host{display:inline-block;text-align:left;vertical-align:top}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}:host([layout*=emphasized]) .mainContent,:host([layout*=snowflake]) .mainContent{text-align:center}.mainContent{position:relative;display:flex;overflow:hidden;flex:1;flex-direction:column;align-items:center;justify-content:center}.valueContainer [slot=displayValue]{display:none}.accents{display:flex;flex-direction:row;align-items:center;justify-content:center}::slotted([slot=typeIcon]){margin-right:var(--ds-size-100, 0.5rem)}.displayValue{display:block}.displayValue:not(.force){display:none}.displayValue:not(.force).hasContent:is(.withValue):not(.hasFocus){display:block}.triggerContent{display:flex;width:100%;align-items:center;justify-content:center}:host([layout*=emphasized]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host([layout*=snowflake]) label{padding-block:var(--ds-size-25, 0.125rem)}:host([layout*=classic]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem)}:host([layout*=classic]) .mainContent{align-items:start}:host([layout*=classic]) label{overflow:hidden;cursor:text;text-overflow:ellipsis;white-space:nowrap}:host([layout*=classic]) .value{height:auto}label{color:var(--ds-auro-select-label-text-color)}:host(:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-select-outline-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host([ondark]:is([validity]:not([validity=valid]))) [auro-dropdown],:host([appearance=inverse]:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-select-outline-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}#slotHolder{display:none}:host([fluid]){width:100%}:host([disabled]){pointer-events:none;user-select:none}:host([disabled]:not([ondark])) [auro-dropdown],:host([disabled]:not([appearance=inverse])) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([layout*=classic])[disabled][ondark]) [auro-dropdown],:host(:not([layout*=classic])[disabled][appearance=inverse]) [auro-dropdown]{--ds-auro-select-border-color: transparent}`;
|
|
6743
6785
|
|
|
@@ -7990,6 +8032,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7990
8032
|
<slot name="bib.fullscreen.headline" @slotchange="${this.handleSlotChange}"></slot>
|
|
7991
8033
|
</div>
|
|
7992
8034
|
<${this.dropdownTag}
|
|
8035
|
+
disableKeyboardHandling
|
|
7993
8036
|
appearance="${this.onDark ? 'inverse' : this.appearance}"
|
|
7994
8037
|
.a11yRole=${"combobox"}
|
|
7995
8038
|
?autoPlacement="${this.autoPlacement}"
|
|
@@ -8069,6 +8112,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
8069
8112
|
<slot name="bib.fullscreen.headline" @slotchange="${this.handleSlotChange}"></slot>
|
|
8070
8113
|
</div>
|
|
8071
8114
|
<${this.dropdownTag}
|
|
8115
|
+
disableKeyboardHandling
|
|
8072
8116
|
appearance="${this.onDark ? 'inverse' : this.appearance}"
|
|
8073
8117
|
.a11yRole=${"combobox"}
|
|
8074
8118
|
?autoPlacement="${this.autoPlacement}"
|
|
@@ -8154,6 +8198,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
8154
8198
|
<slot name="bib.fullscreen.headline" @slotchange="${this.handleSlotChange}"></slot>
|
|
8155
8199
|
</div>
|
|
8156
8200
|
<${this.dropdownTag}
|
|
8201
|
+
disableKeyboardHandling
|
|
8157
8202
|
appearance="${this.onDark ? 'inverse' : this.appearance}"
|
|
8158
8203
|
.a11yRole=${"combobox"}
|
|
8159
8204
|
?autoPlacement="${this.autoPlacement}"
|