@aurodesignsystem-dev/auro-formkit 0.0.0-pr788.0 → 0.0.0-pr792.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/components/bibtemplate/dist/headerVersion.d.ts +1 -1
  2. package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
  3. package/components/bibtemplate/dist/index.js +99 -64
  4. package/components/bibtemplate/dist/registered.js +99 -64
  5. package/components/combobox/README.md +0 -2
  6. package/components/combobox/demo/api.md +0 -6
  7. package/components/combobox/demo/api.min.js +120 -98
  8. package/components/combobox/demo/index.md +0 -12
  9. package/components/combobox/demo/index.min.js +120 -98
  10. package/components/combobox/demo/readme.md +0 -2
  11. package/components/combobox/dist/auro-combobox.d.ts +0 -2
  12. package/components/combobox/dist/index.js +115 -93
  13. package/components/combobox/dist/registered.js +115 -93
  14. package/components/counter/demo/api.md +0 -9
  15. package/components/counter/demo/api.min.js +119 -86
  16. package/components/counter/demo/index.md +0 -6
  17. package/components/counter/demo/index.min.js +119 -86
  18. package/components/counter/dist/auro-counter-group.d.ts +0 -1
  19. package/components/counter/dist/iconVersion.d.ts +1 -1
  20. package/components/counter/dist/index.js +119 -86
  21. package/components/counter/dist/registered.js +119 -86
  22. package/components/datepicker/README.md +0 -1
  23. package/components/datepicker/demo/api.md +0 -11
  24. package/components/datepicker/demo/api.min.js +100 -77
  25. package/components/datepicker/demo/index.md +0 -12
  26. package/components/datepicker/demo/index.min.js +100 -77
  27. package/components/datepicker/demo/readme.md +0 -1
  28. package/components/datepicker/dist/auro-datepicker.d.ts +0 -1
  29. package/components/datepicker/dist/index.js +100 -77
  30. package/components/datepicker/dist/registered.js +100 -77
  31. package/components/input/README.md +0 -1
  32. package/components/input/demo/api.md +6 -14
  33. package/components/input/demo/api.min.js +2 -11
  34. package/components/input/demo/index.md +0 -7
  35. package/components/input/demo/index.min.js +2 -11
  36. package/components/input/demo/readme.md +0 -1
  37. package/components/input/dist/base-input.d.ts +0 -3
  38. package/components/input/dist/index.js +2 -11
  39. package/components/input/dist/registered.js +2 -11
  40. package/components/menu/demo/api.min.js +1 -1
  41. package/components/menu/demo/index.min.js +1 -1
  42. package/components/menu/dist/iconVersion.d.ts +1 -1
  43. package/components/menu/dist/index.js +1 -1
  44. package/components/menu/dist/registered.js +1 -1
  45. package/components/select/README.md +0 -1
  46. package/components/select/demo/api.md +0 -3
  47. package/components/select/demo/api.min.js +110 -79
  48. package/components/select/demo/index.md +0 -8
  49. package/components/select/demo/index.min.js +110 -79
  50. package/components/select/demo/readme.md +0 -1
  51. package/components/select/dist/auro-select.d.ts +0 -1
  52. package/components/select/dist/index.js +105 -74
  53. package/components/select/dist/registered.js +105 -74
  54. package/package.json +1 -1
