@aurodesignsystem-dev/auro-formkit 0.0.0-pr1554.3 → 0.0.0-pr1554.4
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 +30 -8
- package/components/combobox/demo/getting-started.min.js +30 -8
- package/components/combobox/demo/index.min.js +30 -8
- package/components/combobox/dist/index.js +30 -8
- package/components/combobox/dist/registered.js +30 -8
- package/components/counter/demo/customize.min.js +17 -5
- package/components/counter/demo/index.min.js +17 -5
- package/components/counter/dist/index.js +17 -5
- package/components/counter/dist/registered.js +17 -5
- package/components/datepicker/demo/customize.min.js +30 -8
- package/components/datepicker/demo/index.min.js +30 -8
- package/components/datepicker/dist/index.js +30 -8
- package/components/datepicker/dist/registered.js +30 -8
- package/components/dropdown/demo/customize.min.js +16 -4
- package/components/dropdown/demo/getting-started.min.js +16 -4
- package/components/dropdown/demo/index.min.js +16 -4
- package/components/dropdown/dist/index.js +16 -4
- package/components/dropdown/dist/registered.js +16 -4
- package/components/form/demo/customize.min.js +109 -31
- package/components/form/demo/getting-started.min.js +109 -31
- package/components/form/demo/index.min.js +109 -31
- package/components/form/demo/registerDemoDeps.min.js +109 -31
- package/components/input/demo/customize.min.js +13 -3
- package/components/input/demo/getting-started.min.js +13 -3
- package/components/input/demo/index.min.js +13 -3
- package/components/input/dist/index.js +13 -3
- package/components/input/dist/registered.js +13 -3
- 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 +17 -5
- package/components/select/demo/getting-started.min.js +17 -5
- package/components/select/demo/index.min.js +17 -5
- package/components/select/dist/index.js +17 -5
- package/components/select/dist/registered.js +17 -5
- 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 = '202607160557';
|
|
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 = '202607160557';
|
|
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 = '202607160557';
|
|
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 = '202607160557';
|
|
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 = '202607160557';
|
|
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 = '202607160557';
|
|
4975
4975
|
|
|
4976
4976
|
let AuroElement$2 = class AuroElement extends i$3 {
|
|
4977
4977
|
static get properties() {
|
|
@@ -5285,9 +5285,21 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5285
5285
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
5286
5286
|
if (slot) {
|
|
5287
5287
|
const assigned = slot.assignedElements();
|
|
5288
|
-
const
|
|
5289
|
-
|
|
5290
|
-
|
|
5288
|
+
for (const el of assigned) {
|
|
5289
|
+
if (el.hasAttribute('disabled')) {
|
|
5290
|
+
continue;
|
|
5291
|
+
}
|
|
5292
|
+
// Try focusing the assigned element directly (works for focusable
|
|
5293
|
+
// components like auro-input that have delegatesFocus or a custom
|
|
5294
|
+
// focus() method). If it's a non-focusable wrapper (e.g. <div>
|
|
5295
|
+
// containing a <button>), find the first focusable descendant.
|
|
5296
|
+
const focusables = getFocusableElements(el);
|
|
5297
|
+
if (focusables.length > 0) {
|
|
5298
|
+
focusables[0].focus();
|
|
5299
|
+
return;
|
|
5300
|
+
}
|
|
5301
|
+
// Element itself might be focusable (custom element with focus())
|
|
5302
|
+
el.focus();
|
|
5291
5303
|
return;
|
|
5292
5304
|
}
|
|
5293
5305
|
}
|
|
@@ -18631,7 +18643,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
18631
18643
|
}
|
|
18632
18644
|
};
|
|
18633
18645
|
|
|
18634
|
-
var formkitVersion$1 = '
|
|
18646
|
+
var formkitVersion$1 = '202607160557';
|
|
18635
18647
|
|
|
18636
18648
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18637
18649
|
// See LICENSE in the project root for license information.
|
|
@@ -18922,8 +18934,14 @@ class AuroInput extends BaseInput {
|
|
|
18922
18934
|
// Shadow slot not yet rendered — fall back to checking light-DOM
|
|
18923
18935
|
// children so hasDisplayValueContent isn't stuck false when called
|
|
18924
18936
|
// before firstUpdated (e.g. from auro-combobox during mount).
|
|
18937
|
+
// Check for any element (including custom elements like <auro-icon>
|
|
18938
|
+
// that render via shadow DOM with no text content).
|
|
18925
18939
|
const lightDomContent = this.querySelector('[slot="displayValue"]:not(slot)');
|
|
18926
|
-
this.hasDisplayValueContent = Boolean(lightDomContent &&
|
|
18940
|
+
this.hasDisplayValueContent = Boolean(lightDomContent && (
|
|
18941
|
+
lightDomContent.textContent.trim().length > 0 ||
|
|
18942
|
+
lightDomContent.children.length > 0 ||
|
|
18943
|
+
lightDomContent.shadowRoot !== null
|
|
18944
|
+
));
|
|
18927
18945
|
return;
|
|
18928
18946
|
}
|
|
18929
18947
|
const nodes = slot.assignedNodes({ flatten: true });
|
|
@@ -18934,12 +18952,16 @@ class AuroInput extends BaseInput {
|
|
|
18934
18952
|
// displayValue wrapper to render (with hasContent class) but show
|
|
18935
18953
|
// nothing, blocking the combobox's synthetic displayValue from
|
|
18936
18954
|
// being visible on preset/deeplink load.
|
|
18955
|
+
// Custom elements (e.g. <auro-icon>) that render via shadow DOM are
|
|
18956
|
+
// treated as content even when they have no text or light-DOM children.
|
|
18937
18957
|
this.hasDisplayValueContent = nodes.some((node) => {
|
|
18938
18958
|
if (node.nodeType === Node.TEXT_NODE) {
|
|
18939
18959
|
return node.textContent.trim().length > 0;
|
|
18940
18960
|
}
|
|
18941
18961
|
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
18942
|
-
return node.textContent.trim().length > 0 ||
|
|
18962
|
+
return node.textContent.trim().length > 0 ||
|
|
18963
|
+
node.children.length > 0 ||
|
|
18964
|
+
node.shadowRoot !== null;
|
|
18943
18965
|
}
|
|
18944
18966
|
return false;
|
|
18945
18967
|
});
|
|
@@ -19769,7 +19791,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
19769
19791
|
}
|
|
19770
19792
|
}
|
|
19771
19793
|
|
|
19772
|
-
var formkitVersion = '
|
|
19794
|
+
var formkitVersion = '202607160557';
|
|
19773
19795
|
|
|
19774
19796
|
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}`;
|
|
19775
19797
|
|
|
@@ -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 = '202607160557';
|
|
4975
4975
|
|
|
4976
4976
|
let AuroElement$2 = class AuroElement extends i$3 {
|
|
4977
4977
|
static get properties() {
|
|
@@ -5285,9 +5285,21 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5285
5285
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
5286
5286
|
if (slot) {
|
|
5287
5287
|
const assigned = slot.assignedElements();
|
|
5288
|
-
const
|
|
5289
|
-
|
|
5290
|
-
|
|
5288
|
+
for (const el of assigned) {
|
|
5289
|
+
if (el.hasAttribute('disabled')) {
|
|
5290
|
+
continue;
|
|
5291
|
+
}
|
|
5292
|
+
// Try focusing the assigned element directly (works for focusable
|
|
5293
|
+
// components like auro-input that have delegatesFocus or a custom
|
|
5294
|
+
// focus() method). If it's a non-focusable wrapper (e.g. <div>
|
|
5295
|
+
// containing a <button>), find the first focusable descendant.
|
|
5296
|
+
const focusables = getFocusableElements(el);
|
|
5297
|
+
if (focusables.length > 0) {
|
|
5298
|
+
focusables[0].focus();
|
|
5299
|
+
return;
|
|
5300
|
+
}
|
|
5301
|
+
// Element itself might be focusable (custom element with focus())
|
|
5302
|
+
el.focus();
|
|
5291
5303
|
return;
|
|
5292
5304
|
}
|
|
5293
5305
|
}
|
|
@@ -18631,7 +18643,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
18631
18643
|
}
|
|
18632
18644
|
};
|
|
18633
18645
|
|
|
18634
|
-
var formkitVersion$1 = '
|
|
18646
|
+
var formkitVersion$1 = '202607160557';
|
|
18635
18647
|
|
|
18636
18648
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18637
18649
|
// See LICENSE in the project root for license information.
|
|
@@ -18922,8 +18934,14 @@ class AuroInput extends BaseInput {
|
|
|
18922
18934
|
// Shadow slot not yet rendered — fall back to checking light-DOM
|
|
18923
18935
|
// children so hasDisplayValueContent isn't stuck false when called
|
|
18924
18936
|
// before firstUpdated (e.g. from auro-combobox during mount).
|
|
18937
|
+
// Check for any element (including custom elements like <auro-icon>
|
|
18938
|
+
// that render via shadow DOM with no text content).
|
|
18925
18939
|
const lightDomContent = this.querySelector('[slot="displayValue"]:not(slot)');
|
|
18926
|
-
this.hasDisplayValueContent = Boolean(lightDomContent &&
|
|
18940
|
+
this.hasDisplayValueContent = Boolean(lightDomContent && (
|
|
18941
|
+
lightDomContent.textContent.trim().length > 0 ||
|
|
18942
|
+
lightDomContent.children.length > 0 ||
|
|
18943
|
+
lightDomContent.shadowRoot !== null
|
|
18944
|
+
));
|
|
18927
18945
|
return;
|
|
18928
18946
|
}
|
|
18929
18947
|
const nodes = slot.assignedNodes({ flatten: true });
|
|
@@ -18934,12 +18952,16 @@ class AuroInput extends BaseInput {
|
|
|
18934
18952
|
// displayValue wrapper to render (with hasContent class) but show
|
|
18935
18953
|
// nothing, blocking the combobox's synthetic displayValue from
|
|
18936
18954
|
// being visible on preset/deeplink load.
|
|
18955
|
+
// Custom elements (e.g. <auro-icon>) that render via shadow DOM are
|
|
18956
|
+
// treated as content even when they have no text or light-DOM children.
|
|
18937
18957
|
this.hasDisplayValueContent = nodes.some((node) => {
|
|
18938
18958
|
if (node.nodeType === Node.TEXT_NODE) {
|
|
18939
18959
|
return node.textContent.trim().length > 0;
|
|
18940
18960
|
}
|
|
18941
18961
|
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
18942
|
-
return node.textContent.trim().length > 0 ||
|
|
18962
|
+
return node.textContent.trim().length > 0 ||
|
|
18963
|
+
node.children.length > 0 ||
|
|
18964
|
+
node.shadowRoot !== null;
|
|
18943
18965
|
}
|
|
18944
18966
|
return false;
|
|
18945
18967
|
});
|
|
@@ -19769,7 +19791,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
19769
19791
|
}
|
|
19770
19792
|
}
|
|
19771
19793
|
|
|
19772
|
-
var formkitVersion = '
|
|
19794
|
+
var formkitVersion = '202607160557';
|
|
19773
19795
|
|
|
19774
19796
|
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}`;
|
|
19775
19797
|
|
|
@@ -4986,7 +4986,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
4986
4986
|
}
|
|
4987
4987
|
};
|
|
4988
4988
|
|
|
4989
|
-
var formkitVersion$2 = '
|
|
4989
|
+
var formkitVersion$2 = '202607160557';
|
|
4990
4990
|
|
|
4991
4991
|
let AuroElement$2 = class AuroElement extends i$3 {
|
|
4992
4992
|
static get properties() {
|
|
@@ -5300,9 +5300,21 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5300
5300
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
5301
5301
|
if (slot) {
|
|
5302
5302
|
const assigned = slot.assignedElements();
|
|
5303
|
-
const
|
|
5304
|
-
|
|
5305
|
-
|
|
5303
|
+
for (const el of assigned) {
|
|
5304
|
+
if (el.hasAttribute('disabled')) {
|
|
5305
|
+
continue;
|
|
5306
|
+
}
|
|
5307
|
+
// Try focusing the assigned element directly (works for focusable
|
|
5308
|
+
// components like auro-input that have delegatesFocus or a custom
|
|
5309
|
+
// focus() method). If it's a non-focusable wrapper (e.g. <div>
|
|
5310
|
+
// containing a <button>), find the first focusable descendant.
|
|
5311
|
+
const focusables = getFocusableElements(el);
|
|
5312
|
+
if (focusables.length > 0) {
|
|
5313
|
+
focusables[0].focus();
|
|
5314
|
+
return;
|
|
5315
|
+
}
|
|
5316
|
+
// Element itself might be focusable (custom element with focus())
|
|
5317
|
+
el.focus();
|
|
5306
5318
|
return;
|
|
5307
5319
|
}
|
|
5308
5320
|
}
|
|
@@ -18646,7 +18658,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
18646
18658
|
}
|
|
18647
18659
|
};
|
|
18648
18660
|
|
|
18649
|
-
var formkitVersion$1 = '
|
|
18661
|
+
var formkitVersion$1 = '202607160557';
|
|
18650
18662
|
|
|
18651
18663
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18652
18664
|
// See LICENSE in the project root for license information.
|
|
@@ -18937,8 +18949,14 @@ class AuroInput extends BaseInput {
|
|
|
18937
18949
|
// Shadow slot not yet rendered — fall back to checking light-DOM
|
|
18938
18950
|
// children so hasDisplayValueContent isn't stuck false when called
|
|
18939
18951
|
// before firstUpdated (e.g. from auro-combobox during mount).
|
|
18952
|
+
// Check for any element (including custom elements like <auro-icon>
|
|
18953
|
+
// that render via shadow DOM with no text content).
|
|
18940
18954
|
const lightDomContent = this.querySelector('[slot="displayValue"]:not(slot)');
|
|
18941
|
-
this.hasDisplayValueContent = Boolean(lightDomContent &&
|
|
18955
|
+
this.hasDisplayValueContent = Boolean(lightDomContent && (
|
|
18956
|
+
lightDomContent.textContent.trim().length > 0 ||
|
|
18957
|
+
lightDomContent.children.length > 0 ||
|
|
18958
|
+
lightDomContent.shadowRoot !== null
|
|
18959
|
+
));
|
|
18942
18960
|
return;
|
|
18943
18961
|
}
|
|
18944
18962
|
const nodes = slot.assignedNodes({ flatten: true });
|
|
@@ -18949,12 +18967,16 @@ class AuroInput extends BaseInput {
|
|
|
18949
18967
|
// displayValue wrapper to render (with hasContent class) but show
|
|
18950
18968
|
// nothing, blocking the combobox's synthetic displayValue from
|
|
18951
18969
|
// being visible on preset/deeplink load.
|
|
18970
|
+
// Custom elements (e.g. <auro-icon>) that render via shadow DOM are
|
|
18971
|
+
// treated as content even when they have no text or light-DOM children.
|
|
18952
18972
|
this.hasDisplayValueContent = nodes.some((node) => {
|
|
18953
18973
|
if (node.nodeType === Node.TEXT_NODE) {
|
|
18954
18974
|
return node.textContent.trim().length > 0;
|
|
18955
18975
|
}
|
|
18956
18976
|
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
18957
|
-
return node.textContent.trim().length > 0 ||
|
|
18977
|
+
return node.textContent.trim().length > 0 ||
|
|
18978
|
+
node.children.length > 0 ||
|
|
18979
|
+
node.shadowRoot !== null;
|
|
18958
18980
|
}
|
|
18959
18981
|
return false;
|
|
18960
18982
|
});
|
|
@@ -19784,7 +19806,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
19784
19806
|
}
|
|
19785
19807
|
}
|
|
19786
19808
|
|
|
19787
|
-
var formkitVersion = '
|
|
19809
|
+
var formkitVersion = '202607160557';
|
|
19788
19810
|
|
|
19789
19811
|
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}`;
|
|
19790
19812
|
|
|
@@ -4904,7 +4904,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4904
4904
|
}
|
|
4905
4905
|
};
|
|
4906
4906
|
|
|
4907
|
-
var formkitVersion$2 = '
|
|
4907
|
+
var formkitVersion$2 = '202607160557';
|
|
4908
4908
|
|
|
4909
4909
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4910
4910
|
static get properties() {
|
|
@@ -5218,9 +5218,21 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5218
5218
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
5219
5219
|
if (slot) {
|
|
5220
5220
|
const assigned = slot.assignedElements();
|
|
5221
|
-
const
|
|
5222
|
-
|
|
5223
|
-
|
|
5221
|
+
for (const el of assigned) {
|
|
5222
|
+
if (el.hasAttribute('disabled')) {
|
|
5223
|
+
continue;
|
|
5224
|
+
}
|
|
5225
|
+
// Try focusing the assigned element directly (works for focusable
|
|
5226
|
+
// components like auro-input that have delegatesFocus or a custom
|
|
5227
|
+
// focus() method). If it's a non-focusable wrapper (e.g. <div>
|
|
5228
|
+
// containing a <button>), find the first focusable descendant.
|
|
5229
|
+
const focusables = getFocusableElements(el);
|
|
5230
|
+
if (focusables.length > 0) {
|
|
5231
|
+
focusables[0].focus();
|
|
5232
|
+
return;
|
|
5233
|
+
}
|
|
5234
|
+
// Element itself might be focusable (custom element with focus())
|
|
5235
|
+
el.focus();
|
|
5224
5236
|
return;
|
|
5225
5237
|
}
|
|
5226
5238
|
}
|
|
@@ -18557,7 +18569,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
18557
18569
|
}
|
|
18558
18570
|
};
|
|
18559
18571
|
|
|
18560
|
-
var formkitVersion$1 = '
|
|
18572
|
+
var formkitVersion$1 = '202607160557';
|
|
18561
18573
|
|
|
18562
18574
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18563
18575
|
// See LICENSE in the project root for license information.
|
|
@@ -18848,8 +18860,14 @@ class AuroInput extends BaseInput {
|
|
|
18848
18860
|
// Shadow slot not yet rendered — fall back to checking light-DOM
|
|
18849
18861
|
// children so hasDisplayValueContent isn't stuck false when called
|
|
18850
18862
|
// before firstUpdated (e.g. from auro-combobox during mount).
|
|
18863
|
+
// Check for any element (including custom elements like <auro-icon>
|
|
18864
|
+
// that render via shadow DOM with no text content).
|
|
18851
18865
|
const lightDomContent = this.querySelector('[slot="displayValue"]:not(slot)');
|
|
18852
|
-
this.hasDisplayValueContent = Boolean(lightDomContent &&
|
|
18866
|
+
this.hasDisplayValueContent = Boolean(lightDomContent && (
|
|
18867
|
+
lightDomContent.textContent.trim().length > 0 ||
|
|
18868
|
+
lightDomContent.children.length > 0 ||
|
|
18869
|
+
lightDomContent.shadowRoot !== null
|
|
18870
|
+
));
|
|
18853
18871
|
return;
|
|
18854
18872
|
}
|
|
18855
18873
|
const nodes = slot.assignedNodes({ flatten: true });
|
|
@@ -18860,12 +18878,16 @@ class AuroInput extends BaseInput {
|
|
|
18860
18878
|
// displayValue wrapper to render (with hasContent class) but show
|
|
18861
18879
|
// nothing, blocking the combobox's synthetic displayValue from
|
|
18862
18880
|
// being visible on preset/deeplink load.
|
|
18881
|
+
// Custom elements (e.g. <auro-icon>) that render via shadow DOM are
|
|
18882
|
+
// treated as content even when they have no text or light-DOM children.
|
|
18863
18883
|
this.hasDisplayValueContent = nodes.some((node) => {
|
|
18864
18884
|
if (node.nodeType === Node.TEXT_NODE) {
|
|
18865
18885
|
return node.textContent.trim().length > 0;
|
|
18866
18886
|
}
|
|
18867
18887
|
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
18868
|
-
return node.textContent.trim().length > 0 ||
|
|
18888
|
+
return node.textContent.trim().length > 0 ||
|
|
18889
|
+
node.children.length > 0 ||
|
|
18890
|
+
node.shadowRoot !== null;
|
|
18869
18891
|
}
|
|
18870
18892
|
return false;
|
|
18871
18893
|
});
|
|
@@ -19695,7 +19717,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
19695
19717
|
}
|
|
19696
19718
|
}
|
|
19697
19719
|
|
|
19698
|
-
var formkitVersion = '
|
|
19720
|
+
var formkitVersion = '202607160557';
|
|
19699
19721
|
|
|
19700
19722
|
var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
19701
19723
|
|
|
@@ -4904,7 +4904,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4904
4904
|
}
|
|
4905
4905
|
};
|
|
4906
4906
|
|
|
4907
|
-
var formkitVersion$2 = '
|
|
4907
|
+
var formkitVersion$2 = '202607160557';
|
|
4908
4908
|
|
|
4909
4909
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4910
4910
|
static get properties() {
|
|
@@ -5218,9 +5218,21 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5218
5218
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
5219
5219
|
if (slot) {
|
|
5220
5220
|
const assigned = slot.assignedElements();
|
|
5221
|
-
const
|
|
5222
|
-
|
|
5223
|
-
|
|
5221
|
+
for (const el of assigned) {
|
|
5222
|
+
if (el.hasAttribute('disabled')) {
|
|
5223
|
+
continue;
|
|
5224
|
+
}
|
|
5225
|
+
// Try focusing the assigned element directly (works for focusable
|
|
5226
|
+
// components like auro-input that have delegatesFocus or a custom
|
|
5227
|
+
// focus() method). If it's a non-focusable wrapper (e.g. <div>
|
|
5228
|
+
// containing a <button>), find the first focusable descendant.
|
|
5229
|
+
const focusables = getFocusableElements(el);
|
|
5230
|
+
if (focusables.length > 0) {
|
|
5231
|
+
focusables[0].focus();
|
|
5232
|
+
return;
|
|
5233
|
+
}
|
|
5234
|
+
// Element itself might be focusable (custom element with focus())
|
|
5235
|
+
el.focus();
|
|
5224
5236
|
return;
|
|
5225
5237
|
}
|
|
5226
5238
|
}
|
|
@@ -18557,7 +18569,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
18557
18569
|
}
|
|
18558
18570
|
};
|
|
18559
18571
|
|
|
18560
|
-
var formkitVersion$1 = '
|
|
18572
|
+
var formkitVersion$1 = '202607160557';
|
|
18561
18573
|
|
|
18562
18574
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18563
18575
|
// See LICENSE in the project root for license information.
|
|
@@ -18848,8 +18860,14 @@ class AuroInput extends BaseInput {
|
|
|
18848
18860
|
// Shadow slot not yet rendered — fall back to checking light-DOM
|
|
18849
18861
|
// children so hasDisplayValueContent isn't stuck false when called
|
|
18850
18862
|
// before firstUpdated (e.g. from auro-combobox during mount).
|
|
18863
|
+
// Check for any element (including custom elements like <auro-icon>
|
|
18864
|
+
// that render via shadow DOM with no text content).
|
|
18851
18865
|
const lightDomContent = this.querySelector('[slot="displayValue"]:not(slot)');
|
|
18852
|
-
this.hasDisplayValueContent = Boolean(lightDomContent &&
|
|
18866
|
+
this.hasDisplayValueContent = Boolean(lightDomContent && (
|
|
18867
|
+
lightDomContent.textContent.trim().length > 0 ||
|
|
18868
|
+
lightDomContent.children.length > 0 ||
|
|
18869
|
+
lightDomContent.shadowRoot !== null
|
|
18870
|
+
));
|
|
18853
18871
|
return;
|
|
18854
18872
|
}
|
|
18855
18873
|
const nodes = slot.assignedNodes({ flatten: true });
|
|
@@ -18860,12 +18878,16 @@ class AuroInput extends BaseInput {
|
|
|
18860
18878
|
// displayValue wrapper to render (with hasContent class) but show
|
|
18861
18879
|
// nothing, blocking the combobox's synthetic displayValue from
|
|
18862
18880
|
// being visible on preset/deeplink load.
|
|
18881
|
+
// Custom elements (e.g. <auro-icon>) that render via shadow DOM are
|
|
18882
|
+
// treated as content even when they have no text or light-DOM children.
|
|
18863
18883
|
this.hasDisplayValueContent = nodes.some((node) => {
|
|
18864
18884
|
if (node.nodeType === Node.TEXT_NODE) {
|
|
18865
18885
|
return node.textContent.trim().length > 0;
|
|
18866
18886
|
}
|
|
18867
18887
|
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
18868
|
-
return node.textContent.trim().length > 0 ||
|
|
18888
|
+
return node.textContent.trim().length > 0 ||
|
|
18889
|
+
node.children.length > 0 ||
|
|
18890
|
+
node.shadowRoot !== null;
|
|
18869
18891
|
}
|
|
18870
18892
|
return false;
|
|
18871
18893
|
});
|
|
@@ -19695,7 +19717,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
19695
19717
|
}
|
|
19696
19718
|
}
|
|
19697
19719
|
|
|
19698
|
-
var formkitVersion = '
|
|
19720
|
+
var formkitVersion = '202607160557';
|
|
19699
19721
|
|
|
19700
19722
|
var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
19701
19723
|
|
|
@@ -1114,7 +1114,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1114
1114
|
}
|
|
1115
1115
|
};
|
|
1116
1116
|
|
|
1117
|
-
var formkitVersion$1 = '
|
|
1117
|
+
var formkitVersion$1 = '202607160557';
|
|
1118
1118
|
|
|
1119
1119
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1120
1120
|
// See LICENSE in the project root for license information.
|
|
@@ -5280,7 +5280,7 @@ class AuroHelpText extends i$2 {
|
|
|
5280
5280
|
}
|
|
5281
5281
|
}
|
|
5282
5282
|
|
|
5283
|
-
var formkitVersion = '
|
|
5283
|
+
var formkitVersion = '202607160557';
|
|
5284
5284
|
|
|
5285
5285
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5286
5286
|
static get properties() {
|
|
@@ -5594,9 +5594,21 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5594
5594
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
5595
5595
|
if (slot) {
|
|
5596
5596
|
const assigned = slot.assignedElements();
|
|
5597
|
-
const
|
|
5598
|
-
|
|
5599
|
-
|
|
5597
|
+
for (const el of assigned) {
|
|
5598
|
+
if (el.hasAttribute('disabled')) {
|
|
5599
|
+
continue;
|
|
5600
|
+
}
|
|
5601
|
+
// Try focusing the assigned element directly (works for focusable
|
|
5602
|
+
// components like auro-input that have delegatesFocus or a custom
|
|
5603
|
+
// focus() method). If it's a non-focusable wrapper (e.g. <div>
|
|
5604
|
+
// containing a <button>), find the first focusable descendant.
|
|
5605
|
+
const focusables = getFocusableElements(el);
|
|
5606
|
+
if (focusables.length > 0) {
|
|
5607
|
+
focusables[0].focus();
|
|
5608
|
+
return;
|
|
5609
|
+
}
|
|
5610
|
+
// Element itself might be focusable (custom element with focus())
|
|
5611
|
+
el.focus();
|
|
5600
5612
|
return;
|
|
5601
5613
|
}
|
|
5602
5614
|
}
|
|
@@ -1114,7 +1114,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1114
1114
|
}
|
|
1115
1115
|
};
|
|
1116
1116
|
|
|
1117
|
-
var formkitVersion$1 = '
|
|
1117
|
+
var formkitVersion$1 = '202607160557';
|
|
1118
1118
|
|
|
1119
1119
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1120
1120
|
// See LICENSE in the project root for license information.
|
|
@@ -5280,7 +5280,7 @@ class AuroHelpText extends i$2 {
|
|
|
5280
5280
|
}
|
|
5281
5281
|
}
|
|
5282
5282
|
|
|
5283
|
-
var formkitVersion = '
|
|
5283
|
+
var formkitVersion = '202607160557';
|
|
5284
5284
|
|
|
5285
5285
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5286
5286
|
static get properties() {
|
|
@@ -5594,9 +5594,21 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5594
5594
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
5595
5595
|
if (slot) {
|
|
5596
5596
|
const assigned = slot.assignedElements();
|
|
5597
|
-
const
|
|
5598
|
-
|
|
5599
|
-
|
|
5597
|
+
for (const el of assigned) {
|
|
5598
|
+
if (el.hasAttribute('disabled')) {
|
|
5599
|
+
continue;
|
|
5600
|
+
}
|
|
5601
|
+
// Try focusing the assigned element directly (works for focusable
|
|
5602
|
+
// components like auro-input that have delegatesFocus or a custom
|
|
5603
|
+
// focus() method). If it's a non-focusable wrapper (e.g. <div>
|
|
5604
|
+
// containing a <button>), find the first focusable descendant.
|
|
5605
|
+
const focusables = getFocusableElements(el);
|
|
5606
|
+
if (focusables.length > 0) {
|
|
5607
|
+
focusables[0].focus();
|
|
5608
|
+
return;
|
|
5609
|
+
}
|
|
5610
|
+
// Element itself might be focusable (custom element with focus())
|
|
5611
|
+
el.focus();
|
|
5600
5612
|
return;
|
|
5601
5613
|
}
|
|
5602
5614
|
}
|
|
@@ -1064,7 +1064,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
1064
1064
|
}
|
|
1065
1065
|
};
|
|
1066
1066
|
|
|
1067
|
-
var formkitVersion$1 = '
|
|
1067
|
+
var formkitVersion$1 = '202607160557';
|
|
1068
1068
|
|
|
1069
1069
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1070
1070
|
// See LICENSE in the project root for license information.
|
|
@@ -5212,7 +5212,7 @@ class AuroHelpText extends LitElement {
|
|
|
5212
5212
|
}
|
|
5213
5213
|
}
|
|
5214
5214
|
|
|
5215
|
-
var formkitVersion = '
|
|
5215
|
+
var formkitVersion = '202607160557';
|
|
5216
5216
|
|
|
5217
5217
|
let AuroElement$1 = class AuroElement extends LitElement {
|
|
5218
5218
|
static get properties() {
|
|
@@ -5526,9 +5526,21 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5526
5526
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
5527
5527
|
if (slot) {
|
|
5528
5528
|
const assigned = slot.assignedElements();
|
|
5529
|
-
const
|
|
5530
|
-
|
|
5531
|
-
|
|
5529
|
+
for (const el of assigned) {
|
|
5530
|
+
if (el.hasAttribute('disabled')) {
|
|
5531
|
+
continue;
|
|
5532
|
+
}
|
|
5533
|
+
// Try focusing the assigned element directly (works for focusable
|
|
5534
|
+
// components like auro-input that have delegatesFocus or a custom
|
|
5535
|
+
// focus() method). If it's a non-focusable wrapper (e.g. <div>
|
|
5536
|
+
// containing a <button>), find the first focusable descendant.
|
|
5537
|
+
const focusables = getFocusableElements(el);
|
|
5538
|
+
if (focusables.length > 0) {
|
|
5539
|
+
focusables[0].focus();
|
|
5540
|
+
return;
|
|
5541
|
+
}
|
|
5542
|
+
// Element itself might be focusable (custom element with focus())
|
|
5543
|
+
el.focus();
|
|
5532
5544
|
return;
|
|
5533
5545
|
}
|
|
5534
5546
|
}
|
|
@@ -1064,7 +1064,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
1064
1064
|
}
|
|
1065
1065
|
};
|
|
1066
1066
|
|
|
1067
|
-
var formkitVersion$1 = '
|
|
1067
|
+
var formkitVersion$1 = '202607160557';
|
|
1068
1068
|
|
|
1069
1069
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1070
1070
|
// See LICENSE in the project root for license information.
|
|
@@ -5212,7 +5212,7 @@ class AuroHelpText extends LitElement {
|
|
|
5212
5212
|
}
|
|
5213
5213
|
}
|
|
5214
5214
|
|
|
5215
|
-
var formkitVersion = '
|
|
5215
|
+
var formkitVersion = '202607160557';
|
|
5216
5216
|
|
|
5217
5217
|
let AuroElement$1 = class AuroElement extends LitElement {
|
|
5218
5218
|
static get properties() {
|
|
@@ -5526,9 +5526,21 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5526
5526
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
5527
5527
|
if (slot) {
|
|
5528
5528
|
const assigned = slot.assignedElements();
|
|
5529
|
-
const
|
|
5530
|
-
|
|
5531
|
-
|
|
5529
|
+
for (const el of assigned) {
|
|
5530
|
+
if (el.hasAttribute('disabled')) {
|
|
5531
|
+
continue;
|
|
5532
|
+
}
|
|
5533
|
+
// Try focusing the assigned element directly (works for focusable
|
|
5534
|
+
// components like auro-input that have delegatesFocus or a custom
|
|
5535
|
+
// focus() method). If it's a non-focusable wrapper (e.g. <div>
|
|
5536
|
+
// containing a <button>), find the first focusable descendant.
|
|
5537
|
+
const focusables = getFocusableElements(el);
|
|
5538
|
+
if (focusables.length > 0) {
|
|
5539
|
+
focusables[0].focus();
|
|
5540
|
+
return;
|
|
5541
|
+
}
|
|
5542
|
+
// Element itself might be focusable (custom element with focus())
|
|
5543
|
+
el.focus();
|
|
5532
5544
|
return;
|
|
5533
5545
|
}
|
|
5534
5546
|
}
|