@aurodesignsystem-dev/auro-formkit 0.0.0-pr808.1 → 0.0.0-pr811.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.
@@ -559,7 +559,7 @@ const {
559
559
 
560
560
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
561
561
 
562
- let AuroLibraryRuntimeUtils$6 = class AuroLibraryRuntimeUtils {
562
+ let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
563
563
 
564
564
  /* eslint-disable jsdoc/require-param */
565
565
 
@@ -629,7 +629,7 @@ let AuroLibraryRuntimeUtils$6 = class AuroLibraryRuntimeUtils {
629
629
  class AuroFormValidation {
630
630
 
631
631
  constructor() {
632
- this.runtimeUtils = new AuroLibraryRuntimeUtils$6();
632
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$5();
633
633
  }
634
634
 
635
635
  /**
@@ -4194,7 +4194,7 @@ var shapeSizeCss$1 = i$5`.wrapper{overflow:hidden}.shape-classic-xl,.shape-class
4194
4194
 
4195
4195
  var colorCss$1$2 = i$5`:host(:not([layout*=classic])){--ds-auro-dropdown-trigger-border-color: transparent}:host(:not([ondark])) .wrapper{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-background-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host(:not([ondark])) .wrapper:focus-within,:host(:not([ondark])) .wrapper:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused, #01426a)}:host(:not([onDark])[disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([ondark])[error]){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]) .label{color:var(--ds-auro-dropdown-label-text-color)}:host([onDark]) .wrapper{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-background-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host([onDark]) .wrapper:focus-within,:host([onDark]) .wrapper:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused-inverse, #ffffff)}:host([onDark][disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse-disabled, rgba(255, 255, 255, 0.1))}:host([ondark][error]){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}`;
4196
4196
 
4197
- var styleCss$1$2 = i$5`:host{position:relative;display:block}:host([open]){z-index:var(--depth-tooltip, 400)}.wrapper{display:flex;flex:1;flex-direction:row;align-items:center;justify-content:center;outline:none}.triggerContentWrapper{display:flex;overflow:hidden;width:100%;flex:1;align-items:center;justify-content:center;text-overflow:ellipsis;white-space:nowrap}:host([matchwidth]) #bibSizer{width:100%}`;
4197
+ var styleCss$1$2 = i$5`:host{position:relative;display:block}:host([open]){z-index:var(--depth-tooltip, 400)}.wrapper{display:flex;box-sizing:border-box;flex:1;flex-direction:row;align-items:center;justify-content:center;outline:none}.triggerContentWrapper{display:flex;overflow:hidden;width:100%;flex:1;align-items:center;justify-content:center;text-overflow:ellipsis;white-space:nowrap}:host([matchwidth]) #bibSizer{width:100%}`;
4198
4198
 
4199
4199
  var classicColorCss = i$5``;
4200
4200
 
@@ -4217,7 +4217,7 @@ var tokensCss$4 = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
4217
4217
 
4218
4218
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
4219
4219
 
4220
- let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
4220
+ let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
4221
4221
 
4222
4222
  /* eslint-disable jsdoc/require-param */
4223
4223
 
@@ -4296,7 +4296,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
4296
4296
  this.onDark = false;
4297
4297
  this.hasTextContent = false;
4298
4298
 
4299
- AuroLibraryRuntimeUtils$5.prototype.handleComponentTagRename(this, 'auro-helptext');
4299
+ AuroLibraryRuntimeUtils$4.prototype.handleComponentTagRename(this, 'auro-helptext');
4300
4300
  }
4301
4301
 
4302
4302
  static get styles() {
@@ -4352,7 +4352,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
4352
4352
  *
4353
4353
  */
4354
4354
  static register(name = "auro-helptext") {
4355
- AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroHelpText);
4355
+ AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroHelpText);
4356
4356
  }
4357
4357
 
4358
4358
  updated() {
@@ -5415,7 +5415,7 @@ var tokenCss = i$5`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
5415
5415
 
5416
5416
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
5417
5417
 
5418
- let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
5418
+ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
5419
5419
 
5420
5420
  /* eslint-disable jsdoc/require-param */
5421
5421
 
@@ -5998,7 +5998,7 @@ var shapeSize = i$5`.shape-rounded-xl{min-height:68px;max-height:68px;border-sty
5998
5998
 
5999
5999
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
6000
6000
 
6001
- let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
6001
+ let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
6002
6002
 
6003
6003
  /* eslint-disable jsdoc/require-param */
6004
6004
 
@@ -6093,7 +6093,7 @@ class AuroLoader extends i$2 {
6093
6093
  /**
6094
6094
  * @private
6095
6095
  */
6096
- this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
6096
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
6097
6097
 
6098
6098
  this.orbit = false;
6099
6099
  this.ringworm = false;
@@ -6156,7 +6156,7 @@ class AuroLoader extends i$2 {
6156
6156
  *
6157
6157
  */
6158
6158
  static register(name = "auro-loader") {
6159
- AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroLoader);
6159
+ AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroLoader);
6160
6160
  }
6161
6161
 
6162
6162
  firstUpdated() {
@@ -6436,7 +6436,7 @@ class AuroButton extends AuroElement$1 {
6436
6436
  *
6437
6437
  */
6438
6438
  static register(name = "auro-button") {
6439
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroButton);
6439
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroButton);
6440
6440
  }
6441
6441
 
6442
6442
  /**
@@ -6773,7 +6773,7 @@ var colorCss$4 = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){
6773
6773
 
6774
6774
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
6775
6775
 
6776
- let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
6776
+ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
6777
6777
 
6778
6778
  /* eslint-disable jsdoc/require-param */
6779
6779
 
@@ -6855,7 +6855,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
6855
6855
  */
6856
6856
  privateDefaults() {
6857
6857
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
6858
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
6858
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
6859
6859
  }
6860
6860
 
6861
6861
  // function to define props used within the scope of this component
@@ -6937,7 +6937,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
6937
6937
  *
6938
6938
  */
6939
6939
  static register(name = "auro-icon") {
6940
- AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroIcon);
6940
+ AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroIcon);
6941
6941
  }
6942
6942
 
6943
6943
  connectedCallback() {
@@ -7009,77 +7009,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
7009
7009
 
7010
7010
  var iconVersion$1 = '8.1.0';
7011
7011
 
7012
- // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
7013
- // See LICENSE in the project root for license information.
7014
-
7015
- // ---------------------------------------------------------------------
7016
-
7017
- /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
7018
-
7019
- let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
7020
-
7021
- /* eslint-disable jsdoc/require-param */
7022
-
7023
- /**
7024
- * This will register a new custom element with the browser.
7025
- * @param {String} name - The name of the custom element.
7026
- * @param {Object} componentClass - The class to register as a custom element.
7027
- * @returns {void}
7028
- */
7029
- registerComponent(name, componentClass) {
7030
- if (!customElements.get(name)) {
7031
- customElements.define(name, class extends componentClass {});
7032
- }
7033
- }
7034
-
7035
- /**
7036
- * Finds and returns the closest HTML Element based on a selector.
7037
- * @returns {void}
7038
- */
7039
- closestElement(
7040
- selector, // selector like in .closest()
7041
- base = this, // extra functionality to skip a parent
7042
- __Closest = (el, found = el && el.closest(selector)) =>
7043
- !el || el === document || el === window
7044
- ? null // standard .closest() returns null for non-found selectors also
7045
- : found
7046
- ? found // found a selector INside this element
7047
- : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
7048
- ) {
7049
- return __Closest(base);
7050
- }
7051
- /* eslint-enable jsdoc/require-param */
7052
-
7053
- /**
7054
- * 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.
7055
- * @param {Object} elem - The element to check.
7056
- * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
7057
- * @returns {void}
7058
- */
7059
- handleComponentTagRename(elem, tagName) {
7060
- const tag = tagName.toLowerCase();
7061
- const elemTag = elem.tagName.toLowerCase();
7062
-
7063
- if (elemTag !== tag) {
7064
- elem.setAttribute(tag, true);
7065
- }
7066
- }
7067
-
7068
- /**
7069
- * Validates if an element is a specific Auro component.
7070
- * @param {Object} elem - The element to validate.
7071
- * @param {String} tagName - The name of the Auro component to check against.
7072
- * @returns {Boolean} - Returns true if the element is the specified Auro component.
7073
- */
7074
- elementMatch(elem, tagName) {
7075
- const tag = tagName.toLowerCase();
7076
- const elemTag = elem.tagName.toLowerCase();
7077
-
7078
- return elemTag === tag || elem.hasAttribute(tag);
7079
- }
7080
- };
7081
-
7082
- var styleCss$5 = 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)}`;
7012
+ var styleCss$5 = i$5`.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)}`;
7083
7013
 
7084
7014
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
7085
7015
  // See LICENSE in the project root for license information.
@@ -7089,13 +7019,12 @@ var styleCss$5 = i$5`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-head
7089
7019
  * The auro-header component is a custom element to make using headers with the Auro Design System seamless and easy.
