@aurodesignsystem-dev/auro-formkit 0.0.0-pr784.0 → 0.0.0-pr784.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/combobox/demo/api.min.js +41 -37
- package/components/combobox/demo/index.min.js +41 -37
- package/components/combobox/dist/index.js +40 -36
- package/components/combobox/dist/registered.js +40 -36
- package/components/counter/demo/api.min.js +34 -17
- package/components/counter/demo/index.min.js +34 -17
- package/components/counter/dist/index.js +34 -17
- package/components/counter/dist/registered.js +34 -17
- package/components/datepicker/demo/api.md +0 -1
- package/components/datepicker/demo/api.min.js +100 -37
- package/components/datepicker/demo/index.min.js +100 -37
- package/components/datepicker/dist/auro-datepicker.d.ts +19 -1
- package/components/datepicker/dist/index.js +100 -37
- package/components/datepicker/dist/registered.js +100 -37
- package/components/dropdown/demo/api.min.js +33 -16
- package/components/dropdown/demo/index.min.js +33 -16
- package/components/dropdown/dist/auro-dropdown.d.ts +6 -0
- package/components/dropdown/dist/index.js +33 -16
- package/components/dropdown/dist/registered.js +33 -16
- package/components/input/demo/api.min.js +7 -18
- package/components/input/demo/index.min.js +7 -18
- package/components/input/dist/auro-input.d.ts +0 -6
- package/components/input/dist/index.js +7 -18
- package/components/input/dist/registered.js +7 -18
- package/components/menu/demo/api.min.js +1 -1
- package/components/menu/demo/index.min.js +1 -1
- package/components/menu/dist/index.js +1 -1
- package/components/menu/dist/registered.js +1 -1
- package/components/select/demo/api.min.js +35 -18
- package/components/select/demo/index.min.js +35 -18
- package/components/select/dist/index.js +34 -17
- package/components/select/dist/registered.js +34 -17
- package/package.json +2 -2
|
@@ -2825,7 +2825,7 @@ class AuroFloatingUI {
|
|
|
2825
2825
|
*/
|
|
2826
2826
|
mirrorSize() {
|
|
2827
2827
|
// mirror the boxsize from bibSizer
|
|
2828
|
-
if (this.element.bibSizer) {
|
|
2828
|
+
if (this.element.bibSizer && this.element.matchWidth) {
|
|
2829
2829
|
const sizerStyle = window.getComputedStyle(this.element.bibSizer);
|
|
2830
2830
|
const bibContent = this.element.bib.shadowRoot.querySelector(".container");
|
|
2831
2831
|
if (sizerStyle.width !== '0px') {
|
|
@@ -3037,13 +3037,13 @@ class AuroFloatingUI {
|
|
|
3037
3037
|
if (this.element.contains(activeElement) || this.element.bib?.contains(activeElement)) {
|
|
3038
3038
|
return;
|
|
3039
3039
|
}
|
|
3040
|
-
|
|
3040
|
+
|
|
3041
3041
|
// if fullscreen bib is in fullscreen mode, do not close
|
|
3042
3042
|
if (this.element.bib.hasAttribute('isfullscreen')) {
|
|
3043
3043
|
return;
|
|
3044
3044
|
}
|
|
3045
3045
|
|
|
3046
|
-
this.hideBib();
|
|
3046
|
+
this.hideBib("keydown");
|
|
3047
3047
|
}
|
|
3048
3048
|
|
|
3049
3049
|
setupHideHandlers() {
|
|
@@ -3068,7 +3068,7 @@ class AuroFloatingUI {
|
|
|
3068
3068
|
document.expandedAuroFormkitDropdown = null;
|
|
3069
3069
|
document.expandedAuroFloater = this;
|
|
3070
3070
|
} else {
|
|
3071
|
-
this.hideBib();
|
|
3071
|
+
this.hideBib("click");
|
|
3072
3072
|
}
|
|
3073
3073
|
}
|
|
3074
3074
|
};
|
|
@@ -3081,7 +3081,7 @@ class AuroFloatingUI {
|
|
|
3081
3081
|
// if something else is open, let it handle itself
|
|
3082
3082
|
return;
|
|
3083
3083
|
}
|
|
3084
|
-
this.hideBib();
|
|
3084
|
+
this.hideBib("keydown");
|
|
3085
3085
|
}
|
|
3086
3086
|
};
|
|
3087
3087
|
|
|
@@ -3164,7 +3164,11 @@ class AuroFloatingUI {
|
|
|
3164
3164
|
}
|
|
3165
3165
|
}
|
|
3166
3166
|
|
|
3167
|
-
|
|
3167
|
+
/**
|
|
3168
|
+
* Hides the floating UI element.
|
|
3169
|
+
* @param {String} eventType - The event type that triggered the hiding action.
|
|
3170
|
+
*/
|
|
3171
|
+
hideBib(eventType = "unknown") {
|
|
3168
3172
|
if (!this.element.disabled && !this.element.noToggle) {
|
|
3169
3173
|
this.lockScroll(false);
|
|
3170
3174
|
this.element.triggerChevron?.removeAttribute('data-expanded');
|
|
@@ -3175,7 +3179,7 @@ class AuroFloatingUI {
|
|
|
3175
3179
|
if (this.showing) {
|
|
3176
3180
|
this.cleanupHideHandlers();
|
|
3177
3181
|
this.showing = false;
|
|
3178
|
-
this.dispatchEventDropdownToggle();
|
|
3182
|
+
this.dispatchEventDropdownToggle(eventType);
|
|
3179
3183
|
}
|
|
3180
3184
|
}
|
|
3181
3185
|
document.expandedAuroFloater = null;
|
|
@@ -3184,11 +3188,13 @@ class AuroFloatingUI {
|
|
|
3184
3188
|
/**
|
|
3185
3189
|
* @private
|
|
3186
3190
|
* @returns {void} Dispatches event with an object showing the state of the dropdown.
|
|
3191
|
+
* @param {String} eventType - The event type that triggered the toggle action.
|
|
3187
3192
|
*/
|
|
3188
|
-
dispatchEventDropdownToggle() {
|
|
3193
|
+
dispatchEventDropdownToggle(eventType) {
|
|
3189
3194
|
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-toggled` : 'toggled', {
|
|
3190
3195
|
detail: {
|
|
3191
3196
|
expanded: this.showing,
|
|
3197
|
+
eventType: eventType || "unknown",
|
|
3192
3198
|
},
|
|
3193
3199
|
composed: true
|
|
3194
3200
|
});
|
|
@@ -3198,7 +3204,7 @@ class AuroFloatingUI {
|
|
|
3198
3204
|
|
|
3199
3205
|
handleClick() {
|
|
3200
3206
|
if (this.element.isPopoverVisible) {
|
|
3201
|
-
this.hideBib();
|
|
3207
|
+
this.hideBib("click");
|
|
3202
3208
|
} else {
|
|
3203
3209
|
this.showBib();
|
|
3204
3210
|
}
|
|
@@ -3225,7 +3231,7 @@ class AuroFloatingUI {
|
|
|
3225
3231
|
|
|
3226
3232
|
event.preventDefault();
|
|
3227
3233
|
this.handleClick();
|
|
3228
|
-
}
|
|
3234
|
+
}
|
|
3229
3235
|
break;
|
|
3230
3236
|
case 'mouseenter':
|
|
3231
3237
|
if (this.element.hoverToggle) {
|
|
@@ -3234,7 +3240,7 @@ class AuroFloatingUI {
|
|
|
3234
3240
|
break;
|
|
3235
3241
|
case 'mouseleave':
|
|
3236
3242
|
if (this.element.hoverToggle) {
|
|
3237
|
-
this.hideBib();
|
|
3243
|
+
this.hideBib("mouseleave");
|
|
3238
3244
|
}
|
|
3239
3245
|
break;
|
|
3240
3246
|
case 'focus':
|
|
@@ -4622,6 +4628,9 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
4622
4628
|
|
|
4623
4629
|
this.parentBorder = false;
|
|
4624
4630
|
|
|
4631
|
+
/** @private */
|
|
4632
|
+
this.handleDropdownToggle = this.handleDropdownToggle.bind(this);
|
|
4633
|
+
|
|
4625
4634
|
this.privateDefaults();
|
|
4626
4635
|
}
|
|
4627
4636
|
|
|
@@ -5055,12 +5064,19 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
5055
5064
|
if (changedProperties.size === 0 || changedProperties.has('isPopoverVisible')) {
|
|
5056
5065
|
this.handleTriggerContentSlotChange();
|
|
5057
5066
|
}
|
|
5067
|
+
}
|
|
5058
5068
|
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5069
|
+
/**
|
|
5070
|
+
* Handles the custom event `auroDropdown-toggled` to update the visibility of the dropdown bib.
|
|
5071
|
+
* @private
|
|
5072
|
+
* @param {CustomEvent} event - The custom event that contains the dropdown toggle information.
|
|
5073
|
+
*/
|
|
5074
|
+
handleDropdownToggle(event) {
|
|
5075
|
+
this.updateFocusTrap();
|
|
5076
|
+
this.isPopoverVisible = event.detail.expanded;
|
|
5077
|
+
const eventType = event.detail.eventType || "unknown";
|
|
5078
|
+
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown") {
|
|
5079
|
+
this.trigger.focus();
|
|
5064
5080
|
}
|
|
5065
5081
|
}
|
|
5066
5082
|
|
|
@@ -5068,6 +5084,7 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
5068
5084
|
|
|
5069
5085
|
// Configure the floater to, this will generate the ID for the bib
|
|
5070
5086
|
this.floater.configure(this, 'auroDropdown');
|
|
5087
|
+
this.addEventListener('auroDropdown-toggled', this.handleDropdownToggle);
|
|
5071
5088
|
|
|
5072
5089
|
/**
|
|
5073
5090
|
* @description Let subscribers know that the dropdown ID ha been generated and added.
|
|
@@ -7648,7 +7665,7 @@ class AuroHelpText extends i$2 {
|
|
|
7648
7665
|
|
|
7649
7666
|
var helpTextVersion = '1.0.0';
|
|
7650
7667
|
|
|
7651
|
-
var styleCss$3 = 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}[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)}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}.mainContent{position:relative;display:flex;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-
|
|
7668
|
+
var styleCss$3 = 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}[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)}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}.mainContent{position:relative;display:flex;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,:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) [auro-dropdown] label.withValue{font-size:var(--ds-text-body-size-xs);line-height:20px}:host([layout*=emphasized]) [auro-dropdown] label.withValue{font-size:var(--ds-text-body-size-xs);line-height:20px}: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;font-size:16px;font-weight:450;letter-spacing:0;line-height:24px}:host([layout*=classic]) label.withValue{font-size:12px;font-weight:450;letter-spacing:0;line-height:16px}:host([layout*=classic]) .value{height:auto;font-size:16px;font-weight:450;letter-spacing:0;line-height:24px}:host(:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-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]{--ds-auro-select-border-color: var(--ds-basic-color-status-error-subtle, #fbc6c6);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}#slotHolder{display:none}:host([disabled]){pointer-events:none;user-select:none}:host([disabled]:not([ondark])) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([layout*=classic])[disabled][ondark]) [auro-dropdown]{--ds-auro-select-border-color: transparent}`;
|
|
7652
7669
|
|
|
7653
7670
|
// Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
7654
7671
|
// See LICENSE in the project root for license information.
|
|
@@ -9816,7 +9833,7 @@ class AuroMenu extends AuroElement$4 {
|
|
|
9816
9833
|
}
|
|
9817
9834
|
}
|
|
9818
9835
|
|
|
9819
|
-
var styleCss$1 = i$5`:host{cursor:pointer;user-select:none}:host .wrapper{display:flex;align-items:center;padding-right:var(--ds-size-200, 1rem);padding-left:calc(var(--ds-size-150, 0.75rem) + var(--ds-size-
|
|
9836
|
+
var styleCss$1 = i$5`:host{cursor:pointer;user-select:none}:host .wrapper{display:flex;align-items:center;padding-right:var(--ds-size-200, 1rem);padding-left:calc(var(--ds-size-150, 0.75rem) + var(--ds-size-300, 1.5rem) + var(--ds-size-100, 0.5rem));padding-top:var(--ds-size-50, 0.25rem);padding-bottom:var(--ds-size-50, 0.25rem);-webkit-tap-highlight-color:transparent}:host .wrapper[class*=shape-box],:host .wrapper[class*=shape-snowflake]{border-radius:unset}:host .wrapper[class*=shape-pill]{border-radius:30px}:host .wrapper[class*=-lg]{font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);padding-top:var(--ds-size-75, 0.375rem);padding-bottom:var(--ds-size-75, 0.375rem);padding-right:var(--ds-size-150, 0.75rem)}:host .wrapper[class*=-lg]:not(:last-child){margin-bottom:var(--ds-size-50, 0.25rem)}:host .wrapper[class*=-xl]{font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);padding-top:var(--ds-size-100, 0.5rem);padding-bottom:var(--ds-size-100, 0.5rem);padding-right:var(--ds-size-200, 1rem)}:host .wrapper[class*=-xl]:not(:last-child){margin-bottom:var(--ds-size-100, 0.5rem)}:host slot{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-150, 0.75rem);margin-left:var(--ds-size-100, 0.5rem)}:host ::slotted(.nestingSpacer){display:inline-block;width:var(--ds-size-300, 1.5rem)}:host ::slotted(strong){font-weight:700}:host([loadingplaceholder]) .wrapper{padding-left:calc(var(--ds-size-150, 0.75rem) + var(--ds-size-300, 1.5rem) + var(--ds-size-100, 0.5rem))}:host([selected]) .wrapper{padding-left:0}:host([nocheckmark]) .wrapper{padding-left:var(--ds-size-150, 0.75rem)}:host([nocheckmark]) .wrapper[class*=-lg]{padding-left:var(--ds-size-150, 0.75rem)}:host([nocheckmark]) .wrapper[class*=-xl]{padding-left:var(--ds-size-200, 1rem)}:host([hidden]){display:none}:host([static]){pointer-events:none}:host([disabled]:hover){cursor:auto}:host([disabled]){user-select:none;pointer-events:none}`;
|
|
9820
9837
|
|
|
9821
9838
|
var colorCss$1 = i$5`:host .wrapper{border:1px solid var(--ds-auro-menuoption-container-border-color);background-color:var(--ds-auro-menuoption-container-color);color:var(--ds-auro-menuoption-text-color)}:host svg{fill:var(--ds-auro-menuoption-icon-color)}:host([disabled]){--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:hover),:host(.active){--ds-auro-menuoption-container-color: var(--ds-basic-color-surface-neutral-subtle, #f7f7f7)}:host([selected]){--ds-auro-menuoption-container-color: var(--ds-advanced-color-state-selected, #01426a);--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-menuoption-icon-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([selected]):host(:hover),:host([selected]):host(.active){--ds-auro-menuoption-container-color: var(--ds-advanced-color-state-selected-hover, #00274a)}`;
|
|
9822
9839
|
|
|
@@ -2733,7 +2733,7 @@ class AuroFloatingUI {
|
|
|
2733
2733
|
*/
|
|
2734
2734
|
mirrorSize() {
|
|
2735
2735
|
// mirror the boxsize from bibSizer
|
|
2736
|
-
if (this.element.bibSizer) {
|
|
2736
|
+
if (this.element.bibSizer && this.element.matchWidth) {
|
|
2737
2737
|
const sizerStyle = window.getComputedStyle(this.element.bibSizer);
|
|
2738
2738
|
const bibContent = this.element.bib.shadowRoot.querySelector(".container");
|
|
2739
2739
|
if (sizerStyle.width !== '0px') {
|
|
@@ -2945,13 +2945,13 @@ class AuroFloatingUI {
|
|
|
2945
2945
|
if (this.element.contains(activeElement) || this.element.bib?.contains(activeElement)) {
|
|
2946
2946
|
return;
|
|
2947
2947
|
}
|
|
2948
|
-
|
|
2948
|
+
|
|
2949
2949
|
// if fullscreen bib is in fullscreen mode, do not close
|
|
2950
2950
|
if (this.element.bib.hasAttribute('isfullscreen')) {
|
|
2951
2951
|
return;
|
|
2952
2952
|
}
|
|
2953
2953
|
|
|
2954
|
-
this.hideBib();
|
|
2954
|
+
this.hideBib("keydown");
|
|
2955
2955
|
}
|
|
2956
2956
|
|
|
2957
2957
|
setupHideHandlers() {
|
|
@@ -2976,7 +2976,7 @@ class AuroFloatingUI {
|
|
|
2976
2976
|
document.expandedAuroFormkitDropdown = null;
|
|
2977
2977
|
document.expandedAuroFloater = this;
|
|
2978
2978
|
} else {
|
|
2979
|
-
this.hideBib();
|
|
2979
|
+
this.hideBib("click");
|
|
2980
2980
|
}
|
|
2981
2981
|
}
|
|
2982
2982
|
};
|
|
@@ -2989,7 +2989,7 @@ class AuroFloatingUI {
|
|
|
2989
2989
|
// if something else is open, let it handle itself
|
|
2990
2990
|
return;
|
|
2991
2991
|
}
|
|
2992
|
-
this.hideBib();
|
|
2992
|
+
this.hideBib("keydown");
|
|
2993
2993
|
}
|
|
2994
2994
|
};
|
|
2995
2995
|
|
|
@@ -3072,7 +3072,11 @@ class AuroFloatingUI {
|
|
|
3072
3072
|
}
|
|
3073
3073
|
}
|
|
3074
3074
|
|
|
3075
|
-
|
|
3075
|
+
/**
|
|
3076
|
+
* Hides the floating UI element.
|
|
3077
|
+
* @param {String} eventType - The event type that triggered the hiding action.
|
|
3078
|
+
*/
|
|
3079
|
+
hideBib(eventType = "unknown") {
|
|
3076
3080
|
if (!this.element.disabled && !this.element.noToggle) {
|
|
3077
3081
|
this.lockScroll(false);
|
|
3078
3082
|
this.element.triggerChevron?.removeAttribute('data-expanded');
|
|
@@ -3083,7 +3087,7 @@ class AuroFloatingUI {
|
|
|
3083
3087
|
if (this.showing) {
|
|
3084
3088
|
this.cleanupHideHandlers();
|
|
3085
3089
|
this.showing = false;
|
|
3086
|
-
this.dispatchEventDropdownToggle();
|
|
3090
|
+
this.dispatchEventDropdownToggle(eventType);
|
|
3087
3091
|
}
|
|
3088
3092
|
}
|
|
3089
3093
|
document.expandedAuroFloater = null;
|
|
@@ -3092,11 +3096,13 @@ class AuroFloatingUI {
|
|
|
3092
3096
|
/**
|
|
3093
3097
|
* @private
|
|
3094
3098
|
* @returns {void} Dispatches event with an object showing the state of the dropdown.
|
|
3099
|
+
* @param {String} eventType - The event type that triggered the toggle action.
|
|
3095
3100
|
*/
|
|
3096
|
-
dispatchEventDropdownToggle() {
|
|
3101
|
+
dispatchEventDropdownToggle(eventType) {
|
|
3097
3102
|
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-toggled` : 'toggled', {
|
|
3098
3103
|
detail: {
|
|
3099
3104
|
expanded: this.showing,
|
|
3105
|
+
eventType: eventType || "unknown",
|
|
3100
3106
|
},
|
|
3101
3107
|
composed: true
|
|
3102
3108
|
});
|
|
@@ -3106,7 +3112,7 @@ class AuroFloatingUI {
|
|
|
3106
3112
|
|
|
3107
3113
|
handleClick() {
|
|
3108
3114
|
if (this.element.isPopoverVisible) {
|
|
3109
|
-
this.hideBib();
|
|
3115
|
+
this.hideBib("click");
|
|
3110
3116
|
} else {
|
|
3111
3117
|
this.showBib();
|
|
3112
3118
|
}
|
|
@@ -3133,7 +3139,7 @@ class AuroFloatingUI {
|
|
|
3133
3139
|
|
|
3134
3140
|
event.preventDefault();
|
|
3135
3141
|
this.handleClick();
|
|
3136
|
-
}
|
|
3142
|
+
}
|
|
3137
3143
|
break;
|
|
3138
3144
|
case 'mouseenter':
|
|
3139
3145
|
if (this.element.hoverToggle) {
|
|
@@ -3142,7 +3148,7 @@ class AuroFloatingUI {
|
|
|
3142
3148
|
break;
|
|
3143
3149
|
case 'mouseleave':
|
|
3144
3150
|
if (this.element.hoverToggle) {
|
|
3145
|
-
this.hideBib();
|
|
3151
|
+
this.hideBib("mouseleave");
|
|
3146
3152
|
}
|
|
3147
3153
|
break;
|
|
3148
3154
|
case 'focus':
|
|
@@ -4530,6 +4536,9 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
4530
4536
|
|
|
4531
4537
|
this.parentBorder = false;
|
|
4532
4538
|
|
|
4539
|
+
/** @private */
|
|
4540
|
+
this.handleDropdownToggle = this.handleDropdownToggle.bind(this);
|
|
4541
|
+
|
|
4533
4542
|
this.privateDefaults();
|
|
4534
4543
|
}
|
|
4535
4544
|
|
|
@@ -4963,12 +4972,19 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
4963
4972
|
if (changedProperties.size === 0 || changedProperties.has('isPopoverVisible')) {
|
|
4964
4973
|
this.handleTriggerContentSlotChange();
|
|
4965
4974
|
}
|
|
4975
|
+
}
|
|
4966
4976
|
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4977
|
+
/**
|
|
4978
|
+
* Handles the custom event `auroDropdown-toggled` to update the visibility of the dropdown bib.
|
|
4979
|
+
* @private
|
|
4980
|
+
* @param {CustomEvent} event - The custom event that contains the dropdown toggle information.
|
|
4981
|
+
*/
|
|
4982
|
+
handleDropdownToggle(event) {
|
|
4983
|
+
this.updateFocusTrap();
|
|
4984
|
+
this.isPopoverVisible = event.detail.expanded;
|
|
4985
|
+
const eventType = event.detail.eventType || "unknown";
|
|
4986
|
+
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown") {
|
|
4987
|
+
this.trigger.focus();
|
|
4972
4988
|
}
|
|
4973
4989
|
}
|
|
4974
4990
|
|
|
@@ -4976,6 +4992,7 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
4976
4992
|
|
|
4977
4993
|
// Configure the floater to, this will generate the ID for the bib
|
|
4978
4994
|
this.floater.configure(this, 'auroDropdown');
|
|
4995
|
+
this.addEventListener('auroDropdown-toggled', this.handleDropdownToggle);
|
|
4979
4996
|
|
|
4980
4997
|
/**
|
|
4981
4998
|
* @description Let subscribers know that the dropdown ID ha been generated and added.
|
|
@@ -7556,7 +7573,7 @@ class AuroHelpText extends i$2 {
|
|
|
7556
7573
|
|
|
7557
7574
|
var helpTextVersion = '1.0.0';
|
|
7558
7575
|
|
|
7559
|
-
var styleCss$3 = 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}[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)}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}.mainContent{position:relative;display:flex;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-
|
|
7576
|
+
var styleCss$3 = 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}[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)}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}.mainContent{position:relative;display:flex;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,:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) [auro-dropdown] label.withValue{font-size:var(--ds-text-body-size-xs);line-height:20px}:host([layout*=emphasized]) [auro-dropdown] label.withValue{font-size:var(--ds-text-body-size-xs);line-height:20px}: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;font-size:16px;font-weight:450;letter-spacing:0;line-height:24px}:host([layout*=classic]) label.withValue{font-size:12px;font-weight:450;letter-spacing:0;line-height:16px}:host([layout*=classic]) .value{height:auto;font-size:16px;font-weight:450;letter-spacing:0;line-height:24px}:host(:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-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]{--ds-auro-select-border-color: var(--ds-basic-color-status-error-subtle, #fbc6c6);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}#slotHolder{display:none}:host([disabled]){pointer-events:none;user-select:none}:host([disabled]:not([ondark])) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([layout*=classic])[disabled][ondark]) [auro-dropdown]{--ds-auro-select-border-color: transparent}`;
|
|
7560
7577
|
|
|
7561
7578
|
// Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
7562
7579
|
// See LICENSE in the project root for license information.
|
|
@@ -9724,7 +9741,7 @@ class AuroMenu extends AuroElement$4 {
|
|
|
9724
9741
|
}
|
|
9725
9742
|
}
|
|
9726
9743
|
|
|
9727
|
-
var styleCss$1 = i$5`:host{cursor:pointer;user-select:none}:host .wrapper{display:flex;align-items:center;padding-right:var(--ds-size-200, 1rem);padding-left:calc(var(--ds-size-150, 0.75rem) + var(--ds-size-
|
|
9744
|
+
var styleCss$1 = i$5`:host{cursor:pointer;user-select:none}:host .wrapper{display:flex;align-items:center;padding-right:var(--ds-size-200, 1rem);padding-left:calc(var(--ds-size-150, 0.75rem) + var(--ds-size-300, 1.5rem) + var(--ds-size-100, 0.5rem));padding-top:var(--ds-size-50, 0.25rem);padding-bottom:var(--ds-size-50, 0.25rem);-webkit-tap-highlight-color:transparent}:host .wrapper[class*=shape-box],:host .wrapper[class*=shape-snowflake]{border-radius:unset}:host .wrapper[class*=shape-pill]{border-radius:30px}:host .wrapper[class*=-lg]{font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);padding-top:var(--ds-size-75, 0.375rem);padding-bottom:var(--ds-size-75, 0.375rem);padding-right:var(--ds-size-150, 0.75rem)}:host .wrapper[class*=-lg]:not(:last-child){margin-bottom:var(--ds-size-50, 0.25rem)}:host .wrapper[class*=-xl]{font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);padding-top:var(--ds-size-100, 0.5rem);padding-bottom:var(--ds-size-100, 0.5rem);padding-right:var(--ds-size-200, 1rem)}:host .wrapper[class*=-xl]:not(:last-child){margin-bottom:var(--ds-size-100, 0.5rem)}:host slot{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-150, 0.75rem);margin-left:var(--ds-size-100, 0.5rem)}:host ::slotted(.nestingSpacer){display:inline-block;width:var(--ds-size-300, 1.5rem)}:host ::slotted(strong){font-weight:700}:host([loadingplaceholder]) .wrapper{padding-left:calc(var(--ds-size-150, 0.75rem) + var(--ds-size-300, 1.5rem) + var(--ds-size-100, 0.5rem))}:host([selected]) .wrapper{padding-left:0}:host([nocheckmark]) .wrapper{padding-left:var(--ds-size-150, 0.75rem)}:host([nocheckmark]) .wrapper[class*=-lg]{padding-left:var(--ds-size-150, 0.75rem)}:host([nocheckmark]) .wrapper[class*=-xl]{padding-left:var(--ds-size-200, 1rem)}:host([hidden]){display:none}:host([static]){pointer-events:none}:host([disabled]:hover){cursor:auto}:host([disabled]){user-select:none;pointer-events:none}`;
|
|
9728
9745
|
|
|
9729
9746
|
var colorCss$1 = i$5`:host .wrapper{border:1px solid var(--ds-auro-menuoption-container-border-color);background-color:var(--ds-auro-menuoption-container-color);color:var(--ds-auro-menuoption-text-color)}:host svg{fill:var(--ds-auro-menuoption-icon-color)}:host([disabled]){--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:hover),:host(.active){--ds-auro-menuoption-container-color: var(--ds-basic-color-surface-neutral-subtle, #f7f7f7)}:host([selected]){--ds-auro-menuoption-container-color: var(--ds-advanced-color-state-selected, #01426a);--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-menuoption-icon-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([selected]):host(:hover),:host([selected]):host(.active){--ds-auro-menuoption-container-color: var(--ds-advanced-color-state-selected-hover, #00274a)}`;
|
|
9730
9747
|
|
|
@@ -2687,7 +2687,7 @@ class AuroFloatingUI {
|
|
|
2687
2687
|
*/
|
|
2688
2688
|
mirrorSize() {
|
|
2689
2689
|
// mirror the boxsize from bibSizer
|
|
2690
|
-
if (this.element.bibSizer) {
|
|
2690
|
+
if (this.element.bibSizer && this.element.matchWidth) {
|
|
2691
2691
|
const sizerStyle = window.getComputedStyle(this.element.bibSizer);
|
|
2692
2692
|
const bibContent = this.element.bib.shadowRoot.querySelector(".container");
|
|
2693
2693
|
if (sizerStyle.width !== '0px') {
|
|
@@ -2899,13 +2899,13 @@ class AuroFloatingUI {
|
|
|
2899
2899
|
if (this.element.contains(activeElement) || this.element.bib?.contains(activeElement)) {
|
|
2900
2900
|
return;
|
|
2901
2901
|
}
|
|
2902
|
-
|
|
2902
|
+
|
|
2903
2903
|
// if fullscreen bib is in fullscreen mode, do not close
|
|
2904
2904
|
if (this.element.bib.hasAttribute('isfullscreen')) {
|
|
2905
2905
|
return;
|
|
2906
2906
|
}
|
|
2907
2907
|
|
|
2908
|
-
this.hideBib();
|
|
2908
|
+
this.hideBib("keydown");
|
|
2909
2909
|
}
|
|
2910
2910
|
|
|
2911
2911
|
setupHideHandlers() {
|
|
@@ -2930,7 +2930,7 @@ class AuroFloatingUI {
|
|
|
2930
2930
|
document.expandedAuroFormkitDropdown = null;
|
|
2931
2931
|
document.expandedAuroFloater = this;
|
|
2932
2932
|
} else {
|
|
2933
|
-
this.hideBib();
|
|
2933
|
+
this.hideBib("click");
|
|
2934
2934
|
}
|
|
2935
2935
|
}
|
|
2936
2936
|
};
|
|
@@ -2943,7 +2943,7 @@ class AuroFloatingUI {
|
|
|
2943
2943
|
// if something else is open, let it handle itself
|
|
2944
2944
|
return;
|
|
2945
2945
|
}
|
|
2946
|
-
this.hideBib();
|
|
2946
|
+
this.hideBib("keydown");
|
|
2947
2947
|
}
|
|
2948
2948
|
};
|
|
2949
2949
|
|
|
@@ -3026,7 +3026,11 @@ class AuroFloatingUI {
|
|
|
3026
3026
|
}
|
|
3027
3027
|
}
|
|
3028
3028
|
|
|
3029
|
-
|
|
3029
|
+
/**
|
|
3030
|
+
* Hides the floating UI element.
|
|
3031
|
+
* @param {String} eventType - The event type that triggered the hiding action.
|
|
3032
|
+
*/
|
|
3033
|
+
hideBib(eventType = "unknown") {
|
|
3030
3034
|
if (!this.element.disabled && !this.element.noToggle) {
|
|
3031
3035
|
this.lockScroll(false);
|
|
3032
3036
|
this.element.triggerChevron?.removeAttribute('data-expanded');
|
|
@@ -3037,7 +3041,7 @@ class AuroFloatingUI {
|
|
|
3037
3041
|
if (this.showing) {
|
|
3038
3042
|
this.cleanupHideHandlers();
|
|
3039
3043
|
this.showing = false;
|
|
3040
|
-
this.dispatchEventDropdownToggle();
|
|
3044
|
+
this.dispatchEventDropdownToggle(eventType);
|
|
3041
3045
|
}
|
|
3042
3046
|
}
|
|
3043
3047
|
document.expandedAuroFloater = null;
|
|
@@ -3046,11 +3050,13 @@ class AuroFloatingUI {
|
|
|
3046
3050
|
/**
|
|
3047
3051
|
* @private
|
|
3048
3052
|
* @returns {void} Dispatches event with an object showing the state of the dropdown.
|
|
3053
|
+
* @param {String} eventType - The event type that triggered the toggle action.
|
|
3049
3054
|
*/
|
|
3050
|
-
dispatchEventDropdownToggle() {
|
|
3055
|
+
dispatchEventDropdownToggle(eventType) {
|
|
3051
3056
|
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-toggled` : 'toggled', {
|
|
3052
3057
|
detail: {
|
|
3053
3058
|
expanded: this.showing,
|
|
3059
|
+
eventType: eventType || "unknown",
|
|
3054
3060
|
},
|
|
3055
3061
|
composed: true
|
|
3056
3062
|
});
|
|
@@ -3060,7 +3066,7 @@ class AuroFloatingUI {
|
|
|
3060
3066
|
|
|
3061
3067
|
handleClick() {
|
|
3062
3068
|
if (this.element.isPopoverVisible) {
|
|
3063
|
-
this.hideBib();
|
|
3069
|
+
this.hideBib("click");
|
|
3064
3070
|
} else {
|
|
3065
3071
|
this.showBib();
|
|
3066
3072
|
}
|
|
@@ -3087,7 +3093,7 @@ class AuroFloatingUI {
|
|
|
3087
3093
|
|
|
3088
3094
|
event.preventDefault();
|
|
3089
3095
|
this.handleClick();
|
|
3090
|
-
}
|
|
3096
|
+
}
|
|
3091
3097
|
break;
|
|
3092
3098
|
case 'mouseenter':
|
|
3093
3099
|
if (this.element.hoverToggle) {
|
|
@@ -3096,7 +3102,7 @@ class AuroFloatingUI {
|
|
|
3096
3102
|
break;
|
|
3097
3103
|
case 'mouseleave':
|
|
3098
3104
|
if (this.element.hoverToggle) {
|
|
3099
|
-
this.hideBib();
|
|
3105
|
+
this.hideBib("mouseleave");
|
|
3100
3106
|
}
|
|
3101
3107
|
break;
|
|
3102
3108
|
case 'focus':
|
|
@@ -4484,6 +4490,9 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
4484
4490
|
|
|
4485
4491
|
this.parentBorder = false;
|
|
4486
4492
|
|
|
4493
|
+
/** @private */
|
|
4494
|
+
this.handleDropdownToggle = this.handleDropdownToggle.bind(this);
|
|
4495
|
+
|
|
4487
4496
|
this.privateDefaults();
|
|
4488
4497
|
}
|
|
4489
4498
|
|
|
@@ -4917,12 +4926,19 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
4917
4926
|
if (changedProperties.size === 0 || changedProperties.has('isPopoverVisible')) {
|
|
4918
4927
|
this.handleTriggerContentSlotChange();
|
|
4919
4928
|
}
|
|
4929
|
+
}
|
|
4920
4930
|
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4931
|
+
/**
|
|
4932
|
+
* Handles the custom event `auroDropdown-toggled` to update the visibility of the dropdown bib.
|
|
4933
|
+
* @private
|
|
4934
|
+
* @param {CustomEvent} event - The custom event that contains the dropdown toggle information.
|
|
4935
|
+
*/
|
|
4936
|
+
handleDropdownToggle(event) {
|
|
4937
|
+
this.updateFocusTrap();
|
|
4938
|
+
this.isPopoverVisible = event.detail.expanded;
|
|
4939
|
+
const eventType = event.detail.eventType || "unknown";
|
|
4940
|
+
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown") {
|
|
4941
|
+
this.trigger.focus();
|
|
4926
4942
|
}
|
|
4927
4943
|
}
|
|
4928
4944
|
|
|
@@ -4930,6 +4946,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
4930
4946
|
|
|
4931
4947
|
// Configure the floater to, this will generate the ID for the bib
|
|
4932
4948
|
this.floater.configure(this, 'auroDropdown');
|
|
4949
|
+
this.addEventListener('auroDropdown-toggled', this.handleDropdownToggle);
|
|
4933
4950
|
|
|
4934
4951
|
/**
|
|
4935
4952
|
* @description Let subscribers know that the dropdown ID ha been generated and added.
|
|
@@ -7510,7 +7527,7 @@ class AuroHelpText extends LitElement {
|
|
|
7510
7527
|
|
|
7511
7528
|
var helpTextVersion = '1.0.0';
|
|
7512
7529
|
|
|
7513
|
-
var styleCss = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}[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)}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}.mainContent{position:relative;display:flex;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-
|
|
7530
|
+
var styleCss = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}[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)}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}.mainContent{position:relative;display:flex;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,:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) [auro-dropdown] label.withValue{font-size:var(--ds-text-body-size-xs);line-height:20px}:host([layout*=emphasized]) [auro-dropdown] label.withValue{font-size:var(--ds-text-body-size-xs);line-height:20px}: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;font-size:16px;font-weight:450;letter-spacing:0;line-height:24px}:host([layout*=classic]) label.withValue{font-size:12px;font-weight:450;letter-spacing:0;line-height:16px}:host([layout*=classic]) .value{height:auto;font-size:16px;font-weight:450;letter-spacing:0;line-height:24px}:host(:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-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]{--ds-auro-select-border-color: var(--ds-basic-color-status-error-subtle, #fbc6c6);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}#slotHolder{display:none}:host([disabled]){pointer-events:none;user-select:none}:host([disabled]:not([ondark])) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([layout*=classic])[disabled][ondark]) [auro-dropdown]{--ds-auro-select-border-color: transparent}`;
|
|
7514
7531
|
|
|
7515
7532
|
// Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
7516
7533
|
// See LICENSE in the project root for license information.
|