@aurodesignsystem/auro-formkit 2.0.3-beta.1 → 2.1.0-beta.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 (66) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/components/bibtemplate/dist/index.js +148 -8
  3. package/components/bibtemplate/dist/registered.js +148 -8
  4. package/components/checkbox/README.md +1 -1
  5. package/components/checkbox/demo/api.min.js +1 -1
  6. package/components/checkbox/demo/index.min.js +1 -1
  7. package/components/checkbox/demo/readme.md +1 -1
  8. package/components/checkbox/dist/index.js +1 -1
  9. package/components/checkbox/dist/registered.js +1 -1
  10. package/components/combobox/README.md +1 -1
  11. package/components/combobox/demo/api.min.js +643 -112
  12. package/components/combobox/demo/index.min.js +643 -112
  13. package/components/combobox/demo/readme.md +1 -1
  14. package/components/combobox/dist/index.js +510 -49
  15. package/components/combobox/dist/registered.js +510 -49
  16. package/components/counter/README.md +1 -1
  17. package/components/counter/demo/api.min.js +500 -39
  18. package/components/counter/demo/index.js +1 -0
  19. package/components/counter/demo/index.min.js +501 -39
  20. package/components/counter/demo/readme.md +1 -1
  21. package/components/counter/dist/index.js +500 -39
  22. package/components/counter/dist/registered.js +500 -39
  23. package/components/datepicker/README.md +1 -1
  24. package/components/datepicker/demo/api.md +30 -0
  25. package/components/datepicker/demo/api.min.js +1280 -206
  26. package/components/datepicker/demo/index.min.js +1280 -206
  27. package/components/datepicker/demo/readme.md +1 -1
  28. package/components/datepicker/dist/auro-calendar.d.ts +5 -1
  29. package/components/datepicker/dist/auro-datepicker.d.ts +7 -0
  30. package/components/datepicker/dist/buttonVersion.d.ts +2 -0
  31. package/components/datepicker/dist/index.js +1280 -206
  32. package/components/datepicker/dist/popoverVersion.d.ts +1 -1
  33. package/components/datepicker/dist/registered.js +1280 -206
  34. package/components/dropdown/README.md +1 -1
  35. package/components/dropdown/demo/api.min.js +81 -10
  36. package/components/dropdown/demo/index.min.js +81 -10
  37. package/components/dropdown/demo/readme.md +1 -1
  38. package/components/dropdown/dist/index.js +81 -10
  39. package/components/dropdown/dist/registered.js +81 -10
  40. package/components/form/README.md +1 -1
  41. package/components/form/demo/readme.md +1 -1
  42. package/components/input/README.md +1 -1
  43. package/components/input/demo/api.min.js +262 -12
  44. package/components/input/demo/index.min.js +262 -12
  45. package/components/input/demo/readme.md +1 -1
  46. package/components/input/dist/index.js +262 -12
  47. package/components/input/dist/registered.js +262 -12
  48. package/components/menu/README.md +1 -1
  49. package/components/menu/demo/api.min.js +77 -7
  50. package/components/menu/demo/index.min.js +77 -7
  51. package/components/menu/demo/readme.md +1 -1
  52. package/components/menu/dist/index.js +77 -7
  53. package/components/menu/dist/registered.js +77 -7
  54. package/components/radio/README.md +1 -1
  55. package/components/radio/demo/api.min.js +1 -1
  56. package/components/radio/demo/index.min.js +1 -1
  57. package/components/radio/demo/readme.md +1 -1
  58. package/components/radio/dist/index.js +1 -1
  59. package/components/radio/dist/registered.js +1 -1
  60. package/components/select/README.md +1 -1
  61. package/components/select/demo/api.min.js +319 -38
  62. package/components/select/demo/index.min.js +319 -38
  63. package/components/select/demo/readme.md +1 -1
  64. package/components/select/dist/index.js +240 -29
  65. package/components/select/dist/registered.js +240 -29
  66. package/package.json +2 -2
@@ -8,7 +8,7 @@ import { repeat } from 'lit/directives/repeat.js';
8
8
  // See LICENSE in the project root for license information.
9
9
 
10
10
 