7090
7020
  *
7091
7021
  * @attr {Boolean} no-margin-block - if declared, margin-block will be set to `0`
7092
- * @attr {String} level - Determines heading level for HTML element. Options are `1` - `6`
7093
- * @attr {String} display - Determines presentation of header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
7094
7022
  * @attr {String} color - Allows user to pass in CSS custom property or direct hex value to change the color of the header
7023
+ * @attr {String} display - Determines the visual appearance of the header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
7024
+ * @attr {String} level - Determines the semantic heading level of the HTML element. Options are `1` - `6`
7095
7025
  * @attr {String} margin - Specify the margin(s) to be altered. Options are `top`, `bottom`, or `both`.
7096
7026
  * @attr {String} size - Specify size of margin adjustment, either `none`, `25`, `50`, `100`, `150`, `200`, `300`, `400`, `600` or `800`.
7097
7027
  */
7098
-
7099
7028
  /* eslint complexity: ["error", 21] */
7100
7029
 
7101
7030
  // build the component class
@@ -7108,7 +7037,7 @@ class AuroHeader extends i$2 {
7108
7037
  /**
7109
7038
  * @private
7110
7039
  */
7111
- this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
7040
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
7112
7041
  }
7113
7042
 
7114
7043
  // function to define props used within the scope of this component
