@aurodesignsystem/auro-formkit 4.0.0-rc-658.1.1 → 4.0.0-rc-676.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 (49) hide show
  1. package/CHANGELOG.md +4 -1
  2. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +1 -0
  3. package/components/bibtemplate/dist/index.js +158 -6
  4. package/components/bibtemplate/dist/registered.js +158 -6
  5. package/components/checkbox/README.md +1 -1
  6. package/components/checkbox/demo/api.md +2 -2
  7. package/components/checkbox/demo/api.min.js +24 -20
  8. package/components/checkbox/demo/index.md +2 -2
  9. package/components/checkbox/demo/index.min.js +24 -20
  10. package/components/checkbox/demo/readme.md +1 -1
  11. package/components/checkbox/dist/auro-checkbox.d.ts +2 -2
  12. package/components/checkbox/dist/index.js +24 -20
  13. package/components/checkbox/dist/registered.js +24 -20
  14. package/components/combobox/demo/api.min.js +707 -133
  15. package/components/combobox/demo/index.min.js +707 -133
  16. package/components/combobox/dist/auro-combobox.d.ts +0 -8
  17. package/components/combobox/dist/index.js +627 -123
  18. package/components/combobox/dist/registered.js +627 -123
  19. package/components/counter/demo/api.min.js +583 -43
  20. package/components/counter/demo/index.min.js +583 -43
  21. package/components/counter/dist/index.js +583 -43
  22. package/components/counter/dist/registered.js +583 -43
  23. package/components/datepicker/demo/api.min.js +866 -75
  24. package/components/datepicker/demo/index.min.js +866 -75
  25. package/components/datepicker/dist/index.js +866 -75
  26. package/components/datepicker/dist/registered.js +866 -75
  27. package/components/dropdown/demo/api.min.js +153 -16
  28. package/components/dropdown/demo/index.min.js +153 -16
  29. package/components/dropdown/dist/auro-dropdownBib.d.ts +8 -0
  30. package/components/dropdown/dist/index.js +153 -16
  31. package/components/dropdown/dist/registered.js +153 -16
  32. package/components/input/demo/api.min.js +263 -12
  33. package/components/input/demo/index.min.js +263 -12
  34. package/components/input/dist/index.js +263 -12
  35. package/components/input/dist/registered.js +263 -12
  36. package/components/menu/demo/api.min.js +76 -6
  37. package/components/menu/demo/index.min.js +76 -6
  38. package/components/menu/dist/index.js +76 -6
  39. package/components/menu/dist/registered.js +76 -6
  40. package/components/radio/demo/api.min.js +4 -3
  41. package/components/radio/demo/index.min.js +4 -3
  42. package/components/radio/dist/index.js +4 -3
  43. package/components/radio/dist/registered.js +4 -3
  44. package/components/select/demo/api.min.js +403 -49
  45. package/components/select/demo/index.min.js +403 -49
  46. package/components/select/dist/auro-select.d.ts +0 -1
  47. package/components/select/dist/index.js +325 -41
  48. package/components/select/dist/registered.js +325 -41
  49. package/package.json +3 -3