@@ -519,7 +519,7 @@ const {
519
519
 
520
520
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
521
521
 
522
- let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
522
+ let AuroLibraryRuntimeUtils$6 = class AuroLibraryRuntimeUtils {
523
523
 
524
524
  /* eslint-disable jsdoc/require-param */
525
525
 
@@ -589,7 +589,7 @@ let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
589
589
  class AuroFormValidation {
590
590
 
591
591
  constructor() {
592
- this.runtimeUtils = new AuroLibraryRuntimeUtils$5();
592
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$6();
593
593
  }
594
594
 
595
595
  /**
@@ -4167,7 +4167,7 @@ var tokensCss$4 = css`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
4167
4167
 
4168
4168
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
4169
4169
 
4170
- let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
4170
+ let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
4171
4171
 
4172
4172
  /* eslint-disable jsdoc/require-param */
4173
4173
 
@@ -4248,7 +4248,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
4248
4248
  this.onDark = false;
4249
4249
  this.hasTextContent = false;
4250
4250
 
4251
- AuroLibraryRuntimeUtils$4.prototype.handleComponentTagRename(this, 'auro-helptext');
4251
+ AuroLibraryRuntimeUtils$5.prototype.handleComponentTagRename(this, 'auro-helptext');
4252
4252
  }
4253
4253
 
4254
4254
  static get styles() {
@@ -4304,7 +4304,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
4304
4304
  *
4305
4305
  */
4306
4306
  static register(name = "auro-helptext") {
4307
- AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroHelpText);
4307
+ AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroHelpText);
4308
4308
  }
4309
4309
 
4310
4310
  updated() {
@@ -5421,7 +5421,7 @@ var tokenCss = css`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
5421
5421
 
5422
5422
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
5423
5423
 
5424
- let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
5424
+ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
5425
5425
 
5426
5426
  /* eslint-disable jsdoc/require-param */
5427
5427
 
@@ -6004,7 +6004,7 @@ var shapeSize = css`.shape-rounded-xl{min-height:68px;max-height:68px;border-sty
6004
6004
 
6005
6005
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
6006
6006
 
6007
- let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
6007
+ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
6008
6008
 
6009
6009
  /* eslint-disable jsdoc/require-param */
6010
6010
 
@@ -6099,7 +6099,7 @@ class AuroLoader extends LitElement {
6099
6099
  /**
6100
6100
  * @private
6101
6101
  */
6102
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
6102
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
6103
6103
 
6104
6104
  this.orbit = false;
6105
6105
  this.ringworm = false;
@@ -6162,7 +6162,7 @@ class AuroLoader extends LitElement {
6162
6162
  *
6163
6163
  */
6164
6164
  static register(name = "auro-loader") {
6165
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroLoader);
6165
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroLoader);
6166
6166
  }
6167
6167
 
6168
6168
  firstUpdated() {
@@ -6442,7 +6442,7 @@ class AuroButton extends AuroElement$1 {
6442
6442
  *
6443
6443
  */
6444
6444
  static register(name = "auro-button") {
6445
- AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroButton);
6445
+ AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroButton);
6446
6446
  }
6447
6447
 
6448
6448
  /**
@@ -6779,7 +6779,7 @@ var colorCss$4 = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){
6779
6779
 
6780
6780
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
6781
6781
 
6782
- let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
6782
+ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
6783
6783
 
6784
6784
  /* eslint-disable jsdoc/require-param */
6785
6785
 
@@ -6861,7 +6861,7 @@ class AuroIcon extends BaseIcon {
6861
6861
  */
6862
6862
  privateDefaults() {
6863
6863
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
6864
- this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
6864
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
6865
6865
  }
6866
6866
 
6867
6867
  // function to define props used within the scope of this component
@@ -6943,7 +6943,7 @@ class AuroIcon extends BaseIcon {
6943
6943
  *
6944
6944
  */
6945
6945
  static register(name = "auro-icon") {
6946
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroIcon);
6946
+ AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
6947
6947
  }
6948
6948
 
6949
6949
  connectedCallback() {
@@ -7013,9 +7013,79 @@ class AuroIcon extends BaseIcon {
7013
7013
  }
7014
7014
  }
7015
7015
 
7016
- var iconVersion = '8.1.0';
7016
+ var iconVersion = '8.0.4';
7017
+
7018
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
7019
+ // See LICENSE in the project root for license information.
7020
+
7021
+ // ---------------------------------------------------------------------
7017
7022
 
7018
- var styleCss$5 = css`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.63)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);line-height:var(--wcss-body-xs-line-height, 1)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, 0.88)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3)}: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)}`;
7023
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
7024
+
7025
+ let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
7026
+
7027
+ /* eslint-disable jsdoc/require-param */
7028
+
7029
+ /**
7030
+ * This will register a new custom element with the browser.
7031
+ * @param {String} name - The name of the custom element.
7032
+ * @param {Object} componentClass - The class to register as a custom element.
7033
+ * @returns {void}
7034
+ */
7035
+ registerComponent(name, componentClass) {
7036
+ if (!customElements.get(name)) {
7037
+ customElements.define(name, class extends componentClass {});
7038
+ }
7039
+ }
7040
+
7041
+ /**
7042
+ * Finds and returns the closest HTML Element based on a selector.
7043
+ * @returns {void}
7044
+ */
7045
+ closestElement(
7046
+ selector, // selector like in .closest()
7047
+ base = this, // extra functionality to skip a parent
7048
+ __Closest = (el, found = el && el.closest(selector)) =>
7049
+ !el || el === document || el === window
7050
+ ? null // standard .closest() returns null for non-found selectors also
7051
+ : found
7052
+ ? found // found a selector INside this element
7053
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
7054
+ ) {
7055
+ return __Closest(base);
7056
+ }
7057
+ /* eslint-enable jsdoc/require-param */
7058
+
7059
+ /**
7060
+ * 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.
7061
+ * @param {Object} elem - The element to check.
7062
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
7063
+ * @returns {void}
7064
+ */
7065
+ handleComponentTagRename(elem, tagName) {
7066
+ const tag = tagName.toLowerCase();
7067
+ const elemTag = elem.tagName.toLowerCase();
7068
+
7069
+ if (elemTag !== tag) {
7070
+ elem.setAttribute(tag, true);
7071
+ }
7072
+ }
7073
+
7074
+ /**
7075
+ * Validates if an element is a specific Auro component.
7076
+ * @param {Object} elem - The element to validate.
7077
+ * @param {String} tagName - The name of the Auro component to check against.
7078
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
7079
+ */
7080
+ elementMatch(elem, tagName) {
7081
+ const tag = tagName.toLowerCase();
7082
+ const elemTag = elem.tagName.toLowerCase();
7083
+
7084
+ return elemTag === tag || elem.hasAttribute(tag);
7085
+ }
7086
+ };
7087
+
7088
+ var styleCss$5 = css`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-heading-default-spacing, -0.2px);font-weight:var(--ds-text-heading-default-weight, 500)}.heading--display{margin-top:0;font-size:var(--ds-text-heading-display-size-breakpoint-sm, 2.75rem);font-weight:var(--ds-text-heading-display-weight, 100);line-height:var(--ds-text-heading-display-height-breakpoint-sm, 3.375rem)}@media screen and (min-width: 768px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-md, 3rem);line-height:var(--ds-text-heading-display-height-breakpoint-md, 3.75rem)}}@media screen and (min-width: 1024px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-lg, 3.5rem);line-height:var(--ds-text-heading-display-height-breakpoint-lg, 4.25rem)}}.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-sm, 2rem);font-weight:var(--ds-text-heading-800-weight, 500);line-height:var(--ds-text-heading-800-height-breakpoint-sm, 2.375rem)}@media screen and (min-width: 768px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-md, 2.25rem);line-height:var(--ds-text-heading-800-height-breakpoint-md, 2.625rem)}}@media screen and (min-width: 1024px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-lg, 2.5rem);line-height:var(--ds-text-heading-800-height-breakpoint-lg, 3rem)}}.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-sm, 1.75rem);font-weight:var(--ds-text-heading-700-weight, 500);line-height:var(--ds-text-heading-700-height-breakpoint-sm, 2.125rem)}@media screen and (min-width: 768px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-md, 2rem);line-height:var(--ds-text-heading-700-height-breakpoint-md, 2.375rem)}}@media screen and (min-width: 1024px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-lg, 2.25rem);line-height:var(--ds-text-heading-700-height-breakpoint-lg, 2.75rem)}}.heading--600{margin:1rem 0;font-size:var(--ds-text-heading-600-size-breakpoint-sm, 1.625rem);font-weight:var(--ds-text-heading-600-weight, 300);line-height:var(--ds-text-heading-600-height-breakpoint-sm, 1.875rem)}@media screen and (min-width: 768px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-md, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-md, 2.125rem)}}@media screen and (min-width: 1024px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-lg, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-lg, 2.25rem)}}.heading--500{margin:1rem 0;font-size:var(--ds-text-heading-500-size-breakpoint-sm, 1.375rem);font-weight:var(--ds-text-heading-500-weight, 300);line-height:var(--ds-text-heading-500-height-breakpoint-sm, 1.625rem)}@media screen and (min-width: 768px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-md, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-md, 1.875rem)}}@media screen and (min-width: 1024px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-lg, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-lg, 2rem)}}.heading--400{margin:.75rem 0;font-size:var(--ds-text-heading-400-size, 1.25rem);font-weight:var(--ds-text-heading-400-weight, 300);line-height:var(--ds-text-heading-400-height, 1.625rem)}.heading--300{margin:.75rem 0;font-size:var(--ds-text-heading-300-size, 1.125rem);font-weight:var(--ds-text-heading-300-weight, 300);line-height:var(--ds-text-heading-300-height, 1.625rem)}:host([no-margin-block]) .heading{margin-block:0}.util_stackMarginnone--bottom{margin-bottom:0}.util_stackMargin25--bottom{margin-bottom:var(--ds-size-25, 0.125rem)}.util_stackMargin50--bottom{margin-bottom:var(--ds-size-50, 0.25rem)}.util_stackMargin100--bottom{margin-bottom:var(--ds-size-100, 0.5rem)}.util_stackMargin150--bottom{margin-bottom:var(--ds-size-150, 0.75rem)}.util_stackMargin200--bottom{margin-bottom:var(--ds-size-200, 1rem)}.util_stackMargin300--bottom{margin-bottom:var(--ds-size-300, 1.5rem)}.util_stackMargin400--bottom{margin-bottom:var(--ds-size-400, 2rem)}.util_stackMargin600--bottom{margin-bottom:var(--ds-size-600, 3rem)}.util_stackMargin800--bottom{margin-bottom:var(--ds-size-800, 4rem)}.util_stackMarginnone--top{margin-top:0}.util_stackMargin25--top{margin-top:var(--ds-size-25, 0.125rem)}.util_stackMargin50--top{margin-top:var(--ds-size-50, 0.25rem)}.util_stackMargin100--top{margin-top:var(--ds-size-100, 0.5rem)}.util_stackMargin150--top{margin-top:var(--ds-size-150, 0.75rem)}.util_stackMargin200--top{margin-top:var(--ds-size-200, 1rem)}.util_stackMargin300--top{margin-top:var(--ds-size-300, 1.5rem)}.util_stackMargin400--top{margin-top:var(--ds-size-400, 2rem)}.util_stackMargin600--top{margin-top:var(--ds-size-600, 3rem)}.util_stackMargin800--top{margin-top:var(--ds-size-800, 4rem)}`;
7019
7089
 
7020
7090
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
7021
7091
  // See LICENSE in the project root for license information.
@@ -7025,12 +7095,13 @@ var styleCss$5 = css`.body-default{font-size:var(--wcss-body-default-font-size,
7025
7095
  * The auro-header component is a custom element to make using headers with the Auro Design System seamless and easy.
7026
7096
  *
7027
7097
  * @attr {Boolean} no-margin-block - if declared, margin-block will be set to `0`
7098
+ * @attr {String} level - Determines heading level for HTML element. Options are `1` - `6`
7099
+ * @attr {String} display - Determines presentation of header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
7028
7100
  * @attr {String} color - Allows user to pass in CSS custom property or direct hex value to change the color of the header
7029
- * @attr {String} display - Determines the visual appearance of the header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
7030
- * @attr {String} level - Determines the semantic heading level of the HTML element. Options are `1` - `6`
7031
7101
  * @attr {String} margin - Specify the margin(s) to be altered. Options are `top`, `bottom`, or `both`.
7032
7102
  * @attr {String} size - Specify size of margin adjustment, either `none`, `25`, `50`, `100`, `150`, `200`, `300`, `400`, `600` or `800`.
7033
7103
  */
7104
+
7034
7105
  /* eslint complexity: ["error", 21] */
7035
7106
 
7036
7107
  // build the component class
@@ -7043,7 +7114,7 @@ class AuroHeader extends LitElement {
7043
7114
  /**
7044
7115
  * @private
7045
7116
  */
7046
- this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
7117
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
7047
7118
  }
7048
7119
 
7049
7120
  // function to define props used within the scope of this component
@@ -7064,22 +7135,6 @@ class AuroHeader extends LitElement {
7064
7135
  return [styleCss$5];
7065
7136
  }
7066
7137
 
7067
- /**
7068
- * Mapping of display values to their corresponding CSS classes
7069
- * @private
7070
- */
7071
- static get displayClassMap() {
7072
- return {
7073
- 'display': 'heading-xl',
7074
- '800': 'heading-xl',
7075
- '700': 'heading-lg',
7076
- '600': 'heading-md',
7077
- '500': 'heading-sm',
7078
- '400': 'heading-xs',
7079
- '300': 'heading-2xs'
7080
- };
7081
- }
7082
-
7083
7138
  /**
7084
7139
  * This will register this element with the browser.
7085
7140
  * @param {string} [name="auro-header"] - The name of element that you want to register to.
@@ -7089,7 +7144,7 @@ class AuroHeader extends LitElement {
7089
7144
  *
7090
7145
  */
7091
7146
  static register(name = "auro-header") {
7092
- AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHeader);
7147
+ AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroHeader);
7093
7148
  }
7094
7149
 
7095
7150
  firstUpdated() {
@@ -7156,42 +7211,23 @@ class AuroHeader extends LitElement {
7156
7211
  this.display = 'display';
7157
7212
  }
7158
7213
 
7159
- const headingLevel = level || '1';
7160
- const spacingClasses = this.spacingDecision(this.size);
7161
-
7162
- // Get the CSS class based on the display prop
7163
- const headingClass = AuroHeader.displayClassMap[this.display];
7164
-
7165
- const classObject = {
7166
- 'heading': true,
7167
- [`heading--${this.display}`]: true,
7168
- [headingClass]: true
7169
- };
7170
-
7171
- // Add spacing classes to the class object if they exist
7172
- if (spacingClasses) {
7173
- const spacingClassArray = spacingClasses.split(' ');
7174
- spacingClassArray.forEach(cls => {
7175
- if (cls.trim()) {
7176
- classObject[cls.trim()] = true;
7177
- }
7178
- });
7214
+ switch (level) {
7215
+ case '2': return html$1`<h2 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h2>`;
7216
+ case '3': return html$1`<h3 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h3>`;
7217
+ case '4': return html$1`<h4 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h4>`;
7218
+ case '5': return html$1`<h5 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h5>`;
7219
+ case '6': return html$1`<h6 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h6>`;
7220
+ default: return html$1`<h1 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h1>`;
7179
7221
  }
7180
-
7181
- const headerClasses = classMap(classObject);
7182
-
7183
- // unsafeStatic dynamically creates tag names at runtime
7184
- const tag = unsafeStatic(`h${headingLevel}`);
7185
- return html`<${tag} class="${headerClasses}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></${tag}>`;
7186
7222
  }
7187
-
7188
7223
  // function that renders the HTML and CSS into the scope of the component
7224
+
7189
7225
  render() {
7190
7226
  return this.template(this.level);
7191
7227
  }
7192
7228
  }
7193
7229
 
7194
- var headerVersion = '4.0.2';
7230
+ var headerVersion = '4.0.1';
7195
7231
 
7196
7232
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
7197
7233
  // See LICENSE in the project root for license information.
@@ -7204,7 +7240,7 @@ class AuroBibtemplate extends LitElement {
7204
7240
 
7205
7241
  this.large = false;
7206
7242
 
7207
- AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
7243
+ AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
7208
7244
 
7209
7245
  const versioning = new AuroDependencyVersioning();
7210
7246
 
@@ -7256,7 +7292,7 @@ class AuroBibtemplate extends LitElement {
7256
7292
  *
7257
7293
  */
7258
7294
  static register(name = "auro-bibtemplate") {
7259
- AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroBibtemplate);
7295
+ AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroBibtemplate);
7260
7296
  }
7261
7297
 
7262
7298
  /**
@@ -7314,9 +7350,8 @@ class AuroBibtemplate extends LitElement {
7314
7350
  <div id="bibTemplate" part="bibtemplate">
7315
7351
  ${this.isFullscreen ? html`
7316
7352
  <div id="headerContainer">
7317
- <${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
7318
- <span><slot name="ariaLabel.close">Close</slot></span>
7319
- <${this.iconTag} aria-hidden="true" category="interface" name="x-lg"></${this.iconTag}>
7353
+ <${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
7354
+ <${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
7320
7355
  </${this.buttonTag}>
7321
7356
  <${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
7322
7357
  <slot name="header"></slot>
@@ -7560,7 +7595,6 @@ var styleCss = css`.util_displayInline{display:inline}.util_displayInlineBlock{d
7560
7595
  * The auro-select element is a wrapper for auro-dropdown and auro-menu to create a dropdown menu control.
7561
7596
  *
7562
7597
  * @slot - Default slot for the menu content.
7563
- * @slot ariaLabel.close - Sets aria-label on close button in fullscreen bib
7564
7598
  * @slot bib.fullscreen.headline - Defines the headline to display above menu-options
7565
7599
  * @slot label - Defines the content of the label.
7566
7600
  * @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
@@ -7618,7 +7652,7 @@ class AuroSelect extends AuroElement$3 {
7618
7652
  /**
7619
7653
  * @private
7620
7654
  */
7621
- this.runtimeUtils = new AuroLibraryRuntimeUtils$5();
7655
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$6();
7622
7656
 
7623
7657
  /**
7624
7658
  * Generate unique names for dependency components.
@@ -8035,7 +8069,7 @@ class AuroSelect extends AuroElement$3 {
8035
8069
  *
8036
8070
  */
8037
8071
  static register(name = "auro-select") {
8038
- AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroSelect);
8072
+ AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroSelect);
8039
8073
  }
