@aurodesignsystem-dev/auro-formkit 0.0.0-pr807.1 → 0.0.0-pr807.3

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 (55) hide show
  1. package/components/bibtemplate/dist/headerVersion.d.ts +1 -1
  2. package/components/bibtemplate/dist/index.js +60 -96
  3. package/components/bibtemplate/dist/registered.js +60 -96
  4. package/components/checkbox/demo/api.md +1 -1
  5. package/components/checkbox/demo/api.min.js +1 -1
  6. package/components/checkbox/demo/index.min.js +1 -1
  7. package/components/checkbox/dist/auro-checkbox.d.ts +1 -1
  8. package/components/checkbox/dist/index.js +1 -1
  9. package/components/checkbox/dist/registered.js +1 -1
  10. package/components/combobox/demo/api.min.js +185 -126
  11. package/components/combobox/demo/index.md +2 -4
  12. package/components/combobox/demo/index.min.js +185 -126
  13. package/components/combobox/dist/auro-combobox.d.ts +8 -2
  14. package/components/combobox/dist/index.js +172 -120
  15. package/components/combobox/dist/registered.js +172 -120
  16. package/components/counter/demo/api.min.js +90 -124
  17. package/components/counter/demo/index.min.js +90 -124
  18. package/components/counter/dist/index.js +90 -124
  19. package/components/counter/dist/registered.js +90 -124
  20. package/components/datepicker/demo/api.min.js +185 -137
  21. package/components/datepicker/demo/index.min.js +185 -137
  22. package/components/datepicker/dist/index.js +185 -137
  23. package/components/datepicker/dist/registered.js +185 -137
  24. package/components/dropdown/demo/api.min.js +2 -2
  25. package/components/dropdown/demo/index.min.js +2 -2
  26. package/components/dropdown/dist/index.js +2 -2
  27. package/components/dropdown/dist/registered.js +2 -2
  28. package/components/input/demo/api.md +2 -5
  29. package/components/input/demo/api.min.js +89 -12
  30. package/components/input/demo/index.md +2 -2
  31. package/components/input/demo/index.min.js +89 -12
  32. package/components/input/dist/auro-input.d.ts +24 -0
  33. package/components/input/dist/base-input.d.ts +8 -2
  34. package/components/input/dist/index.js +89 -12
  35. package/components/input/dist/registered.js +89 -12
  36. package/components/menu/demo/api.min.js +9 -2
  37. package/components/menu/demo/index.min.js +9 -2
  38. package/components/menu/dist/index.js +9 -2
  39. package/components/menu/dist/registered.js +9 -2
  40. package/components/radio/demo/api.md +1 -1
  41. package/components/radio/demo/api.min.js +1 -1
  42. package/components/radio/demo/index.min.js +1 -1
  43. package/components/radio/dist/auro-radio.d.ts +1 -1
  44. package/components/radio/dist/index.js +1 -1
  45. package/components/radio/dist/registered.js +1 -1
  46. package/components/select/demo/api.md +1 -3
  47. package/components/select/demo/api.min.js +143 -140
  48. package/components/select/demo/index.min.js +143 -140
  49. package/components/select/dist/auro-select.d.ts +11 -5
  50. package/components/select/dist/index.js +130 -134
  51. package/components/select/dist/registered.js +130 -134
  52. package/package.json +1 -1
  53. package/components/input/dist/styles/default/input-css.d.ts +0 -2
  54. package/components/input/dist/styles/default/label-css.d.ts +0 -2
  55. package/components/input/dist/styles/input-css.d.ts +0 -2