@@ -60,7 +60,7 @@ const t={ATTRIBUTE:1},e$1=t=>(...e)=>({_$litDirective$:t,values:e});class i{cons
60
60
  // See LICENSE in the project root for license information.
61
61
 
62
62
 
63
- let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
63
+ let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
64
64
 
65
65
  /**
66
66
  * Generates a unique string to be used for child auro element naming.
@@ -103,7 +103,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
103
103
 
104
104
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
105
105
 
106
- let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
106
+ let AuroLibraryRuntimeUtils$7 = class AuroLibraryRuntimeUtils {
107
107
 
108
108
  /* eslint-disable jsdoc/require-param */
109
109
 
@@ -172,6 +172,76 @@ var colorCss$8 = i$5`[auro-loader]{color:var(--ds-auro-button-loader-color)}.aur
172
172
 
173
173
  var tokensCss$6 = i$5`:host{--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border, #01426a);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background, #01426a);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background, #01426a);--ds-auro-button-loader-color:var(--ds-advanced-color-button-primary-text, #ffffff);--ds-auro-button-text-color:var(--ds-advanced-color-button-primary-text, #ffffff);--ds-auro-button-tap-color:transparent}`;
174
174
 
175
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
176
+ // See LICENSE in the project root for license information.
177
+
178
+ // ---------------------------------------------------------------------
179
+
180
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
181
+
182
+ let AuroLibraryRuntimeUtils$6 = class AuroLibraryRuntimeUtils {
183
+
184
+ /* eslint-disable jsdoc/require-param */
185
+
186
+ /**
187
+ * This will register a new custom element with the browser.
188
+ * @param {String} name - The name of the custom element.
189
+ * @param {Object} componentClass - The class to register as a custom element.
190
+ * @returns {void}
191
+ */
192
+ registerComponent(name, componentClass) {
193
+ if (!customElements.get(name)) {
194
+ customElements.define(name, class extends componentClass {});
195
+ }
196
+ }
197
+
198
+ /**
199
+ * Finds and returns the closest HTML Element based on a selector.
200
+ * @returns {void}
201
+ */
202
+ closestElement(
203
+ selector, // selector like in .closest()
204
+ base = this, // extra functionality to skip a parent
205
+ __Closest = (el, found = el && el.closest(selector)) =>
206
+ !el || el === document || el === window
207
+ ? null // standard .closest() returns null for non-found selectors also
208
+ : found
209
+ ? found // found a selector INside this element
210
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
211
+ ) {
212
+ return __Closest(base);
213
+ }
214
+ /* eslint-enable jsdoc/require-param */
215
+
216
+ /**
217
+ * 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.
218
+ * @param {Object} elem - The element to check.
219
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
220
+ * @returns {void}
221
+ */
222
+ handleComponentTagRename(elem, tagName) {
223
+ const tag = tagName.toLowerCase();
224
+ const elemTag = elem.tagName.toLowerCase();
225
+
226
+ if (elemTag !== tag) {
227
+ elem.setAttribute(tag, true);
228
+ }
229
+ }
230
+
231
+ /**
232
+ * Validates if an element is a specific Auro component.
233
+ * @param {Object} elem - The element to validate.
234
+ * @param {String} tagName - The name of the Auro component to check against.
235
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
236
+ */
237
+ elementMatch(elem, tagName) {
238
+ const tag = tagName.toLowerCase();
239
+ const elemTag = elem.tagName.toLowerCase();
240
+
241
+ return elemTag === tag || elem.hasAttribute(tag);
242
+ }
243
+ };
244
+
175
245
  var styleCss$8 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin:0.375rem;--margin-xs:0.2rem;--margin-sm:0.5rem;--margin-md:0.75rem;--margin-lg:1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin)*6);height:1.5rem}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(2.55rem + var(--margin-xs)*6);height:1.55rem}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm)*6);height:2.5rem}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md)*6);height:3.5rem}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg)*6);height:5.5rem}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-400ms}:host([pulse])>span:nth-child(2){animation-delay:-200ms}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,100%{opacity:.1;transform:scale(0.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}100%{left:110%}}:host>.no-animation{display:none}@media(prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center;font-size:1rem}:host>span{opacity:1}:host>.loader{display:none}:host>.no-animation{display:block}}`;
176
246
 
177
247
  var colorCss$7 = i$5`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]){--ds-auro-loader-color:var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]){--ds-auro-loader-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color:transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color:currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color:currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}`;
@@ -204,7 +274,7 @@ class AuroLoader extends i$2 {
204
274
  /**
205
275
  * @private
206
276
  */
207
- this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
277
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$6();
208
278
 
209
279
  this.orbit = false;
210
280
  this.ringworm = false;
@@ -267,7 +337,7 @@ class AuroLoader extends i$2 {
267
337
  *
268
338
  */
269
339
  static register(name = "auro-loader") {
270
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroLoader);
340
+ AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroLoader);
271
341
  }
272
342
 
273
343
  firstUpdated() {
@@ -396,7 +466,7 @@ class AuroButton extends i$2 {
396
466
  /**
397
467
  * Generate unique names for dependency components.
398
468
  */
399
- const versioning = new AuroDependencyVersioning$2();
469
+ const versioning = new AuroDependencyVersioning$3();
400
470
 
401
471
  /**
402
472
  * @private
@@ -498,7 +568,7 @@ class AuroButton extends i$2 {
498
568
  *
499
569
  */
500
570
  static register(name = "auro-button") {
501
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroButton);
571
+ AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroButton);
502
572
  }
503
573
 
504
574
  /**
@@ -605,6 +675,76 @@ class AuroButton extends i$2 {
605
675
  }
606
676
  }
607
677
 
678
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
679
+ // See LICENSE in the project root for license information.
680
+
681
+ // ---------------------------------------------------------------------
682
+
683
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
684
+
685
+ let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
686
+
687
+ /* eslint-disable jsdoc/require-param */
688
+
689
+ /**
690
+ * This will register a new custom element with the browser.
691
+ * @param {String} name - The name of the custom element.
692
+ * @param {Object} componentClass - The class to register as a custom element.
693
+ * @returns {void}
694
+ */
695
+ registerComponent(name, componentClass) {
696
+ if (!customElements.get(name)) {
697
+ customElements.define(name, class extends componentClass {});
698
+ }
699
+ }
700
+
701
+ /**
702
+ * Finds and returns the closest HTML Element based on a selector.
703
+ * @returns {void}
704
+ */
705
+ closestElement(
706
+ selector, // selector like in .closest()
707
+ base = this, // extra functionality to skip a parent
708
+ __Closest = (el, found = el && el.closest(selector)) =>
709
+ !el || el === document || el === window
710
+ ? null // standard .closest() returns null for non-found selectors also
711
+ : found
712
+ ? found // found a selector INside this element
713
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
714
+ ) {
715
+ return __Closest(base);
716
+ }
717
+ /* eslint-enable jsdoc/require-param */
718
+
719
+ /**
720
+ * 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.
721
+ * @param {Object} elem - The element to check.
722
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
723
+ * @returns {void}
724
+ */
725
+ handleComponentTagRename(elem, tagName) {
726
+ const tag = tagName.toLowerCase();
727
+ const elemTag = elem.tagName.toLowerCase();
728
+
729
+ if (elemTag !== tag) {
730
+ elem.setAttribute(tag, true);
731
+ }
732
+ }
733
+
734
+ /**
735
+ * Validates if an element is a specific Auro component.
736
+ * @param {Object} elem - The element to validate.
737
+ * @param {String} tagName - The name of the Auro component to check against.
738
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
739
+ */
740
+ elementMatch(elem, tagName) {
741
+ const tag = tagName.toLowerCase();
742
+ const elemTag = elem.tagName.toLowerCase();
743
+
744
+ return elemTag === tag || elem.hasAttribute(tag);
745
+ }
746
+ };
747
+
608
748
  // Copyright (c) 2022 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
609
749
  // See LICENSE in the project root for license information.
610
750
 
@@ -629,7 +769,7 @@ class AuroCounterButton extends AuroButton {
629
769
  *
630
770
  */
631
771
  static register(name = "auro-counter-button") {
632
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroCounterButton);
772
+ AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroCounterButton);
633
773
  }
634
774
  }
635
775
 
@@ -639,6 +779,46 @@ if (!customElements.get("auro-counter-button")) {
639
779
  customElements.define("auro-counter-button", AuroCounterButton);
640
780
  }
641
781
 
782
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
783
+ // See LICENSE in the project root for license information.
784
+
785
+
786
+ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
787
+
788
+ /**
789
+ * Generates a unique string to be used for child auro element naming.
790
+ * @private
791
+ * @param {string} baseName - Defines the first part of the unique element name.
792
+ * @param {string} version - Version of the component that will be appended to the baseName.
793
+ * @returns {string} - Unique string to be used for naming.
794
+ */
795
+ generateElementName(baseName, version) {
796
+ let result = baseName;
797
+
798
+ result += '-';
799
+ result += version.replace(/[.]/g, '_');
800
+
801
+ return result;
802
+ }
803
+
804
+ /**
805
+ * Generates a unique string to be used for child auro element naming.
806
+ * @param {string} baseName - Defines the first part of the unique element name.
807
+ * @param {string} version - Version of the component that will be appended to the baseName.
808
+ * @returns {string} - Unique string to be used for naming.
809
+ */
810
+ generateTag(baseName, version, tagClass) {
811
+ const elementName = this.generateElementName(baseName, version);
812
+ const tag = i$1`${s(elementName)}`;
813
+
814
+ if (!customElements.get(elementName)) {
815
+ customElements.define(elementName, class extends tagClass {});
816
+ }
817
+
818
+ return tag;
819
+ }
820
+ };
821
+
642
822
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
643
823
  // See LICENSE in the project root for license information.
644
824
 
@@ -793,6 +973,76 @@ var tokensCss$4 = i$5`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-d
793
973
 