8040
8074
 
8041
8075
  /**
@@ -8687,7 +8721,6 @@ class AuroSelect extends AuroElement$3 {
8687
8721
  </div>
8688
8722
  <div class="menuWrapper"></div>
8689
8723
  <${this.bibtemplateTag} ?large="${this.largeFullscreenHeadline}" @close-click="${this.hideBib}">
8690
- <slot name="ariaLabel.close" slot="ariaLabel.close">Close</slot>
8691
8724
  <slot></slot>
8692
8725
  </${this.bibtemplateTag}>
8693
8726
  <div slot="helpText">
@@ -8766,7 +8799,6 @@ class AuroSelect extends AuroElement$3 {
8766
8799
  </div>
8767
8800
  <div class="menuWrapper"></div>
8768
8801
  <${this.bibtemplateTag} ?large="${this.largeFullscreenHeadline}" @close-click="${this.hideBib}">
8769
- <slot name="ariaLabel.close" slot="ariaLabel.close">Close</slot>
8770
8802
  <slot></slot>
8771
8803
  </${this.bibtemplateTag}>
8772
8804
  <div slot="helpText">
@@ -8846,7 +8878,6 @@ class AuroSelect extends AuroElement$3 {
8846
8878
  </div>
8847
8879
  <div class="menuWrapper"></div>
8848
8880
  <${this.bibtemplateTag} ?large="${this.largeFullscreenHeadline}" @close-click="${this.hideBib}">
8849
- <slot name="ariaLabel.close" slot="ariaLabel.close">Close</slot>
8850
8881
  <slot></slot>
8851
8882
  </${this.bibtemplateTag}>
8852
8883
  <div slot="helpText">