@aurodesignsystem-dev/auro-formkit 0.0.0-pr1428.1 → 0.0.0-pr1429.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.
Files changed (54) hide show
  1. package/components/checkbox/demo/api.min.js +3 -3
  2. package/components/checkbox/demo/index.min.js +3 -3
  3. package/components/checkbox/dist/index.js +3 -3
  4. package/components/checkbox/dist/registered.js +3 -3
  5. package/components/combobox/demo/api.html +1 -0
  6. package/components/combobox/demo/api.js +3 -1
  7. package/components/combobox/demo/api.md +75 -0
  8. package/components/combobox/demo/api.min.js +29 -8
  9. package/components/combobox/demo/index.min.js +16 -7
  10. package/components/combobox/dist/comboboxKeyboardStrategy.d.ts +1 -1
  11. package/components/combobox/dist/index.js +16 -7
  12. package/components/combobox/dist/registered.js +16 -7
  13. package/components/counter/demo/api.html +3 -0
  14. package/components/counter/demo/api.js +4 -0
  15. package/components/counter/demo/api.md +130 -0
  16. package/components/counter/demo/api.min.js +47 -5
  17. package/components/counter/demo/index.min.js +27 -5
  18. package/components/counter/dist/counterGroupKeyboardStrategy.d.ts +3 -0
  19. package/components/counter/dist/index.js +27 -5
  20. package/components/counter/dist/registered.js +27 -5
  21. package/components/datepicker/demo/api.html +1 -0
  22. package/components/datepicker/demo/api.js +2 -0
  23. package/components/datepicker/demo/api.md +57 -0
  24. package/components/datepicker/demo/api.min.js +103 -9
  25. package/components/datepicker/demo/index.min.js +91 -9
  26. package/components/datepicker/dist/datepickerKeyboardStrategy.d.ts +3 -1
  27. package/components/datepicker/dist/index.js +91 -9
  28. package/components/datepicker/dist/registered.js +91 -9
  29. package/components/dropdown/demo/api.html +1 -0
  30. package/components/dropdown/demo/api.js +2 -0
  31. package/components/dropdown/demo/api.md +95 -0
  32. package/components/dropdown/demo/api.min.js +22 -2
  33. package/components/dropdown/demo/index.min.js +2 -2
  34. package/components/dropdown/dist/index.js +2 -2
  35. package/components/dropdown/dist/registered.js +2 -2
  36. package/components/form/demo/api.min.js +148 -31
  37. package/components/form/demo/index.min.js +148 -31
  38. package/components/input/demo/api.min.js +1 -1
  39. package/components/input/demo/index.min.js +1 -1
  40. package/components/input/dist/index.js +1 -1
  41. package/components/input/dist/registered.js +1 -1
  42. package/components/radio/demo/api.min.js +2 -2
  43. package/components/radio/demo/index.min.js +2 -2
  44. package/components/radio/dist/index.js +2 -2
  45. package/components/radio/dist/registered.js +2 -2
  46. package/components/select/demo/api.html +1 -0
  47. package/components/select/demo/api.js +2 -0
  48. package/components/select/demo/api.md +76 -0
  49. package/components/select/demo/api.min.js +21 -4
  50. package/components/select/demo/index.min.js +8 -4
  51. package/components/select/dist/index.js +8 -4
  52. package/components/select/dist/registered.js +8 -4
  53. package/custom-elements.json +1459 -1435
  54. package/package.json +3 -1
@@ -142,7 +142,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
142
142
  }
143
143
  };
144
144
 
145
- // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
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 = '202604081450';
1690
+ var formkitVersion = '202604081945';
1691
1691
 
1692
- // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
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 right reserved. Licensed under the Apache-2.0 license
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 = '202604081450';
1682
+ var formkitVersion = '202604081945';
1683
1683
 
1684
- // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
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 right reserved. Licensed under the Apache-2.0 license
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 = '202604081450';
1635
+ var formkitVersion = '202604081945';
1636
1636
 
1637
- // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
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 right reserved. Licensed under the Apache-2.0 license
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 = '202604081450';
1635
+ var formkitVersion = '202604081945';
1636
1636
 
1637
- // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
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, _evt, ctx) {
1425
- if (ctx.isExpanded && ctx.isModal) {
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) {
@@ -5180,7 +5200,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
5180
5200
  }
5181
5201
  };
5182
5202
 