@@ -7129,6 +7058,22 @@ class AuroHeader extends i$2 {
7129
7058
  return [styleCss$5];
7130
7059
  }
7131
7060
 
7061
+ /**
7062
+ * Mapping of display values to their corresponding CSS classes
7063
+ * @private
7064
+ */
7065
+ static get displayClassMap() {
7066
+ return {
7067
+ 'display': 'heading-xl',
7068
+ '800': 'heading-xl',
7069
+ '700': 'heading-lg',
7070
+ '600': 'heading-md',
7071
+ '500': 'heading-sm',
7072
+ '400': 'heading-xs',
7073
+ '300': 'heading-2xs'
7074
+ };
7075
+ }
7076
+
7132
7077
  /**
7133
7078
  * This will register this element with the browser.
7134
7079
  * @param {string} [name="auro-header"] - The name of element that you want to register to.
@@ -7138,7 +7083,7 @@ class AuroHeader extends i$2 {
7138
7083
  *
7139
7084
  */
7140
7085
  static register(name = "auro-header") {
7141
- AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroHeader);
7086
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHeader);
7142
7087
  }
7143
7088
 
7144
7089
  firstUpdated() {
@@ -7205,23 +7150,42 @@ class AuroHeader extends i$2 {
7205
7150
  this.display = 'display';
7206
7151
  }
7207
7152
 
7208
- switch (level) {
7209
- case '2': return x`<h2 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h2>`;
7210
- case '3': return x`<h3 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h3>`;
7211
- case '4': return x`<h4 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h4>`;
7212
- case '5': return x`<h5 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h5>`;
7213
- case '6': return x`<h6 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h6>`;
7214
- default: return x`<h1 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h1>`;
7153
+ const headingLevel = level || '1';
7154
+ const spacingClasses = this.spacingDecision(this.size);
7155
+
7156
+ // Get the CSS class based on the display prop
7157
+ const headingClass = AuroHeader.displayClassMap[this.display];
7158
+
7159
+ const classObject = {
7160
+ 'heading': true,
7161
+ [`heading--${this.display}`]: true,
7162
+ [headingClass]: true
7163
+ };
7164
+
7165
+ // Add spacing classes to the class object if they exist
7166
+ if (spacingClasses) {
7167
+ const spacingClassArray = spacingClasses.split(' ');
7168
+ spacingClassArray.forEach(cls => {
7169
+ if (cls.trim()) {
7170
+ classObject[cls.trim()] = true;
7171
+ }
7172
+ });
7215
7173
  }
7174
+
7175
+ const headerClasses = e(classObject);
7176
+
7177
+ // unsafeStatic dynamically creates tag names at runtime
7178
+ const tag = s(`h${headingLevel}`);
7179
+ return u`<${tag} class="${headerClasses}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></${tag}>`;
7216
7180
  }
7181
+
7217
7182
  // function that renders the HTML and CSS into the scope of the component
7218
-
7219
7183
  render() {
7220
7184
  return this.template(this.level);
7221
7185
  }
7222
7186
  }