794
974
  var colorCss$6 = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]){--ds-auro-icon-color:var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]){--ds-auro-icon-color:var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]){--ds-auro-icon-color:var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]){--ds-auro-icon-color:var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]){--ds-auro-icon-color:var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]){--ds-auro-icon-color:var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]){--ds-auro-icon-color:var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]){--ds-auro-icon-color:var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}`;
795
975
 
976
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
977
+ // See LICENSE in the project root for license information.
978
+
979
+ // ---------------------------------------------------------------------
980
+
981
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
982
+
983
+ let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
984
+
985
+ /* eslint-disable jsdoc/require-param */
986
+
987
+ /**
988
+ * This will register a new custom element with the browser.
989
+ * @param {String} name - The name of the custom element.
990
+ * @param {Object} componentClass - The class to register as a custom element.
991
+ * @returns {void}
992
+ */
993
+ registerComponent(name, componentClass) {
994
+ if (!customElements.get(name)) {
995
+ customElements.define(name, class extends componentClass {});
996
+ }
997
+ }
998
+
999
+ /**
1000
+ * Finds and returns the closest HTML Element based on a selector.
1001
+ * @returns {void}
1002
+ */
1003
+ closestElement(
1004
+ selector, // selector like in .closest()
1005
+ base = this, // extra functionality to skip a parent
1006
+ __Closest = (el, found = el && el.closest(selector)) =>
1007
+ !el || el === document || el === window
1008
+ ? null // standard .closest() returns null for non-found selectors also
1009
+ : found
1010
+ ? found // found a selector INside this element
1011
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
1012
+ ) {
1013
+ return __Closest(base);
1014
+ }
1015
+ /* eslint-enable jsdoc/require-param */
1016
+
1017
+ /**
1018
+ * 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.
1019
+ * @param {Object} elem - The element to check.
1020
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
1021
+ * @returns {void}
1022
+ */
1023
+ handleComponentTagRename(elem, tagName) {
1024
+ const tag = tagName.toLowerCase();
1025
+ const elemTag = elem.tagName.toLowerCase();
1026
+
1027
+ if (elemTag !== tag) {
1028
+ elem.setAttribute(tag, true);
1029
+ }
1030
+ }
1031
+
1032
+ /**
1033
+ * Validates if an element is a specific Auro component.
1034
+ * @param {Object} elem - The element to validate.
1035
+ * @param {String} tagName - The name of the Auro component to check against.
1036
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
1037
+ */
1038
+ elementMatch(elem, tagName) {
1039
+ const tag = tagName.toLowerCase();
1040
+ const elemTag = elem.tagName.toLowerCase();
1041
+
1042
+ return elemTag === tag || elem.hasAttribute(tag);
1043
+ }
1044
+ };
1045
+
796
1046
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
797
1047
  // See LICENSE in the project root for license information.
798
1048
 
@@ -812,7 +1062,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
812
1062
  */
813
1063
  privateDefaults() {
814
1064
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
815
- this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
1065
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
816
1066
  }
817
1067
 
818
1068
  // function to define props used within the scope of this component
@@ -894,7 +1144,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
894
1144
  *
895
1145
  */
896
1146
  static register(name = "auro-icon") {
897
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroIcon);
1147
+ AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroIcon);
898
1148
  }
899
1149
 
900
1150
  connectedCallback() {
@@ -1018,9 +1268,10 @@ class DateFormatter {
1018
1268
  /**
1019
1269
  * Convert a date object to string format.
1020
1270
  * @param {Object} date - Date to convert to string.
1021
- * @returns {Object} Returns the date as a string.
1271
+ * @param {String} locale - Optional locale to use for the date string. Defaults to user's locale.
1272
+ * @returns {String} Returns the date as a string.
1022
1273
  */
1023
- this.getDateAsString = (date) => date.toLocaleDateString(undefined, {
1274
+ this.getDateAsString = (date, locale = undefined) => date.toLocaleDateString(locale, {
1024
1275
  year: "numeric",
1025
1276
  month: "2-digit",
1026
1277
  day: "2-digit",
@@ -1212,7 +1463,7 @@ class AuroDateUtilities extends AuroDateUtilitiesBase {
1212
1463
  const dateObj = new Date(this.getFourDigitYear(dateParts.year), dateParts.month - 1, dateParts.day || 1);
1213
1464
 
1214
1465
  // Get the date string of the date object we created from the string date
1215
- const actualDateStr = dateFormatter.getDateAsString(dateObj);
1466
+ const actualDateStr = dateFormatter.getDateAsString(dateObj, "en-US");
1216
1467
 
1217
1468
  // Guard Clause: Generated date matches date string input
1218
1469
  if (expectedDateStr !== actualDateStr) {
@@ -1377,7 +1628,7 @@ const {
1377
1628
  class AuroFormValidation {
1378
1629
 
1379
1630
  constructor() {
1380
- this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
1631
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$5();
1381
1632
  }
1382
1633
 
1383
1634
  /**
@@ -1923,7 +2174,7 @@ class AuroCounter extends i$2 {
1923
2174
  * AuroCounter.register("custom-counter") // registers <custom-counter/>
1924
2175
  */
1925
2176
  static register(name = "auro-counter") {
1926
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroCounter);
2177
+ AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroCounter);
1927
2178
  }
1928
2179
 
1929
2180
  static get styles() {
@@ -2109,7 +2360,7 @@ var styleCss$5 = i$5`:host{position:relative;display:block}[slot=trigger],::slot
2109
2360
 