5183
- var formkitVersion$2 = '202604081450';
5203
+ var formkitVersion$2 = '202604081945';
5184
5204
 
5185
5205
  let AuroElement$2 = class AuroElement extends i$4 {
5186
5206
  static get properties() {
@@ -5286,7 +5306,7 @@ let AuroElement$2 = class AuroElement extends i$4 {
5286
5306
  }
5287
5307
  };
5288
5308
 
5289
- // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
5309
+ // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
5290
5310
  // See LICENSE in the project root for license information.
5291
5311
 
5292
5312
 
@@ -12944,7 +12964,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
12944
12964
  }
12945
12965
  };
12946
12966
 
12947
- var formkitVersion$1 = '202604081450';
12967
+ var formkitVersion$1 = '202604081945';
12948
12968
 
12949
12969
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12950
12970
  // See LICENSE in the project root for license information.
@@ -14009,7 +14029,7 @@ class AuroBibtemplate extends i$4 {
14009
14029
  }
14010
14030
  }
14011
14031
 
14012
- var formkitVersion = '202604081450';
14032
+ var formkitVersion = '202604081945';
14013
14033
 
14014
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}`;
14015
14035
 
@@ -14349,7 +14369,7 @@ class AuroHelpText extends i$4 {
14349
14369
  }
14350
14370
  }
14351
14371
 
14352
- // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
14372
+ // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
14353
14373
  // See LICENSE in the project root for license information.
14354
14374
 
14355
14375
 
@@ -18009,7 +18029,8 @@ function initExamples(initCount) {
18009
18029
  resetStateExample();
18010
18030
  setupExternalSelectionExample();
18011
18031
  valueExample();
18012
- inDialogExample();
18032
+ inDialogExample();
18033
+ inDrawerExample();
18013
18034
  persistentExample();
18014
18035
  swapValueExample();
18015
18036
  } catch (err) {
@@ -1344,10 +1344,19 @@ const comboboxKeyboardStrategy = {
1344
1344
  }
1345
1345
  },
1346
1346
 
1347
- Escape(component, _evt, ctx) {
1348
- if (ctx.isExpanded && ctx.isModal) {
1347
+ Escape(component, evt, ctx) {
1348
+ if (!ctx.isExpanded) {
1349
+ return;
1350
+ }
1351
+
1352
+ // Prevent the Escape key from bubbling up and closing any parent dialogs / drawers / popups
1353
+ evt.stopPropagation();
1354
+
1355
+ if (ctx.isModal) {
1349
1356
  component.setTriggerInputFocus();
1350
1357
  }
1358
+
1359
+ component.hideBib();
1351
1360
  },
1352
1361
 
1353
1362
  Home(component, evt, ctx) {
@@ -5103,7 +5112,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
5103
5112
  }
5104
5113
  };
5105
5114
 
5106
- var formkitVersion$2 = '202604081450';
5115
+ var formkitVersion$2 = '202604081945';
5107
5116
 
5108
5117
  let AuroElement$2 = class AuroElement extends i$4 {
5109
5118
  static get properties() {
@@ -5209,7 +5218,7 @@ let AuroElement$2 = class AuroElement extends i$4 {
5209
5218
  }
5210
5219
  };
5211
5220
 
5212
- // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
5221
+ // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
5213
5222
  // See LICENSE in the project root for license information.
5214
5223
 
5215
5224
 
@@ -12867,7 +12876,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
12867
12876
  }
12868
12877
  };
12869
12878
 
12870
- var formkitVersion$1 = '202604081450';
12879
+ var formkitVersion$1 = '202604081945';
12871
12880
 
12872
12881
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12873
12882
  // See LICENSE in the project root for license information.
@@ -13932,7 +13941,7 @@ class AuroBibtemplate extends i$4 {
13932
13941
  }
13933
13942
  }
13934
13943
 
13935
- var formkitVersion = '202604081450';
13944
+ var formkitVersion = '202604081945';
13936
13945
 
13937
13946
  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}`;
13938
13947
 
@@ -14272,7 +14281,7 @@ class AuroHelpText extends i$4 {
14272
14281
  }
14273
14282
  }
14274
14283
 
14275
- // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
14284
+ // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
14276
14285
  // See LICENSE in the project root for license information.
14277
14286
 
14278
14287
 
