@aurodesignsystem-dev/auro-formkit 0.0.0-pr807.2 → 0.0.0-pr808.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 (40) hide show
  1. package/components/bibtemplate/dist/headerVersion.d.ts +1 -1
  2. package/components/bibtemplate/dist/index.js +96 -60
  3. package/components/bibtemplate/dist/registered.js +96 -60
  4. package/components/checkbox/demo/api.md +6 -7
  5. package/components/checkbox/demo/api.min.js +8 -5
  6. package/components/checkbox/demo/index.min.js +8 -5
  7. package/components/checkbox/dist/auro-checkbox.d.ts +0 -3
  8. package/components/checkbox/dist/index.js +8 -5
  9. package/components/checkbox/dist/registered.js +8 -5
  10. package/components/combobox/demo/api.min.js +111 -79
  11. package/components/combobox/demo/index.min.js +111 -79
  12. package/components/combobox/dist/index.js +107 -75
  13. package/components/combobox/dist/registered.js +107 -75
  14. package/components/counter/demo/api.min.js +116 -80
  15. package/components/counter/demo/index.min.js +116 -80
  16. package/components/counter/dist/index.js +116 -80
  17. package/components/counter/dist/registered.js +116 -80
  18. package/components/datepicker/demo/api.min.js +97 -65
  19. package/components/datepicker/demo/index.min.js +97 -65
  20. package/components/datepicker/dist/index.js +97 -65
  21. package/components/datepicker/dist/registered.js +97 -65
  22. package/components/dropdown/demo/api.min.js +1 -1
  23. package/components/dropdown/demo/index.min.js +1 -1
  24. package/components/dropdown/dist/index.js +1 -1
  25. package/components/dropdown/dist/registered.js +1 -1
  26. package/components/input/demo/api.min.js +1 -5
  27. package/components/input/demo/index.min.js +1 -5
  28. package/components/input/dist/index.js +1 -5
  29. package/components/input/dist/registered.js +1 -5
  30. package/components/radio/demo/api.md +0 -2
  31. package/components/radio/demo/api.min.js +1 -3
  32. package/components/radio/demo/index.min.js +1 -3
  33. package/components/radio/dist/auro-radio.d.ts +0 -2
  34. package/components/radio/dist/index.js +1 -3
  35. package/components/radio/dist/registered.js +1 -3
  36. package/components/select/demo/api.min.js +113 -92
  37. package/components/select/demo/index.min.js +113 -92
  38. package/components/select/dist/index.js +109 -88
  39. package/components/select/dist/registered.js +109 -88
  40. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- declare const _default: "4.0.2";
1
+ declare const _default: "4.0.1";
2
2
  export default _default;
@@ -16,7 +16,7 @@ var tokenCss = css`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
16
16
 
17
17
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
18
18
 
19
- let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
19
+ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
20
20
 
21
21
  /* eslint-disable jsdoc/require-param */
22
22
 
@@ -599,7 +599,7 @@ var shapeSize = css`.shape-rounded-xl{min-height:68px;max-height:68px;border-sty
599
599
 
600
600
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
601
601
 
602
- let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
602
+ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
603
603
 
604
604
  /* eslint-disable jsdoc/require-param */
605
605
 
@@ -694,7 +694,7 @@ class AuroLoader extends LitElement {
694
694
  /**
695
695
  * @private
696
696
  */
697
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
697
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
698
698
 
699
699
  this.orbit = false;
700
700
  this.ringworm = false;
@@ -757,7 +757,7 @@ class AuroLoader extends LitElement {
757
757
  *
758
758
  */
759
759
  static register(name = "auro-loader") {
760
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroLoader);
760
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroLoader);
761
761
  }
762
762
 
763
763
  firstUpdated() {
@@ -1037,7 +1037,7 @@ class AuroButton extends AuroElement$1 {
1037
1037
  *
1038
1038
  */
1039
1039
  static register(name = "auro-button") {
1040
- AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroButton);
1040
+ AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroButton);
1041
1041
  }
1042
1042
 
1043
1043
  /**
@@ -1374,7 +1374,7 @@ var colorCss = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){co
1374
1374
 
1375
1375
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
1376
1376
 
1377
- class AuroLibraryRuntimeUtils {
1377
+ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
1378
1378
 
1379
1379
  /* eslint-disable jsdoc/require-param */
1380
1380
 
@@ -1435,7 +1435,7 @@ class AuroLibraryRuntimeUtils {
1435
1435
 
1436
1436
  return elemTag === tag || elem.hasAttribute(tag);
1437
1437
  }
1438
- }
1438
+ };
1439
1439
 
