@aurodesignsystem/auro-formkit 2.0.3-beta.1 → 2.1.0-beta.2

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 +19 -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 +644 -113
  12. package/components/combobox/demo/index.min.js +644 -113
  13. package/components/combobox/demo/readme.md +1 -1
  14. package/components/combobox/dist/index.js +511 -50
  15. package/components/combobox/dist/registered.js +511 -50
  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 +1281 -207
  26. package/components/datepicker/demo/index.min.js +1281 -207
  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 +1281 -207
  32. package/components/datepicker/dist/popoverVersion.d.ts +1 -1
  33. package/components/datepicker/dist/registered.js +1281 -207
  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 +263 -13
  44. package/components/input/demo/index.min.js +263 -13
  45. package/components/input/demo/readme.md +1 -1
  46. package/components/input/dist/index.js +263 -13
  47. package/components/input/dist/registered.js +263 -13
  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
@@ -58,7 +58,7 @@ const a=Symbol.for(""),o$1=t=>{if(t?.r===a)return t?._$litStatic$},s$1=t=>({_$li
58
58
  // See LICENSE in the project root for license information.
59
59
 
60
60
 
61
- let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
61
+ let AuroDependencyVersioning$4 = class AuroDependencyVersioning {
62
62
 
63
63
  /**
64
64
  * Generates a unique string to be used for child auro element naming.
@@ -101,7 +101,7 @@ let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
101
101
 
102
102
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
103
103
 
104
- let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
104
+ let AuroLibraryRuntimeUtils$7 = class AuroLibraryRuntimeUtils {
105
105
 
106
106
  /* eslint-disable jsdoc/require-param */
107
107
 
@@ -170,7 +170,7 @@ let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
170
170
 
171
171
  let AuroFormValidation$1 = class AuroFormValidation {
172
172
  constructor() {
173
- this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
173
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$7();
174
174
  }
175
175
 
176
176
  /**
@@ -501,7 +501,7 @@ const t$1={ATTRIBUTE:1,CHILD:2},e$1=t=>(...e)=>({_$litDirective$:t,values:e});cl
501
501
 
502
502
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
503
503
 
504
- let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
504
+ let AuroLibraryRuntimeUtils$2$2 = class AuroLibraryRuntimeUtils {
505
505
 
506
506
  /* eslint-disable jsdoc/require-param */
507
507
 
@@ -2314,11 +2314,11 @@ class AuroFloatingUI {
2314
2314
 
2315
2315
  updateCurrentExpandedDropdown() {
2316
2316
  // Close any other dropdown that is already open
2317
- if (document.expandedAuroDropdown) {
2318
- this.hideBib(document.expandedAuroDropdown);
2317
+ if (document.expandedAuroFormkitDropdown) {
2318
+ document.expandedAuroFormkitDropdown.hide;
2319
2319
  }
2320
2320
 
2321
- document.expandedAuroDropdown = this;
2321
+ document.expandedAuroFormkitDropdown = this;
2322
2322
  }
2323
2323
 
2324
2324
  showBib() {
@@ -2506,7 +2506,7 @@ class AuroFloatingUI {
2506
2506
  // See LICENSE in the project root for license information.
2507
2507
 
2508
2508
 
2509
- let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
2509
+ let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
2510
2510
 
2511
2511
  /**
2512
2512
  * Generates a unique string to be used for child auro element naming.
@@ -2693,6 +2693,76 @@ var tokensCss$2$2 = i$5`:host{--ds-auro-icon-color:var(--ds-color-icon-primary-d
2693
2693
 
2694
2694
  var colorCss$3$2 = i$5`: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)}`;
2695
2695
 
2696
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
2697
+ // See LICENSE in the project root for license information.
2698
+
2699
+ // ---------------------------------------------------------------------
2700
+
2701
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
2702
+
2703
+ let AuroLibraryRuntimeUtils$1$2 = class AuroLibraryRuntimeUtils {
2704
+
2705
+ /* eslint-disable jsdoc/require-param */
2706
+
2707
+ /**
2708
+ * This will register a new custom element with the browser.
2709
+ * @param {String} name - The name of the custom element.
2710
+ * @param {Object} componentClass - The class to register as a custom element.
2711
+ * @returns {void}
2712
+ */
2713
+ registerComponent(name, componentClass) {
2714
+ if (!customElements.get(name)) {
2715
+ customElements.define(name, class extends componentClass {});
2716
+ }
2717
+ }
2718
+
2719
+ /**
2720
+ * Finds and returns the closest HTML Element based on a selector.
2721
+ * @returns {void}
2722
+ */
2723
+ closestElement(
2724
+ selector, // selector like in .closest()
2725
+ base = this, // extra functionality to skip a parent
2726
+ __Closest = (el, found = el && el.closest(selector)) =>
2727
+ !el || el === document || el === window
2728
+ ? null // standard .closest() returns null for non-found selectors also
2729
+ : found
2730
+ ? found // found a selector INside this element
2731
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
2732
+ ) {
2733
+ return __Closest(base);
2734
+ }
2735
+ /* eslint-enable jsdoc/require-param */
2736
+
2737
+ /**
2738
+ * 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.
2739
+ * @param {Object} elem - The element to check.
2740
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
2741
+ * @returns {void}
2742
+ */
2743
+ handleComponentTagRename(elem, tagName) {
2744
+ const tag = tagName.toLowerCase();
2745
+ const elemTag = elem.tagName.toLowerCase();
2746
+
2747
+ if (elemTag !== tag) {
2748
+ elem.setAttribute(tag, true);
2749
+ }
2750
+ }
2751
+
2752
+ /**
2753
+ * Validates if an element is a specific Auro component.
2754
+ * @param {Object} elem - The element to validate.
2755
+ * @param {String} tagName - The name of the Auro component to check against.
2756
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
2757
+ */
2758
+ elementMatch(elem, tagName) {
2759
+ const tag = tagName.toLowerCase();
2760
+ const elemTag = elem.tagName.toLowerCase();
2761
+
2762
+ return elemTag === tag || elem.hasAttribute(tag);
2763
+ }
2764
+ };
2765
+
2696
2766
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
2697
2767
  // See LICENSE in the project root for license information.
2698
2768
 
@@ -2725,7 +2795,7 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
2725
2795
  this.tertiary = false;
2726
2796
  this.warning = false;
2727
2797
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
2728
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
2798
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1$2();
2729
2799
  }
2730
2800
 
2731
2801
  // function to define props used within the scope of this component
@@ -2887,7 +2957,7 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
2887
2957
  *
2888
2958
  */
2889
2959
  static register(name = "auro-icon") {
2890
- AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroIcon);
2960
+ AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroIcon);
2891
2961
  }
2892
2962
 
2893
2963
  connectedCallback() {
@@ -2989,7 +3059,7 @@ class AuroDropdownBib extends r$1 {
2989
3059
  */
2990
3060
  this._mobileBreakpointValue = undefined;
2991
3061
 
2992
- AuroLibraryRuntimeUtils$1$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
3062
+ AuroLibraryRuntimeUtils$2$2.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
2993
3063
  }
2994
3064
 
2995
3065
  static get styles() {
@@ -3097,7 +3167,7 @@ var tokensCss$6 = i$5`:host{--ds-auro-helptext-color: var(--ds-color-text-tertia
3097
3167
 
3098
3168
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
3099
3169
 
3100
- let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
3170
+ let AuroLibraryRuntimeUtils$6 = class AuroLibraryRuntimeUtils {
3101
3171
 
3102
3172
  /* eslint-disable jsdoc/require-param */
3103
3173
 
@@ -3177,7 +3247,7 @@ let AuroHelpText$1 = class AuroHelpText extends r$1 {
3177
3247
  this.error = false;
3178
3248
  this.hasTextContent = false;
3179
3249
 
3180
- AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-helptext');
3250
+ AuroLibraryRuntimeUtils$6.prototype.handleComponentTagRename(this, 'auro-helptext');
3181
3251
  }
3182
3252
 
3183
3253
  static get styles() {
@@ -3225,7 +3295,7 @@ let AuroHelpText$1 = class AuroHelpText extends r$1 {
3225
3295
  *
3226
3296
  */
3227
3297
  static register(name = "auro-helptext") {
3228
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroHelpText);
3298
+ AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroHelpText);
3229
3299
  }
3230
3300
 
3231
3301
  updated() {
@@ -3358,7 +3428,7 @@ class AuroDropdown extends r$1 {
3358
3428
  /**
3359
3429
  * @private
3360
3430
  */
3361
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
3431
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2$2();
3362
3432
 
3363
3433
  /**
3364
3434
  * @private
@@ -3378,22 +3448,22 @@ class AuroDropdown extends r$1 {
3378
3448
  /**
3379
3449
  * Generate unique names for dependency components.
3380
3450
  */
3381
- const versioning = new AuroDependencyVersioning$2();
3451
+ const versioning = new AuroDependencyVersioning$3();
3382
3452
 
3383
3453
  /**
3384
3454
  * @private
3385
3455
  */
3386
- this.iconTag = versioning.generateTag('auro-icon', iconVersion$3, AuroIcon$3);
3456
+ this.iconTag = versioning.generateTag('auro-formkit-dropdown-icon', iconVersion$3, AuroIcon$3);
3387
3457
 
3388
3458
  /**
3389
3459
  * @private
3390
3460
  */
3391
- this.dropdownBibTag = versioning.generateTag('auro-dropdownbib', dropdownVersion$1, AuroDropdownBib);
3461
+ this.dropdownBibTag = versioning.generateTag('auro-formkit-dropdown-dropdownbib', dropdownVersion$1, AuroDropdownBib);
3392
3462
 
3393
3463
  /**
3394
3464
  * @private
3395
3465
  */
3396
- this.helpTextTag = versioning.generateTag('auro-helptext', helpTextVersion$1, AuroHelpText$1);
3466
+ this.helpTextTag = versioning.generateTag('auro-formkit-dropdown-helptext', helpTextVersion$1, AuroHelpText$1);
3397
3467
  }
3398
3468
 
3399
3469
  /**
@@ -3596,7 +3666,7 @@ class AuroDropdown extends r$1 {
3596
3666
  *
3597
3667
  */
3598
3668
  static register(name = "auro-dropdown") {
3599
- AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
3669
+ AuroLibraryRuntimeUtils$2$2.prototype.registerComponent(name, AuroDropdown);
3600
3670
  }
3601
3671
 
3602
3672
  connectedCallback() {
@@ -3619,6 +3689,7 @@ class AuroDropdown extends r$1 {
3619
3689
  if (changedProperties.size === 0 || changedProperties.has('isPopoverVisible')) {
3620
3690
  this.handleTriggerContentSlotChange();
3621
3691
  }
3692
+
3622
3693
  }
3623
3694
 
3624
3695
  firstUpdated() {
@@ -7666,7 +7737,7 @@ class AuroInputUtilities {
7666
7737
 
7667
7738
  return {
7668
7739
  mask: Date,
7669
- pattern: format,
7740
+ pattern: dateFormat,
7670
7741
  blocks,
7671
7742
  format(date) {
7672
7743
  if (!date) {
@@ -7840,7 +7911,7 @@ class AuroInputUtilities {
7840
7911
 
7841
7912
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
7842
7913
 
7843
- let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
7914
+ let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
7844
7915
 
7845
7916
  /* eslint-disable jsdoc/require-param */
7846
7917
 
@@ -7909,7 +7980,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
7909
7980
 
7910
7981
  class AuroFormValidation {
7911
7982
  constructor() {
7912
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
7983
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
7913
7984
  }
7914
7985
 
7915
7986
  /**
@@ -9360,6 +9431,76 @@ var tokensCss$3 = i$5`:host{--ds-auro-icon-color:var(--ds-color-icon-primary-def
9360
9431
 
9361
9432
  var colorCss$3$1 = i$5`: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)}`;
9362
9433
 
9434
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
9435
+ // See LICENSE in the project root for license information.
9436
+
9437
+ // ---------------------------------------------------------------------
9438
+
9439
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
9440
+
9441
+ let AuroLibraryRuntimeUtils$3$1 = class AuroLibraryRuntimeUtils {
9442
+
9443
+ /* eslint-disable jsdoc/require-param */
9444
+
9445
+ /**
9446
+ * This will register a new custom element with the browser.
9447
+ * @param {String} name - The name of the custom element.
9448
+ * @param {Object} componentClass - The class to register as a custom element.
9449
+ * @returns {void}
9450
+ */
9451
+ registerComponent(name, componentClass) {
9452
+ if (!customElements.get(name)) {
9453
+ customElements.define(name, class extends componentClass {});
9454
+ }
9455
+ }
9456
+
9457
+ /**
9458
+ * Finds and returns the closest HTML Element based on a selector.
9459
+ * @returns {void}
9460
+ */
9461
+ closestElement(
9462
+ selector, // selector like in .closest()
9463
+ base = this, // extra functionality to skip a parent
9464
+ __Closest = (el, found = el && el.closest(selector)) =>
9465
+ !el || el === document || el === window
9466
+ ? null // standard .closest() returns null for non-found selectors also
9467
+ : found
9468
+ ? found // found a selector INside this element
9469
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
9470
+ ) {
9471
+ return __Closest(base);
9472
+ }
9473
+ /* eslint-enable jsdoc/require-param */
9474
+
9475
+ /**
9476
+ * 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.
9477
+ * @param {Object} elem - The element to check.
9478
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
9479
+ * @returns {void}
9480
+ */
9481
+ handleComponentTagRename(elem, tagName) {
9482
+ const tag = tagName.toLowerCase();
9483
+ const elemTag = elem.tagName.toLowerCase();
9484
+
9485
+ if (elemTag !== tag) {
9486
+ elem.setAttribute(tag, true);
9487
+ }
9488
+ }
9489
+
9490
+ /**
9491
+ * Validates if an element is a specific Auro component.
9492
+ * @param {Object} elem - The element to validate.
9493
+ * @param {String} tagName - The name of the Auro component to check against.
9494
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
9495
+ */
9496
+ elementMatch(elem, tagName) {
9497
+ const tag = tagName.toLowerCase();
9498
+ const elemTag = elem.tagName.toLowerCase();
9499
+
9500
+ return elemTag === tag || elem.hasAttribute(tag);
9501
+ }
9502
+ };
9503
+
9363
9504
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
9364
9505
  // See LICENSE in the project root for license information.
9365
9506
 
@@ -9392,7 +9533,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
9392
9533
  this.tertiary = false;
9393
9534
  this.warning = false;
9394
9535
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
9395
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
9536
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$3$1();
9396
9537
  }
9397
9538
 
9398
9539
  // function to define props used within the scope of this component
@@ -9554,7 +9695,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
9554
9695
  *
9555
9696
  */
9556
9697
  static register(name = "auro-icon") {
9557
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
9698
+ AuroLibraryRuntimeUtils$3$1.prototype.registerComponent(name, AuroIcon);
9558
9699
  }
9559
9700
 
9560
9701
  connectedCallback() {
@@ -9622,76 +9763,256 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
9622
9763
 
9623
9764
  var iconVersion$2 = '6.1.2';
9624
9765
 
9625
- var styleCss$2$2 = i$5`: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}`;
9766
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
9767
+ // See LICENSE in the project root for license information.
9626
9768
 
9627
- var colorCss$2$1 = i$5`[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}`;
9628
9769
 
9629
- var tokensCss$2$1 = i$5`: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}`;
9770
+ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
9630
9771
 
9631
- var styleCss$1$2 = 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}}`;
9772
+ /**
9773
+ * Generates a unique string to be used for child auro element naming.
9774
+ * @private
9775
+ * @param {string} baseName - Defines the first part of the unique element name.
9776
+ * @param {string} version - Version of the component that will be appended to the baseName.
9777
+ * @returns {string} - Unique string to be used for naming.
9778
+ */
9779
+ generateElementName(baseName, version) {
9780
+ let result = baseName;
9632
9781
 
9633
- var colorCss$1$2 = 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-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}`;
9782
+ result += '-';
9783
+ result += version.replace(/[.]/g, '_');
9634
9784
 
9635
- var tokensCss$1$1 = i$5`:host{--ds-auro-loader-background-color:currentcolor;--ds-auro-loader-border-color:currentcolor;--ds-auro-loader-color:currentcolor}`;
9785
+ return result;
9786
+ }
9636
9787
 
9637
- // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
9638
- // See LICENSE in the project root for license information.
9788
+ /**
9789
+ * Generates a unique string to be used for child auro element naming.
9790
+ * @param {string} baseName - Defines the first part of the unique element name.
9791
+ * @param {string} version - Version of the component that will be appended to the baseName.
9792
+ * @returns {string} - Unique string to be used for naming.
9793
+ */
9794
+ generateTag(baseName, version, tagClass) {
9795
+ const elementName = this.generateElementName(baseName, version);
9796
+ const tag = i$1`${s$1(elementName)}`;
9639
9797
 
9798
+ if (!customElements.get(elementName)) {
9799
+ customElements.define(elementName, class extends tagClass {});
9800
+ }
9640
9801
 
9641
- // See https://git.io/JJ6SJ for "How to document your components using JSDoc"
9642
- /**
9643
- * The auro-loader element is an easy to use animated loader component.
9644
- *
9645
- * @attr {Boolean} pulse - sets loader type
9646
- * @attr {Boolean} ringworm - sets loader type
9647
- * @attr {Boolean} laser - sets loader type
9648
- * @attr {Boolean} orbit - sets loader type
9649
- * @attr {Boolean} white - sets color of loader to white
9650
- * @attr {Boolean} ondark - sets color of loader to auro-color-ui-default-on-dark
9651
- * @attr {Boolean} onlight - sets color of loader to auro-color-ui-default-on-light
9652
- * @attr {Boolean} xs - sets size to extra small
9653
- * @attr {Boolean} sm - sets size to small
9654
- * @attr {Boolean} md - sets size to medium
9655
- * @attr {Boolean} lg - sets size to large
9656
- * @csspart element - apply style to adjust speed of animation
9657
- */
9802
+ return tag;
9803
+ }
9804
+ };
9658
9805
 
9659
- // build the component class
9660
- class AuroLoader extends r$1 {
9661
- constructor() {
9662
- super();
9806
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
9807
+ // See LICENSE in the project root for license information.
9663
9808
 
9664
- /**
9665
- * @private
9666
- */
9667
- this.keys = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
9809
+ // ---------------------------------------------------------------------
9668
9810
 
9669
- /**
9670
- * @private
9671
- */
9672
- this.mdCount = 3;
9811
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
9673
9812
 
9674
- /**
9675
- * @private
9676
- */
9677
- this.smCount = 2;
9813
+ let AuroLibraryRuntimeUtils$2$1 = class AuroLibraryRuntimeUtils {
9678
9814
 
9679
- /**
9680
- * @private
9681
- */
9682
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
9815
+ /* eslint-disable jsdoc/require-param */
9683
9816
 
9684
- this.orbit = false;
9685
- this.ringworm = false;
9686
- this.laser = false;
9687
- this.pulse = false;
9817
+ /**
9818
+ * This will register a new custom element with the browser.
9819
+ * @param {String} name - The name of the custom element.
9820
+ * @param {Object} componentClass - The class to register as a custom element.
9821
+ * @returns {void}
9822
+ */
9823
+ registerComponent(name, componentClass) {
9824
+ if (!customElements.get(name)) {
9825
+ customElements.define(name, class extends componentClass {});
9826
+ }
9688
9827
  }
9689
9828
 
9690
- // function to define props used within the scope of this component
9691
- static get properties() {
9692
- return {
9693
- pulse: {
9694
- type: Boolean,
9829
+ /**
9830
+ * Finds and returns the closest HTML Element based on a selector.
9831
+ * @returns {void}
9832
+ */
9833
+ closestElement(
9834
+ selector, // selector like in .closest()
9835
+ base = this, // extra functionality to skip a parent
9836
+ __Closest = (el, found = el && el.closest(selector)) =>
9837
+ !el || el === document || el === window
9838
+ ? null // standard .closest() returns null for non-found selectors also
9839
+ : found
9840
+ ? found // found a selector INside this element
9841
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
9842
+ ) {
9843
+ return __Closest(base);
9844
+ }
9845
+ /* eslint-enable jsdoc/require-param */
9846
+
9847
+ /**
9848
+ * 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.
9849
+ * @param {Object} elem - The element to check.
9850
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
9851
+ * @returns {void}
9852
+ */
9853
+ handleComponentTagRename(elem, tagName) {
9854
+ const tag = tagName.toLowerCase();
9855
+ const elemTag = elem.tagName.toLowerCase();
9856
+
9857
+ if (elemTag !== tag) {
9858
+ elem.setAttribute(tag, true);
9859
+ }
9860
+ }
9861
+
9862
+ /**
9863
+ * Validates if an element is a specific Auro component.
9864
+ * @param {Object} elem - The element to validate.
9865
+ * @param {String} tagName - The name of the Auro component to check against.
9866
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
9867
+ */
9868
+ elementMatch(elem, tagName) {
9869
+ const tag = tagName.toLowerCase();
9870
+ const elemTag = elem.tagName.toLowerCase();
9871
+
9872
+ return elemTag === tag || elem.hasAttribute(tag);
9873
+ }
9874
+ };
9875
+
9876
+ var styleCss$2$2 = i$5`: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}`;
9877
+
9878
+ var colorCss$2$1 = i$5`[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}`;
9879
+
9880
+ var tokensCss$2$1 = i$5`: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}`;
9881
+
9882
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
9883
+ // See LICENSE in the project root for license information.
9884
+
9885
+ // ---------------------------------------------------------------------
9886
+
9887
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
9888
+
9889
+ let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
9890
+
9891
+ /* eslint-disable jsdoc/require-param */
9892
+
9893
+ /**
9894
+ * This will register a new custom element with the browser.
9895
+ * @param {String} name - The name of the custom element.
9896
+ * @param {Object} componentClass - The class to register as a custom element.
9897
+ * @returns {void}
9898
+ */
9899
+ registerComponent(name, componentClass) {
9900
+ if (!customElements.get(name)) {
9901
+ customElements.define(name, class extends componentClass {});
9902
+ }
9903
+ }
9904
+
9905
+ /**
9906
+ * Finds and returns the closest HTML Element based on a selector.
9907
+ * @returns {void}
9908
+ */
9909
+ closestElement(
9910
+ selector, // selector like in .closest()
9911
+ base = this, // extra functionality to skip a parent
9912
+ __Closest = (el, found = el && el.closest(selector)) =>
9913
+ !el || el === document || el === window
9914
+ ? null // standard .closest() returns null for non-found selectors also
9915
+ : found
9916
+ ? found // found a selector INside this element
9917
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
9918
+ ) {
9919
+ return __Closest(base);
9920
+ }
9921
+ /* eslint-enable jsdoc/require-param */
9922
+
9923
+ /**
9924
+ * 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.
9925
+ * @param {Object} elem - The element to check.
9926
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
9927
+ * @returns {void}
9928
+ */
9929
+ handleComponentTagRename(elem, tagName) {
9930
+ const tag = tagName.toLowerCase();
9931
+ const elemTag = elem.tagName.toLowerCase();
9932
+
9933
+ if (elemTag !== tag) {
9934
+ elem.setAttribute(tag, true);
9935
+ }
9936
+ }
9937
+
9938
+ /**
9939
+ * Validates if an element is a specific Auro component.
9940
+ * @param {Object} elem - The element to validate.
9941
+ * @param {String} tagName - The name of the Auro component to check against.
9942
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
9943
+ */
9944
+ elementMatch(elem, tagName) {
9945
+ const tag = tagName.toLowerCase();
9946
+ const elemTag = elem.tagName.toLowerCase();
9947
+
9948
+ return elemTag === tag || elem.hasAttribute(tag);
9949
+ }
9950
+ };
9951
+
9952
+ var styleCss$1$2 = 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}}`;
9953
+
9954
+ var colorCss$1$2 = 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-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}`;
9955
+
9956
+ var tokensCss$1$1 = i$5`:host{--ds-auro-loader-background-color:currentcolor;--ds-auro-loader-border-color:currentcolor;--ds-auro-loader-color:currentcolor}`;
9957
+
9958
+ // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
9959
+ // See LICENSE in the project root for license information.
9960
+
9961
+
9962
+ // See https://git.io/JJ6SJ for "How to document your components using JSDoc"
9963
+ /**
9964
+ * The auro-loader element is an easy to use animated loader component.
9965
+ *
9966
+ * @attr {Boolean} pulse - sets loader type
9967
+ * @attr {Boolean} ringworm - sets loader type
9968
+ * @attr {Boolean} laser - sets loader type
9969
+ * @attr {Boolean} orbit - sets loader type
9970
+ * @attr {Boolean} white - sets color of loader to white
9971
+ * @attr {Boolean} ondark - sets color of loader to auro-color-ui-default-on-dark
9972
+ * @attr {Boolean} onlight - sets color of loader to auro-color-ui-default-on-light
9973
+ * @attr {Boolean} xs - sets size to extra small
9974
+ * @attr {Boolean} sm - sets size to small
9975
+ * @attr {Boolean} md - sets size to medium
9976
+ * @attr {Boolean} lg - sets size to large
9977
+ * @csspart element - apply style to adjust speed of animation
9978
+ */
9979
+
9980
+ // build the component class
9981
+ class AuroLoader extends r$1 {
9982
+ constructor() {
9983
+ super();
9984
+
9985
+ /**
9986
+ * @private
9987
+ */
9988
+ this.keys = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
9989
+
9990
+ /**
9991
+ * @private
9992
+ */
9993
+ this.mdCount = 3;
9994
+
9995
+ /**
9996
+ * @private
9997
+ */
9998
+ this.smCount = 2;
9999
+
10000
+ /**
10001
+ * @private
10002
+ */
10003
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
10004
+
10005
+ this.orbit = false;
10006
+ this.ringworm = false;
10007
+ this.laser = false;
10008
+ this.pulse = false;
10009
+ }
10010
+
10011
+ // function to define props used within the scope of this component
10012
+ static get properties() {
10013
+ return {
10014
+ pulse: {
10015
+ type: Boolean,
9695
10016
  reflect: true
9696
10017
  },
9697
10018
  orbit: {
@@ -9726,7 +10047,7 @@ class AuroLoader extends r$1 {
9726
10047
  *
9727
10048
  */
9728
10049
  static register(name = "auro-loader") {
9729
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroLoader);
10050
+ AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroLoader);
9730
10051
  }
9731
10052
 
9732
10053
  firstUpdated() {
@@ -9851,7 +10172,7 @@ class AuroButton extends r$1 {
9851
10172
  /**
9852
10173
  * Generate unique names for dependency components.
9853
10174
  */
9854
- const versioning = new AuroDependencyVersioning$1();
10175
+ const versioning = new AuroDependencyVersioning$2();
9855
10176
 
9856
10177
  /**
9857
10178
  * @private
@@ -9946,7 +10267,7 @@ class AuroButton extends r$1 {
9946
10267
  *
9947
10268
  */
9948
10269
  static register(name = "auro-button") {
9949
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroButton);
10270
+ AuroLibraryRuntimeUtils$2$1.prototype.registerComponent(name, AuroButton);
9950
10271
  }
9951
10272
 
9952
10273
  /**
@@ -10057,7 +10378,7 @@ var tokensCss$5 = i$5`:host{--ds-auro-helptext-color: var(--ds-color-text-tertia
10057
10378
 
10058
10379
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
10059
10380
 
10060
- let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
10381
+ let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
10061
10382
 
10062
10383
  /* eslint-disable jsdoc/require-param */
10063
10384
 
@@ -10137,7 +10458,7 @@ class AuroHelpText extends r$1 {
10137
10458
  this.error = false;
10138
10459
  this.hasTextContent = false;
10139
10460
 
10140
- AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-helptext');
10461
+ AuroLibraryRuntimeUtils$5.prototype.handleComponentTagRename(this, 'auro-helptext');
10141
10462
  }
10142
10463
 
10143
10464
  static get styles() {
@@ -10185,7 +10506,7 @@ class AuroHelpText extends r$1 {
10185
10506
  *
10186
10507
  */
10187
10508
  static register(name = "auro-helptext") {
10188
- AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHelpText);
10509
+ AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroHelpText);
10189
10510
  }
10190
10511
 
10191
10512
  updated() {
@@ -10260,17 +10581,17 @@ class AuroInput extends BaseInput {
10260
10581
  /**
10261
10582
  * @private
10262
10583
  */
10263
- this.iconTag = versioning.generateTag('auro-icon', iconVersion$2, AuroIcon$2);
10584
+ this.iconTag = versioning.generateTag('auro-formkit-input-icon', iconVersion$2, AuroIcon$2);
10264
10585
 
10265
10586
  /**
10266
10587
  * @private
10267
10588
  */
10268
- this.buttonTag = versioning.generateTag('auro-button', buttonVersion, AuroButton);
10589
+ this.buttonTag = versioning.generateTag('auro-formkit-input-button', buttonVersion, AuroButton);
10269
10590
 
10270
10591
  /**
10271
10592
  * @private
10272
10593
  */
10273
- this.helpTextTag = versioning.generateTag('auro-helptext', helpTextVersion, AuroHelpText);
10594
+ this.helpTextTag = versioning.generateTag('auro-formkit-input-helptext', helpTextVersion, AuroHelpText);
10274
10595
  }
10275
10596
 
10276
10597
  /**
@@ -10282,7 +10603,7 @@ class AuroInput extends BaseInput {
10282
10603
  *
10283
10604
  */
10284
10605
  static register(name = "auro-input") {
10285
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroInput);
10606
+ AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroInput);
10286
10607
  }
10287
10608
 
10288
10609
  /**
@@ -10462,7 +10783,7 @@ var tokenCss = i$5`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
10462
10783
 
10463
10784
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
10464
10785
 
10465
- class AuroLibraryRuntimeUtils {
10786
+ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
10466
10787
 
10467
10788
  /* eslint-disable jsdoc/require-param */
10468
10789
 
@@ -10523,7 +10844,7 @@ class AuroLibraryRuntimeUtils {
10523
10844
 
10524
10845
  return elemTag === tag || elem.hasAttribute(tag);
10525
10846
  }
10526
- }
10847
+ };
10527
10848
 
10528
10849
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
10529
10850
  // See LICENSE in the project root for license information.
@@ -10716,6 +11037,76 @@ var tokensCss$2 = i$5`:host{--ds-auro-icon-color:var(--ds-color-icon-primary-def
10716
11037
 
10717
11038
  var colorCss$3 = i$5`: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)}`;
10718
11039
 
11040
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
11041
+ // See LICENSE in the project root for license information.
11042
+
11043
+ // ---------------------------------------------------------------------
11044
+
11045
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
11046
+
11047
+ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
11048
+
11049
+ /* eslint-disable jsdoc/require-param */
11050
+
11051
+ /**
11052
+ * This will register a new custom element with the browser.
11053
+ * @param {String} name - The name of the custom element.
11054
+ * @param {Object} componentClass - The class to register as a custom element.
11055
+ * @returns {void}
11056
+ */
11057
+ registerComponent(name, componentClass) {
11058
+ if (!customElements.get(name)) {
11059
+ customElements.define(name, class extends componentClass {});
11060
+ }
11061
+ }
11062
+
11063
+ /**
11064
+ * Finds and returns the closest HTML Element based on a selector.
11065
+ * @returns {void}
11066
+ */
11067
+ closestElement(
11068
+ selector, // selector like in .closest()
11069
+ base = this, // extra functionality to skip a parent
11070
+ __Closest = (el, found = el && el.closest(selector)) =>
11071
+ !el || el === document || el === window
11072
+ ? null // standard .closest() returns null for non-found selectors also
11073
+ : found
11074
+ ? found // found a selector INside this element
11075
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
11076
+ ) {
11077
+ return __Closest(base);
11078
+ }
11079
+ /* eslint-enable jsdoc/require-param */
11080
+
11081
+ /**
11082
+ * 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.
11083
+ * @param {Object} elem - The element to check.
11084
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
11085
+ * @returns {void}
11086
+ */
11087
+ handleComponentTagRename(elem, tagName) {
11088
+ const tag = tagName.toLowerCase();
11089
+ const elemTag = elem.tagName.toLowerCase();
11090
+
11091
+ if (elemTag !== tag) {
11092
+ elem.setAttribute(tag, true);
11093
+ }
11094
+ }
11095
+
11096
+ /**
11097
+ * Validates if an element is a specific Auro component.
11098
+ * @param {Object} elem - The element to validate.
11099
+ * @param {String} tagName - The name of the Auro component to check against.
11100
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
11101
+ */
11102
+ elementMatch(elem, tagName) {
11103
+ const tag = tagName.toLowerCase();
11104
+ const elemTag = elem.tagName.toLowerCase();
11105
+
11106
+ return elemTag === tag || elem.hasAttribute(tag);
11107
+ }
11108
+ };
11109
+
10719
11110
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
10720
11111
  // See LICENSE in the project root for license information.
10721
11112
 
@@ -10748,7 +11139,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
10748
11139
  this.tertiary = false;
10749
11140
  this.warning = false;
10750
11141
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
10751
- this.runtimeUtils = new AuroLibraryRuntimeUtils();
11142
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
10752
11143
  }
10753
11144
 
10754
11145
  // function to define props used within the scope of this component
@@ -10910,7 +11301,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
10910
11301
  *
10911
11302
  */
10912
11303
  static register(name = "auro-icon") {
10913
- AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
11304
+ AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
10914
11305
  }
10915
11306
 
10916
11307
  connectedCallback() {
@@ -10978,6 +11369,76 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
10978
11369
 
10979
11370
  var iconVersion$1 = '7.0.1';
10980
11371
 
11372
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
11373
+ // See LICENSE in the project root for license information.
11374
+
11375
+ // ---------------------------------------------------------------------
11376
+
11377
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
11378
+
11379
+ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
11380
+
11381
+ /* eslint-disable jsdoc/require-param */
11382
+
11383
+ /**
11384
+ * This will register a new custom element with the browser.
11385
+ * @param {String} name - The name of the custom element.
11386
+ * @param {Object} componentClass - The class to register as a custom element.
11387
+ * @returns {void}
11388
+ */
11389
+ registerComponent(name, componentClass) {
11390
+ if (!customElements.get(name)) {
11391
+ customElements.define(name, class extends componentClass {});
11392
+ }
11393
+ }
11394
+
11395
+ /**
11396
+ * Finds and returns the closest HTML Element based on a selector.
11397
+ * @returns {void}
11398
+ */
11399
+ closestElement(
11400
+ selector, // selector like in .closest()
11401
+ base = this, // extra functionality to skip a parent
11402
+ __Closest = (el, found = el && el.closest(selector)) =>
11403
+ !el || el === document || el === window
11404
+ ? null // standard .closest() returns null for non-found selectors also
11405
+ : found
11406
+ ? found // found a selector INside this element
11407
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
11408
+ ) {
11409
+ return __Closest(base);
11410
+ }
11411
+ /* eslint-enable jsdoc/require-param */
11412
+
11413
+ /**
11414
+ * 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.
11415
+ * @param {Object} elem - The element to check.
11416
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
11417
+ * @returns {void}
11418
+ */
11419
+ handleComponentTagRename(elem, tagName) {
11420
+ const tag = tagName.toLowerCase();
11421
+ const elemTag = elem.tagName.toLowerCase();
11422
+
11423
+ if (elemTag !== tag) {
11424
+ elem.setAttribute(tag, true);
11425
+ }
11426
+ }
11427
+
11428
+ /**
11429
+ * Validates if an element is a specific Auro component.
11430
+ * @param {Object} elem - The element to validate.
11431
+ * @param {String} tagName - The name of the Auro component to check against.
11432
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
11433
+ */
11434
+ elementMatch(elem, tagName) {
11435
+ const tag = tagName.toLowerCase();
11436
+ const elemTag = elem.tagName.toLowerCase();
11437
+
11438
+ return elemTag === tag || elem.hasAttribute(tag);
11439
+ }
11440
+ };
11441
+
10981
11442
  var styleCss$4 = 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)}`;
10982
11443
 
10983
11444
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
@@ -11007,7 +11468,7 @@ class AuroHeader extends r$1 {
11007
11468
  /**
11008
11469
  * @private
11009
11470
  */
11010
- this.runtimeUtils = new AuroLibraryRuntimeUtils();
11471
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
11011
11472
  }
11012
11473
 
11013
11474
  // function to define props used within the scope of this component
@@ -11037,7 +11498,7 @@ class AuroHeader extends r$1 {
11037
11498
  *
11038
11499
  */
11039
11500
  static register(name = "auro-header") {
11040
- AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHeader);
11501
+ AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroHeader);
11041
11502
  }
11042
11503
 
11043
11504
  firstUpdated() {
@@ -11131,11 +11592,11 @@ class AuroBibtemplate extends r$1 {
11131
11592
  constructor() {
11132
11593
  super();
11133
11594
 
11134
- AuroLibraryRuntimeUtils.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
11595
+ AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
11135
11596
 
11136
11597
  const versioning = new AuroDependencyVersioning();
11137
- this.iconTag = versioning.generateTag('auro-icon', iconVersion$1, AuroIcon$1);
11138
- this.headerTag = versioning.generateTag('auro-header', headerVersion, AuroHeader);
11598
+ this.iconTag = versioning.generateTag('auro-formkit-bibtemplate-icon', iconVersion$1, AuroIcon$1);
11599
+ this.headerTag = versioning.generateTag('auro-formkit-bibtemplate-header', headerVersion, AuroHeader);
11139
11600
  }
11140
11601
 
11141
11602
  static get styles() {
@@ -11170,7 +11631,7 @@ class AuroBibtemplate extends r$1 {
11170
11631
  *
11171
11632
  */
11172
11633
  static register(name = "auro-bibtemplate") {
11173
- AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroBibtemplate);
11634
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroBibtemplate);
11174
11635
  }
11175
11636
 
11176
11637
  /**
@@ -11400,15 +11861,15 @@ class AuroCombobox extends r$1 {
11400
11861
 
11401
11862
  this.validation = new AuroFormValidation$1();
11402
11863
 
11403
- this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
11864
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$7();
11404
11865
 
11405
11866
  this.isHiddenWhileLoading = false;
11406
11867
 
11407
- const versioning = new AuroDependencyVersioning$3();
11868
+ const versioning = new AuroDependencyVersioning$4();
11408
11869
 
11409
- this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
11410
- this.bibtemplateTag = versioning.generateTag('auro-bibtemplate', bibTemplateVersion, AuroBibtemplate);
11411
- this.inputTag = versioning.generateTag('auro-input', inputVersion, AuroInput);
11870
+ this.dropdownTag = versioning.generateTag('auro-formkit-checkbox-dropdown', dropdownVersion, AuroDropdown);
11871
+ this.bibtemplateTag = versioning.generateTag('auro-formkit-checkbox-bibtemplate', bibTemplateVersion, AuroBibtemplate);
11872
+ this.inputTag = versioning.generateTag('auro-formkit-checkbox-input', inputVersion, AuroInput);
11412
11873
  }
11413
11874
 
11414
11875
  // This function is to define props used within the scope of this component
@@ -11577,7 +12038,7 @@ class AuroCombobox extends r$1 {
11577
12038
  *
11578
12039
  */
11579
12040
  static register(name = 'auro-combobox') {
11580
- AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroCombobox);
12041
+ AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroCombobox);
11581
12042
  }
11582
12043
 
11583
12044
  /**
@@ -12568,7 +13029,7 @@ class AuroMenu extends r$1 {
12568
13029
  *
12569
13030
  */
12570
13031
  static register(name = "auro-menu") {
12571
- AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroMenu);
13032
+ AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroMenu);
12572
13033
  }
12573
13034
 
12574
13035
  // Lifecycle Methods
@@ -12592,7 +13053,7 @@ class AuroMenu extends r$1 {
12592
13053
  }
12593
13054
 
12594
13055
  firstUpdated() {
12595
- AuroLibraryRuntimeUtils$4.prototype.handleComponentTagRename(this, 'auro-menu');
13056
+ AuroLibraryRuntimeUtils$7.prototype.handleComponentTagRename(this, 'auro-menu');
12596
13057
 
12597
13058
  this.loadingSlots = this.querySelectorAll("[slot='loadingText'], [slot='loadingIcon']");
12598
13059
  this.initializeMenu();
@@ -13283,6 +13744,76 @@ var tokensCss = i$5`:host{--ds-auro-icon-color:var(--ds-color-icon-primary-defau
13283
13744
 
13284
13745
  var colorCss = i$5`: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)}`;
13285
13746
 
13747
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
13748
+ // See LICENSE in the project root for license information.
13749
+
13750
+ // ---------------------------------------------------------------------
13751
+
13752
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
13753
+
13754
+ class AuroLibraryRuntimeUtils {
13755
+
13756
+ /* eslint-disable jsdoc/require-param */
13757
+
13758
+ /**
13759
+ * This will register a new custom element with the browser.
13760
+ * @param {String} name - The name of the custom element.
13761
+ * @param {Object} componentClass - The class to register as a custom element.
13762
+ * @returns {void}
13763
+ */
13764
+ registerComponent(name, componentClass) {
13765
+ if (!customElements.get(name)) {
13766
+ customElements.define(name, class extends componentClass {});
13767
+ }
13768
+ }
13769
+
13770
+ /**
13771
+ * Finds and returns the closest HTML Element based on a selector.
13772
+ * @returns {void}
13773
+ */
13774
+ closestElement(
13775
+ selector, // selector like in .closest()
13776
+ base = this, // extra functionality to skip a parent
13777
+ __Closest = (el, found = el && el.closest(selector)) =>
13778
+ !el || el === document || el === window
13779
+ ? null // standard .closest() returns null for non-found selectors also
13780
+ : found
13781
+ ? found // found a selector INside this element
13782
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
13783
+ ) {
13784
+ return __Closest(base);
13785
+ }
13786
+ /* eslint-enable jsdoc/require-param */
13787
+
13788
+ /**
13789
+ * 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.
13790
+ * @param {Object} elem - The element to check.
13791
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
13792
+ * @returns {void}
13793
+ */
13794
+ handleComponentTagRename(elem, tagName) {
13795
+ const tag = tagName.toLowerCase();
13796
+ const elemTag = elem.tagName.toLowerCase();
13797
+
13798
+ if (elemTag !== tag) {
13799
+ elem.setAttribute(tag, true);
13800
+ }
13801
+ }
13802
+
13803
+ /**
13804
+ * Validates if an element is a specific Auro component.
13805
+ * @param {Object} elem - The element to validate.
13806
+ * @param {String} tagName - The name of the Auro component to check against.
13807
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
13808
+ */
13809
+ elementMatch(elem, tagName) {
13810
+ const tag = tagName.toLowerCase();
13811
+ const elemTag = elem.tagName.toLowerCase();
13812
+
13813
+ return elemTag === tag || elem.hasAttribute(tag);
13814
+ }
13815
+ }
13816
+
13286
13817
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
13287
13818
  // See LICENSE in the project root for license information.
13288
13819
 
@@ -13315,7 +13846,7 @@ class AuroIcon extends BaseIcon {
13315
13846
  this.tertiary = false;
13316
13847
  this.warning = false;
13317
13848
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
13318
- this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
13849
+ this.runtimeUtils = new AuroLibraryRuntimeUtils();
13319
13850
  }
13320
13851
 
13321
13852
  // function to define props used within the scope of this component
@@ -13477,7 +14008,7 @@ class AuroIcon extends BaseIcon {
13477
14008
  *
13478
14009
  */
13479
14010
  static register(name = "auro-icon") {
13480
- AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroIcon);
14011
+ AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
13481
14012
  }
13482
14013
 
13483
14014
  connectedCallback() {
@@ -13568,8 +14099,8 @@ class AuroMenuOption extends r$1 {
13568
14099
  /**
13569
14100
  * Generate unique names for dependency components.
13570
14101
  */
13571
- const versioning = new AuroDependencyVersioning$3();
13572
- this.iconTag = versioning.generateTag('auro-icon', iconVersion, AuroIcon);
14102
+ const versioning = new AuroDependencyVersioning$4();
14103
+ this.iconTag = versioning.generateTag('auro-formkit-menuoption-icon', iconVersion, AuroIcon);
13573
14104
 
13574
14105
  this.selected = false;
13575
14106
  this.nocheckmark = false;
@@ -13583,7 +14114,7 @@ class AuroMenuOption extends r$1 {
13583
14114
  /**
13584
14115
  * @private
13585
14116
  */
13586
- this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
14117
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$7();
13587
14118
  }
13588
14119
 
13589
14120
  static get properties() {
@@ -13627,7 +14158,7 @@ class AuroMenuOption extends r$1 {
13627
14158
  *
13628
14159
  */
13629
14160
  static register(name = "auro-menuoption") {
13630
- AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroMenuOption);
14161
+ AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroMenuOption);
13631
14162
  }
13632
14163
 
13633
14164
  firstUpdated() {