@@ -1,2 +1,2 @@
1
- declare const _default: "4.0.1";
1
+ declare const _default: "4.0.2";
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$3 = class AuroLibraryRuntimeUtils {
19
+ let AuroLibraryRuntimeUtils$2 = 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$2 = class AuroLibraryRuntimeUtils {
602
+ let AuroLibraryRuntimeUtils$1 = 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$2();
697
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
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$2.prototype.registerComponent(name, AuroLoader);
760
+ AuroLibraryRuntimeUtils$1.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$3.prototype.registerComponent(name, AuroButton);
1040
+ AuroLibraryRuntimeUtils$2.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
- let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
1377
+ class AuroLibraryRuntimeUtils {
1378
1378
 
1379
1379
  /* eslint-disable jsdoc/require-param */
1380
1380
 
@@ -1435,7 +1435,7 @@ let AuroLibraryRuntimeUtils$1 = 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$1();
1459
+ this.runtimeUtils = new AuroLibraryRuntimeUtils();
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$1.prototype.registerComponent(name, AuroIcon);
1541
+ AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
1542
1542
  }
1543
1543
 
1544
1544
  connectedCallback() {
@@ -1610,77 +1610,7 @@ class AuroIcon extends BaseIcon {
1610
1610
 
1611
1611
  var iconVersion = '8.1.0';
1612
1612
 
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)}`;
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)}`;
1684
1614
 
1685
1615
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1686
1616
  // See LICENSE in the project root for license information.
@@ -1690,13 +1620,12 @@ var styleCss = css`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-headin
1690
1620
  * The auro-header component is a custom element to make using headers with the Auro Design System seamless and easy.
1691
1621
  *
1692
1622
  * @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`.
1695
1623
  * @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`
1696
1626
  * @attr {String} margin - Specify the margin(s) to be altered. Options are `top`, `bottom`, or `both`.
1697
1627
  * @attr {String} size - Specify size of margin adjustment, either `none`, `25`, `50`, `100`, `150`, `200`, `300`, `400`, `600` or `800`.
1698
1628
  */
1699
-
1700
1629
  /* eslint complexity: ["error", 21] */
1701
1630
 
1702
1631
  // build the component class
@@ -1709,7 +1638,7 @@ class AuroHeader extends LitElement {
1709
1638
  /**
1710
1639
  * @private
1711
1640
  */
1712
- this.runtimeUtils = new AuroLibraryRuntimeUtils();
1641
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
1713
1642
  }
1714
1643
 
1715
1644
  // function to define props used within the scope of this component
@@ -1730,6 +1659,22 @@ class AuroHeader extends LitElement {
1730
1659
  return [styleCss];
1731
1660
  }
1732
1661
 
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
+
1733
1678
  /**
1734
1679
  * This will register this element with the browser.
1735
1680
  * @param {string} [name="auro-header"] - The name of element that you want to register to.
@@ -1739,7 +1684,7 @@ class AuroHeader extends LitElement {
1739
1684
  *
1740
1685
  */
1741
1686
  static register(name = "auro-header") {
1742
- AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHeader);
1687
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHeader);
1743
1688
  }
1744
1689
 
1745
1690
  firstUpdated() {
@@ -1806,23 +1751,42 @@ class AuroHeader extends LitElement {
1806
1751
  this.display = 'display';
1807
1752
  }
1808
1753
 
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>`;
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
+ });
1816
1774
  }
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}>`;
1817
1781
  }
1782
+
1818
1783
  // function that renders the HTML and CSS into the scope of the component
1819
-
1820
1784
  render() {
1821
1785
  return this.template(this.level);
1822
1786
  }
1823
1787
  }
1824
1788
 
1825
- var headerVersion = '4.0.1';
1789
+ var headerVersion = '4.0.2';
1826
1790
 
1827
1791
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1828
1792
  // See LICENSE in the project root for license information.
@@ -1835,7 +1799,7 @@ class AuroBibtemplate extends LitElement {
1835
1799
 
1836
1800
  this.large = false;
1837
1801
 
1838
- AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
1802
+ AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
1839
1803
 
1840
1804
  const versioning = new AuroDependencyVersioning();
1841
1805
 
@@ -1887,7 +1851,7 @@ class AuroBibtemplate extends LitElement {
1887
1851
  *
1888
1852
  */
1889
1853
  static register(name = "auro-bibtemplate") {
1890
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroBibtemplate);
1854
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroBibtemplate);
1891
1855
  }
1892
1856
 
1893
1857
  /**
@@ -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$3 = class AuroLibraryRuntimeUtils {
19
+ let AuroLibraryRuntimeUtils$2 = 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$2 = class AuroLibraryRuntimeUtils {
602
+ let AuroLibraryRuntimeUtils$1 = 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$2();
697
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
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$2.prototype.registerComponent(name, AuroLoader);
760
+ AuroLibraryRuntimeUtils$1.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$3.prototype.registerComponent(name, AuroButton);
1040
+ AuroLibraryRuntimeUtils$2.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
- let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
1377
+ class AuroLibraryRuntimeUtils {
1378
1378
 
1379
1379
  /* eslint-disable jsdoc/require-param */
1380
1380
 
@@ -1435,7 +1435,7 @@ let AuroLibraryRuntimeUtils$1 = 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$1();
1459
+ this.runtimeUtils = new AuroLibraryRuntimeUtils();
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$1.prototype.registerComponent(name, AuroIcon);
1541
+ AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
1542
1542
  }
1543
1543
 
1544
1544
  connectedCallback() {
@@ -1610,77 +1610,7 @@ class AuroIcon extends BaseIcon {
1610
1610
 
1611
1611
  var iconVersion = '8.1.0';
1612
1612
 
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)}`;
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)}`;
1684
1614
 
1685
1615
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1686
1616
  // See LICENSE in the project root for license information.
@@ -1690,13 +1620,12 @@ var styleCss = css`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-headin
1690
1620
  * The auro-header component is a custom element to make using headers with the Auro Design System seamless and easy.