1440
1440
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1441
1441
  // See LICENSE in the project root for license information.
@@ -1456,7 +1456,7 @@ class AuroIcon extends BaseIcon {
1456
1456
  */
1457
1457
  privateDefaults() {
1458
1458
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
1459
- this.runtimeUtils = new AuroLibraryRuntimeUtils();
1459
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
1460
1460
  }
1461
1461
 
1462
1462
  // function to define props used within the scope of this component
@@ -1538,7 +1538,7 @@ class AuroIcon extends BaseIcon {
1538
1538
  *
1539
1539
  */
1540
1540
  static register(name = "auro-icon") {
1541
- AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
1541
+ AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
1542
1542
  }
1543
1543
 
1544
1544
  connectedCallback() {
@@ -1610,7 +1610,77 @@ class AuroIcon extends BaseIcon {
1610
1610
 
1611
1611
  var iconVersion = '8.1.0';
1612
1612
 
1613
- var styleCss = 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)}`;
1613
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1614
+ // See LICENSE in the project root for license information.
1615
+
1616
+ // ---------------------------------------------------------------------
1617
+
1618
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
1619
+
1620
+ class AuroLibraryRuntimeUtils {
1621
+
1622
+ /* eslint-disable jsdoc/require-param */
1623
+
1624
+ /**
1625
+ * This will register a new custom element with the browser.
1626
+ * @param {String} name - The name of the custom element.
1627
+ * @param {Object} componentClass - The class to register as a custom element.
1628
+ * @returns {void}
1629
+ */
1630
+ registerComponent(name, componentClass) {
1631
+ if (!customElements.get(name)) {
1632
+ customElements.define(name, class extends componentClass {});
1633
+ }
1634
+ }
1635
+
1636
+ /**
1637
+ * Finds and returns the closest HTML Element based on a selector.
1638
+ * @returns {void}
1639
+ */
1640
+ closestElement(
1641
+ selector, // selector like in .closest()
1642
+ base = this, // extra functionality to skip a parent
1643
+ __Closest = (el, found = el && el.closest(selector)) =>
1644
+ !el || el === document || el === window
1645
+ ? null // standard .closest() returns null for non-found selectors also
1646
+ : found
1647
+ ? found // found a selector INside this element
1648
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
1649
+ ) {
1650
+ return __Closest(base);
1651
+ }
1652
+ /* eslint-enable jsdoc/require-param */
1653
+
1654
+ /**
1655
+ * 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.
1656
+ * @param {Object} elem - The element to check.
1657
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
1658
+ * @returns {void}
1659
+ */
1660
+ handleComponentTagRename(elem, tagName) {
1661
+ const tag = tagName.toLowerCase();
1662
+ const elemTag = elem.tagName.toLowerCase();
1663
+
1664
+ if (elemTag !== tag) {
1665
+ elem.setAttribute(tag, true);
1666
+ }
1667
+ }
1668
+
1669
+ /**
1670
+ * Validates if an element is a specific Auro component.
1671
+ * @param {Object} elem - The element to validate.
1672
+ * @param {String} tagName - The name of the Auro component to check against.
1673
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
1674
+ */
1675
+ elementMatch(elem, tagName) {
1676
+ const tag = tagName.toLowerCase();
1677
+ const elemTag = elem.tagName.toLowerCase();
1678
+
1679
+ return elemTag === tag || elem.hasAttribute(tag);
1680
+ }
1681
+ }
1682
+
1683
+ var styleCss = 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)}`;
1614
1684
 
1615
1685
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1616
1686
  // See LICENSE in the project root for license information.
@@ -1620,12 +1690,13 @@ var styleCss = css`.body-default{font-size:var(--wcss-body-default-font-size, 1r
1620
1690
  * The auro-header component is a custom element to make using headers with the Auro Design System seamless and easy.
1621
1691
  *
1622
1692
  * @attr {Boolean} no-margin-block - if declared, margin-block will be set to `0`
1693
+ * @attr {String} level - Determines heading level for HTML element. Options are `1` - `6`
1694
+ * @attr {String} display - Determines presentation of header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
1623
1695
  * @attr {String} color - Allows user to pass in CSS custom property or direct hex value to change the color of the header
1624
- * @attr {String} display - Determines the visual appearance of the header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
1625
- * @attr {String} level - Determines the semantic heading level of the HTML element. Options are `1` - `6`
1626
1696
  * @attr {String} margin - Specify the margin(s) to be altered. Options are `top`, `bottom`, or `both`.
1627
1697
  * @attr {String} size - Specify size of margin adjustment, either `none`, `25`, `50`, `100`, `150`, `200`, `300`, `400`, `600` or `800`.
1628
1698
  */
1699
+
1629
1700
  /* eslint complexity: ["error", 21] */
1630
1701
 
1631
1702
  // build the component class
@@ -1638,7 +1709,7 @@ class AuroHeader extends LitElement {
1638
1709
  /**
1639
1710
  * @private
1640
1711
  */
1641
- this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
1712
+ this.runtimeUtils = new AuroLibraryRuntimeUtils();
1642
1713
  }
1643
1714
 
1644
1715
  // function to define props used within the scope of this component
@@ -1659,22 +1730,6 @@ class AuroHeader extends LitElement {
1659
1730
  return [styleCss];
1660
1731
  }
1661
1732
 
1662
- /**
1663
- * Mapping of display values to their corresponding CSS classes
1664
- * @private
1665
- */
1666
- static get displayClassMap() {
1667
- return {
1668
- 'display': 'heading-xl',
1669
- '800': 'heading-xl',
1670
- '700': 'heading-lg',
1671
- '600': 'heading-md',
1672
- '500': 'heading-sm',
1673
- '400': 'heading-xs',
1674
- '300': 'heading-2xs'
1675
- };
1676
- }
1677
-
1678
1733
  /**
1679
1734
  * This will register this element with the browser.
1680
1735
  * @param {string} [name="auro-header"] - The name of element that you want to register to.
@@ -1684,7 +1739,7 @@ class AuroHeader extends LitElement {
1684
1739
  *
1685
1740
  */
1686
1741
  static register(name = "auro-header") {
1687
- AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHeader);
1742
+ AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHeader);
1688
1743
  }
1689
1744
 
1690
1745
  firstUpdated() {
@@ -1751,42 +1806,23 @@ class AuroHeader extends LitElement {
1751
1806
  this.display = 'display';
1752
1807
  }
1753
1808
 
1754
- const headingLevel = level || '1';
1755
- const spacingClasses = this.spacingDecision(this.size);
1756
-
1757
- // Get the CSS class based on the display prop
1758
- const headingClass = AuroHeader.displayClassMap[this.display];
1759
-
1760
- const classObject = {
1761
- 'heading': true,
1762
- [`heading--${this.display}`]: true,
1763
- [headingClass]: true
1764
- };
1765
-
1766
- // Add spacing classes to the class object if they exist
1767
- if (spacingClasses) {
1768
- const spacingClassArray = spacingClasses.split(' ');
1769
- spacingClassArray.forEach(cls => {
1770
- if (cls.trim()) {
1771
- classObject[cls.trim()] = true;
1772
- }
1773
- });
1809
+ switch (level) {
1810
+ case '2': return html`<h2 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h2>`;
1811
+ case '3': return html`<h3 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h3>`;
1812
+ case '4': return html`<h4 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h4>`;
1813
+ case '5': return html`<h5 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h5>`;
1814
+ case '6': return html`<h6 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h6>`;
1815
+ default: return html`<h1 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h1>`;
1774
1816
  }
1775
-
1776
- const headerClasses = classMap(classObject);
1777
-
1778
- // unsafeStatic dynamically creates tag names at runtime
1779
- const tag = unsafeStatic(`h${headingLevel}`);
1780
- return html$1`<${tag} class="${headerClasses}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></${tag}>`;
1781
1817
  }
1782
-
1783
1818
  // function that renders the HTML and CSS into the scope of the component
1819
+
1784
1820
  render() {
1785
1821
  return this.template(this.level);
1786
1822
  }
1787
1823
  }