@@ -3,7 +3,7 @@ export namespace comboboxKeyboardStrategy {
3
3
  function ArrowUp(component: any, evt: any, ctx: any): void;
4
4
  function End(component: any, evt: any, ctx: any): void;
5
5
  function Enter(component: any, evt: any, ctx: any): void;
6
- function Escape(component: any, _evt: any, ctx: any): void;
6
+ function Escape(component: any, evt: any, ctx: any): void;
7
7
  function Home(component: any, evt: any, ctx: any): void;
8
8
  function Tab(component: any, evt: any, ctx: any): void;
9
9
  }
@@ -1301,10 +1301,19 @@ const comboboxKeyboardStrategy = {
1301
1301
  }
1302
1302
  },
1303
1303
 
1304
- Escape(component, _evt, ctx) {
1305
- if (ctx.isExpanded && ctx.isModal) {
1304
+ Escape(component, evt, ctx) {
1305
+ if (!ctx.isExpanded) {
1306
+ return;
1307
+ }
1308
+
1309
+ // Prevent the Escape key from bubbling up and closing any parent dialogs / drawers / popups
1310
+ evt.stopPropagation();
1311
+
1312
+ if (ctx.isModal) {
1306
1313
  component.setTriggerInputFocus();
1307
1314
  }
1315
+
1316
+ component.hideBib();
1308
1317
  },
1309
1318
 
1310
1319
  Home(component, evt, ctx) {
@@ -5036,7 +5045,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
5036
5045
  }
5037
5046
  };
5038
5047
 
5039
- var formkitVersion$2 = '202604081450';
5048
+ var formkitVersion$2 = '202604081945';
5040
5049
 
5041
5050
  let AuroElement$2 = class AuroElement extends LitElement {
5042
5051
  static get properties() {
@@ -5142,7 +5151,7 @@ let AuroElement$2 = class AuroElement extends LitElement {
5142
5151
  }
5143
5152
  };
5144
5153
 
5145
- // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
5154
+ // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
5146
5155
  // See LICENSE in the project root for license information.
5147
5156
 
5148
5157
 
@@ -12793,7 +12802,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
12793
12802
  }
12794
12803
  };
12795
12804
 
12796
- var formkitVersion$1 = '202604081450';
12805
+ var formkitVersion$1 = '202604081945';
12797
12806
 
12798
12807
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12799
12808
  // See LICENSE in the project root for license information.
@@ -13858,7 +13867,7 @@ class AuroBibtemplate extends LitElement {
13858
13867
  }
13859
13868
  }
13860
13869
 
13861
- var formkitVersion = '202604081450';
13870
+ var formkitVersion = '202604081945';
13862
13871
 
13863
13872
  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}`;
13864
13873
 
@@ -14198,7 +14207,7 @@ class AuroHelpText extends LitElement {
14198
14207
  }
14199
14208
  }
14200
14209
 
14201
- // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
14210
+ // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
14202
14211
  // See LICENSE in the project root for license information.
14203
14212
 
14204
14213
 
@@ -1301,10 +1301,19 @@ const comboboxKeyboardStrategy = {
1301
1301
  }
1302
1302
  },
1303
1303
 
1304
- Escape(component, _evt, ctx) {
1305
- if (ctx.isExpanded && ctx.isModal) {
1304
+ Escape(component, evt, ctx) {
1305
+ if (!ctx.isExpanded) {
1306
+ return;
1307
+ }
1308
+
1309
+ // Prevent the Escape key from bubbling up and closing any parent dialogs / drawers / popups
1310
+ evt.stopPropagation();
1311
+
1312
+ if (ctx.isModal) {
1306
1313
  component.setTriggerInputFocus();
1307
1314
  }
1315
+
1316
+ component.hideBib();
1308
1317
  },
1309
1318
 
1310
1319
  Home(component, evt, ctx) {
@@ -5036,7 +5045,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
5036
5045
  }
5037
5046
  };
5038
5047
 
5039
- var formkitVersion$2 = '202604081450';
5048
+ var formkitVersion$2 = '202604081945';
5040
5049
 
5041
5050
  let AuroElement$2 = class AuroElement extends LitElement {
5042
5051
  static get properties() {
@@ -5142,7 +5151,7 @@ let AuroElement$2 = class AuroElement extends LitElement {
5142
5151
  }
5143
5152
  };
5144
5153
 
5145
- // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
5154
+ // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
5146
5155
  // See LICENSE in the project root for license information.
5147
5156
 
5148
5157
 
@@ -12793,7 +12802,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
12793
12802
  }
12794
12803
  };
12795
12804
 
12796
- var formkitVersion$1 = '202604081450';
12805
+ var formkitVersion$1 = '202604081945';
12797
12806
 
12798
12807
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12799
12808
  // See LICENSE in the project root for license information.
@@ -13858,7 +13867,7 @@ class AuroBibtemplate extends LitElement {
13858
13867
  }
13859
13868
  }
13860
13869
 
13861
- var formkitVersion = '202604081450';
13870
+ var formkitVersion = '202604081945';
13862
13871
 
13863
13872
  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}`;