2110
2361
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
2111
2362
 
2112
- let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
2363
+ let AuroLibraryRuntimeUtils$2$1 = class AuroLibraryRuntimeUtils {
2113
2364
 
2114
2365
  /* eslint-disable jsdoc/require-param */
2115
2366
 
@@ -3704,8 +3955,28 @@ class AuroFloatingUI {
3704
3955
  if (!AuroFloatingUI.isMousePressHandlerInitialized && window && window.addEventListener) {
3705
3956
  AuroFloatingUI.isMousePressHandlerInitialized = true;
3706
3957
 
3958
+ // Track timeout for isMousePressed reset to avoid race conditions
3959
+ if (!AuroFloatingUI._mousePressedTimeout) {
3960
+ AuroFloatingUI._mousePressedTimeout = null;
3961
+ }
3707
3962
  const mouseEventGlobalHandler = (event) => {
3708
- AuroFloatingUI.isMousePressed = event.type === 'mousedown';
3963
+ const isPressed = event.type === 'mousedown';
3964
+ if (isPressed) {
3965
+ // Clear any pending timeout to prevent race condition
3966
+ if (AuroFloatingUI._mousePressedTimeout !== null) {
3967
+ clearTimeout(AuroFloatingUI._mousePressedTimeout);
3968
+ AuroFloatingUI._mousePressedTimeout = null;
3969
+ }
3970
+ if (!AuroFloatingUI.isMousePressed) {
3971
+ AuroFloatingUI.isMousePressed = true;
3972
+ }
3973
+ } else if (AuroFloatingUI.isMousePressed && !isPressed) {
3974
+ // Schedule reset and track timeout ID
3975
+ AuroFloatingUI._mousePressedTimeout = setTimeout(() => {
3976
+ AuroFloatingUI.isMousePressed = false;
3977
+ AuroFloatingUI._mousePressedTimeout = null;
3978
+ }, 0);
3979
+ }
3709
3980
  };
3710
3981
 
3711
3982
  window.addEventListener('mousedown', mouseEventGlobalHandler);
@@ -3832,6 +4103,7 @@ class AuroFloatingUI {
3832
4103
 
3833
4104
  // Compute the position of the bib
3834
4105
  computePosition(this.element.trigger, this.element.bib, {
4106
+ strategy: this.element.floaterConfig?.strategy || 'fixed',
3835
4107
  placement: this.element.floaterConfig?.placement,
3836
4108
  middleware: middleware || []
3837
4109
  }).then(({ x, y }) => { // eslint-disable-line id-length
@@ -3966,8 +4238,9 @@ class AuroFloatingUI {
3966
4238
  if (this.element.contains(activeElement) || this.element.bib?.contains(activeElement)) {
3967
4239
  return;
3968
4240
  }
3969
- // if fullscreen bib is still open and the focus is missing, do not close
3970
- if (this.element.bib.hasAttribute('isfullscreen') && activeElement === document.body) {
4241
+
4242
+ // if fullscreen bib is in fullscreen mode, do not close
4243
+ if (this.element.bib.hasAttribute('isfullscreen')) {
3971
4244
  return;
3972
4245
  }
3973
4246
 
@@ -4268,8 +4541,6 @@ class AuroFloatingUI {
4268
4541
  this.element.hoverToggle = this.element.floaterConfig.hoverToggle;
4269
4542
  }
4270
4543
 
4271
- document.body.append(this.element.bib);
4272
-
4273
4544
  this.regenerateBibId();
4274
4545
  this.handleTriggerTabIndex();
4275
4546
 
@@ -4500,6 +4771,76 @@ var tokensCss$2 = i$5`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-d
4500
4771
 
4501
4772
  var colorCss$3 = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]){--ds-auro-icon-color:var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]){--ds-auro-icon-color:var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]){--ds-auro-icon-color:var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]){--ds-auro-icon-color:var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]){--ds-auro-icon-color:var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]){--ds-auro-icon-color:var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]){--ds-auro-icon-color:var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]){--ds-auro-icon-color:var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}`;
4502
4773
 
4774
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
4775
+ // See LICENSE in the project root for license information.
4776
+
4777
+ // ---------------------------------------------------------------------
4778
+
4779
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
4780
+
4781
+ let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
4782
+
4783
+ /* eslint-disable jsdoc/require-param */
4784
+
4785
+ /**
4786
+ * This will register a new custom element with the browser.
4787
+ * @param {String} name - The name of the custom element.
4788
+ * @param {Object} componentClass - The class to register as a custom element.
4789
+ * @returns {void}
4790
+ */
4791
+ registerComponent(name, componentClass) {
4792
+ if (!customElements.get(name)) {
4793
+ customElements.define(name, class extends componentClass {});
4794
+ }
4795
+ }
4796
+
4797
+ /**
4798
+ * Finds and returns the closest HTML Element based on a selector.
4799
+ * @returns {void}
4800
+ */
4801
+ closestElement(
4802
+ selector, // selector like in .closest()
4803
+ base = this, // extra functionality to skip a parent
4804
+ __Closest = (el, found = el && el.closest(selector)) =>
4805
+ !el || el === document || el === window
4806
+ ? null // standard .closest() returns null for non-found selectors also
4807
+ : found
4808
+ ? found // found a selector INside this element
4809
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
4810
+ ) {
4811
+ return __Closest(base);
4812
+ }
4813
+ /* eslint-enable jsdoc/require-param */
4814
+
4815
+ /**
4816
+ * 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.
4817
+ * @param {Object} elem - The element to check.
4818
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
4819
+ * @returns {void}
4820
+ */
4821
+ handleComponentTagRename(elem, tagName) {
4822
+ const tag = tagName.toLowerCase();
4823
+ const elemTag = elem.tagName.toLowerCase();
4824
+
4825
+ if (elemTag !== tag) {
4826
+ elem.setAttribute(tag, true);
4827
+ }
4828
+ }
4829
+
4830
+ /**
4831
+ * Validates if an element is a specific Auro component.
4832
+ * @param {Object} elem - The element to validate.
4833
+ * @param {String} tagName - The name of the Auro component to check against.
4834
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
4835
+ */
4836
+ elementMatch(elem, tagName) {
4837
+ const tag = tagName.toLowerCase();
4838
+ const elemTag = elem.tagName.toLowerCase();
4839
+
4840
+ return elemTag === tag || elem.hasAttribute(tag);
4841
+ }
4842
+ };
4843
+
4503
4844
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
4504
4845
  // See LICENSE in the project root for license information.
4505
4846
 
@@ -4519,7 +4860,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
4519
4860
  */
4520
4861
  privateDefaults() {
4521
4862
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
4522
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
4863
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
4523
4864
  }
4524
4865
 
4525
4866
  // function to define props used within the scope of this component
@@ -4601,7 +4942,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
4601
4942
  *
4602
4943
  */
4603
4944
  static register(name = "auro-icon") {
4604
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
4945
+ AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroIcon);
4605
4946
  }
4606
4947
 
4607
4948
  connectedCallback() {
@@ -4669,7 +5010,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
4669
5010
 
4670
5011
  var iconVersion$1 = '6.1.2';
4671
5012
 
4672
- var styleCss$2$1 = i$5`:host{position:absolute;z-index:var(--depth-tooltip, 400);display:none}.container{display:inline-block;overflow:auto;box-sizing:border-box;margin:var(--ds-size-50, 0.25rem) 0}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset;overscroll-behavior:contain}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}`;
5013
+ var styleCss$2$1 = i$5`:host{position:fixed;z-index:var(--depth-tooltip, 400);display:none;isolation:isolate}.container{display:inline-block;overflow:auto;box-sizing:border-box;margin:var(--ds-size-50, 0.25rem) 0}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset;overscroll-behavior:contain}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}`;
4673
5014
 
4674
5015
  var colorCss$2$1 = i$5`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
4675
5016
 
@@ -4679,7 +5020,6 @@ var tokensCss$1 = i$5`:host{--ds-auro-dropdown-label-text-color: var(--ds-basic-
4679
5020
  // See LICENSE in the project root for license information.
4680
5021
 
4681
5022
 
4682
-
4683
5023
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
4684
5024
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
4685
5025
  'xl',
@@ -4704,7 +5044,7 @@ class AuroDropdownBib extends i$2 {
4704
5044
  */
4705
5045
  this._mobileBreakpointValue = undefined;
4706
5046
 
4707
- AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
5047
+ AuroLibraryRuntimeUtils$2$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
4708
5048
  }
4709
5049
 
4710
5050
  static get styles() {
@@ -4749,6 +5089,13 @@ class AuroDropdownBib extends i$2 {
4749
5089
  type: Boolean,
4750
5090
  reflect: true
4751
5091
  },
5092
+
5093
+ /**
5094
+ * A reference to the associated bib template element.
5095
+ */
5096
+ bibTemplate: {
5097
+ type: Object
5098
+ }
4752
5099
  };
4753
5100
  }
4754
5101
 
@@ -4781,9 +5128,50 @@ class AuroDropdownBib extends i$2 {
4781
5128
  }
4782
5129
  }
4783
5130
  });
5131
+
5132
+ if (this.bibTemplate) {
5133
+ // If the bib template is found, set the fullscreen attribute
5134
+ if (this.isFullscreen) {
5135
+ this.bibTemplate.setAttribute('isFullscreen', 'true');
5136
+ } else {
5137
+ this.bibTemplate.removeAttribute('isFullscreen');
5138
+ }
5139
+ }
4784
5140
  }
4785
5141
  }
4786
5142
 
5143
+ connectedCallback() {
5144
+ super.connectedCallback();
5145
+
5146
+ // Listen for the auro-bibtemplate-connected event to set the fullscreen attribute
5147
+ this.addEventListener('auro-bibtemplate-connected', (event) => {
5148
+ const bibTemplate = event.detail.element;
5149
+ this.bibTemplate = bibTemplate;
5150
+
5151
+ if (bibTemplate) {
5152
+ // If the bib template is found, set the fullscreen attribute
5153
+ if (this.isFullscreen) {
5154
+ bibTemplate.setAttribute('isFullscreen', 'true');
5155
+ } else {
5156
+ bibTemplate.removeAttribute('isFullscreen');
5157
+ }
5158
+ }
5159
+ });
5160
+ }
5161
+
5162
+ firstUpdated(changedProperties) {
5163
+ super.firstUpdated(changedProperties);
5164
+
5165
+ // Dispatch a custom event when the component is connected
5166
+ this.dispatchEvent(new CustomEvent('auro-dropdownbib-connected', {
5167
+ bubbles: true,
5168
+ composed: true,
5169
+ detail: {
5170
+ element: this
5171
+ }
5172
+ }));
5173
+ }
5174
+
4787
5175
  // function that renders the HTML and CSS into the scope of the component
4788
5176
  render() {
4789
5177
  return u`
@@ -4813,7 +5201,7 @@ var tokensCss$3 = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
4813
5201
 
4814
5202
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
4815
5203
 
4816
- let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
5204
+ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
4817
5205
 
4818
5206
  /* eslint-disable jsdoc/require-param */
4819
5207
 
@@ -4894,7 +5282,7 @@ class AuroHelpText extends i$2 {
4894
5282
  this.onDark = false;
4895
5283
  this.hasTextContent = false;
4896
5284
 
4897
- AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-helptext');
5285
+ AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-helptext');
4898
5286
  }
4899
5287
 
4900
5288
  static get styles() {
@@ -4950,7 +5338,7 @@ class AuroHelpText extends i$2 {
4950
5338
  *
4951
5339
  */
4952
5340
  static register(name = "auro-helptext") {
4953
- AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHelpText);
5341
+ AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroHelpText);
4954
5342
  }
4955
5343
 
4956
5344
  updated() {
@@ -5093,7 +5481,7 @@ class AuroDropdown extends i$2 {
5093
5481
  /**
5094
5482
  * @private
5095
5483
  */
5096
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
5484
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2$1();
5097
5485
 
5098
5486
  /**
5099
5487
  * @private
@@ -5422,7 +5810,7 @@ class AuroDropdown extends i$2 {
5422
5810
  *
5423
5811
  */
5424
5812
  static register(name = "auro-dropdown") {
5425
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroDropdown);
5813
+ AuroLibraryRuntimeUtils$2$1.prototype.registerComponent(name, AuroDropdown);
5426
5814
  }
5427
5815
 
5428
5816
  /**
@@ -5739,8 +6127,7 @@ class AuroDropdown extends i$2 {
5739
6127
  * @param {Event} event - The event object representing the slot change.
5740
6128
  * @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
5741
6129
  */
5742
- handleDefaultSlot(event) {
5743
- [...event.target.assignedNodes()].forEach((node) => this.bibContent.append(node));
6130
+ handleDefaultSlot() {
5744
6131
 
5745
6132
  if (this.onSlotChange) {
5746
6133
  this.onSlotChange();
@@ -5812,9 +6199,7 @@ class AuroDropdown extends i$2 {
5812
6199
  <${this.helpTextTag} part="helpText" ?onDark=${this.onDark} ?error="${this.error}">
5813
6200
  <slot name="helpText"></slot>
5814
6201
  </${this.helpTextTag}>
5815
- <div class="slotContent">
5816
- <slot @slotchange="${this.handleDefaultSlot}"></slot>
5817
- </div>
6202
+
5818
6203
  <div id="bibSizer" part="size"></div>
5819
6204
  <${this.dropdownBibTag}
5820
6205
  id="bib"
@@ -5824,6 +6209,9 @@ class AuroDropdown extends i$2 {
5824
6209
  ?rounded="${this.common || this.rounded}"
5825
6210
  ?inset="${this.common || this.inset}"
5826
6211
  >
6212
+ <div class="slotContent">
6213
+ <slot @slotchange="${this.handleDefaultSlot}"></slot>
6214
+ </div>
5827
6215
  </${this.dropdownBibTag}>
5828
6216
  </div>
5829
6217
  `;
@@ -5845,7 +6233,7 @@ var tokenCss = i$5`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
5845
6233
 
5846
6234
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
5847
6235
 
5848
- class AuroLibraryRuntimeUtils {
6236
+ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
5849
6237
 
5850
6238
  /* eslint-disable jsdoc/require-param */
5851
6239
 
@@ -5906,7 +6294,7 @@ class AuroLibraryRuntimeUtils {
5906
6294
 
5907
6295
  return elemTag === tag || elem.hasAttribute(tag);
5908
6296
  }
5909
- }
6297
+ };
5910
6298
 
5911
6299
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
5912
6300
  // See LICENSE in the project root for license information.
@@ -6102,6 +6490,76 @@ var tokensCss = i$5`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-def
6102
6490
 
6103
6491
  var colorCss$2 = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]){--ds-auro-icon-color:var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]){--ds-auro-icon-color:var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]){--ds-auro-icon-color:var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]){--ds-auro-icon-color:var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]){--ds-auro-icon-color:var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]){--ds-auro-icon-color:var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]){--ds-auro-icon-color:var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]){--ds-auro-icon-color:var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}`;
6104
6492
 
6493
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
6494
+ // See LICENSE in the project root for license information.
6495
+
6496
+ // ---------------------------------------------------------------------
6497
+
6498
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
6499
+
6500
+ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
6501
+
6502
+ /* eslint-disable jsdoc/require-param */
6503
+
6504
+ /**
6505
+ * This will register a new custom element with the browser.
6506
+ * @param {String} name - The name of the custom element.
6507
+ * @param {Object} componentClass - The class to register as a custom element.
6508
+ * @returns {void}
6509
+ */
6510
+ registerComponent(name, componentClass) {
6511
+ if (!customElements.get(name)) {
6512
+ customElements.define(name, class extends componentClass {});
6513
+ }
6514
+ }
6515
+
6516
+ /**
6517
+ * Finds and returns the closest HTML Element based on a selector.
6518
+ * @returns {void}
6519
+ */
6520
+ closestElement(
6521
+ selector, // selector like in .closest()
6522
+ base = this, // extra functionality to skip a parent
6523
+ __Closest = (el, found = el && el.closest(selector)) =>
6524
+ !el || el === document || el === window
6525
+ ? null // standard .closest() returns null for non-found selectors also
6526
+ : found
6527
+ ? found // found a selector INside this element
6528
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
6529
+ ) {
6530
+ return __Closest(base);
6531
+ }
6532
+ /* eslint-enable jsdoc/require-param */
6533
+
6534
+ /**
6535
+ * 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.
6536
+ * @param {Object} elem - The element to check.
6537
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
6538
+ * @returns {void}
6539
+ */
6540
+ handleComponentTagRename(elem, tagName) {
6541
+ const tag = tagName.toLowerCase();
6542
+ const elemTag = elem.tagName.toLowerCase();
6543
+
6544
+ if (elemTag !== tag) {
6545
+ elem.setAttribute(tag, true);
6546
+ }
6547
+ }
6548
+
6549
+ /**
6550
+ * Validates if an element is a specific Auro component.
6551
+ * @param {Object} elem - The element to validate.
6552
+ * @param {String} tagName - The name of the Auro component to check against.
6553
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
6554
+ */
6555
+ elementMatch(elem, tagName) {
6556
+ const tag = tagName.toLowerCase();
6557
+ const elemTag = elem.tagName.toLowerCase();
6558
+
6559
+ return elemTag === tag || elem.hasAttribute(tag);
6560
+ }
6561
+ };
6562
+
6105
6563
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
6106
6564
  // See LICENSE in the project root for license information.
6107
6565
 
@@ -6121,7 +6579,7 @@ class AuroIcon extends BaseIcon {
6121
6579
  */
6122
6580
  privateDefaults() {
6123
6581
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
6124
- this.runtimeUtils = new AuroLibraryRuntimeUtils();
6582
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
6125
6583
  }
6126
6584
 
6127
6585
  // function to define props used within the scope of this component
@@ -6203,7 +6661,7 @@ class AuroIcon extends BaseIcon {
6203
6661
  *
6204
6662
  */
6205
6663
  static register(name = "auro-icon") {
6206
- AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
6664
+ AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
6207
6665
  }
6208
6666
 
6209
6667
  connectedCallback() {
@@ -6271,6 +6729,76 @@ class AuroIcon extends BaseIcon {
6271
6729
 
6272
6730
  var iconVersion = '8.0.2';
6273
6731
 
6732
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
6733
+ // See LICENSE in the project root for license information.
6734
+
6735
+ // ---------------------------------------------------------------------
6736
+
6737
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
6738
+
6739
+ class AuroLibraryRuntimeUtils {
6740
+
6741
+ /* eslint-disable jsdoc/require-param */
6742
+
6743
+ /**
6744
+ * This will register a new custom element with the browser.
6745
+ * @param {String} name - The name of the custom element.
6746
+ * @param {Object} componentClass - The class to register as a custom element.
6747
+ * @returns {void}
6748
+ */
6749
+ registerComponent(name, componentClass) {
6750
+ if (!customElements.get(name)) {
6751
+ customElements.define(name, class extends componentClass {});
6752
+ }
6753
+ }
6754
+
6755
+ /**
6756
+ * Finds and returns the closest HTML Element based on a selector.
6757
+ * @returns {void}
6758
+ */
6759
+ closestElement(
6760
+ selector, // selector like in .closest()
6761
+ base = this, // extra functionality to skip a parent
6762
+ __Closest = (el, found = el && el.closest(selector)) =>
6763
+ !el || el === document || el === window
6764
+ ? null // standard .closest() returns null for non-found selectors also
6765
+ : found
6766
+ ? found // found a selector INside this element
6767
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
6768
+ ) {
6769
+ return __Closest(base);
6770
+ }
6771
+ /* eslint-enable jsdoc/require-param */
6772
+
6773
+ /**
6774
+ * 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.
6775
+ * @param {Object} elem - The element to check.
6776
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
6777
+ * @returns {void}
6778
+ */
6779
+ handleComponentTagRename(elem, tagName) {
6780
+ const tag = tagName.toLowerCase();
6781
+ const elemTag = elem.tagName.toLowerCase();
6782
+
6783
+ if (elemTag !== tag) {
6784
+ elem.setAttribute(tag, true);
6785
+ }
6786
+ }
6787
+
6788
+ /**
6789
+ * Validates if an element is a specific Auro component.
6790
+ * @param {Object} elem - The element to validate.
6791
+ * @param {String} tagName - The name of the Auro component to check against.
6792
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
6793
+ */
6794
+ elementMatch(elem, tagName) {
6795
+ const tag = tagName.toLowerCase();
6796
+ const elemTag = elem.tagName.toLowerCase();
6797
+
6798
+ return elemTag === tag || elem.hasAttribute(tag);
6799
+ }
6800
+ }
6801
+
6274
6802
  var styleCss$3 = i$5`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-heading-default-spacing, -0.2px);font-weight:var(--ds-text-heading-default-weight, 500)}.heading--display{margin-top:0;font-size:var(--ds-text-heading-display-size-breakpoint-sm, 2.75rem);font-weight:var(--ds-text-heading-display-weight, 100);line-height:var(--ds-text-heading-display-height-breakpoint-sm, 3.375rem)}@media screen and (min-width: 768px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-md, 3rem);line-height:var(--ds-text-heading-display-height-breakpoint-md, 3.75rem)}}@media screen and (min-width: 1024px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-lg, 3.5rem);line-height:var(--ds-text-heading-display-height-breakpoint-lg, 4.25rem)}}.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-sm, 2rem);font-weight:var(--ds-text-heading-800-weight, 500);line-height:var(--ds-text-heading-800-height-breakpoint-sm, 2.375rem)}@media screen and (min-width: 768px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-md, 2.25rem);line-height:var(--ds-text-heading-800-height-breakpoint-md, 2.625rem)}}@media screen and (min-width: 1024px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-lg, 2.5rem);line-height:var(--ds-text-heading-800-height-breakpoint-lg, 3rem)}}.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-sm, 1.75rem);font-weight:var(--ds-text-heading-700-weight, 500);line-height:var(--ds-text-heading-700-height-breakpoint-sm, 2.125rem)}@media screen and (min-width: 768px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-md, 2rem);line-height:var(--ds-text-heading-700-height-breakpoint-md, 2.375rem)}}@media screen and (min-width: 1024px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-lg, 2.25rem);line-height:var(--ds-text-heading-700-height-breakpoint-lg, 2.75rem)}}.heading--600{margin:1rem 0;font-size:var(--ds-text-heading-600-size-breakpoint-sm, 1.625rem);font-weight:var(--ds-text-heading-600-weight, 300);line-height:var(--ds-text-heading-600-height-breakpoint-sm, 1.875rem)}@media screen and (min-width: 768px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-md, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-md, 2.125rem)}}@media screen and (min-width: 1024px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-lg, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-lg, 2.25rem)}}.heading--500{margin:1rem 0;font-size:var(--ds-text-heading-500-size-breakpoint-sm, 1.375rem);font-weight:var(--ds-text-heading-500-weight, 300);line-height:var(--ds-text-heading-500-height-breakpoint-sm, 1.625rem)}@media screen and (min-width: 768px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-md, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-md, 1.875rem)}}@media screen and (min-width: 1024px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-lg, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-lg, 2rem)}}.heading--400{margin:.75rem 0;font-size:var(--ds-text-heading-400-size, 1.25rem);font-weight:var(--ds-text-heading-400-weight, 300);line-height:var(--ds-text-heading-400-height, 1.625rem)}.heading--300{margin:.75rem 0;font-size:var(--ds-text-heading-300-size, 1.125rem);font-weight:var(--ds-text-heading-300-weight, 300);line-height:var(--ds-text-heading-300-height, 1.625rem)}:host([no-margin-block]) .heading{margin-block:0}.util_stackMarginnone--bottom{margin-bottom:0}.util_stackMargin25--bottom{margin-bottom:var(--ds-size-25, 0.125rem)}.util_stackMargin50--bottom{margin-bottom:var(--ds-size-50, 0.25rem)}.util_stackMargin100--bottom{margin-bottom:var(--ds-size-100, 0.5rem)}.util_stackMargin150--bottom{margin-bottom:var(--ds-size-150, 0.75rem)}.util_stackMargin200--bottom{margin-bottom:var(--ds-size-200, 1rem)}.util_stackMargin300--bottom{margin-bottom:var(--ds-size-300, 1.5rem)}.util_stackMargin400--bottom{margin-bottom:var(--ds-size-400, 2rem)}.util_stackMargin600--bottom{margin-bottom:var(--ds-size-600, 3rem)}.util_stackMargin800--bottom{margin-bottom:var(--ds-size-800, 4rem)}.util_stackMarginnone--top{margin-top:0}.util_stackMargin25--top{margin-top:var(--ds-size-25, 0.125rem)}.util_stackMargin50--top{margin-top:var(--ds-size-50, 0.25rem)}.util_stackMargin100--top{margin-top:var(--ds-size-100, 0.5rem)}.util_stackMargin150--top{margin-top:var(--ds-size-150, 0.75rem)}.util_stackMargin200--top{margin-top:var(--ds-size-200, 1rem)}.util_stackMargin300--top{margin-top:var(--ds-size-300, 1.5rem)}.util_stackMargin400--top{margin-top:var(--ds-size-400, 2rem)}.util_stackMargin600--top{margin-top:var(--ds-size-600, 3rem)}.util_stackMargin800--top{margin-top:var(--ds-size-800, 4rem)}`;
6275
6803
 
6276
6804
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
@@ -6426,7 +6954,7 @@ class AuroBibtemplate extends i$2 {
6426
6954
 
6427
6955
  this.large = false;
6428
6956
 
6429
- AuroLibraryRuntimeUtils.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
6957
+ AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
6430
6958
 
6431
6959
  const versioning = new AuroDependencyVersioning();
6432
6960
  this.iconTag = versioning.generateTag('auro-formkit-bibtemplate-icon', iconVersion, AuroIcon);
@@ -6465,7 +6993,7 @@ class AuroBibtemplate extends i$2 {
6465
6993
  *
6466
6994
  */
6467
6995
  static register(name = "auro-bibtemplate") {
6468
- AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroBibtemplate);
6996
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroBibtemplate);
6469
6997
  }
6470
6998
 
6471
6999
  /**
@@ -6505,6 +7033,18 @@ class AuroBibtemplate extends i$2 {
6505
7033
  this.setAttribute('exportparts', 'bibtemplate:dropdownBibTemplate');
6506
7034
  }
6507
7035
 
7036
+ firstUpdated(changedProperties) {
7037
+ super.firstUpdated(changedProperties);
7038
+
7039
+ this.dispatchEvent(new CustomEvent("auro-bibtemplate-connected", {
7040
+ bubbles: true,
7041
+ composed: true,
7042
+ detail: {
7043
+ element: this
7044
+ }
7045
+ }));
7046
+ }
7047
+
6508
7048
  // function that renders the HTML and CSS into the scope of the component
6509
7049
  render() {
6510
7050
  return u`
@@ -6572,7 +7112,7 @@ class AuroCounterWrapper extends i$2 {
6572
7112
  * AuroCounterWrapper.register("custom-counter-wrapper") // registers <custom-counter-wrapper/>
6573
7113
  */
6574
7114
  static register(name = "auro-counter-wrapper") {
6575
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroCounterWrapper);
7115
+ AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroCounterWrapper);
6576
7116
  }
6577
7117
 
6578
7118
  // function that renders the HTML and CSS into the scope of the component
@@ -7026,7 +7566,7 @@ class AuroCounterGroup extends i$2 {
7026
7566
  * AuroCounterGroup.register("custom-counter-group") // registers <custom-counter-group/>
7027
7567
  */
7028
7568
  static register(name = "auro-counter-group") {
7029
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroCounterGroup);
7569
+ AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroCounterGroup);
7030
7570
  }
7031
7571
 
7032
7572
  // function that renders the HTML and CSS into the scope of the component