@aurodesignsystem-dev/auro-formkit 0.0.0-pr1555.1 → 0.0.0-pr1556.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/checkbox/demo/customize.min.js +1 -1
- package/components/checkbox/demo/getting-started.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/customize.min.js +46 -172
- package/components/combobox/demo/getting-started.min.js +46 -172
- package/components/combobox/demo/index.min.js +46 -172
- package/components/combobox/dist/index.js +46 -172
- package/components/combobox/dist/registered.js +46 -172
- package/components/counter/demo/customize.min.js +7 -59
- package/components/counter/demo/index.min.js +7 -59
- package/components/counter/dist/index.js +7 -59
- package/components/counter/dist/registered.js +7 -59
- package/components/datepicker/demo/customize.min.js +21 -109
- package/components/datepicker/demo/index.min.js +21 -109
- package/components/datepicker/dist/index.js +21 -109
- package/components/datepicker/dist/registered.js +21 -109
- package/components/dropdown/demo/customize.min.js +6 -58
- package/components/dropdown/demo/getting-started.min.js +6 -58
- package/components/dropdown/demo/index.min.js +6 -58
- package/components/dropdown/dist/auro-dropdown.d.ts +1 -16
- package/components/dropdown/dist/index.js +6 -58
- package/components/dropdown/dist/registered.js +6 -58
- package/components/form/demo/customize.min.js +106 -452
- package/components/form/demo/getting-started.min.js +106 -452
- package/components/form/demo/index.min.js +106 -452
- package/components/form/demo/registerDemoDeps.min.js +94 -448
- package/components/form/dist/index.js +12 -4
- package/components/form/dist/registered.js +12 -4
- package/components/input/demo/customize.min.js +11 -47
- package/components/input/demo/getting-started.min.js +11 -47
- package/components/input/demo/index.min.js +11 -47
- package/components/input/dist/index.js +11 -47
- package/components/input/dist/registered.js +11 -47
- package/components/radio/demo/customize.min.js +1 -1
- package/components/radio/demo/getting-started.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/customize.min.js +7 -59
- package/components/select/demo/getting-started.min.js +7 -59
- package/components/select/demo/index.min.js +7 -59
- package/components/select/dist/index.js +7 -59
- package/components/select/dist/registered.js +7 -59
- package/custom-elements.json +0 -16
- package/package.json +1 -1
|
@@ -1275,7 +1275,7 @@ class AuroHelpText extends i$2 {
|
|
|
1275
1275
|
}
|
|
1276
1276
|
}
|
|
1277
1277
|
|
|
1278
|
-
var formkitVersion = '
|
|
1278
|
+
var formkitVersion = '202607152359';
|
|
1279
1279
|
|
|
1280
1280
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1281
1281
|
// See LICENSE in the project root for license information.
|
|
@@ -1275,7 +1275,7 @@ class AuroHelpText extends i$2 {
|
|
|
1275
1275
|
}
|
|
1276
1276
|
}
|
|
1277
1277
|
|
|
1278
|
-
var formkitVersion = '
|
|
1278
|
+
var formkitVersion = '202607152359';
|
|
1279
1279
|
|
|
1280
1280
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1281
1281
|
// See LICENSE in the project root for license information.
|
|
@@ -1275,7 +1275,7 @@ class AuroHelpText extends i$2 {
|
|
|
1275
1275
|
}
|
|
1276
1276
|
}
|
|
1277
1277
|
|
|
1278
|
-
var formkitVersion = '
|
|
1278
|
+
var formkitVersion = '202607152359';
|
|
1279
1279
|
|
|
1280
1280
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1281
1281
|
// See LICENSE in the project root for license information.
|
|
@@ -1228,7 +1228,7 @@ class AuroHelpText extends LitElement {
|
|
|
1228
1228
|
}
|
|
1229
1229
|
}
|
|
1230
1230
|
|
|
1231
|
-
var formkitVersion = '
|
|
1231
|
+
var formkitVersion = '202607152359';
|
|
1232
1232
|
|
|
1233
1233
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1234
1234
|
// See LICENSE in the project root for license information.
|
|
@@ -1228,7 +1228,7 @@ class AuroHelpText extends LitElement {
|
|
|
1228
1228
|
}
|
|
1229
1229
|
}
|
|
1230
1230
|
|
|
1231
|
-
var formkitVersion = '
|
|
1231
|
+
var formkitVersion = '202607152359';
|
|
1232
1232
|
|
|
1233
1233
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1234
1234
|
// See LICENSE in the project root for license information.
|
|
@@ -4971,7 +4971,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
4971
4971
|
}
|
|
4972
4972
|
};
|
|
4973
4973
|
|
|
4974
|
-
var formkitVersion$2 = '
|
|
4974
|
+
var formkitVersion$2 = '202607152359';
|
|
4975
4975
|
|
|
4976
4976
|
let AuroElement$2 = class AuroElement extends i$3 {
|
|
4977
4977
|
static get properties() {
|
|
@@ -5100,6 +5100,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5100
5100
|
static get shadowRootOptions() {
|
|
5101
5101
|
return {
|
|
5102
5102
|
...AuroElement$2.shadowRootOptions,
|
|
5103
|
+
delegatesFocus: true,
|
|
5103
5104
|
};
|
|
5104
5105
|
}
|
|
5105
5106
|
|
|
@@ -5111,15 +5112,6 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5111
5112
|
this.matchWidth = false;
|
|
5112
5113
|
this.noHideOnThisFocusLoss = false;
|
|
5113
5114
|
|
|
5114
|
-
/**
|
|
5115
|
-
* When true, the dropdown skips its generic focus restoration on close.
|
|
5116
|
-
* Set by consumers (e.g. combobox) that manage their own focus routing
|
|
5117
|
-
* via setClearBtnFocus / setInputFocus / keyboard strategy.
|
|
5118
|
-
* Separate from noHideOnThisFocusLoss (which controls auto-close behavior).
|
|
5119
|
-
* @private
|
|
5120
|
-
*/
|
|
5121
|
-
this.noFocusRestoreOnClose = false;
|
|
5122
|
-
|
|
5123
5115
|
this.errorMessage = undefined; // TODO - check with Doug if there is still more to do here
|
|
5124
5116
|
|
|
5125
5117
|
// Layout Config
|
|
@@ -5275,49 +5267,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5275
5267
|
focusables[0].focus();
|
|
5276
5268
|
}
|
|
5277
5269
|
} else {
|
|
5278
|
-
this.focusTrigger();
|
|
5279
|
-
}
|
|
5280
|
-
}
|
|
5281
|
-
|
|
5282
|
-
/**
|
|
5283
|
-
* Focus the trigger content. When the trigger wrapper itself is focusable
|
|
5284
|
-
* (has tabindex), focus it directly. Otherwise, focus the first focusable
|
|
5285
|
-
* element slotted into the trigger slot (e.g. the auro-input).
|
|
5286
|
-
* @private
|
|
5287
|
-
*/
|
|
5288
|
-
focusTrigger() {
|
|
5289
|
-
if (this.trigger.hasAttribute('tabindex')) {
|
|
5290
5270
|
this.trigger.focus();
|
|
5291
|
-
} else {
|
|
5292
|
-
// Slotted content isn't a DOM child of the trigger div, so
|
|
5293
|
-
// getFocusableElements can't find it. Query assigned nodes directly.
|
|
5294
|
-
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
5295
|
-
if (slot) {
|
|
5296
|
-
const assigned = slot.assignedElements();
|
|
5297
|
-
for (const el of assigned) {
|
|
5298
|
-
if (el.hasAttribute('disabled')) {
|
|
5299
|
-
continue; // eslint-disable-line no-continue
|
|
5300
|
-
}
|
|
5301
|
-
// Try finding a focusable descendant first (handles non-focusable
|
|
5302
|
-
// wrappers like <div> containing a <button>). If none found, try
|
|
5303
|
-
// focusing the element directly (works for custom elements like
|
|
5304
|
-
// auro-input that have delegatesFocus or a custom focus() method).
|
|
5305
|
-
const descendants = getFocusableElements(el);
|
|
5306
|
-
if (descendants.length > 0) {
|
|
5307
|
-
descendants[0].focus();
|
|
5308
|
-
return;
|
|
5309
|
-
}
|
|
5310
|
-
el.focus();
|
|
5311
|
-
if (document.activeElement === el) {
|
|
5312
|
-
return;
|
|
5313
|
-
}
|
|
5314
|
-
}
|
|
5315
|
-
}
|
|
5316
|
-
// Fallback: try DOM children (non-slotted content)
|
|
5317
|
-
const focusables = getFocusableElements(this.trigger);
|
|
5318
|
-
if (focusables.length > 0) {
|
|
5319
|
-
focusables[0].focus();
|
|
5320
|
-
}
|
|
5321
5271
|
}
|
|
5322
5272
|
}
|
|
5323
5273
|
|
|
@@ -5770,17 +5720,15 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5770
5720
|
}
|
|
5771
5721
|
|
|
5772
5722
|
const eventType = event.detail.eventType || "unknown";
|
|
5773
|
-
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown"
|
|
5774
|
-
this.
|
|
5723
|
+
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown") {
|
|
5724
|
+
this.trigger.focus();
|
|
5775
5725
|
}
|
|
5776
5726
|
|
|
5777
5727
|
|
|
5778
5728
|
// On Tab-driven close (eventType "focusloss"), let focus advance naturally
|
|
5779
5729
|
// — restoring to the trigger would trap the user on this dropdown, forcing
|
|
5780
5730
|
// an extra Tab to move on. Escape and outside-click still restore.
|
|
5781
|
-
|
|
5782
|
-
// its own focus restoration — skip the generic trigger focus to avoid races.
|
|
5783
|
-
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.noFocusRestoreOnClose) {
|
|
5731
|
+
if (!this.isPopoverVisible && eventType !== "focusloss") {
|
|
5784
5732
|
// wait til the bib gets fully closed and rendered
|
|
5785
5733
|
setTimeout(() => {
|
|
5786
5734
|
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
@@ -5792,7 +5740,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5792
5740
|
return;
|
|
5793
5741
|
}
|
|
5794
5742
|
// Restore focus to the trigger.
|
|
5795
|
-
this.
|
|
5743
|
+
this.trigger.focus();
|
|
5796
5744
|
});
|
|
5797
5745
|
}
|
|
5798
5746
|
}
|
|
@@ -16973,10 +16921,9 @@ class DomHandler {
|
|
|
16973
16921
|
class BaseInput extends AuroElement$1 {
|
|
16974
16922
|
|
|
16975
16923
|
// Delegate focus to the native <input> inside the shadow root so that
|
|
16976
|
-
//
|
|
16977
|
-
//
|
|
16978
|
-
//
|
|
16979
|
-
// attribute on the bib input (now conditional), not by delegatesFocus.
|
|
16924
|
+
// showModal()'s dialog focusing steps reach the input element.
|
|
16925
|
+
// This keeps the mobile virtual keyboard open when the fullscreen dialog
|
|
16926
|
+
// opens, because the browser sees an input-to-input focus transfer.
|
|
16980
16927
|
static get shadowRootOptions() {
|
|
16981
16928
|
return {
|
|
16982
16929
|
...AuroElement$1.shadowRootOptions,
|
|
@@ -18653,7 +18600,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
18653
18600
|
}
|
|
18654
18601
|
};
|
|
18655
18602
|
|
|
18656
|
-
var formkitVersion$1 = '
|
|
18603
|
+
var formkitVersion$1 = '202607152359';
|
|
18657
18604
|
|
|
18658
18605
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18659
18606
|
// See LICENSE in the project root for license information.
|
|
@@ -18939,50 +18886,15 @@ class AuroInput extends BaseInput {
|
|
|
18939
18886
|
* @returns {void}
|
|
18940
18887
|
*/
|
|
18941
18888
|
checkDisplayValueSlotChange() {
|
|
18942
|
-
|
|
18943
|
-
|
|
18944
|
-
|
|
18945
|
-
|
|
18946
|
-
|
|
18947
|
-
|
|
18948
|
-
// that render via shadow DOM with no text content).
|
|
18949
|
-
const lightDomNodes = Array.from(this.querySelectorAll('[slot="displayValue"]:not(slot)'));
|
|
18950
|
-
const hasContent = lightDomNodes.some((node) => (
|
|
18951
|
-
node.textContent.trim().length > 0 ||
|
|
18952
|
-
node.children.length > 0 ||
|
|
18953
|
-
node.shadowRoot !== null
|
|
18954
|
-
));
|
|
18955
|
-
if (this.hasDisplayValueContent !== hasContent) {
|
|
18956
|
-
this.hasDisplayValueContent = hasContent;
|
|
18957
|
-
this.requestUpdate();
|
|
18958
|
-
}
|
|
18959
|
-
return;
|
|
18960
|
-
}
|
|
18889
|
+
// flatten:true resolves through auro-combobox's forwarding slot
|
|
18890
|
+
// (<slot name="displayValue" slot="displayValue">) so a clone appended
|
|
18891
|
+
// directly to auro-input's light DOM alongside the forwarder still
|
|
18892
|
+
// counts as content. The prior nodes[0].tagName === 'SLOT' recursion
|
|
18893
|
+
// discarded any siblings past the forwarder.
|
|
18894
|
+
const slot = this.shadowRoot.querySelector('slot[name="displayValue"]');
|
|
18961
18895
|
const nodes = slot.assignedNodes({ flatten: true });
|
|
18962
18896
|
|
|
18963
|
-
|
|
18964
|
-
// An empty <span slot="displayValue"></span> forwarded from the
|
|
18965
|
-
// consumer should not be treated as "has content" — it causes the
|
|
18966
|
-
// displayValue wrapper to render (with hasContent class) but show
|
|
18967
|
-
// nothing, blocking the combobox's synthetic displayValue from
|
|
18968
|
-
// being visible on preset/deeplink load.
|
|
18969
|
-
// Custom elements (e.g. <auro-icon>) that render via shadow DOM are
|
|
18970
|
-
// treated as content even when they have no text or light-DOM children.
|
|
18971
|
-
const hasContent = nodes.some((node) => {
|
|
18972
|
-
if (node.nodeType === Node.TEXT_NODE) {
|
|
18973
|
-
return node.textContent.trim().length > 0;
|
|
18974
|
-
}
|
|
18975
|
-
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
18976
|
-
return node.textContent.trim().length > 0 ||
|
|
18977
|
-
node.children.length > 0 ||
|
|
18978
|
-
node.shadowRoot !== null;
|
|
18979
|
-
}
|
|
18980
|
-
return false;
|
|
18981
|
-
});
|
|
18982
|
-
if (this.hasDisplayValueContent !== hasContent) {
|
|
18983
|
-
this.hasDisplayValueContent = hasContent;
|
|
18984
|
-
this.requestUpdate();
|
|
18985
|
-
}
|
|
18897
|
+
this.hasDisplayValueContent = nodes.length > 0;
|
|
18986
18898
|
}
|
|
18987
18899
|
|
|
18988
18900
|
firstUpdated() {
|
|
@@ -19809,7 +19721,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
19809
19721
|
}
|
|
19810
19722
|
}
|
|
19811
19723
|
|
|
19812
|
-
var formkitVersion = '
|
|
19724
|
+
var formkitVersion = '202607152359';
|
|
19813
19725
|
|
|
19814
19726
|
var styleCss$3 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
19815
19727
|
|
|
@@ -20846,34 +20758,14 @@ class AuroCombobox extends AuroElement {
|
|
|
20846
20758
|
const displayValueEl = this.menu.optionSelected.querySelector("[slot='displayValue']");
|
|
20847
20759
|
if (displayValueEl) {
|
|
20848
20760
|
this.input.appendChild(displayValueEl.cloneNode(true));
|
|
20849
|
-
|
|
20850
|
-
|
|
20851
|
-
|
|
20852
|
-
|
|
20853
|
-
|
|
20854
|
-
|
|
20855
|
-
|
|
20856
|
-
|
|
20857
|
-
}
|
|
20858
|
-
} else if (this.value) {
|
|
20859
|
-
// No optionSelected yet (e.g. setMenuValue was called but the menu's
|
|
20860
|
-
// auroMenu-selectedOption event hasn't fired yet, or we're on remount
|
|
20861
|
-
// with no options loaded). Synthesize a displayValue from the value so
|
|
20862
|
-
// the overlay isn't blank.
|
|
20863
|
-
//
|
|
20864
|
-
// NOTE: This renders the raw machine value (e.g. "SEA"), not the
|
|
20865
|
-
// human-readable label (e.g. "Seattle, WA"). For consumers where
|
|
20866
|
-
// value ≠ label, this produces a brief flash of the raw value until
|
|
20867
|
-
// the option elements load and updateTriggerTextDisplay re-runs with
|
|
20868
|
-
// the correct label. This is intentionally preferred over a blank
|
|
20869
|
-
// state — the displayValueInTrigger.remove() cleanup above ensures
|
|
20870
|
-
// this placeholder is replaced once the real option is available.
|
|
20871
|
-
const syntheticDV = document.createElement('span');
|
|
20872
|
-
syntheticDV.setAttribute('slot', 'displayValue');
|
|
20873
|
-
syntheticDV.textContent = this.value;
|
|
20874
|
-
this.input.appendChild(syntheticDV);
|
|
20875
|
-
if (typeof this.input.checkDisplayValueSlotChange === 'function') {
|
|
20876
|
-
this.input.checkDisplayValueSlotChange();
|
|
20761
|
+
// auro-input's hasDisplayValueContent is non-reactive; nudge it to
|
|
20762
|
+
// re-evaluate the slot and re-render so the displayValue wrapper
|
|
20763
|
+
// gets its hasContent class. Without this, the apple/icon stays
|
|
20764
|
+
// hidden when input.value is set in the same tick as the append.
|
|
20765
|
+
if (typeof this.input.checkDisplayValueSlotChange === 'function') {
|
|
20766
|
+
this.input.checkDisplayValueSlotChange();
|
|
20767
|
+
this.input.requestUpdate();
|
|
20768
|
+
}
|
|
20877
20769
|
}
|
|
20878
20770
|
}
|
|
20879
20771
|
|
|
@@ -21046,10 +20938,6 @@ class AuroCombobox extends AuroElement {
|
|
|
21046
20938
|
// from combobox's light DOM and won't be detected by dropdown's contains() check.
|
|
21047
20939
|
this.dropdown.noHideOnThisFocusLoss = true;
|
|
21048
20940
|
|
|
21049
|
-
// Suppress the dropdown's generic focus restoration on close — the combobox
|
|
21050
|
-
// manages its own focus via setClearBtnFocus / setInputFocus / keyboard strategy.
|
|
21051
|
-
this.dropdown.noFocusRestoreOnClose = true;
|
|
21052
|
-
|
|
21053
20941
|
// Listen for the ID to be added to the dropdown so we can capture it and use it for accessibility.
|
|
21054
20942
|
this.dropdown.addEventListener('auroDropdown-idAdded', (event) => {
|
|
21055
20943
|
this.dropdownId = event.detail.id;
|
|
@@ -21123,11 +21011,7 @@ class AuroCombobox extends AuroElement {
|
|
|
21123
21011
|
// after the dropdown layout settles.
|
|
21124
21012
|
|
|
21125
21013
|
doubleRaf(() => {
|
|
21126
|
-
|
|
21127
|
-
// (e.g. user selected an option immediately after the bib opened).
|
|
21128
|
-
if (this.dropdownOpen) {
|
|
21129
|
-
this.setInputFocus();
|
|
21130
|
-
}
|
|
21014
|
+
this.setInputFocus();
|
|
21131
21015
|
if (this._inFullscreenTransition) {
|
|
21132
21016
|
this._inFullscreenTransition = false;
|
|
21133
21017
|
}
|
|
@@ -21174,9 +21058,7 @@ class AuroCombobox extends AuroElement {
|
|
|
21174
21058
|
}
|
|
21175
21059
|
|
|
21176
21060
|
this._scheduleTimer(() => {
|
|
21177
|
-
|
|
21178
|
-
this.setInputFocus();
|
|
21179
|
-
}
|
|
21061
|
+
this.setInputFocus();
|
|
21180
21062
|
}, 0);
|
|
21181
21063
|
});
|
|
21182
21064
|
}
|
|
@@ -21185,19 +21067,14 @@ class AuroCombobox extends AuroElement {
|
|
|
21185
21067
|
* @private
|
|
21186
21068
|
*/
|
|
21187
21069
|
setClearBtnFocus() {
|
|
21188
|
-
|
|
21189
|
-
|
|
21190
|
-
//
|
|
21191
|
-
//
|
|
21192
|
-
|
|
21193
|
-
this.input.focus();
|
|
21194
|
-
|
|
21195
|
-
// Now move focus to the clear button within the same shadow root.
|
|
21196
|
-
const clearBtn = this.input.shadowRoot.querySelector('.clearBtn');
|
|
21197
|
-
if (clearBtn) {
|
|
21070
|
+
const clearBtn = this.input.shadowRoot.querySelector('.clearBtn');
|
|
21071
|
+
if (clearBtn) {
|
|
21072
|
+
// Wait for the element to fully render across
|
|
21073
|
+
// multiple Lit update cycles before moving focus
|
|
21074
|
+
doubleRaf(() => {
|
|
21198
21075
|
clearBtn.focus();
|
|
21199
|
-
}
|
|
21200
|
-
}
|
|
21076
|
+
});
|
|
21077
|
+
}
|
|
21201
21078
|
}
|
|
21202
21079
|
|
|
21203
21080
|
/**
|
|
@@ -21408,9 +21285,6 @@ class AuroCombobox extends AuroElement {
|
|
|
21408
21285
|
// only — fresh user selections take the existing hideBib path.
|
|
21409
21286
|
if (isEcho && this.menu.optionSelected) {
|
|
21410
21287
|
this._programmaticFilterRefresh = true;
|
|
21411
|
-
this.updateComplete.then(() => {
|
|
21412
|
-
this._programmaticFilterRefresh = false;
|
|
21413
|
-
});
|
|
21414
21288
|
}
|
|
21415
21289
|
});
|
|
21416
21290
|
|
|
@@ -21663,6 +21537,10 @@ class AuroCombobox extends AuroElement {
|
|
|
21663
21537
|
if (this.dropdown.isBibFullscreen && this.input.value && this.input.value.length > 0 && this.dropdown.isPopoverVisible) {
|
|
21664
21538
|
this.setInputFocus();
|
|
21665
21539
|
}
|
|
21540
|
+
|
|
21541
|
+
if (this._programmaticFilterRefresh) {
|
|
21542
|
+
this._programmaticFilterRefresh = false;
|
|
21543
|
+
}
|
|
21666
21544
|
}
|
|
21667
21545
|
|
|
21668
21546
|
/**
|
|
@@ -21676,12 +21554,10 @@ class AuroCombobox extends AuroElement {
|
|
|
21676
21554
|
inputResolver: (comp, ctx) => (ctx.isModal && comp.inputInBib ? comp.inputInBib : comp.input),
|
|
21677
21555
|
});
|
|
21678
21556
|
|
|
21679
|
-
this.addEventListener('focusin', (
|
|
21557
|
+
this.addEventListener('focusin', () => {
|
|
21680
21558
|
this.touched = true;
|
|
21681
21559
|
|
|
21682
|
-
|
|
21683
|
-
this.focus();
|
|
21684
|
-
}
|
|
21560
|
+
this.focus();
|
|
21685
21561
|
});
|
|
21686
21562
|
|
|
21687
21563
|
this.addEventListener('auroFormElement-validated', (evt) => {
|
|
@@ -21861,12 +21737,6 @@ class AuroCombobox extends AuroElement {
|
|
|
21861
21737
|
// setting the flag unconditionally here masks the user-typed open path.
|
|
21862
21738
|
if (!this._userTyped) {
|
|
21863
21739
|
this._programmaticFilterRefresh = true;
|
|
21864
|
-
// Self-clear after this update cycle completes. This collapses
|
|
21865
|
-
// the previous scattered clear-points into one and prevents the
|
|
21866
|
-
// flag from surviving into the next user interaction.
|
|
21867
|
-
this.updateComplete.then(() => {
|
|
21868
|
-
this._programmaticFilterRefresh = false;
|
|
21869
|
-
});
|
|
21870
21740
|
}
|
|
21871
21741
|
|
|
21872
21742
|
if (this.input.value !== this.value) {
|
|
@@ -21956,6 +21826,10 @@ class AuroCombobox extends AuroElement {
|
|
|
21956
21826
|
} else if (!this.dropdown.isBibFullscreen) {
|
|
21957
21827
|
this.hideBib();
|
|
21958
21828
|
}
|
|
21829
|
+
|
|
21830
|
+
if (this._programmaticFilterRefresh) {
|
|
21831
|
+
this._programmaticFilterRefresh = false;
|
|
21832
|
+
}
|
|
21959
21833
|
}
|
|
21960
21834
|
|
|
21961
21835
|
if (changedProperties.has('error')) {
|
|
@@ -22137,7 +22011,7 @@ class AuroCombobox extends AuroElement {
|
|
|
22137
22011
|
<slot @slotchange="${this.handleSlotChange}"></slot>
|
|
22138
22012
|
<${this.inputTag}
|
|
22139
22013
|
id="inputInBib"
|
|
22140
|
-
|
|
22014
|
+
autofocus
|
|
22141
22015
|
@input="${this.handleInputValueChange}"
|
|
22142
22016
|
.a11yActivedescendant="${this.dropdownOpen && this.optionActive ? this.optionActive.id : undefined}"
|
|
22143
22017
|
.a11yControls=${`${this.dropdownId}-floater-bib`}
|