1788
1824
 
1789
- var headerVersion = '4.0.2';
1825
+ var headerVersion = '4.0.1';
1790
1826
 
1791
1827
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1792
1828
  // See LICENSE in the project root for license information.
@@ -1799,7 +1835,7 @@ class AuroBibtemplate extends LitElement {
1799
1835
 
1800
1836
  this.large = false;
1801
1837
 
1802
- AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
1838
+ AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
1803
1839
 
1804
1840
  const versioning = new AuroDependencyVersioning();
1805
1841
 
@@ -1851,7 +1887,7 @@ class AuroBibtemplate extends LitElement {
1851
1887
  *
1852
1888
  */
1853
1889
  static register(name = "auro-bibtemplate") {
1854
- AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroBibtemplate);
1890
+ AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroBibtemplate);
1855
1891
  }
1856
1892
 
1857
1893
  /**
@@ -16,7 +16,7 @@ var tokenCss = css`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
16
16
 
17
17
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
18
18
 
19
- let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
19
+ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
20
20
 
21
21
  /* eslint-disable jsdoc/require-param */
22
22
 
@@ -599,7 +599,7 @@ var shapeSize = css`.shape-rounded-xl{min-height:68px;max-height:68px;border-sty
599
599
 
600
600
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
601
601
 
602
- let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
602
+ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
603
603
 
604
604
  /* eslint-disable jsdoc/require-param */
605
605
 
@@ -694,7 +694,7 @@ class AuroLoader extends LitElement {
694
694
  /**
695
695
  * @private
696
696
  */
697
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
697
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
698
698
 
699
699
  this.orbit = false;
700
700
  this.ringworm = false;
@@ -757,7 +757,7 @@ class AuroLoader extends LitElement {
757
757
  *
758
758
  */
759
759
  static register(name = "auro-loader") {
760
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroLoader);
760
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroLoader);
761
761
  }
762
762
 
763
763
  firstUpdated() {
@@ -1037,7 +1037,7 @@ class AuroButton extends AuroElement$1 {
1037
1037
  *
1038
1038
  */
1039
1039
  static register(name = "auro-button") {
1040
- AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroButton);
1040
+ AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroButton);
1041
1041
  }
1042
1042
 
1043
1043
  /**
@@ -1374,7 +1374,7 @@ var colorCss = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){co
1374
1374
 
1375
1375
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
1376
1376
 
1377
- class AuroLibraryRuntimeUtils {
1377
+ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
1378
1378
 
1379
1379
  /* eslint-disable jsdoc/require-param */
1380
1380
 
@@ -1435,7 +1435,7 @@ class AuroLibraryRuntimeUtils {
1435
1435
 
1436
1436
  return elemTag === tag || elem.hasAttribute(tag);
1437
1437
  }
1438
- }
1438
+ };
1439
1439
 
1440
1440
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1441
1441
  // See LICENSE in the project root for license information.
@@ -1456,7 +1456,7 @@ class AuroIcon extends BaseIcon {
1456
1456
  */
1457
1457
  privateDefaults() {
1458
1458
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
1459
- this.runtimeUtils = new AuroLibraryRuntimeUtils();
1459
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
1460
1460
  }
1461
1461
 
1462
1462
  // function to define props used within the scope of this component
@@ -1538,7 +1538,7 @@ class AuroIcon extends BaseIcon {
1538
1538
  *
1539
1539
  */
1540
1540
  static register(name = "auro-icon") {
1541
- AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
1541
+ AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
1542
1542
  }
1543
1543
 
1544
1544
  connectedCallback() {
@@ -1610,7 +1610,77 @@ class AuroIcon extends BaseIcon {
1610
1610
 
1611
1611
  var iconVersion = '8.1.0';
1612
1612
 
1613
- var styleCss = 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)}`;
1613
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1614
+ // See LICENSE in the project root for license information.
1615
+
1616
+ // ---------------------------------------------------------------------
1617
+
1618
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
1619
+
1620
+ class AuroLibraryRuntimeUtils {
1621
+
1622
+ /* eslint-disable jsdoc/require-param */
1623
+
1624
+ /**
1625
+ * This will register a new custom element with the browser.
1626
+ * @param {String} name - The name of the custom element.
1627
+ * @param {Object} componentClass - The class to register as a custom element.
1628
+ * @returns {void}
1629
+ */
1630
+ registerComponent(name, componentClass) {
1631
+ if (!customElements.get(name)) {
1632
+ customElements.define(name, class extends componentClass {});
1633
+ }
1634
+ }
1635
+
1636
+ /**
1637
+ * Finds and returns the closest HTML Element based on a selector.
1638
+ * @returns {void}
1639
+ */
1640
+ closestElement(
1641
+ selector, // selector like in .closest()
1642
+ base = this, // extra functionality to skip a parent
1643
+ __Closest = (el, found = el && el.closest(selector)) =>
1644
+ !el || el === document || el === window
1645
+ ? null // standard .closest() returns null for non-found selectors also
1646
+ : found
1647
+ ? found // found a selector INside this element
1648
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
1649
+ ) {
1650
+ return __Closest(base);
1651
+ }
1652
+ /* eslint-enable jsdoc/require-param */
1653
+
1654
+ /**
1655
+ * 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.
1656
+ * @param {Object} elem - The element to check.
1657
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
1658
+ * @returns {void}
1659
+ */
1660
+ handleComponentTagRename(elem, tagName) {
1661
+ const tag = tagName.toLowerCase();
1662
+ const elemTag = elem.tagName.toLowerCase();
1663
+
1664
+ if (elemTag !== tag) {
1665
+ elem.setAttribute(tag, true);
1666
+ }
1667
+ }
1668
+
1669
+ /**
1670
+ * Validates if an element is a specific Auro component.
1671
+ * @param {Object} elem - The element to validate.
1672
+ * @param {String} tagName - The name of the Auro component to check against.
1673
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
1674
+ */
1675
+ elementMatch(elem, tagName) {
1676
+ const tag = tagName.toLowerCase();
1677
+ const elemTag = elem.tagName.toLowerCase();
1678
+
1679
+ return elemTag === tag || elem.hasAttribute(tag);
1680
+ }
1681
+ }
1682
+
1683
+ var styleCss = 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)}`;
1614
1684
 
1615
1685
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1616
1686
  // See LICENSE in the project root for license information.
@@ -1620,12 +1690,13 @@ var styleCss = css`.body-default{font-size:var(--wcss-body-default-font-size, 1r
1620
1690
  * The auro-header component is a custom element to make using headers with the Auro Design System seamless and easy.
1621
1691
  *
1622
1692
  * @attr {Boolean} no-margin-block - if declared, margin-block will be set to `0`
1693
+ * @attr {String} level - Determines heading level for HTML element. Options are `1` - `6`
1694
+ * @attr {String} display - Determines presentation of header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
1623
1695
  * @attr {String} color - Allows user to pass in CSS custom property or direct hex value to change the color of the header
1624
- * @attr {String} display - Determines the visual appearance of the header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
1625
- * @attr {String} level - Determines the semantic heading level of the HTML element. Options are `1` - `6`
1626
1696
  * @attr {String} margin - Specify the margin(s) to be altered. Options are `top`, `bottom`, or `both`.
1627
1697
  * @attr {String} size - Specify size of margin adjustment, either `none`, `25`, `50`, `100`, `150`, `200`, `300`, `400`, `600` or `800`.
1628
1698
  */
1699
+
1629
1700
  /* eslint complexity: ["error", 21] */
1630
1701
 
1631
1702
  // build the component class
@@ -1638,7 +1709,7 @@ class AuroHeader extends LitElement {
1638
1709
  /**
1639
1710
  * @private
1640
1711
  */
1641
- this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
1712
+ this.runtimeUtils = new AuroLibraryRuntimeUtils();
1642
1713
  }
1643
1714
 
1644
1715
  // function to define props used within the scope of this component
@@ -1659,22 +1730,6 @@ class AuroHeader extends LitElement {
1659
1730
  return [styleCss];
1660
1731
  }
1661
1732
 
1662
- /**
1663
- * Mapping of display values to their corresponding CSS classes
1664
- * @private
1665
- */
1666
- static get displayClassMap() {
1667
- return {
1668
- 'display': 'heading-xl',
1669
- '800': 'heading-xl',
1670
- '700': 'heading-lg',
1671
- '600': 'heading-md',
1672
- '500': 'heading-sm',
1673
- '400': 'heading-xs',
1674
- '300': 'heading-2xs'
1675
- };
1676
- }
1677
-
1678
1733
  /**
1679
1734
  * This will register this element with the browser.
1680
1735
  * @param {string} [name="auro-header"] - The name of element that you want to register to.
@@ -1684,7 +1739,7 @@ class AuroHeader extends LitElement {
1684
1739
  *
1685
1740
  */
1686
1741
  static register(name = "auro-header") {
1687
- AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHeader);
1742
+ AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHeader);
1688
1743
  }