11
- let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
11
+ let AuroDependencyVersioning$4 = class AuroDependencyVersioning {
12
12
 
13
13
  /**
14
14
  * Generates a unique string to be used for child auro element naming.
@@ -51,7 +51,7 @@ let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
51
51
 
52
52
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
53
53
 
54
- let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
54
+ let AuroLibraryRuntimeUtils$7 = class AuroLibraryRuntimeUtils {
55
55
 
56
56
  /* eslint-disable jsdoc/require-param */
57
57
 
@@ -120,7 +120,7 @@ let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
120
120
 
121
121
  let AuroFormValidation$1 = class AuroFormValidation {
122
122
  constructor() {
123
- this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
123
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$7();
124
124
  }
125
125
 
126
126
  /**
@@ -432,7 +432,7 @@ let AuroFormValidation$1 = class AuroFormValidation {
432
432
 
433
433
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
434
434
 
435
- let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
435
+ let AuroLibraryRuntimeUtils$2$2 = class AuroLibraryRuntimeUtils {
436
436
 
437
437
  /* eslint-disable jsdoc/require-param */
438
438
 
@@ -2245,11 +2245,11 @@ class AuroFloatingUI {
2245
2245
 
2246
2246
  updateCurrentExpandedDropdown() {
2247
2247
  // Close any other dropdown that is already open
2248
- if (document.expandedAuroDropdown) {
2249
- this.hideBib(document.expandedAuroDropdown);
2248
+ if (document.expandedAuroFormkitDropdown) {
2249
+ document.expandedAuroFormkitDropdown.hide;
2250
2250
  }
2251
2251
 
2252
- document.expandedAuroDropdown = this;
2252
+ document.expandedAuroFormkitDropdown = this;
2253
2253
  }
2254
2254
 
2255
2255
  showBib() {
@@ -2437,7 +2437,7 @@ class AuroFloatingUI {
2437
2437
  // See LICENSE in the project root for license information.
2438
2438
 
2439
2439
 
2440
- let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
2440
+ let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
2441
2441
 
2442
2442
  /**
2443
2443
  * Generates a unique string to be used for child auro element naming.
@@ -2624,6 +2624,76 @@ var tokensCss$2$1 = css`:host{--ds-auro-icon-color:var(--ds-color-icon-primary-d
2624
2624
 
2625
2625
  var colorCss$3$1 = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color:var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color:var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color:var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color:var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color:var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color:var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color:var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color:var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color:var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color:var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color:var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color:var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color:var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color:var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color:var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color:var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color:var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color:var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color:var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color:var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color:var(--ds-color-icon-warning-inverse, #f2c153)}`;
2626
2626
 
2627
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
2628
+ // See LICENSE in the project root for license information.
2629
+
2630
+ // ---------------------------------------------------------------------
2631
+
2632
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
2633
+
2634
+ let AuroLibraryRuntimeUtils$1$2 = class AuroLibraryRuntimeUtils {
2635
+
2636
+ /* eslint-disable jsdoc/require-param */
2637
+
2638
+ /**
2639
+ * This will register a new custom element with the browser.
2640
+ * @param {String} name - The name of the custom element.
2641
+ * @param {Object} componentClass - The class to register as a custom element.
2642
+ * @returns {void}
2643
+ */
2644
+ registerComponent(name, componentClass) {
2645
+ if (!customElements.get(name)) {
2646
+ customElements.define(name, class extends componentClass {});
2647
+ }
2648
+ }
2649
+
2650
+ /**
2651
+ * Finds and returns the closest HTML Element based on a selector.
2652
+ * @returns {void}
2653
+ */
2654
+ closestElement(
2655
+ selector, // selector like in .closest()
2656
+ base = this, // extra functionality to skip a parent
2657
+ __Closest = (el, found = el && el.closest(selector)) =>
2658
+ !el || el === document || el === window
2659
+ ? null // standard .closest() returns null for non-found selectors also
2660
+ : found
2661
+ ? found // found a selector INside this element
2662
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
2663
+ ) {
2664
+ return __Closest(base);
2665
+ }
2666
+ /* eslint-enable jsdoc/require-param */
2667
+
2668
+ /**
2669
+ * 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.
2670
+ * @param {Object} elem - The element to check.
2671
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
2672
+ * @returns {void}
2673
+ */
2674
+ handleComponentTagRename(elem, tagName) {
2675
+ const tag = tagName.toLowerCase();
2676
+ const elemTag = elem.tagName.toLowerCase();
2677
+
2678
+ if (elemTag !== tag) {
2679
+ elem.setAttribute(tag, true);
2680
+ }
2681
+ }
2682
+
2683
+ /**
2684
+ * Validates if an element is a specific Auro component.
2685
+ * @param {Object} elem - The element to validate.
2686
+ * @param {String} tagName - The name of the Auro component to check against.
2687
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
2688
+ */
2689
+ elementMatch(elem, tagName) {
2690
+ const tag = tagName.toLowerCase();
2691
+ const elemTag = elem.tagName.toLowerCase();
2692
+
2693
+ return elemTag === tag || elem.hasAttribute(tag);
2694
+ }
2695
+ };
2696
+
2627
2697
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
2628
2698
  // See LICENSE in the project root for license information.
2629
2699
 
@@ -2656,7 +2726,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
2656
2726
  this.tertiary = false;
2657
2727
  this.warning = false;
2658
2728
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
2659
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
2729
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1$2();
2660
2730
  }
2661
2731
 
2662
2732
  // function to define props used within the scope of this component
@@ -2818,7 +2888,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
2818
2888
  *
2819
2889
  */
2820
2890
  static register(name = "auro-icon") {
2821
- AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroIcon);
2891
+ AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroIcon);
2822
2892
  }
2823
2893
 
2824
2894
  connectedCallback() {
@@ -2920,7 +2990,7 @@ class AuroDropdownBib extends LitElement {
2920
2990
  */
2921
2991
  this._mobileBreakpointValue = undefined;
2922
2992
 
2923
- AuroLibraryRuntimeUtils$1$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
2993
+ AuroLibraryRuntimeUtils$2$2.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
2924
2994
  }
2925
2995
 
2926
2996
  static get styles() {
@@ -3028,7 +3098,7 @@ var tokensCss$6 = css`:host{--ds-auro-helptext-color: var(--ds-color-text-tertia
3028
3098
 
3029
3099
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
3030
3100
 
3031
- let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
3101
+ let AuroLibraryRuntimeUtils$6 = class AuroLibraryRuntimeUtils {
3032
3102
 
3033
3103
  /* eslint-disable jsdoc/require-param */
3034
3104
 
@@ -3108,7 +3178,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
3108
3178
  this.error = false;
3109
3179
  this.hasTextContent = false;
3110
3180
 
3111
- AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-helptext');
3181
+ AuroLibraryRuntimeUtils$6.prototype.handleComponentTagRename(this, 'auro-helptext');
3112
3182
  }
3113
3183
 
3114
3184
  static get styles() {
@@ -3156,7 +3226,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
3156
3226
  *
3157
3227
  */
3158
3228
  static register(name = "auro-helptext") {
3159
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroHelpText);
3229
+ AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroHelpText);
3160
3230
  }
3161
3231
 
3162
3232
  updated() {
@@ -3289,7 +3359,7 @@ class AuroDropdown extends LitElement {
3289
3359
  /**
3290
3360
  * @private
3291
3361
  */
3292
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
3362
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2$2();
3293
3363
 
3294
3364
  /**
3295
3365
  * @private
@@ -3309,22 +3379,22 @@ class AuroDropdown extends LitElement {
3309
3379
  /**
3310
3380
  * Generate unique names for dependency components.
3311
3381
  */
3312
- const versioning = new AuroDependencyVersioning$2();
3382
+ const versioning = new AuroDependencyVersioning$3();
3313
3383
 
3314
3384
  /**
3315
3385
  * @private
3316
3386
  */
3317
- this.iconTag = versioning.generateTag('auro-icon', iconVersion$2, AuroIcon$2);
3387
+ this.iconTag = versioning.generateTag('auro-formkit-dropdown-icon', iconVersion$2, AuroIcon$2);
3318
3388
 
3319
3389
  /**
3320
3390
  * @private
3321
3391
  */
3322
- this.dropdownBibTag = versioning.generateTag('auro-dropdownbib', dropdownVersion$1, AuroDropdownBib);
3392
+ this.dropdownBibTag = versioning.generateTag('auro-formkit-dropdown-dropdownbib', dropdownVersion$1, AuroDropdownBib);
3323
3393
 
3324
3394
  /**
3325
3395
  * @private
3326
3396
  */
3327
- this.helpTextTag = versioning.generateTag('auro-helptext', helpTextVersion$1, AuroHelpText$1);
3397
+ this.helpTextTag = versioning.generateTag('auro-formkit-dropdown-helptext', helpTextVersion$1, AuroHelpText$1);
3328
3398
  }
3329
3399
 
3330
3400
  /**
@@ -3527,7 +3597,7 @@ class AuroDropdown extends LitElement {
3527
3597
  *
3528
3598
  */
3529
3599
  static register(name = "auro-dropdown") {
3530
- AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
3600
+ AuroLibraryRuntimeUtils$2$2.prototype.registerComponent(name, AuroDropdown);
3531
3601
  }
3532
3602
 
3533
3603
  connectedCallback() {
@@ -3550,6 +3620,7 @@ class AuroDropdown extends LitElement {
3550
3620
  if (changedProperties.size === 0 || changedProperties.has('isPopoverVisible')) {
3551
3621
  this.handleTriggerContentSlotChange();
3552
3622
  }
3623
+
3553
3624
  }
3554
3625
 
3555
3626
  firstUpdated() {
@@ -7758,7 +7829,7 @@ class AuroInputUtilities {
7758
7829
 
7759
7830
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
7760
7831
 
7761
- let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
7832
+ let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
7762
7833
 
7763
7834
  /* eslint-disable jsdoc/require-param */
7764
7835
 
@@ -7827,7 +7898,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
7827
7898
 
7828
7899
  class AuroFormValidation {
7829
7900
  constructor() {
7830
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
7901
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
7831
7902
  }
7832
7903
 
7833
7904
  /**
@@ -9278,6 +9349,76 @@ var tokensCss$3 = css`:host{--ds-auro-icon-color:var(--ds-color-icon-primary-def
9278
9349
 
9279
9350
  var colorCss$3 = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color:var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color:var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color:var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color:var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color:var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color:var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color:var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color:var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color:var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color:var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color:var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color:var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color:var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color:var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color:var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color:var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color:var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color:var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color:var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color:var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color:var(--ds-color-icon-warning-inverse, #f2c153)}`;
9280
9351
 
9352
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
9353
+ // See LICENSE in the project root for license information.
9354
+
9355
+ // ---------------------------------------------------------------------
9356
+
9357
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
9358
+
9359
+ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
9360
+
9361
+ /* eslint-disable jsdoc/require-param */
9362
+
9363
+ /**
9364
+ * This will register a new custom element with the browser.
9365
+ * @param {String} name - The name of the custom element.
9366
+ * @param {Object} componentClass - The class to register as a custom element.
9367
+ * @returns {void}
9368
+ */
9369
+ registerComponent(name, componentClass) {
9370
+ if (!customElements.get(name)) {
9371
+ customElements.define(name, class extends componentClass {});
9372
+ }
9373
+ }
9374
+
9375
+ /**
9376
+ * Finds and returns the closest HTML Element based on a selector.
9377
+ * @returns {void}
9378
+ */
9379
+ closestElement(
9380
+ selector, // selector like in .closest()
9381
+ base = this, // extra functionality to skip a parent
9382
+ __Closest = (el, found = el && el.closest(selector)) =>
9383
+ !el || el === document || el === window
9384
+ ? null // standard .closest() returns null for non-found selectors also
9385
+ : found
9386
+ ? found // found a selector INside this element
9387
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
9388
+ ) {
9389
+ return __Closest(base);
9390
+ }
9391
+ /* eslint-enable jsdoc/require-param */
9392
+
9393
+ /**
9394
+ * 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.
9395
+ * @param {Object} elem - The element to check.
9396
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
9397
+ * @returns {void}
9398
+ */
9399
+ handleComponentTagRename(elem, tagName) {
9400
+ const tag = tagName.toLowerCase();
9401
+ const elemTag = elem.tagName.toLowerCase();
9402
+
9403
+ if (elemTag !== tag) {
9404
+ elem.setAttribute(tag, true);
9405
+ }
9406
+ }
9407
+
9408
+ /**
9409
+ * Validates if an element is a specific Auro component.
9410
+ * @param {Object} elem - The element to validate.
9411
+ * @param {String} tagName - The name of the Auro component to check against.
9412
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
9413
+ */
9414
+ elementMatch(elem, tagName) {
9415
+ const tag = tagName.toLowerCase();
9416
+ const elemTag = elem.tagName.toLowerCase();
9417
+
9418
+ return elemTag === tag || elem.hasAttribute(tag);
9419
+ }
9420
+ };
9421
+
9281
9422
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
9282
9423
  // See LICENSE in the project root for license information.
9283
9424
 
@@ -9310,7 +9451,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
9310
9451
  this.tertiary = false;
9311
9452
  this.warning = false;
9312
9453
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
9313
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
9454
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
9314
9455
  }
9315
9456
 
9316
9457
  // function to define props used within the scope of this component
@@ -9472,7 +9613,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
9472
9613
  *
9473
9614
  */
9474
9615
  static register(name = "auro-icon") {
9475
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
9616
+ AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroIcon);
9476
9617
  }
9477
9618
 
9478
9619
  connectedCallback() {
@@ -9540,12 +9681,192 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
9540
9681
 
9541
9682
  var iconVersion$1 = '6.1.2';
9542
9683
 
9684
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
9685
+ // See LICENSE in the project root for license information.
9686
+
9687
+
9688
+ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
9689
+
9690
+ /**
9691
+ * Generates a unique string to be used for child auro element naming.
9692
+ * @private
9693
+ * @param {string} baseName - Defines the first part of the unique element name.
9694
+ * @param {string} version - Version of the component that will be appended to the baseName.
9695
+ * @returns {string} - Unique string to be used for naming.
9696
+ */
9697
+ generateElementName(baseName, version) {
9698
+ let result = baseName;
9699
+
9700
+ result += '-';
9701
+ result += version.replace(/[.]/g, '_');
9702
+
9703
+ return result;
9704
+ }
9705
+
9706
+ /**
9707
+ * Generates a unique string to be used for child auro element naming.
9708
+ * @param {string} baseName - Defines the first part of the unique element name.
9709
+ * @param {string} version - Version of the component that will be appended to the baseName.
9710
+ * @returns {string} - Unique string to be used for naming.
9711
+ */
9712
+ generateTag(baseName, version, tagClass) {
9713
+ const elementName = this.generateElementName(baseName, version);
9714
+ const tag = literal`${unsafeStatic(elementName)}`;
9715
+
9716
+ if (!customElements.get(elementName)) {
9717
+ customElements.define(elementName, class extends tagClass {});
9718
+ }
9719
+
9720
+ return tag;
9721
+ }
9722
+ };
9723
+
9724
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
9725
+ // See LICENSE in the project root for license information.
9726
+
9727
+ // ---------------------------------------------------------------------
9728
+
9729
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
9730
+
9731
+ let AuroLibraryRuntimeUtils$2$1 = class AuroLibraryRuntimeUtils {
9732
+
9733
+ /* eslint-disable jsdoc/require-param */
9734
+
9735
+ /**
9736
+ * This will register a new custom element with the browser.
9737
+ * @param {String} name - The name of the custom element.
9738
+ * @param {Object} componentClass - The class to register as a custom element.
9739
+ * @returns {void}
9740
+ */
9741
+ registerComponent(name, componentClass) {
9742
+ if (!customElements.get(name)) {
9743
+ customElements.define(name, class extends componentClass {});
9744
+ }
9745
+ }
9746
+
9747
+ /**
9748
+ * Finds and returns the closest HTML Element based on a selector.
9749
+ * @returns {void}
9750
+ */
9751
+ closestElement(
9752
+ selector, // selector like in .closest()
9753
+ base = this, // extra functionality to skip a parent
9754
+ __Closest = (el, found = el && el.closest(selector)) =>
9755
+ !el || el === document || el === window
9756
+ ? null // standard .closest() returns null for non-found selectors also
9757
+ : found
9758
+ ? found // found a selector INside this element
9759
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
9760
+ ) {
9761
+ return __Closest(base);
9762
+ }
9763
+ /* eslint-enable jsdoc/require-param */
9764
+
9765
+ /**
9766
+ * 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.
9767
+ * @param {Object} elem - The element to check.
9768
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
9769
+ * @returns {void}
9770
+ */
9771
+ handleComponentTagRename(elem, tagName) {
9772
+ const tag = tagName.toLowerCase();
9773
+ const elemTag = elem.tagName.toLowerCase();
9774
+
9775
+ if (elemTag !== tag) {
9776
+ elem.setAttribute(tag, true);
9777
+ }
9778
+ }
9779
+
9780
+ /**
9781
+ * Validates if an element is a specific Auro component.
9782
+ * @param {Object} elem - The element to validate.
9783
+ * @param {String} tagName - The name of the Auro component to check against.
9784
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
9785
+ */
9786
+ elementMatch(elem, tagName) {
9787
+ const tag = tagName.toLowerCase();
9788
+ const elemTag = elem.tagName.toLowerCase();
9789
+
9790
+ return elemTag === tag || elem.hasAttribute(tag);
9791
+ }
9792
+ };
9793
+
9543
9794
  var styleCss$2$1 = css`:focus:not(:focus-visible){outline:3px solid transparent}.util_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}:host([fluid]) .auro-button,:host([fluid=true]) .auro-button{min-width:auto;width:100%}:host([variant=flat]){display:inline-block;height:var(--ds-size-300, 1.5rem);width:var(--ds-size-300, 1.5rem)}:host([variant=flat]) .auro-button{height:100%;width:100%}::slotted(svg){vertical-align:middle}slot{pointer-events:none}.auro-button{position:relative;padding:0 var(--ds-size-300, 1.5rem);cursor:pointer;border-width:1px;border-style:solid;border-radius:var(--ds-border-radius, 0.375rem);font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-text-body-size-default, 1rem);font-weight:var(--ds-text-body-default-weight, 500);overflow:hidden;text-overflow:ellipsis;user-select:none;white-space:nowrap;min-height:var(--ds-size-600, 3rem);max-height:var(--ds-size-600, 3rem);display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--ds-size-100, 0.5rem);margin:0;-webkit-touch-callout:none;-webkit-user-select:none}.auro-button:active{transform:scale(0.95)}.auro-button:focus-visible:not([variant=secondary]):not([variant=tertiary]):not([variant=flat]):after{display:block;content:"";height:calc(100% - 2px);width:calc(100% - 2px);position:absolute;top:1px;left:1px;border-radius:4px;border-style:solid;border-width:2px}.auro-button:focus-visible[variant=secondary]:after,.auro-button:focus-visible[variant=tertiary]:after{display:block;content:"";height:100%;width:100%;position:absolute;top:0;left:0;border-radius:var(--ds-border-radius, 0.375rem);border-style:solid;border-width:2px}.auro-button.loading{cursor:not-allowed}.auro-button.loading *:not([auro-loader]){visibility:hidden}@media screen and (min-width: 576px){.auro-button{min-width:8.75rem;width:auto}}.auro-button:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=secondary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=flat]{height:unset;width:unset;min-height:unset;max-height:unset;min-width:unset;max-width:unset;border:0;border-radius:unset;gap:unset;padding:unset}.auro-button[onDark]:disabled{cursor:not-allowed;transform:unset}.auro-button[onDark][variant=secondary]:disabled{cursor:not-allowed;transform:unset}@media(hover: hover){.auro-button[onDark][variant=tertiary]:active,.auro-button[onDark][variant=tertiary]:hover{box-shadow:none}}.auro-button[onDark][variant=tertiary]:active{box-shadow:none}.auro-button[onDark][variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button--slim{padding:var(--ds-size-100, 0.5rem) var(--ds-size-200, 1rem);font-size:var(--ds-text-body-size-sm, 0.875rem);min-width:unset;min-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem));max-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem))}.auro-button--iconOnly{padding:0 var(--ds-size-100, 0.5rem);border-radius:100px;min-width:unset;height:var(--ds-size-600, 3rem);width:var(--ds-size-500, 2.5rem)}.auro-button--iconOnly ::slotted(auro-icon),.auro-button--iconOnly ::slotted([auro-icon]){--ds-auro-icon-size:var(--ds-size-300, $ds-size-300)}.auro-button--iconOnlySlim{padding:0 var(--ds-size-50, 0.25rem);height:calc(var(--ds-size-400, 2rem) + var(--ds-size-50, 0.25rem));width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-50, 0.25rem))}.auro-button--iconOnlySlim ::slotted(auro-icon),.auro-button--iconOnlySlim ::slotted([auro-icon]){--ds-auro-icon-size:calc(var(--ds-size-200, $ds-size-200) + var(--ds-size-50, $ds-size-50))}.auro-button--rounded{border-radius:100px;box-shadow:var(--ds-elevation-300, 0px 0px 15px rgba(0, 0, 0, 0.2));height:var(--ds-size-500, 2.5rem);min-width:unset;transition:all 300ms ease-out}.auro-button--rounded ::slotted(auro-icon),.auro-button--rounded ::slotted([auro-icon]){--ds-auro-icon-size:var(--ds-size-300, $ds-size-300)}:host([rounded]) .textSlot{transition:opacity 300ms ease-in;opacity:1}:host([rounded][iconOnly]) .textSlot{opacity:0}:host([rounded][iconOnly]) .textWrapper{display:none}:host([rounded][iconOnly]) .auro-button{min-width:unset;padding:unset;width:var(--ds-size-600, 3rem)}[auro-loader]{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}`;
9544
9795
 
9545
9796
  var colorCss$2 = css`[auro-loader]{color:var(--ds-auro-button-loader-color)}.auro-button{-webkit-tap-highlight-color:var(--ds-auro-button-tap-color);color:var(--ds-auro-button-text-color);background-color:var(--ds-auro-button-container-color);background-image:linear-gradient(var(--ds-auro-button-container-image), var(--ds-auro-button-container-image));border-color:var(--ds-auro-button-border-color)}.auro-button:not([variant=secondary]):not([variant=tertiary]):focus-visible:after{border-color:var(--ds-auro-button-border-inset-color)}.auro-button:not([ondark]):active{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-active-default, #225296)}.auro-button:not([ondark])[disabled]{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-disabled-default, #a0c9f1);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-disabled-default, #a0c9f1);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-disabled-default, #a0c9f1)}@media(hover: hover){.auro-button:not([ondark]):active:not(:disabled),.auro-button:not([ondark]):hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-primary-hover-default, #193d73);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-hover-default, #193d73);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-hover-default, #193d73)}}.auro-button:not([ondark])[variant=secondary]{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-default-default, #ffffff);--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-default-default, #ffffff);--ds-auro-button-border-color:var(--ds-color-border-ui-default-default, #2c67b5);--ds-auro-button-text-color:var(--ds-color-text-ui-default-default, #2c67b5)}@media(hover: hover){.auro-button:not([ondark])[variant=secondary]:active:not(:disabled),.auro-button:not([ondark])[variant=secondary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color:var(--ds-color-border-ui-hover-default, #193d73);--ds-auro-button-text-color:var(--ds-color-text-ui-hover-default, #193d73)}}.auro-button:not([ondark])[variant=secondary]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-color-border-ui-focus-default, #2c67b5)}.auro-button:not([ondark])[variant=secondary]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-active-default, #f0f7fd);--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-active-default, #f0f7fd);--ds-auro-button-border-color:var(--ds-color-border-ui-active-default, #225296);--ds-auro-button-text-color:var(--ds-color-text-ui-active-default, #225296)}.auro-button:not([ondark])[variant=secondary]:disabled{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-disabled-default, #f7f7f7);--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-disabled-default, #f7f7f7);--ds-auro-button-border-color:var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-default, #adadad)}.auro-button:not([ondark])[variant=tertiary]{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-default-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-default-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-default-default, #2c67b5)}@media(hover: hover){.auro-button:not([ondark])[variant=tertiary]:active:not(:disabled),.auro-button:not([ondark])[variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-hover-default, rgba(0, 0, 0, 0.12));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-hover-default, rgba(0, 0, 0, 0.12));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-hover-default, #193d73)}}.auro-button:not([ondark])[variant=tertiary]:focus-visible{--ds-auro-button-border-color:var(--ds-color-border-ui-default-default, #2c67b5);--ds-auro-button-border-inset-color:var(--ds-color-border-ui-default-default, #2c67b5)}.auro-button:not([ondark])[variant=tertiary]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-active-default, rgba(0, 0, 0, 0.06));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-active-default, rgba(0, 0, 0, 0.06));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-active-default, #225296)}.auro-button:not([ondark])[variant=tertiary]:disabled{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-disabled-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-disabled-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-default, #adadad)}.auro-button:not([ondark])[variant=flat]{color:var(--ds-color-icon-ui-secondary-default-default);background-color:transparent;background-image:none;border-color:transparent}@media(hover: hover){.auro-button:not([ondark])[variant=flat]:active:not(:disabled),.auro-button:not([ondark])[variant=flat]:hover:not(:disabled){color:var(--ds-color-icon-ui-secondary-hover-default);background-color:transparent;background-image:none;border-color:transparent}}.auro-button:not([ondark])[variant=flat]:disabled{color:var(--ds-color-icon-ui-secondary-disabled-default);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark]{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-default-inverse, #56bbde);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-default-inverse, #56bbde);--ds-auro-button-text-color:var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-button-loader-color:var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark]:active:not(:disabled),.auro-button[ondark]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7)}}.auro-button[ondark]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-active-inverse, #6ad5ef);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-active-inverse, #6ad5ef);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-active-inverse, #6ad5ef)}.auro-button[ondark][disabled]{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-disabled-inverse, #275b72);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-disabled-inverse, #275b72);--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-inverse, #7e7e7e);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-disabled-inverse, #275b72)}.auro-button[ondark][variant=secondary]{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-default-inverse, rgba(255, 255, 255, 0.03));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-default-inverse, rgba(255, 255, 255, 0.03));--ds-auro-button-border-color:var(--ds-color-border-ui-default-inverse, #56bbde);--ds-auro-button-text-color:var(--ds-color-text-ui-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark][variant=secondary]:hover{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-hover-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-hover-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color:var(--ds-color-border-ui-hover-inverse, #a8e9f7);--ds-auro-button-text-color:var(--ds-color-text-ui-hover-inverse, #a8e9f7)}}.auro-button[ondark][variant=secondary]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-color-border-ui-focus-inverse, #56bbde)}.auro-button[ondark][variant=secondary]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-border-color:var(--ds-color-border-ui-active-inverse, #6ad5ef);--ds-auro-button-text-color:var(--ds-color-text-ui-active-inverse, #6ad5ef)}.auro-button[ondark][variant=secondary]:disabled{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-disabled-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-disabled-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color:var(--ds-color-border-ui-disabled-inverse, #7e7e7e);--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-inverse, #7e7e7e)}.auro-button[ondark][variant=tertiary]{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-default-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-default-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark][variant=tertiary]:active:not(:disabled),.auro-button[ondark][variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-hover-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-hover-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-hover-inverse, #a8e9f7)}}.auro-button[ondark][variant=tertiary]:focus-visible{--ds-auro-button-border-color:var(--ds-color-border-ui-default-inverse, #56bbde);--ds-auro-button-border-inset-color:var(--ds-color-border-ui-default-inverse, #56bbde)}.auro-button[ondark][variant=tertiary]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-active-inverse, #6ad5ef)}.auro-button[ondark][variant=tertiary]:disabled{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-disabled-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-disabled-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-inverse, #7e7e7e)}.auro-button[ondark][variant=flat]{color:var(--ds-color-icon-ui-secondary-default-inverse);background-color:transparent;background-image:none;border-color:transparent}@media(hover: hover){.auro-button[ondark][variant=flat]:active:not(:disabled),.auro-button[ondark][variant=flat]:hover:not(:disabled){color:var(--ds-color-icon-ui-secondary-hover-inverse);background-color:transparent;background-image:none;border-color:transparent}}.auro-button[ondark][variant=flat]:disabled{color:var(--ds-color-icon-ui-disabled-default);background-color:transparent;background-image:none;border-color:transparent}`;
9546
9797
 
9547
9798
  var tokensCss$2 = css`:host{--ds-auro-button-border-color:var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-border-inset-color:var(--ds-color-border-emphasis-inverse, #f2f7fb);--ds-auro-button-container-color:var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-loader-color:var(--ds-color-utility-navy-default, #265688);--ds-auro-button-text-color:var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-button-tap-color:transparent}`;
9548
9799
 
9800
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
9801
+ // See LICENSE in the project root for license information.
9802
+
9803
+ // ---------------------------------------------------------------------
9804
+
9805
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
9806
+
9807
+ let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
9808
+
9809
+ /* eslint-disable jsdoc/require-param */
9810
+
9811
+ /**
9812
+ * This will register a new custom element with the browser.
9813
+ * @param {String} name - The name of the custom element.
9814
+ * @param {Object} componentClass - The class to register as a custom element.
9815
+ * @returns {void}
9816
+ */
9817
+ registerComponent(name, componentClass) {
9818
+ if (!customElements.get(name)) {
9819
+ customElements.define(name, class extends componentClass {});
9820
+ }
9821
+ }
9822
+
9823
+ /**
9824
+ * Finds and returns the closest HTML Element based on a selector.
9825
+ * @returns {void}
9826
+ */
9827
+ closestElement(
9828
+ selector, // selector like in .closest()
9829
+ base = this, // extra functionality to skip a parent
9830
+ __Closest = (el, found = el && el.closest(selector)) =>
9831
+ !el || el === document || el === window
9832
+ ? null // standard .closest() returns null for non-found selectors also
9833
+ : found
9834
+ ? found // found a selector INside this element
9835
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
9836
+ ) {
9837
+ return __Closest(base);
9838
+ }
9839
+ /* eslint-enable jsdoc/require-param */
9840
+
9841
+ /**
9842
+ * 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.
9843
+ * @param {Object} elem - The element to check.
9844
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
9845
+ * @returns {void}
9846
+ */
9847
+ handleComponentTagRename(elem, tagName) {
9848
+ const tag = tagName.toLowerCase();
9849
+ const elemTag = elem.tagName.toLowerCase();
9850
+
9851
+ if (elemTag !== tag) {
9852
+ elem.setAttribute(tag, true);
9853
+ }
9854
+ }
9855
+
9856
+ /**
9857
+ * Validates if an element is a specific Auro component.
9858
+ * @param {Object} elem - The element to validate.
9859
+ * @param {String} tagName - The name of the Auro component to check against.
9860
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
9861
+ */
9862
+ elementMatch(elem, tagName) {
9863
+ const tag = tagName.toLowerCase();
9864
+ const elemTag = elem.tagName.toLowerCase();
9865
+
9866
+ return elemTag === tag || elem.hasAttribute(tag);
9867
+ }
9868
+ };
9869
+
9549
9870
  var styleCss$1$1 = css`: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}}`;
9550
9871
 
9551
9872
  var colorCss$1$1 = css`: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-color-utility-navy-default, #265688)}:host([ondark]){--ds-auro-loader-color:var(--ds-color-utility-cyan-inverse, #a8e9f7)}:host([white]){--ds-auro-loader-color:var(--ds-color-utility-neutral-inverse, #ccd2db)}: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}`;
@@ -9597,7 +9918,7 @@ class AuroLoader extends LitElement {
9597
9918
  /**
9598
9919
  * @private
9599
9920
  */
9600
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
9921
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
9601
9922
 
9602
9923
  this.orbit = false;
9603
9924
  this.ringworm = false;
@@ -9644,7 +9965,7 @@ class AuroLoader extends LitElement {
9644
9965
  *
9645
9966
  */
9646
9967
  static register(name = "auro-loader") {
9647
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroLoader);
9968
+ AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroLoader);
9648
9969
  }
9649
9970
 
9650
9971
  firstUpdated() {
@@ -9769,7 +10090,7 @@ class AuroButton extends LitElement {
9769
10090
  /**
9770
10091
  * Generate unique names for dependency components.
9771
10092
  */
9772
- const versioning = new AuroDependencyVersioning$1();
10093
+ const versioning = new AuroDependencyVersioning$2();
9773
10094
 
9774
10095
  /**
9775
10096
  * @private
@@ -9864,7 +10185,7 @@ class AuroButton extends LitElement {
9864
10185
  *
9865
10186
  */
9866
10187
  static register(name = "auro-button") {
9867
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroButton);
10188
+ AuroLibraryRuntimeUtils$2$1.prototype.registerComponent(name, AuroButton);
9868
10189
  }
9869
10190
 
9870
10191
  /**
@@ -9975,7 +10296,7 @@ var tokensCss$5 = css`:host{--ds-auro-helptext-color: var(--ds-color-text-tertia
9975
10296
 
9976
10297
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
9977
10298
 
9978
- let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
10299
+ let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
9979
10300
 
9980
10301
  /* eslint-disable jsdoc/require-param */
9981
10302
 
@@ -10055,7 +10376,7 @@ class AuroHelpText extends LitElement {
10055
10376
  this.error = false;
10056
10377
  this.hasTextContent = false;
10057
10378
 
10058
- AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-helptext');
10379
+ AuroLibraryRuntimeUtils$5.prototype.handleComponentTagRename(this, 'auro-helptext');
10059
10380
  }
10060
10381
 
10061
10382
  static get styles() {
@@ -10103,7 +10424,7 @@ class AuroHelpText extends LitElement {
10103
10424
  *
10104
10425
  */
10105
10426
  static register(name = "auro-helptext") {
10106
- AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHelpText);
10427
+ AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroHelpText);
10107
10428
  }
10108
10429
 
10109
10430
  updated() {
@@ -10178,17 +10499,17 @@ class AuroInput extends BaseInput {
10178
10499
  /**
10179
10500
  * @private
10180
10501
  */
10181
- this.iconTag = versioning.generateTag('auro-icon', iconVersion$1, AuroIcon$1);
10502
+ this.iconTag = versioning.generateTag('auro-formkit-input-icon', iconVersion$1, AuroIcon$1);
10182
10503
 
10183
10504
  /**
10184
10505
  * @private
10185
10506
  */
10186
- this.buttonTag = versioning.generateTag('auro-button', buttonVersion, AuroButton);
10507
+ this.buttonTag = versioning.generateTag('auro-formkit-input-button', buttonVersion, AuroButton);
10187
10508
 
10188
10509
  /**
10189
10510
  * @private
10190
10511
  */
10191
- this.helpTextTag = versioning.generateTag('auro-helptext', helpTextVersion, AuroHelpText);
10512
+ this.helpTextTag = versioning.generateTag('auro-formkit-input-helptext', helpTextVersion, AuroHelpText);
10192
10513
  }
10193
10514
 
10194
10515
  /**
@@ -10200,7 +10521,7 @@ class AuroInput extends BaseInput {
10200
10521
  *
10201
10522
  */
10202
10523
  static register(name = "auro-input") {
10203
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroInput);
10524
+ AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroInput);
10204
10525
  }
10205
10526
 
10206
10527
  /**
@@ -10380,7 +10701,7 @@ var tokenCss = css`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
10380
10701
 
10381
10702
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
10382
10703
 
10383
- class AuroLibraryRuntimeUtils {
10704
+ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
10384
10705
 
10385
10706
  /* eslint-disable jsdoc/require-param */
10386
10707
 
@@ -10441,7 +10762,7 @@ class AuroLibraryRuntimeUtils {
10441
10762
 
10442
10763
  return elemTag === tag || elem.hasAttribute(tag);
10443
10764
  }
10444
- }
10765
+ };
10445
10766
 
10446
10767
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
10447
10768
  // See LICENSE in the project root for license information.
@@ -10634,6 +10955,76 @@ var tokensCss = css`:host{--ds-auro-icon-color:var(--ds-color-icon-primary-defau
10634
10955
 
10635
10956
  var colorCss = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color:var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color:var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color:var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color:var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color:var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color:var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color:var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color:var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color:var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color:var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color:var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color:var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color:var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color:var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color:var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color:var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color:var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color:var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color:var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color:var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color:var(--ds-color-icon-warning-inverse, #f2c153)}`;
10636
10957
 
10958
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
10959
+ // See LICENSE in the project root for license information.
10960
+
10961
+ // ---------------------------------------------------------------------
10962
+
10963
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
10964
+
10965
+ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
10966
+
10967
+ /* eslint-disable jsdoc/require-param */
10968
+
10969
+ /**
10970
+ * This will register a new custom element with the browser.
10971
+ * @param {String} name - The name of the custom element.
10972
+ * @param {Object} componentClass - The class to register as a custom element.
10973
+ * @returns {void}
10974
+ */
10975
+ registerComponent(name, componentClass) {
10976
+ if (!customElements.get(name)) {
10977
+ customElements.define(name, class extends componentClass {});
10978
+ }
10979
+ }
10980
+
10981
+ /**
10982
+ * Finds and returns the closest HTML Element based on a selector.
10983
+ * @returns {void}
10984
+ */
10985
+ closestElement(
10986
+ selector, // selector like in .closest()
10987
+ base = this, // extra functionality to skip a parent
10988
+ __Closest = (el, found = el && el.closest(selector)) =>
10989
+ !el || el === document || el === window
10990
+ ? null // standard .closest() returns null for non-found selectors also
10991
+ : found
10992
+ ? found // found a selector INside this element
10993
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
10994
+ ) {
10995
+ return __Closest(base);
10996
+ }
10997
+ /* eslint-enable jsdoc/require-param */
10998
+
10999
+ /**
11000
+ * 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.
11001
+ * @param {Object} elem - The element to check.
11002
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
11003
+ * @returns {void}
11004
+ */
11005
+ handleComponentTagRename(elem, tagName) {
11006
+ const tag = tagName.toLowerCase();
11007
+ const elemTag = elem.tagName.toLowerCase();
11008
+
11009
+ if (elemTag !== tag) {
11010
+ elem.setAttribute(tag, true);
11011
+ }
11012
+ }
11013
+
11014
+ /**
11015
+ * Validates if an element is a specific Auro component.
11016
+ * @param {Object} elem - The element to validate.
11017
+ * @param {String} tagName - The name of the Auro component to check against.
11018
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
11019
+ */
11020
+ elementMatch(elem, tagName) {
11021
+ const tag = tagName.toLowerCase();
11022
+ const elemTag = elem.tagName.toLowerCase();
11023
+
11024
+ return elemTag === tag || elem.hasAttribute(tag);
11025
+ }
11026
+ };
11027
+
10637
11028
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
10638
11029
  // See LICENSE in the project root for license information.