1691
1621
  *
1692
1622
  * @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`.
1695
1623
  * @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`
1696
1626
  * @attr {String} margin - Specify the margin(s) to be altered. Options are `top`, `bottom`, or `both`.
1697
1627
  * @attr {String} size - Specify size of margin adjustment, either `none`, `25`, `50`, `100`, `150`, `200`, `300`, `400`, `600` or `800`.
1698
1628
  */
1699
-
1700
1629
  /* eslint complexity: ["error", 21] */
1701
1630
 
1702
1631
  // build the component class
@@ -1709,7 +1638,7 @@ class AuroHeader extends LitElement {
1709
1638
  /**
1710
1639
  * @private
1711
1640
  */
1712
- this.runtimeUtils = new AuroLibraryRuntimeUtils();
1641
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
1713
1642
  }
1714
1643
 
1715
1644
  // function to define props used within the scope of this component
@@ -1730,6 +1659,22 @@ class AuroHeader extends LitElement {
1730
1659
  return [styleCss];
1731
1660
  }
1732
1661
 
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
+
1733
1678
  /**
1734
1679
  * This will register this element with the browser.
1735
1680
  * @param {string} [name="auro-header"] - The name of element that you want to register to.
@@ -1739,7 +1684,7 @@ class AuroHeader extends LitElement {
1739
1684
  *
1740
1685
  */
1741
1686
  static register(name = "auro-header") {
1742
- AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHeader);
1687
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHeader);
1743
1688
  }
1744
1689
 
1745
1690
  firstUpdated() {
@@ -1806,23 +1751,42 @@ class AuroHeader extends LitElement {
1806
1751
  this.display = 'display';
1807
1752
  }
1808
1753
 
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>`;
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
+ });
1816
1774
  }
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}>`;
1817
1781
  }
1782
+
1818
1783
  // function that renders the HTML and CSS into the scope of the component
1819
-
1820
1784
  render() {
1821
1785
  return this.template(this.level);
1822
1786
  }
1823
1787
  }
1824
1788
 
1825
- var headerVersion = '4.0.1';
1789
+ var headerVersion = '4.0.2';
1826
1790
 
1827
1791
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1828
1792
  // See LICENSE in the project root for license information.
@@ -1835,7 +1799,7 @@ class AuroBibtemplate extends LitElement {
1835
1799
 
1836
1800
  this.large = false;
1837
1801
 
1838
- AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
1802
+ AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
1839
1803
 
1840
1804
  const versioning = new AuroDependencyVersioning();
1841
1805
 
@@ -1887,7 +1851,7 @@ class AuroBibtemplate extends LitElement {
1887
1851
  *
1888
1852
  */
1889
1853
  static register(name = "auro-bibtemplate") {
1890
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroBibtemplate);
1854
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroBibtemplate);
1891
1855
  }
1892
1856
 
1893
1857
  /**
@@ -71,7 +71,7 @@ Custom element for the purpose of allowing users to select one or more options o
71
71
  | `auroCheckbox-focusin` | `CustomEvent<any>` | |
72
72
  | `auroCheckbox-focusout` | `CustomEvent<any>` | |
73
73
  | `auroCheckbox-input` | `CustomEvent<any>` | |
74
- | [change](#change) | `CustomEvent<any>` | Notifies when checked value is changed. |
74
+ | [change](#change) | `CustomEvent<any>` | (Deprecated) Notifies when checked value is changed. |
75
75
  | [input](#input) | `InputEvent` | Notifies when when checked value is changed by user's interface. |
76
76
 
77
77
  ## CSS Shadow Parts
@@ -143,7 +143,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
143
143
  * @csspart checkbox-input - apply css to a specific checkbox's input.
144
144
  * @csspart checkbox-label - apply css to a specific checkbox's label.
145
145
  *
146
- * @event {CustomEvent<any>} change - Notifies when checked value is changed.
146
+ * @event {CustomEvent<any>} change - (Deprecated) Notifies when checked value is changed.
147
147
  * @event {InputEvent} input - Notifies when when checked value is changed by user's interface.
148
148
  */
149
149