1689
1744
 
1690
1745
  firstUpdated() {
@@ -1751,42 +1806,23 @@ class AuroHeader extends LitElement {
1751
1806
  this.display = 'display';
1752
1807
  }
1753
1808
 
1754
- const headingLevel = level || '1';
1755
- const spacingClasses = this.spacingDecision(this.size);
1756
-
1757
- // Get the CSS class based on the display prop
1758
- const headingClass = AuroHeader.displayClassMap[this.display];
1759
-
1760
- const classObject = {
1761
- 'heading': true,
1762
- [`heading--${this.display}`]: true,
1763
- [headingClass]: true
1764
- };
1765
-
1766
- // Add spacing classes to the class object if they exist
1767
- if (spacingClasses) {
1768
- const spacingClassArray = spacingClasses.split(' ');
1769
- spacingClassArray.forEach(cls => {
1770
- if (cls.trim()) {
1771
- classObject[cls.trim()] = true;
1772
- }
1773
- });
1809
+ switch (level) {
1810
+ case '2': return html`<h2 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h2>`;
1811
+ case '3': return html`<h3 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h3>`;
1812
+ case '4': return html`<h4 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h4>`;
1813
+ case '5': return html`<h5 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h5>`;
1814
+ case '6': return html`<h6 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h6>`;
1815
+ default: return html`<h1 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h1>`;
1774
1816
  }
1775
-
1776
- const headerClasses = classMap(classObject);
1777
-
1778
- // unsafeStatic dynamically creates tag names at runtime
1779
- const tag = unsafeStatic(`h${headingLevel}`);
1780
- return html$1`<${tag} class="${headerClasses}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></${tag}>`;
1781
1817
  }
1782
-
1783
1818
  // function that renders the HTML and CSS into the scope of the component
1819
+
1784
1820
  render() {
1785
1821
  return this.template(this.level);
1786
1822
  }
1787
1823
  }