7223
7187
 
7224
- var headerVersion = '4.0.1';
7188
+ var headerVersion = '4.0.2';
7225
7189
 
7226
7190
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
7227
7191
  // See LICENSE in the project root for license information.
@@ -7234,7 +7198,7 @@ class AuroBibtemplate extends i$2 {
7234
7198
 
7235
7199
  this.large = false;
7236
7200
 
7237
- AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
7201
+ AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
7238
7202
 
7239
7203
  const versioning = new AuroDependencyVersioning();
7240
7204
 
@@ -7286,7 +7250,7 @@ class AuroBibtemplate extends i$2 {
7286
7250
  *
7287
7251
  */
7288
7252
  static register(name = "auro-bibtemplate") {
7289
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroBibtemplate);
7253
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroBibtemplate);
7290
7254
  }
7291
7255
 
7292
7256
  /**
@@ -7635,7 +7599,7 @@ class AuroSelect extends AuroElement$4 {
7635
7599
  /**
7636
7600
  * @private
7637
7601
  */
7638
- this.runtimeUtils = new AuroLibraryRuntimeUtils$6();
7602
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$5();
7639
7603
 
7640
7604
  /**
7641
7605
  * Generate unique names for dependency components.
@@ -7992,12 +7956,23 @@ class AuroSelect extends AuroElement$4 {
7992
7956
  * @returns {void}
7993
7957
  */
7994
7958
  get commonLabelClasses() {
7995
- return {
7959
+ const obj = {
7996
7960
  'is-disabled': this.disabled,
7997
- 'withValue': this.hasValue,
7961
+ 'withValue': false,
7998
7962
  'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0,
7999
7963
  [this.labelFontClass]: true
8000
7964
  };
7965
+
7966
+ if (this.placeholder) {
7967
+ obj.withValue = true;
7968
+ } else if (this.optionSelected) {
7969
+ if (Array.isArray(this.optionSelected)) {
7970
+ obj.withValue = this.optionSelected.length > 0;
7971
+ } else {
7972
+ obj.withValue = true;
7973
+ }
7974
+ }
7975
+ return obj;
8001
7976
  }
8002
7977
 
8003
7978
  /**
@@ -8076,7 +8051,7 @@ class AuroSelect extends AuroElement$4 {
8076
8051
  *
8077
8052
  */
8078
8053
  static register(name = "auro-select") {
8079
- AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroSelect);
8054
+ AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroSelect);
8080
8055
  }