10639
11030
 
@@ -10666,7 +11057,7 @@ class AuroIcon extends BaseIcon {
10666
11057
  this.tertiary = false;
10667
11058
  this.warning = false;
10668
11059
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
10669
- this.runtimeUtils = new AuroLibraryRuntimeUtils();
11060
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
10670
11061
  }
10671
11062
 
10672
11063
  // function to define props used within the scope of this component
@@ -10828,7 +11219,7 @@ class AuroIcon extends BaseIcon {
10828
11219
  *
10829
11220
  */
10830
11221
  static register(name = "auro-icon") {
10831
- AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
11222
+ AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
10832
11223
  }
10833
11224
 
10834
11225
  connectedCallback() {
@@ -10896,6 +11287,76 @@ class AuroIcon extends BaseIcon {
10896
11287
 
10897
11288
  var iconVersion = '7.0.1';
10898
11289
 
11290
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
11291
+ // See LICENSE in the project root for license information.
11292
+
11293
+ // ---------------------------------------------------------------------
11294
+
11295
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
11296
+
11297
+ class AuroLibraryRuntimeUtils {
11298
+
11299
+ /* eslint-disable jsdoc/require-param */
11300
+
11301
+ /**
11302
+ * This will register a new custom element with the browser.
11303
+ * @param {String} name - The name of the custom element.
11304
+ * @param {Object} componentClass - The class to register as a custom element.
11305
+ * @returns {void}
11306
+ */
11307
+ registerComponent(name, componentClass) {
11308
+ if (!customElements.get(name)) {
11309
+ customElements.define(name, class extends componentClass {});
11310
+ }
11311
+ }
11312
+
11313
+ /**
11314
+ * Finds and returns the closest HTML Element based on a selector.
11315
+ * @returns {void}
11316
+ */
11317
+ closestElement(
11318
+ selector, // selector like in .closest()
11319
+ base = this, // extra functionality to skip a parent
11320
+ __Closest = (el, found = el && el.closest(selector)) =>
11321
+ !el || el === document || el === window
11322
+ ? null // standard .closest() returns null for non-found selectors also
11323
+ : found
11324
+ ? found // found a selector INside this element
11325
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
11326
+ ) {
11327
+ return __Closest(base);
11328
+ }
11329
+ /* eslint-enable jsdoc/require-param */
11330
+
11331
+ /**
11332
+ * 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.
11333
+ * @param {Object} elem - The element to check.
11334
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
11335
+ * @returns {void}
11336
+ */
11337
+ handleComponentTagRename(elem, tagName) {
11338
+ const tag = tagName.toLowerCase();
11339
+ const elemTag = elem.tagName.toLowerCase();
11340
+
11341
+ if (elemTag !== tag) {
11342
+ elem.setAttribute(tag, true);
11343
+ }
11344
+ }
11345
+
11346
+ /**
11347
+ * Validates if an element is a specific Auro component.
11348
+ * @param {Object} elem - The element to validate.
11349
+ * @param {String} tagName - The name of the Auro component to check against.
11350
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
11351
+ */
11352
+ elementMatch(elem, tagName) {
11353
+ const tag = tagName.toLowerCase();
11354
+ const elemTag = elem.tagName.toLowerCase();
11355
+
11356
+ return elemTag === tag || elem.hasAttribute(tag);
11357
+ }
11358
+ }
11359
+
10899
11360
  var styleCss$3 = css`.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)}`;
10900
11361
 
10901
11362
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
@@ -11049,11 +11510,11 @@ class AuroBibtemplate extends LitElement {
11049
11510
  constructor() {
11050
11511
  super();
11051
11512
 
11052
- AuroLibraryRuntimeUtils.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
11513
+ AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
11053
11514
 
11054
11515
  const versioning = new AuroDependencyVersioning();
11055
- this.iconTag = versioning.generateTag('auro-icon', iconVersion, AuroIcon);
11056
- this.headerTag = versioning.generateTag('auro-header', headerVersion, AuroHeader);
11516
+ this.iconTag = versioning.generateTag('auro-formkit-bibtemplate-icon', iconVersion, AuroIcon);
11517
+ this.headerTag = versioning.generateTag('auro-formkit-bibtemplate-header', headerVersion, AuroHeader);
11057
11518
  }
11058
11519
 
11059
11520
  static get styles() {
@@ -11088,7 +11549,7 @@ class AuroBibtemplate extends LitElement {
11088
11549
  *
11089
11550
  */
11090
11551
  static register(name = "auro-bibtemplate") {
11091
- AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroBibtemplate);
11552
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroBibtemplate);
11092
11553
  }
11093
11554
 
11094
11555
  /**
@@ -11318,15 +11779,15 @@ class AuroCombobox extends LitElement {
11318
11779
 
11319
11780
  this.validation = new AuroFormValidation$1();
11320
11781
 
11321
- this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
11782
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$7();
11322
11783
 
11323
11784
  this.isHiddenWhileLoading = false;
11324
11785
 
11325
- const versioning = new AuroDependencyVersioning$3();
11786
+ const versioning = new AuroDependencyVersioning$4();
11326
11787
 
11327
- this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
11328
- this.bibtemplateTag = versioning.generateTag('auro-bibtemplate', bibTemplateVersion, AuroBibtemplate);
11329
- this.inputTag = versioning.generateTag('auro-input', inputVersion, AuroInput);
11788
+ this.dropdownTag = versioning.generateTag('auro-formkit-checkbox-dropdown', dropdownVersion, AuroDropdown);
11789
+ this.bibtemplateTag = versioning.generateTag('auro-formkit-checkbox-bibtemplate', bibTemplateVersion, AuroBibtemplate);
11790
+ this.inputTag = versioning.generateTag('auro-formkit-checkbox-input', inputVersion, AuroInput);
11330
11791
  }
11331
11792
 
11332
11793
  // This function is to define props used within the scope of this component
@@ -11495,7 +11956,7 @@ class AuroCombobox extends LitElement {
11495
11956
  *
11496
11957
  */
11497
11958
  static register(name = 'auro-combobox') {
11498
- AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroCombobox);
11959
+ AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroCombobox);
11499
11960
  }
11500
11961
 
11501
11962
  /**