1788
1824
 
1789
- var headerVersion = '4.0.2';
1825
+ var headerVersion = '4.0.1';
1790
1826
 
1791
1827
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1792
1828
  // See LICENSE in the project root for license information.
@@ -1799,7 +1835,7 @@ class AuroBibtemplate extends LitElement {
1799
1835
 
1800
1836
  this.large = false;
1801
1837
 
1802
- AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
1838
+ AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
1803
1839
 
1804
1840
  const versioning = new AuroDependencyVersioning();
1805
1841
 
@@ -1851,7 +1887,7 @@ class AuroBibtemplate extends LitElement {
1851
1887
  *
1852
1888
  */
1853
1889
  static register(name = "auro-bibtemplate") {
1854
- AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroBibtemplate);
1890
+ AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroBibtemplate);
1855
1891
  }
1856
1892
 
1857
1893
  /**
@@ -66,13 +66,12 @@ Custom element for the purpose of allowing users to select one or more options o
66
66
 
67
67
  ## Events
68
68
 
69
- | Event | Type | Description |
70
- |-------------------------|--------------------|--------------------------------------------------|
71
- | `auroCheckbox-focusin` | `CustomEvent<any>` | |
72
- | `auroCheckbox-focusout` | `CustomEvent<any>` | |
73
- | `auroCheckbox-input` | `CustomEvent<any>` | |
74
- | [change](#change) | `CustomEvent<any>` | (Deprecated) Notifies when checked value is changed. |
75
- | [input](#input) | `InputEvent` | Notifies when when checked value is changed by user's interface. |
69
+ | Event | Type |
70
+ |-------------------------|--------------------|
71
+ | `auroCheckbox-focusin` | `CustomEvent<any>` |
72
+ | `auroCheckbox-focusout` | `CustomEvent<any>` |
73
+ | `auroCheckbox-input` | `CustomEvent<any>` |
74
+ | [input](#input) | `CustomEvent<any>` |
76
75
 
77
76
  ## CSS Shadow Parts
78
77