8081
8056
 
8082
8057
  /**
@@ -8455,7 +8430,11 @@ class AuroSelect extends AuroElement$4 {
8455
8430
  if (!this.menu) return;
8456
8431
 
8457
8432
  this.menu.setAttribute('value', value);
8458
- this.menu.value = value;
8433
+ if (value) {
8434
+ this.menu.value = value;
8435
+ } else {
8436
+ this.menu.reset();
8437
+ }
8459
8438
  await this.menu.updateComplete;
8460
8439
  }
8461
8440
 
@@ -8673,7 +8652,7 @@ class AuroSelect extends AuroElement$4 {
8673
8652
  'displayValue': true,
8674
8653
  'hasContent': this.hasDisplayValueContent,
8675
8654
  'hasFocus': this.isPopoverVisible,
8676
- 'withValue': this.placeholder || (this.value && this.value.length > 0), // eslint-disable-line no-extra-parens
8655
+ 'withValue': this.commonLabelClasses.widthValue,
8677
8656
  'force': this.forceDisplayValue,
8678
8657
  };
8679
8658
 
@@ -8751,7 +8730,7 @@ class AuroSelect extends AuroElement$4 {
8751
8730
  'displayValue': true,
8752
8731
  'hasContent': this.hasDisplayValueContent,
8753
8732
  'hasFocus': this.isPopoverVisible,
8754
- 'withValue': this.placeholder || (this.value && this.value.length > 0), // eslint-disable-line no-extra-parens
8733
+ 'withValue': this.commonLabelClasses.widthValue,
8755
8734
  'force': this.forceDisplayValue,
8756
8735
  };
8757
8736
 
@@ -8829,7 +8808,7 @@ class AuroSelect extends AuroElement$4 {
8829
8808
  'displayValue': true,
8830
8809
  'hasContent': this.hasDisplayValueContent,
8831
8810
  'hasFocus': this.isPopoverVisible,
8832
- 'withValue': this.placeholder || (this.value && this.value.length > 0), // eslint-disable-line no-extra-parens
8811
+ 'withValue': this.commonLabelClasses.widthValue,
8833
8812
  'force': this.forceDisplayValue,
8834
8813
  };
8835
8814
 
@@ -9147,7 +9126,7 @@ class AuroMenu extends AuroElement$4 {
9147
9126
  *
9148
9127
  */
9149
9128
  static register(name = "auro-menu") {
9150
- AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroMenu);
9129
+ AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroMenu);
9151
9130
  }
9152
9131
 
9153
9132
  /**
@@ -9191,7 +9170,7 @@ class AuroMenu extends AuroElement$4 {
9191
9170
  }
9192
9171
 
9193
9172
  firstUpdated() {
9194
- AuroLibraryRuntimeUtils$6.prototype.handleComponentTagRename(this, 'auro-menu');
9173
+ AuroLibraryRuntimeUtils$5.prototype.handleComponentTagRename(this, 'auro-menu');
9195
9174
 
9196
9175
  this.loadingSlots = this.querySelectorAll("[slot='loadingText'], [slot='loadingIcon']");
9197
9176
  this.initializeMenu();
@@ -10242,7 +10221,7 @@ class AuroMenuOption extends AuroElement$4 {
10242
10221
  /**
10243
10222
  * @private
10244
10223
  */
10245
- this.runtimeUtils = new AuroLibraryRuntimeUtils$6();
10224
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$5();
10246
10225
  }
10247
10226
 
10248
10227
  static get properties() {
@@ -10288,7 +10267,7 @@ class AuroMenuOption extends AuroElement$4 {
10288
10267
  *
10289
10268
  */
10290
10269
  static register(name = "auro-menuoption") {
10291
- AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroMenuOption);
10270
+ AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroMenuOption);
10292
10271
  }
10293
10272
 
10294
10273
  firstUpdated() {