@aurodesignsystem-dev/auro-formkit 0.0.0-pr1430.0 → 0.0.0-pr1431.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/checkbox/demo/api.min.js +3 -3
- package/components/checkbox/demo/index.min.js +3 -3
- package/components/checkbox/dist/index.js +3 -3
- package/components/checkbox/dist/registered.js +3 -3
- package/components/combobox/demo/api.html +1 -0
- package/components/combobox/demo/api.js +3 -1
- package/components/combobox/demo/api.md +75 -0
- package/components/combobox/demo/api.min.js +34 -124
- package/components/combobox/demo/index.min.js +21 -123
- package/components/combobox/dist/comboboxKeyboardStrategy.d.ts +1 -1
- package/components/combobox/dist/index.js +21 -123
- package/components/combobox/dist/registered.js +21 -123
- package/components/counter/demo/api.html +3 -0
- package/components/counter/demo/api.js +4 -0
- package/components/counter/demo/api.md +130 -0
- package/components/counter/demo/api.min.js +63 -132
- package/components/counter/demo/index.min.js +43 -132
- package/components/counter/dist/counterGroupKeyboardStrategy.d.ts +3 -0
- package/components/counter/dist/index.js +43 -132
- package/components/counter/dist/registered.js +43 -132
- package/components/datepicker/demo/api.html +1 -0
- package/components/datepicker/demo/api.js +2 -0
- package/components/datepicker/demo/api.md +57 -0
- package/components/datepicker/demo/api.min.js +106 -123
- package/components/datepicker/demo/index.min.js +94 -123
- package/components/datepicker/dist/datepickerKeyboardStrategy.d.ts +3 -1
- package/components/datepicker/dist/index.js +94 -123
- package/components/datepicker/dist/registered.js +94 -123
- package/components/dropdown/demo/api.html +1 -0
- package/components/dropdown/demo/api.js +2 -0
- package/components/dropdown/demo/api.md +95 -0
- package/components/dropdown/demo/api.min.js +25 -116
- package/components/dropdown/demo/index.min.js +5 -116
- package/components/dropdown/dist/index.js +5 -116
- package/components/dropdown/dist/registered.js +5 -116
- package/components/form/demo/api.min.js +220 -547
- package/components/form/demo/index.min.js +220 -547
- package/components/input/demo/api.min.js +1 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/radio/demo/api.min.js +2 -2
- package/components/radio/demo/index.min.js +2 -2
- package/components/radio/dist/index.js +2 -2
- package/components/radio/dist/registered.js +2 -2
- package/components/select/demo/api.html +1 -0
- package/components/select/demo/api.js +2 -0
- package/components/select/demo/api.md +76 -0
- package/components/select/demo/api.min.js +35 -129
- package/components/select/demo/index.min.js +22 -129
- package/components/select/dist/index.js +18 -125
- package/components/select/dist/registered.js +18 -125
- package/custom-elements.json +1451 -1427
- package/package.json +3 -2
|
@@ -142,7 +142,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
142
142
|
}
|
|
143
143
|
};
|
|
144
144
|
|
|
145
|
-
// Copyright (c) 2026 Alaska Airlines. All
|
|
145
|
+
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
146
146
|
// See LICENSE in the project root for license information.
|
|
147
147
|
|
|
148
148
|
|
|
@@ -1687,9 +1687,9 @@ class AuroHelpText extends i$2 {
|
|
|
1687
1687
|
}
|
|
1688
1688
|
}
|
|
1689
1689
|
|
|
1690
|
-
var formkitVersion = '
|
|
1690
|
+
var formkitVersion = '202604091424';
|
|
1691
1691
|
|
|
1692
|
-
// Copyright (c) 2026 Alaska Airlines. All
|
|
1692
|
+
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1693
1693
|
// See LICENSE in the project root for license information.
|
|
1694
1694
|
|
|
1695
1695
|
|
|
@@ -134,7 +134,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
134
134
|
}
|
|
135
135
|
};
|
|
136
136
|
|
|
137
|
-
// Copyright (c) 2026 Alaska Airlines. All
|
|
137
|
+
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
138
138
|
// See LICENSE in the project root for license information.
|
|
139
139
|
|
|
140
140
|
|
|
@@ -1679,9 +1679,9 @@ class AuroHelpText extends i$2 {
|
|
|
1679
1679
|
}
|
|
1680
1680
|
}
|
|
1681
1681
|
|
|
1682
|
-
var formkitVersion = '
|
|
1682
|
+
var formkitVersion = '202604091424';
|
|
1683
1683
|
|
|
1684
|
-
// Copyright (c) 2026 Alaska Airlines. All
|
|
1684
|
+
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1685
1685
|
// See LICENSE in the project root for license information.
|
|
1686
1686
|
|
|
1687
1687
|
|
|
@@ -94,7 +94,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
94
94
|
}
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
// Copyright (c) 2026 Alaska Airlines. All
|
|
97
|
+
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
98
98
|
// See LICENSE in the project root for license information.
|
|
99
99
|
|
|
100
100
|
|
|
@@ -1632,9 +1632,9 @@ class AuroHelpText extends LitElement {
|
|
|
1632
1632
|
}
|
|
1633
1633
|
}
|
|
1634
1634
|
|
|
1635
|
-
var formkitVersion = '
|
|
1635
|
+
var formkitVersion = '202604091424';
|
|
1636
1636
|
|
|
1637
|
-
// Copyright (c) 2026 Alaska Airlines. All
|
|
1637
|
+
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1638
1638
|
// See LICENSE in the project root for license information.
|
|
1639
1639
|
|
|
1640
1640
|
|
|
@@ -94,7 +94,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
94
94
|
}
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
// Copyright (c) 2026 Alaska Airlines. All
|
|
97
|
+
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
98
98
|
// See LICENSE in the project root for license information.
|
|
99
99
|
|
|
100
100
|
|
|
@@ -1632,9 +1632,9 @@ class AuroHelpText extends LitElement {
|
|
|
1632
1632
|
}
|
|
1633
1633
|
}
|
|
1634
1634
|
|
|
1635
|
-
var formkitVersion = '
|
|
1635
|
+
var formkitVersion = '202604091424';
|
|
1636
1636
|
|
|
1637
|
-
// Copyright (c) 2026 Alaska Airlines. All
|
|
1637
|
+
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1638
1638
|
// See LICENSE in the project root for license information.
|
|
1639
1639
|
|
|
1640
1640
|
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-button@latest/+esm" type="module"></script>
|
|
55
55
|
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-icon@latest/+esm" type="module"></script>
|
|
56
56
|
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-dialog@latest/+esm" type="module"></script>
|
|
57
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-drawer@latest/+esm" type="module"></script>
|
|
57
58
|
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-loader@latest/+esm" type="module"></script>
|
|
58
59
|
|
|
59
60
|
<script type="module" data-demo-script="true">
|
|
@@ -5,6 +5,7 @@ import { resetStateExample } from '../apiExamples/reset-state';
|
|
|
5
5
|
import { setupExternalSelectionExample } from '../apiExamples/external-selection';
|
|
6
6
|
import { valueExample } from '../apiExamples/value';
|
|
7
7
|
import { inDialogExample } from '../apiExamples/in-dialog';
|
|
8
|
+
import { inDrawerExample } from '../apiExamples/in-drawer';
|
|
8
9
|
import { persistentExample } from '../apiExamples/persistent';
|
|
9
10
|
import { swapValueExample } from '../apiExamples/swap-value';
|
|
10
11
|
|
|
@@ -22,7 +23,8 @@ export function initExamples(initCount) {
|
|
|
22
23
|
resetStateExample();
|
|
23
24
|
setupExternalSelectionExample();
|
|
24
25
|
valueExample();
|
|
25
|
-
inDialogExample();
|
|
26
|
+
inDialogExample();
|
|
27
|
+
inDrawerExample();
|
|
26
28
|
persistentExample();
|
|
27
29
|
swapValueExample();
|
|
28
30
|
} catch (err) {
|
|
@@ -2097,6 +2097,81 @@ export function inDialogExample() {
|
|
|
2097
2097
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
2098
2098
|
</auro-accordion>
|
|
2099
2099
|
|
|
2100
|
+
### In Drawer
|
|
2101
|
+
|
|
2102
|
+
Example use of component within an `auro-drawer`.
|
|
2103
|
+
|
|
2104
|
+
<div class="exampleWrapper">
|
|
2105
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/in-drawer.html) -->
|
|
2106
|
+
<!-- The below content is automatically added from ./../apiExamples/in-drawer.html -->
|
|
2107
|
+
<div>
|
|
2108
|
+
<auro-button id="combobox-drawer-opener">Combobox in Drawer</auro-button>
|
|
2109
|
+
<auro-drawer id="combobox-drawer">
|
|
2110
|
+
<span slot="header">Combobox in Drawer</span>
|
|
2111
|
+
<div slot="content">
|
|
2112
|
+
<auro-combobox>
|
|
2113
|
+
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
2114
|
+
<span slot="label">Name</span>
|
|
2115
|
+
<auro-menu>
|
|
2116
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
2117
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
2118
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
2119
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
2120
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
2121
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
2122
|
+
</auro-menu>
|
|
2123
|
+
</auro-combobox>
|
|
2124
|
+
</div>
|
|
2125
|
+
</auro-drawer>
|
|
2126
|
+
</div>
|
|
2127
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
2128
|
+
</div>
|
|
2129
|
+
<auro-accordion alignRight>
|
|
2130
|
+
<span slot="trigger">See code</span>
|
|
2131
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/in-drawer.html) -->
|
|
2132
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/in-drawer.html -->
|
|
2133
|
+
|
|
2134
|
+
```html
|
|
2135
|
+
<div>
|
|
2136
|
+
<auro-button id="combobox-drawer-opener">Combobox in Drawer</auro-button>
|
|
2137
|
+
<auro-drawer id="combobox-drawer">
|
|
2138
|
+
<span slot="header">Combobox in Drawer</span>
|
|
2139
|
+
<div slot="content">
|
|
2140
|
+
<auro-combobox>
|
|
2141
|
+
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
2142
|
+
<span slot="label">Name</span>
|
|
2143
|
+
<auro-menu>
|
|
2144
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
2145
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
2146
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
2147
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
2148
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
2149
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
2150
|
+
</auro-menu>
|
|
2151
|
+
</auro-combobox>
|
|
2152
|
+
</div>
|
|
2153
|
+
</auro-drawer>
|
|
2154
|
+
</div>
|
|
2155
|
+
```
|
|
2156
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
2157
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/in-drawer.js) -->
|
|
2158
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/in-drawer.js -->
|
|
2159
|
+
|
|
2160
|
+
```js
|
|
2161
|
+
export function inDrawerExample() {
|
|
2162
|
+
document.querySelector("#combobox-drawer-opener").addEventListener("click", () => {
|
|
2163
|
+
const drawer = document.querySelector("#combobox-drawer");
|
|
2164
|
+
if (drawer.hasAttribute('open')) {
|
|
2165
|
+
drawer.removeAttribute('open');
|
|
2166
|
+
} else {
|
|
2167
|
+
drawer.setAttribute('open', true);
|
|
2168
|
+
}
|
|
2169
|
+
});
|
|
2170
|
+
};
|
|
2171
|
+
```
|
|
2172
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
2173
|
+
</auro-accordion>
|
|
2174
|
+
|
|
2100
2175
|
### Persistent Menu Option with a Custom Event
|
|
2101
2176
|
|
|
2102
2177
|
This example demonstrates a static menu option that will always appears regardless of the suggestion filtering performed. In this example "Add new address" will always be a displayed menu option.
|
|
@@ -52,6 +52,17 @@ function inDialogExample() {
|
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
function inDrawerExample() {
|
|
56
|
+
document.querySelector("#combobox-drawer-opener").addEventListener("click", () => {
|
|
57
|
+
const drawer = document.querySelector("#combobox-drawer");
|
|
58
|
+
if (drawer.hasAttribute('open')) {
|
|
59
|
+
drawer.removeAttribute('open');
|
|
60
|
+
} else {
|
|
61
|
+
drawer.setAttribute('open', true);
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
|
|
55
66
|
function persistentExample() {
|
|
56
67
|
const persistentExample = document.querySelector('#persistent');
|
|
57
68
|
|
|
@@ -1421,10 +1432,19 @@ const comboboxKeyboardStrategy = {
|
|
|
1421
1432
|
}
|
|
1422
1433
|
},
|
|
1423
1434
|
|
|
1424
|
-
Escape(component,
|
|
1425
|
-
if (ctx.isExpanded
|
|
1435
|
+
Escape(component, evt, ctx) {
|
|
1436
|
+
if (!ctx.isExpanded) {
|
|
1437
|
+
return;
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1440
|
+
// Prevent the Escape key from bubbling up and closing any parent dialogs / drawers / popups
|
|
1441
|
+
evt.stopPropagation();
|
|
1442
|
+
|
|
1443
|
+
if (ctx.isModal) {
|
|
1426
1444
|
component.setTriggerInputFocus();
|
|
1427
1445
|
}
|
|
1446
|
+
|
|
1447
|
+
component.hideBib();
|
|
1428
1448
|
},
|
|
1429
1449
|
|
|
1430
1450
|
Home(component, evt, ctx) {
|
|
@@ -1485,7 +1505,7 @@ const comboboxKeyboardStrategy = {
|
|
|
1485
1505
|
|
|
1486
1506
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
1487
1507
|
|
|
1488
|
-
let AuroLibraryRuntimeUtils$2
|
|
1508
|
+
let AuroLibraryRuntimeUtils$1$2 = class AuroLibraryRuntimeUtils {
|
|
1489
1509
|
|
|
1490
1510
|
/* eslint-disable jsdoc/require-param */
|
|
1491
1511
|
|
|
@@ -3274,7 +3294,6 @@ class AuroFloatingUI {
|
|
|
3274
3294
|
this.focusHandler = null;
|
|
3275
3295
|
this.clickHandler = null;
|
|
3276
3296
|
this.keyDownHandler = null;
|
|
3277
|
-
this.touchHandler = null;
|
|
3278
3297
|
|
|
3279
3298
|
/**
|
|
3280
3299
|
* @private
|
|
@@ -3692,28 +3711,6 @@ class AuroFloatingUI {
|
|
|
3692
3711
|
setTimeout(() => {
|
|
3693
3712
|
window.addEventListener("click", this.clickHandler);
|
|
3694
3713
|
}, 0);
|
|
3695
|
-
|
|
3696
|
-
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
3697
|
-
// tapping an inert backdrop never reaches the click handler above.
|
|
3698
|
-
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
3699
|
-
this.touchHandler = (evt) => {
|
|
3700
|
-
const element = this.element;
|
|
3701
|
-
if (!element?.bib) {
|
|
3702
|
-
return;
|
|
3703
|
-
}
|
|
3704
|
-
|
|
3705
|
-
// fullscreen (modal) dialog handles its own dismissal
|
|
3706
|
-
if (element.bib.hasAttribute("isfullscreen")) {
|
|
3707
|
-
return;
|
|
3708
|
-
}
|
|
3709
|
-
|
|
3710
|
-
const path = evt.composedPath();
|
|
3711
|
-
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
3712
|
-
this.hideBib("click");
|
|
3713
|
-
}
|
|
3714
|
-
};
|
|
3715
|
-
|
|
3716
|
-
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
3717
3714
|
}
|
|
3718
3715
|
|
|
3719
3716
|
cleanupHideHandlers() {
|
|
@@ -3729,11 +3726,6 @@ class AuroFloatingUI {
|
|
|
3729
3726
|
this.clickHandler = null;
|
|
3730
3727
|
}
|
|
3731
3728
|
|
|
3732
|
-
if (this.touchHandler) {
|
|
3733
|
-
window.removeEventListener("touchstart", this.touchHandler);
|
|
3734
|
-
this.touchHandler = null;
|
|
3735
|
-
}
|
|
3736
|
-
|
|
3737
3729
|
if (this.keyDownHandler) {
|
|
3738
3730
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
3739
3731
|
this.keyDownHandler = null;
|
|
@@ -4526,89 +4518,6 @@ let p$4 = class p{registerComponent(t,a){customElements.get(t)||customElements.d
|
|
|
4526
4518
|
|
|
4527
4519
|
var iconVersion$3 = '9.1.2';
|
|
4528
4520
|
|
|
4529
|
-
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
4530
|
-
// See LICENSE in the project root for license information.
|
|
4531
|
-
|
|
4532
|
-
// ---------------------------------------------------------------------
|
|
4533
|
-
|
|
4534
|
-
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
4535
|
-
|
|
4536
|
-
let AuroLibraryRuntimeUtils$1$2 = class AuroLibraryRuntimeUtils {
|
|
4537
|
-
|
|
4538
|
-
/* eslint-disable jsdoc/require-param */
|
|
4539
|
-
|
|
4540
|
-
/**
|
|
4541
|
-
* This will register a new custom element with the browser.
|
|
4542
|
-
* @param {String} name - The name of the custom element.
|
|
4543
|
-
* @param {Object} componentClass - The class to register as a custom element.
|
|
4544
|
-
* @returns {void}
|
|
4545
|
-
*/
|
|
4546
|
-
registerComponent(name, componentClass) {
|
|
4547
|
-
if (!customElements.get(name)) {
|
|
4548
|
-
customElements.define(name, class extends componentClass {});
|
|
4549
|
-
}
|
|
4550
|
-
}
|
|
4551
|
-
|
|
4552
|
-
/**
|
|
4553
|
-
* Finds and returns the closest HTML Element based on a selector.
|
|
4554
|
-
* @returns {void}
|
|
4555
|
-
*/
|
|
4556
|
-
closestElement(
|
|
4557
|
-
selector, // selector like in .closest()
|
|
4558
|
-
base = this, // extra functionality to skip a parent
|
|
4559
|
-
__Closest = (el, found = el && el.closest(selector)) =>
|
|
4560
|
-
!el || el === document || el === window
|
|
4561
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
4562
|
-
: found
|
|
4563
|
-
? found // found a selector INside this element
|
|
4564
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
4565
|
-
) {
|
|
4566
|
-
return __Closest(base);
|
|
4567
|
-
}
|
|
4568
|
-
/* eslint-enable jsdoc/require-param */
|
|
4569
|
-
|
|
4570
|
-
/**
|
|
4571
|
-
* If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
|
|
4572
|
-
* @param {Object} elem - The element to check.
|
|
4573
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
4574
|
-
* @returns {void}
|
|
4575
|
-
*/
|
|
4576
|
-
handleComponentTagRename(elem, tagName) {
|
|
4577
|
-
const tag = tagName.toLowerCase();
|
|
4578
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
4579
|
-
|
|
4580
|
-
if (elemTag !== tag) {
|
|
4581
|
-
elem.setAttribute(tag, true);
|
|
4582
|
-
}
|
|
4583
|
-
}
|
|
4584
|
-
|
|
4585
|
-
/**
|
|
4586
|
-
* Validates if an element is a specific Auro component.
|
|
4587
|
-
* @param {Object} elem - The element to validate.
|
|
4588
|
-
* @param {String} tagName - The name of the Auro component to check against.
|
|
4589
|
-
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
4590
|
-
*/
|
|
4591
|
-
elementMatch(elem, tagName) {
|
|
4592
|
-
const tag = tagName.toLowerCase();
|
|
4593
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
4594
|
-
|
|
4595
|
-
return elemTag === tag || elem.hasAttribute(tag);
|
|
4596
|
-
}
|
|
4597
|
-
|
|
4598
|
-
/**
|
|
4599
|
-
* Gets the text content of a named slot.
|
|
4600
|
-
* @returns {String}
|
|
4601
|
-
* @private
|
|
4602
|
-
*/
|
|
4603
|
-
getSlotText(elem, name) {
|
|
4604
|
-
const slot = elem.shadowRoot?.querySelector(`slot[name="${name}"]`);
|
|
4605
|
-
const nodes = slot?.assignedNodes({ flatten: true }) || [];
|
|
4606
|
-
const text = nodes.map(n => n.textContent?.trim()).join(' ').trim();
|
|
4607
|
-
|
|
4608
|
-
return text || null;
|
|
4609
|
-
}
|
|
4610
|
-
};
|
|
4611
|
-
|
|
4612
4521
|
/**
|
|
4613
4522
|
* Computes display state once per keydown event.
|
|
4614
4523
|
* Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
|
|
@@ -5291,7 +5200,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
5291
5200
|
}
|
|
5292
5201
|
};
|
|
5293
5202
|
|
|
5294
|
-
var formkitVersion$2 = '
|
|
5203
|
+
var formkitVersion$2 = '202604091424';
|
|
5295
5204
|
|
|
5296
5205
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
5297
5206
|
static get properties() {
|
|
@@ -5397,7 +5306,7 @@ let AuroElement$2 = class AuroElement extends i$4 {
|
|
|
5397
5306
|
}
|
|
5398
5307
|
};
|
|
5399
5308
|
|
|
5400
|
-
// Copyright (c) 2026 Alaska Airlines. All
|
|
5309
|
+
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
5401
5310
|
// See LICENSE in the project root for license information.
|
|
5402
5311
|
|
|
5403
5312
|
|
|
@@ -5502,7 +5411,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5502
5411
|
/**
|
|
5503
5412
|
* @private
|
|
5504
5413
|
*/
|
|
5505
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$2
|
|
5414
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$2();
|
|
5506
5415
|
|
|
5507
5416
|
/**
|
|
5508
5417
|
* @private
|
|
@@ -5920,7 +5829,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5920
5829
|
*
|
|
5921
5830
|
*/
|
|
5922
5831
|
static register(name = "auro-dropdown") {
|
|
5923
|
-
AuroLibraryRuntimeUtils$2
|
|
5832
|
+
AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroDropdown);
|
|
5924
5833
|
}
|
|
5925
5834
|
|
|
5926
5835
|
/**
|
|
@@ -13055,7 +12964,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
13055
12964
|
}
|
|
13056
12965
|
};
|
|
13057
12966
|
|
|
13058
|
-
var formkitVersion$1 = '
|
|
12967
|
+
var formkitVersion$1 = '202604091424';
|
|
13059
12968
|
|
|
13060
12969
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13061
12970
|
// See LICENSE in the project root for license information.
|
|
@@ -14120,7 +14029,7 @@ class AuroBibtemplate extends i$4 {
|
|
|
14120
14029
|
}
|
|
14121
14030
|
}
|
|
14122
14031
|
|
|
14123
|
-
var formkitVersion = '
|
|
14032
|
+
var formkitVersion = '202604091424';
|
|
14124
14033
|
|
|
14125
14034
|
var styleCss$3 = i$7`.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}`;
|
|
14126
14035
|
|
|
@@ -14460,7 +14369,7 @@ class AuroHelpText extends i$4 {
|
|
|
14460
14369
|
}
|
|
14461
14370
|
}
|
|
14462
14371
|
|
|
14463
|
-
// Copyright (c) 2026 Alaska Airlines. All
|
|
14372
|
+
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
14464
14373
|
// See LICENSE in the project root for license information.
|
|
14465
14374
|
|
|
14466
14375
|
|
|
@@ -14983,7 +14892,7 @@ class AuroCombobox extends AuroElement {
|
|
|
14983
14892
|
* @returns {void}
|
|
14984
14893
|
*/
|
|
14985
14894
|
activateFirstEnabledAvailableOption() {
|
|
14986
|
-
const firstEnabledOptionIndex = this.availableOptions.findIndex((opt) => !opt.disabled);
|
|
14895
|
+
const firstEnabledOptionIndex = this.availableOptions.findIndex((opt) => !opt.disabled && !opt.noMatch);
|
|
14987
14896
|
this.updateActiveOption(firstEnabledOptionIndex);
|
|
14988
14897
|
}
|
|
14989
14898
|
|
|
@@ -14997,7 +14906,7 @@ class AuroCombobox extends AuroElement {
|
|
|
14997
14906
|
|
|
14998
14907
|
// Work backwards through the available options array to find the last enabled option
|
|
14999
14908
|
for (let index = this.availableOptions.length - 1; index >= 0; index -= 1) {
|
|
15000
|
-
if (!this.availableOptions[index].disabled) {
|
|
14909
|
+
if (!this.availableOptions[index].disabled && !this.availableOptions[index].noMatch) {
|
|
15001
14910
|
lastEnabledOptionIndex = index;
|
|
15002
14911
|
break;
|
|
15003
14912
|
}
|
|
@@ -18120,7 +18029,8 @@ function initExamples(initCount) {
|
|
|
18120
18029
|
resetStateExample();
|
|
18121
18030
|
setupExternalSelectionExample();
|
|
18122
18031
|
valueExample();
|
|
18123
|
-
inDialogExample();
|
|
18032
|
+
inDialogExample();
|
|
18033
|
+
inDrawerExample();
|
|
18124
18034
|
persistentExample();
|
|
18125
18035
|
swapValueExample();
|
|
18126
18036
|
} catch (err) {
|