13864
13873
 
@@ -14198,7 +14207,7 @@ class AuroHelpText extends LitElement {
14198
14207
  }
14199
14208
  }
14200
14209
 
14201
- // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
14210
+ // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
14202
14211
  // See LICENSE in the project root for license information.
14203
14212
 
14204
14213
 
@@ -56,5 +56,8 @@
56
56
 
57
57
  <!-- If additional elements are needed for the demo, add them here. -->
58
58
  <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-accordion@latest/+esm" type="module"></script>
59
+ <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-button@latest/+esm" type="module"></script>
60
+ <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-dialog@latest/+esm" type="module"></script>
61
+ <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-drawer@latest/+esm" type="module"></script>
59
62
  </body>
60
63
  </html>
@@ -2,12 +2,16 @@
2
2
  import '../src/registered.js';
3
3
  // import { dropdownCounterExample } from "../apiExamples/dropdown-mobile-properties.js";
4
4
  import { eventCounterExample } from "../apiExamples/events.js";
5
+ import { inDialogExample } from "../apiExamples/in-dialog.js";
6
+ import { inDrawerExample } from "../apiExamples/in-drawer.js";
5
7
 
6
8
  export function initExamples(initialCount = 0) {
7
9
  try {
8
10
  // javascript example function calls to be added here upon creation to test examples
9
11
  // dropdownCounterExample();
10
12
  eventCounterExample();
13
+ inDialogExample();
14
+ inDrawerExample();
11
15
 
12
16
  } catch (err) {
13
17
  if (initialCount <= 20) {
@@ -1232,6 +1232,136 @@ All available slots for both components.
1232
1232
  <!-- AURO-GENERATED-CONTENT:END -->
1233
1233
  </auro-accordion>
1234
1234
 
1235
+ ### Counter Group in Dialog
1236
+
1237
+ The element used within an `auro-dialog`.
1238
+
1239
+ <div class="exampleWrapper">
1240
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/in-dialog.html) -->
1241
+ <!-- The below content is automatically added from ./../apiExamples/in-dialog.html -->
1242
+ <div>
1243
+ <auro-button id="counter-dialog-opener">Counter Group in Dialog</auro-button>
1244
+ <auro-dialog id="counter-dialog">
1245
+ <span slot="header">Counter Group in Dialog</span>
1246
+ <div slot="content">
1247
+ <auro-counter-group isDropdown>
1248
+ <span slot="ariaLabel.bib.close">Close Popup</span>
1249
+ <div slot="bib.fullscreen.headline">Group fullscreen label</div>
1250
+ <div slot="label">Counter Group</div>
1251
+ <div slot="helpText">Select a value</div>
1252
+ <auro-counter>Counter 1</auro-counter>
1253
+ <auro-counter>Counter 2</auro-counter>
1254
+ </auro-counter-group>
1255
+ </div>
1256
+ </auro-dialog>
1257
+ </div>
1258
+ <!-- AURO-GENERATED-CONTENT:END -->
1259
+ </div>
1260
+ <auro-accordion alignRight>
1261
+ <span slot="trigger">See code</span>
1262
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/in-dialog.html) -->
1263
+ <!-- The below code snippet is automatically added from ./../apiExamples/in-dialog.html -->
1264
+
1265
+ ```html
1266
+ <div>
1267
+ <auro-button id="counter-dialog-opener">Counter Group in Dialog</auro-button>
1268
+ <auro-dialog id="counter-dialog">
1269
+ <span slot="header">Counter Group in Dialog</span>
1270
+ <div slot="content">
1271
+ <auro-counter-group isDropdown>
1272
+ <span slot="ariaLabel.bib.close">Close Popup</span>
1273
+ <div slot="bib.fullscreen.headline">Group fullscreen label</div>
1274
+ <div slot="label">Counter Group</div>
1275
+ <div slot="helpText">Select a value</div>
1276
+ <auro-counter>Counter 1</auro-counter>
1277
+ <auro-counter>Counter 2</auro-counter>
1278
+ </auro-counter-group>
1279
+ </div>
1280
+ </auro-dialog>
1281
+ </div>
1282
+ ```
1283
+ <!-- AURO-GENERATED-CONTENT:END -->
1284
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/in-dialog.js) -->
1285
+ <!-- The below code snippet is automatically added from ./../apiExamples/in-dialog.js -->
1286
+
1287
+ ```js
1288
+ export function inDialogExample() {
1289
+ document.querySelector("#counter-dialog-opener").addEventListener("click", () => {
1290
+ const dialog = document.querySelector("#counter-dialog");
1291
+ dialog.open = true;
1292
+ });
1293
+ };
1294
+ ```
1295
+ <!-- AURO-GENERATED-CONTENT:END -->
1296
+ </auro-accordion>
1297
+
1298
+ ### Counter Group in Drawer
1299
+
1300
+ The element used within an `auro-drawer`.
1301
+
1302
+ <div class="exampleWrapper">
1303
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/in-drawer.html) -->
1304
+ <!-- The below content is automatically added from ./../apiExamples/in-drawer.html -->
1305
+ <div>
1306
+ <auro-button id="counter-drawer-opener">Counter Group in Drawer</auro-button>
1307
+ <auro-drawer id="counter-drawer">
1308
+ <span slot="header">Counter Group in Drawer</span>
1309
+ <div slot="content">
1310
+ <auro-counter-group isDropdown>
1311
+ <span slot="ariaLabel.bib.close">Close Popup</span>
1312
+ <div slot="bib.fullscreen.headline">Group fullscreen label</div>
1313
+ <div slot="label">Counter Group</div>
1314
+ <div slot="helpText">Select a value</div>
1315
+ <auro-counter>Counter 1</auro-counter>
1316
+ <auro-counter>Counter 2</auro-counter>
1317
+ </auro-counter-group>
1318
+ </div>
1319
+ </auro-drawer>
1320
+ </div>
1321
+ <!-- AURO-GENERATED-CONTENT:END -->
1322
+ </div>
1323
+ <auro-accordion alignRight>
1324
+ <span slot="trigger">See code</span>
1325
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/in-drawer.html) -->
1326
+ <!-- The below code snippet is automatically added from ./../apiExamples/in-drawer.html -->
1327
+
1328
+ ```html
1329
+ <div>
1330
+ <auro-button id="counter-drawer-opener">Counter Group in Drawer</auro-button>
1331
+ <auro-drawer id="counter-drawer">
1332
+ <span slot="header">Counter Group in Drawer</span>
1333
+ <div slot="content">
1334
+ <auro-counter-group isDropdown>
1335
+ <span slot="ariaLabel.bib.close">Close Popup</span>
1336
+ <div slot="bib.fullscreen.headline">Group fullscreen label</div>
1337
+ <div slot="label">Counter Group</div>
1338
+ <div slot="helpText">Select a value</div>
1339
+ <auro-counter>Counter 1</auro-counter>
1340
+ <auro-counter>Counter 2</auro-counter>
1341
+ </auro-counter-group>
1342
+ </div>
1343
+ </auro-drawer>
1344
+ </div>
1345
+ ```
1346
+ <!-- AURO-GENERATED-CONTENT:END -->
1347
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/in-drawer.js) -->
1348
+ <!-- The below code snippet is automatically added from ./../apiExamples/in-drawer.js -->
1349
+
1350
+ ```js
1351
+ export function inDrawerExample() {
1352
+ document.querySelector("#counter-drawer-opener").addEventListener("click", () => {
1353
+ const drawer = document.querySelector("#counter-drawer");
1354
+ if (drawer.hasAttribute('open')) {
1355
+ drawer.removeAttribute('open');
1356
+ } else {
1357
+ drawer.setAttribute('open', true);
1358
+ }
1359
+ });
1360
+ };
1361
+ ```
1362
+ <!-- AURO-GENERATED-CONTENT:END -->
1363
+ </auro-accordion>
1364
+
1235
1365
  ## Restyle Component with CSS Variables
1236
1366
 
1237
1367
  The component may be restyled by changing the values of the following token(s).