@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.14 → 0.0.0-pr624.16

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 (85) hide show
  1. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +12 -2
  2. package/components/bibtemplate/dist/buttonVersion.d.ts +2 -0
  3. package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
  4. package/components/bibtemplate/dist/index.js +1022 -12
  5. package/components/bibtemplate/dist/registered.js +1022 -12
  6. package/components/checkbox/README.md +1 -1
  7. package/components/checkbox/demo/api.md +2 -2
  8. package/components/checkbox/demo/api.min.js +24 -19
  9. package/components/checkbox/demo/index.md +2 -2
  10. package/components/checkbox/demo/index.min.js +24 -19
  11. package/components/checkbox/demo/readme.md +1 -1
  12. package/components/checkbox/dist/auro-checkbox.d.ts +3 -3
  13. package/components/checkbox/dist/index.js +24 -19
  14. package/components/checkbox/dist/registered.js +24 -19
  15. package/components/combobox/demo/api.md +52 -0
  16. package/components/combobox/demo/api.min.js +2059 -651
  17. package/components/combobox/demo/index.md +6 -0
  18. package/components/combobox/demo/index.min.js +2059 -651
  19. package/components/combobox/dist/auro-combobox.d.ts +4 -4
  20. package/components/combobox/dist/index.js +1978 -629
  21. package/components/combobox/dist/registered.js +1978 -629
  22. package/components/counter/demo/api.md +21 -19
  23. package/components/counter/demo/api.min.js +2326 -539
  24. package/components/counter/demo/index.md +99 -34
  25. package/components/counter/demo/index.min.js +2326 -539
  26. package/components/counter/dist/auro-counter-button.d.ts +2 -0
  27. package/components/counter/dist/auro-counter-group.d.ts +92 -1
  28. package/components/counter/dist/helptextVersion.d.ts +2 -0
  29. package/components/counter/dist/iconVersion.d.ts +1 -1
  30. package/components/counter/dist/index.js +2326 -539
  31. package/components/counter/dist/registered.js +2326 -539
  32. package/components/datepicker/demo/api.md +3 -1
  33. package/components/datepicker/demo/api.min.js +5402 -3158
  34. package/components/datepicker/demo/index.md +6 -1
  35. package/components/datepicker/demo/index.min.js +5402 -3158
  36. package/components/datepicker/dist/auro-datepicker.d.ts +17 -7
  37. package/components/datepicker/dist/iconVersion.d.ts +2 -0
  38. package/components/datepicker/dist/index.js +5402 -3158
  39. package/components/datepicker/dist/registered.js +5402 -3158
  40. package/components/dropdown/demo/api.md +3 -4
  41. package/components/dropdown/demo/api.min.js +69 -119
  42. package/components/dropdown/demo/index.md +57 -9
  43. package/components/dropdown/demo/index.min.js +69 -119
  44. package/components/dropdown/dist/auro-dropdown.d.ts +0 -8
  45. package/components/dropdown/dist/auro-dropdownBib.d.ts +14 -0
  46. package/components/dropdown/dist/index.js +69 -119
  47. package/components/dropdown/dist/registered.js +69 -119
  48. package/components/input/demo/api.md +12 -5
  49. package/components/input/demo/api.min.js +665 -285
  50. package/components/input/demo/index.min.js +665 -285
  51. package/components/input/dist/auro-input.d.ts +6 -0
  52. package/components/input/dist/base-input.d.ts +29 -6
  53. package/components/input/dist/buttonVersion.d.ts +1 -1
  54. package/components/input/dist/iconVersion.d.ts +1 -1
  55. package/components/input/dist/index.js +665 -285
  56. package/components/input/dist/registered.js +665 -285
  57. package/components/layoutElement/dist/index.js +13 -10
  58. package/components/menu/demo/api.html +38 -0
  59. package/components/menu/demo/api.md +63 -2
  60. package/components/menu/demo/api.min.js +190 -36
  61. package/components/menu/demo/index.min.js +190 -36
  62. package/components/menu/dist/auro-menu.d.ts +22 -5
  63. package/components/menu/dist/auro-menuoption.d.ts +15 -3
  64. package/components/menu/dist/iconVersion.d.ts +1 -1
  65. package/components/menu/dist/index.js +190 -36
  66. package/components/menu/dist/registered.js +190 -36
  67. package/components/menu/dist/styles/default/tokens-css.d.ts +2 -0
  68. package/components/radio/demo/api.min.js +4 -2
  69. package/components/radio/demo/index.min.js +4 -2
  70. package/components/radio/dist/auro-radio.d.ts +1 -1
  71. package/components/radio/dist/index.js +4 -2
  72. package/components/radio/dist/registered.js +4 -2
  73. package/components/select/demo/api.md +5 -5
  74. package/components/select/demo/api.min.js +1412 -293
  75. package/components/select/demo/index.md +42 -1
  76. package/components/select/demo/index.min.js +1412 -293
  77. package/components/select/dist/auro-select.d.ts +8 -8
  78. package/components/select/dist/index.js +1321 -261
  79. package/components/select/dist/registered.js +1321 -261
  80. package/package.json +2 -2
  81. /package/components/{menu/dist/styles/color-menu-css.d.ts → counter/dist/styles/shapeSize-css.d.ts} +0 -0
  82. /package/components/menu/dist/styles/{color-menuoption-css.d.ts → default/color-menu-css.d.ts} +0 -0
  83. /package/components/menu/dist/styles/{style-menu-css.d.ts → default/color-menuoption-css.d.ts} +0 -0
  84. /package/components/menu/dist/styles/{style-menuoption-css.d.ts → default/style-menu-css.d.ts} +0 -0
  85. /package/components/menu/dist/styles/{tokens-css.d.ts → default/style-menuoption-css.d.ts} +0 -0
@@ -213,7 +213,7 @@ const t$1={ATTRIBUTE:1,CHILD:2},e$1=t=>(...e)=>({_$litDirective$:t,values:e});cl
213
213
  // See LICENSE in the project root for license information.
214
214
 
215
215
 
216
- let AuroDependencyVersioning$4 = class AuroDependencyVersioning {
216
+ let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
217
217
 
218
218
  /**
219
219
  * Generates a unique string to be used for child auro element naming.
@@ -1014,7 +1014,9 @@ let AuroFormValidation$1 = class AuroFormValidation {
1014
1014
  elem.validity = this.auroInputElements[0].validity;
1015
1015
  elem.errorMessage = this.auroInputElements[0].errorMessage;
1016
1016
 
1017
- if (elem.validity === 'valid' && this.auroInputElements.length > 1) {
1017
+ // combobox has 2 inputs but no need to check validity on the 2nd one which is in fullscreen bib.
1018
+ // combobox's 2nd input will have noValidate set true.
1019
+ if (elem.validity === 'valid' && this.auroInputElements.length > 1 && !this.auroInputElements[1].noValidate) {
1018
1020
  elem.validity = this.auroInputElements[1].validity;
1019
1021
  elem.errorMessage = this.auroInputElements[1].errorMessage;
1020
1022
  }
@@ -3341,7 +3343,7 @@ class AuroFloatingUI {
3341
3343
  // See LICENSE in the project root for license information.
3342
3344
 
3343
3345
 
3344
- let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
3346
+ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
3345
3347
 
3346
3348
  /**
3347
3349
  * Generates a unique string to be used for child auro element naming.
@@ -3387,7 +3389,7 @@ let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
3387
3389
  * @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
3388
3390
  */
3389
3391
 
3390
- let AuroElement$1$2 = class AuroElement extends i$2 {
3392
+ let AuroElement$1$3 = class AuroElement extends i$2 {
3391
3393
 
3392
3394
  // function to define props used within the scope of this component
3393
3395
  static get properties() {
@@ -3455,7 +3457,7 @@ var styleCss$2$3 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}
3455
3457
  */
3456
3458
 
3457
3459
  // build the component class
3458
- let BaseIcon$3 = class BaseIcon extends AuroElement$1$2 {
3460
+ let BaseIcon$3 = class BaseIcon extends AuroElement$1$3 {
3459
3461
  constructor() {
3460
3462
  super();
3461
3463
  this.onDark = false;
@@ -3527,9 +3529,9 @@ let BaseIcon$3 = class BaseIcon extends AuroElement$1$2 {
3527
3529
  }
3528
3530
  };
3529
3531
 
3530
- var tokensCss$2$2 = i$5`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-alaska-color:#02426D;--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
3532
+ var tokensCss$2$3 = i$5`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-alaska-color:#02426D;--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
3531
3533
 
3532
- var colorCss$3$2 = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]){--ds-auro-icon-color:var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]){--ds-auro-icon-color:var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]){--ds-auro-icon-color:var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]){--ds-auro-icon-color:var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]){--ds-auro-icon-color:var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]){--ds-auro-icon-color:var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]){--ds-auro-icon-color:var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]){--ds-auro-icon-color:var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][variant=statusError]){--ds-auro-icon-color:var(--ds-advanced-color-state-error-inverse, #f9a4a8)}`;
3534
+ var colorCss$3$3 = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]){--ds-auro-icon-color:var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]){--ds-auro-icon-color:var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]){--ds-auro-icon-color:var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]){--ds-auro-icon-color:var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]){--ds-auro-icon-color:var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]){--ds-auro-icon-color:var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]){--ds-auro-icon-color:var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]){--ds-auro-icon-color:var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][variant=statusError]){--ds-auro-icon-color:var(--ds-advanced-color-state-error-inverse, #f9a4a8)}`;
3533
3535
 
3534
3536
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
3535
3537
  // See LICENSE in the project root for license information.
@@ -3687,9 +3689,9 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
3687
3689
  static get styles() {
3688
3690
  return [
3689
3691
  super.styles,
3690
- i$5`${tokensCss$2$2}`,
3692
+ i$5`${tokensCss$2$3}`,
3691
3693
  i$5`${styleCss$2$3}`,
3692
- i$5`${colorCss$3$2}`
3694
+ i$5`${colorCss$3$3}`
3693
3695
  ];
3694
3696
  }
3695
3697
 
@@ -3723,8 +3725,12 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
3723
3725
  async firstUpdated() {
3724
3726
  await super.firstUpdated();
3725
3727
 
3726
- // Removes the SVG description for screenreader if ariaHidden is set to true
3727
- if (!this.hasAttribute('ariaHidden') && this.svg) {
3728
+ /**
3729
+ * icons provide a description for screen readers. Icon only instances Auro-button
3730
+ * depend on this description to provide context for the user using a screen reader.
3731
+ * Removes the SVG description for screen reader if ariaHidden is set to true.
3732
+ */
3733
+ if (this.hasAttribute('ariaHidden') && this.svg) {
3728
3734
  const svgDesc = this.svg.querySelector('desc');
3729
3735
 
3730
3736
  if (svgDesc) {
@@ -3770,11 +3776,11 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
3770
3776
 
3771
3777
  var iconVersion$3 = '6.1.2';
3772
3778
 
3773
- var styleCss$1$3 = i$5`:host{position:fixed;z-index:var(--depth-tooltip, 400);display:none;isolation:isolate}.container{display:inline-block;overflow:auto;box-sizing:border-box;margin:var(--ds-size-50, 0.25rem) 0}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset;overscroll-behavior:contain}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}`;
3779
+ var styleCss$1$3 = i$5`:host{position:fixed;z-index:var(--depth-tooltip, 400);display:none;isolation:isolate}:host(:not([matchWidth])) .container{min-width:fit-content}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset;overscroll-behavior:contain}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}:host(:not([isfullscreen])) .container.shape-box{border-radius:unset}:host(:not([isfullscreen])) .container[class*=shape-pill],:host(:not([isfullscreen])) .container[class*=shape-snowflake]{border-radius:30px}.container{display:inline-block;overflow:auto;box-sizing:border-box;border-radius:var(--ds-border-radius, 0.375rem);margin:var(--ds-size-50, 0.25rem) 0}`;
3774
3780
 
3775
- var colorCss$2$2 = i$5`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
3781
+ var colorCss$2$3 = i$5`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
3776
3782
 
3777
- var tokensCss$1$2 = i$5`:host(:not([ondark])){--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-dropdown-trigger-background-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-dropdown-trigger-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-outline-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-background-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-dropdownbib-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host([ondark]){--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db);--ds-auro-dropdown-trigger-background-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-outline-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-background-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-dropdownbib-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}`;
3783
+ var tokensCss$1$3 = i$5`:host(:not([ondark])){--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-dropdown-trigger-background-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-dropdown-trigger-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-bold, #585e67);--ds-auro-dropdown-trigger-outline-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-background-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-dropdownbib-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host([ondark]){--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db);--ds-auro-dropdown-trigger-background-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-inverse, #ffffff);--ds-auro-dropdown-trigger-outline-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-background-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-dropdownbib-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}`;
3778
3784
 
3779
3785
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
3780
3786
  // See LICENSE in the project root for license information.
@@ -3795,7 +3801,7 @@ const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
3795
3801
  */
3796
3802
 
3797
3803
  class AuroDropdownBib extends i$2 {
3798
-
3804
+ // not extending AuroElement because Bib needs only `shape` prop
3799
3805
  constructor() {
3800
3806
  super();
3801
3807
 
@@ -3805,13 +3811,16 @@ class AuroDropdownBib extends i$2 {
3805
3811
  this._mobileBreakpointValue = undefined;
3806
3812
 
3807
3813
  AuroLibraryRuntimeUtils$2$2.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
3814
+
3815
+ this.shape = "rounded";
3816
+ this.matchWidth = false;
3808
3817
  }
3809
3818
 
3810
3819
  static get styles() {
3811
3820
  return [
3812
3821
  styleCss$1$3,
3813
- colorCss$2$2,
3814
- tokensCss$1$2
3822
+ colorCss$2$3,
3823
+ tokensCss$1$3
3815
3824
  ];
3816
3825
  }
3817
3826
 
@@ -3842,6 +3851,15 @@ class AuroDropdownBib extends i$2 {
3842
3851
  reflect: true
3843
3852
  },
3844
3853
 
3854
+ /**
3855
+ * If declared, the bib width will match the trigger width.
3856
+ * @private
3857
+ */
3858
+ matchWidth: {
3859
+ type: Boolean,
3860
+ reflect: true
3861
+ },
3862
+
3845
3863
  /**
3846
3864
  * If declared, will apply border-radius to the bib.
3847
3865
  */
@@ -3855,6 +3873,11 @@ class AuroDropdownBib extends i$2 {
3855
3873
  */
3856
3874
  bibTemplate: {
3857
3875
  type: Object
3876
+ },
3877
+
3878
+ shape: {
3879
+ type: String,
3880
+ reflect: true
3858
3881
  }
3859
3882
  };
3860
3883
  }
@@ -3934,8 +3957,16 @@ class AuroDropdownBib extends i$2 {
3934
3957
 
3935
3958
  // function that renders the HTML and CSS into the scope of the component
3936
3959
  render() {
3960
+ const classes = {
3961
+ container: true
3962
+ };
3963
+
3964
+ // Since this class does not inherit from AuroElement, we apply the shape-related class within the `render` function,
3965
+ // mimicking the class naming convention used in AuroElement.resetShapeClasses.
3966
+ classes[`shape-${this.shape}`] = true;
3967
+
3937
3968
  return u$2`
3938
- <div class="container" part="bibContainer">
3969
+ <div class="${e(classes)}" part="bibContainer">
3939
3970
  <slot></slot>
3940
3971
  </div>
3941
3972
  `;
@@ -3944,17 +3975,17 @@ class AuroDropdownBib extends i$2 {
3944
3975
 
3945
3976
  var dropdownVersion$1 = '3.0.0';
3946
3977
 
3947
- var shapeSizeCss$1 = i$5`.wrapper{overflow:hidden}.shape-classic-xl,.shape-classic-lg,.shape-classic-md,.shape-classic-sm,.shape-classic-xs{min-height:58px;max-height:58px;border-style:solid;border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}.shape-classic-xl.simple,.shape-classic-lg.simple,.shape-classic-md.simple,.shape-classic-sm.simple,.shape-classic-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset}.shape-classic-xl.thin,.shape-classic-lg.thin,.shape-classic-md.thin,.shape-classic-sm.thin,.shape-classic-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-classic-xl.parentBorder,.shape-classic-lg.parentBorder,.shape-classic-md.parentBorder,.shape-classic-sm.parentBorder,.shape-classic-xs.parentBorder{border:0;min-height:56px;max-height:56px}.shape-snowflake-xl,.shape-snowflake-lg,.shape-snowflake-md,.shape-snowflake-sm,.shape-snowflake-xs{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:30px}.shape-snowflake-xl.simple,.shape-snowflake-lg.simple,.shape-snowflake-md.simple,.shape-snowflake-sm.simple,.shape-snowflake-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset}.shape-snowflake-xl.thin,.shape-snowflake-lg.thin,.shape-snowflake-md.thin,.shape-snowflake-sm.thin,.shape-snowflake-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-snowflake-xl.parentBorder,.shape-snowflake-lg.parentBorder,.shape-snowflake-md.parentBorder,.shape-snowflake-sm.parentBorder,.shape-snowflake-xs.parentBorder{border:0;min-height:56px;max-height:56px}.shape-box-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset}.shape-box-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-box-xl.parentBorder{border:0;min-height:68px;max-height:68px}.shape-rounded-lg{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:6px}.shape-rounded-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset}.shape-rounded-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-rounded-lg.parentBorder{border:0;min-height:52px;max-height:52px}.shape-pill-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset}.shape-pill-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-xl.parentBorder{border:0;min-height:68px;max-height:68px}.shape-pill-left-xl{min-height:72px;max-height:72px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset}.shape-pill-left-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-left-xl.parentBorder{border:0;min-height:68px;max-height:68px}.shape-pill-right-xl{min-height:72px;max-height:72px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset}.shape-pill-right-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-right-xl.parentBorder{border:0;min-height:68px;max-height:68px}.shape-pill-md{min-height:72px;max-height:72px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset}.shape-pill-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-md.parentBorder{border:0;min-height:44px;max-height:44px}.shape-pill-left-md{min-height:72px;max-height:72px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset}.shape-pill-left-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-left-md.parentBorder{border:0;min-height:44px;max-height:44px}.shape-pill-right-md{min-height:72px;max-height:72px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset}.shape-pill-right-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-right-md.parentBorder{border:0;min-height:44px;max-height:44px}`;
3978
+ var shapeSizeCss$1 = i$5`.wrapper{overflow:hidden}.shape-classic-xl,.shape-classic-lg,.shape-classic-md,.shape-classic-sm,.shape-classic-xs{min-height:58px;max-height:58px;border-style:solid;border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}.shape-classic-xl.simple,.shape-classic-lg.simple,.shape-classic-md.simple,.shape-classic-sm.simple,.shape-classic-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset;box-shadow:none}.shape-classic-xl.thin,.shape-classic-lg.thin,.shape-classic-md.thin,.shape-classic-sm.thin,.shape-classic-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-classic-xl.parentBorder,.shape-classic-lg.parentBorder,.shape-classic-md.parentBorder,.shape-classic-sm.parentBorder,.shape-classic-xs.parentBorder{border:0;box-shadow:unset;min-height:56px;max-height:56px}.shape-snowflake-xl,.shape-snowflake-lg,.shape-snowflake-md,.shape-snowflake-sm,.shape-snowflake-xs{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:30px}.shape-snowflake-xl.simple,.shape-snowflake-lg.simple,.shape-snowflake-md.simple,.shape-snowflake-sm.simple,.shape-snowflake-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset;box-shadow:none}.shape-snowflake-xl.thin,.shape-snowflake-lg.thin,.shape-snowflake-md.thin,.shape-snowflake-sm.thin,.shape-snowflake-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-snowflake-xl.parentBorder,.shape-snowflake-lg.parentBorder,.shape-snowflake-md.parentBorder,.shape-snowflake-sm.parentBorder,.shape-snowflake-xs.parentBorder{border:0;box-shadow:unset;min-height:56px;max-height:56px}.shape-box-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-box-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-box-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-rounded-lg{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:6px}.shape-rounded-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset;box-shadow:none}.shape-rounded-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-rounded-lg.parentBorder{border:0;box-shadow:unset;min-height:52px;max-height:52px}.shape-pill-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-left-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-left-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-left-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-right-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-right-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-right-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-left-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-left-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-left-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-right-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-right-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-right-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}`;
3948
3979
 
3949
3980
  var colorCss$1$3 = i$5`:host .wrapper{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-background-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host(:not([ondark])) .wrapper:focus,:host(:not([ondark])) .wrapper:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-brand, #00274a)}:host([ondark]) .wrapper:focus,:host([ondark]) .wrapper:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-inverse, #ffffff)}:host([error]:not([ondark])){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([error][ondark]){--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}.helpText{color:var(--ds-auro-dropdown-helptext-text-color)}`;
3950
3981
 
3951
- var classicColorCss$1 = i$5`:host([layout*=classic]) .label{color:var(--ds-auro-dropdown-label-text-color)}:host([layout*=classic]) .trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color);outline-color:var(--ds-auro-dropdown-trigger-outline-color)}:host([layout*=classic]) .trigger:focus-within,:host([layout*=classic]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused, #01426a)}:host([layout*=classic])[disabled]{--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([layout*=classic])[common],:host([layout*=classic])[bordered]{--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-bold, #585e67)}:host([layout*=classic])[common] .trigger:active,:host([layout*=classic])[common] .trigger:focus-within,:host([layout*=classic])[bordered] .trigger:active,:host([layout*=classic])[bordered] .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a)}:host([layout*=classic])[error]{--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([layout*=classic])[error] .trigger{outline:solid 1px var(--ds-auro-dropdown-trigger-border-color)}:host([layout*=classic])[error] .trigger:focus-within,:host([layout*=classic])[error] .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused, #01426a)}:host([layout*=classic])[disabled][common],:host([layout*=classic])[disabled][bordered]{--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host([layout*=classic])[onDark]{--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db);--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([layout*=classic])[onDark]:focus-within,:host([layout*=classic])[onDark]:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused-inverse, #ffffff)}:host([layout*=classic])[onDark][disabled]{--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([layout*=classic])[onDark][common],:host([layout*=classic])[onDark][bordered]{--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-inverse, #ffffff)}:host([layout*=classic])[onDark][common] .trigger:focus-within,:host([layout*=classic])[onDark][common] .trigger:active,:host([layout*=classic])[onDark][bordered] .trigger:focus-within,:host([layout*=classic])[onDark][bordered] .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused-inverse, #ffffff)}:host([layout*=classic])[onDark][error]{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}:host([layout*=classic])[onDark][error] .trigger{outline:solid 1px var(--ds-auro-dropdown-trigger-border-color)}:host([layout*=classic])[onDark][error] .trigger:focus-within,:host([layout*=classic])[onDark][error] .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused-inverse, #ffffff)}:host([layout*=classic])[onDark][disabled][common],:host([layout*=classic])[onDark][disabled][bordered]{--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse-disabled, rgba(255, 255, 255, 0.1))}`;
3982
+ var classicColorCss$1 = i$5`:host([layout*=classic]:not([onDark])) .label{color:var(--ds-auro-dropdown-label-text-color)}:host([layout*=classic]:not([onDark])) .trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host([layout*=classic]:not([onDark])) .trigger:focus-within,:host([layout*=classic]:not([onDark])) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused, #01426a)}:host([layout*=classic][disabled]:not([onDark])){--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host([layout*=classic][error]:not([onDark])){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([layout*=classic][error]:not([onDark])) .trigger:focus-within,:host([layout*=classic][error]:not([onDark])) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused, #01426a)}:host([layout*=classic][onDark]) .label{color:var(--ds-auro-dropdown-label-text-color)}:host([layout*=classic][onDark]) .trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host([layout*=classic][onDark]) .trigger:focus-within,:host([layout*=classic][onDark]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused-inverse, #ffffff)}:host([layout*=classic][onDark][disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse-disabled, rgba(255, 255, 255, 0.1))}:host([layout*=classic][onDark][error]){--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}:host([layout*=classic][onDark][error]) .trigger:focus-within,:host([layout*=classic][onDark][error]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused-inverse, #ffffff)}`;
3952
3983
 
3953
- var classicLayoutCss = i$5`:host([layout*=classic]){position:relative;max-width:100%}:host([layout*=classic]) #bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}:host([layout*=classic]) .label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);transition:font-size .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:normal}:host([layout*=classic]) .label[hasTrigger=false]{font-size:var(--ds-text-body-size-default, 1rem)}:host([layout*=classic]) .trigger{display:flex;flex-direction:row}@media(hover: hover){:host([layout*=classic]) .trigger:hover{cursor:pointer}}:host([layout*=classic]) .triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}:host([layout*=classic]) #showStateIcon{display:flex;overflow:hidden;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}:host([layout*=classic]) #showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}:host([layout*=classic]) #showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}:host([layout*=classic][fluid]){display:block}:host([layout*=classic][matchwidth]) #bibSizer{width:100%}:host([layout*=classic][disabled]){pointer-events:none}:host([layout*=classic][inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([layout*=classic][common]) .trigger,:host([layout*=classic][inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([layout*=classic][inset][bordered][labeled]) .trigger{padding:var(--ds-size-100, 0.5rem) var(--ds-size-150, 0.75rem)}:host([layout*=classic][common]) .trigger,:host([layout*=classic][rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
3984
+ var classicLayoutCss = i$5`:host([layout*=classic]){position:relative;max-width:100%}:host([layout*=classic]) #bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}:host([layout*=classic]) .label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);transition:font-size .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:normal}:host([layout*=classic]) .label[hasTrigger=false]{font-size:var(--ds-text-body-size-default, 1rem)}:host([layout*=classic]) .trigger{display:flex;flex-direction:row;box-shadow:inset 0 0 0 1px var(--ds-auro-dropdown-trigger-outline-color)}@media(hover: hover){:host([layout*=classic]) .trigger:hover{cursor:pointer}}:host([layout*=classic]) .triggerContentWrapper{overflow:hidden;flex:1;justify-content:start;text-overflow:ellipsis;white-space:nowrap}:host([layout*=classic]) #showStateIcon{display:flex;overflow:hidden;height:100%;align-items:center;padding-right:var(--ds-size-150, 0.75rem)}:host([layout*=classic]) #showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}:host([layout*=classic]) #showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}:host([layout*=classic]:not([simple])) .triggerContentWrapper{padding-left:var(--ds-size-150, 0.75rem)}:host([layout*=classic][matchwidth]) #bibSizer{width:100%}:host([layout*=classic][disabled]){pointer-events:none}`;
3954
3985
 
3955
- var styleEmphasizedCss$1 = i$5`:host{display:block}.layout-emphasized .chevron,.layout-emphasized-left .chevron,.layout-emphasized-right .chevron{margin-right:var(--ds-size-300, 1.5rem)}.wrapper{display:flex;flex-direction:row}.trigger{display:flex;flex:1;align-items:center;justify-content:center;outline:none}.triggerContentWrapper{display:flex;width:100%;flex:1;align-items:center;justify-content:center}.triggerContent{display:flex;overflow:hidden;width:100%;flex:1;align-items:center;justify-content:center;text-overflow:ellipsis;white-space:nowrap}:host([layout*=emphasized][shape*=pill]:not([layout*=right])) .leftIndent{width:calc(100% - var(--ds-size-300, 1.5rem));margin-left:var(--ds-size-300, 1.5rem)}:host([layout*=emphasized][shape*=pill]:not([layout*=left])) .rightIndent{width:calc(100% - var(--ds-size-300, 1.5rem));margin-right:var(--ds-size-300, 1.5rem)}:host([layout*=emphasized][shape*=pill]:not([layout*=left]):not([layout*=right])) .rightIndent{width:calc(100% - var(--ds-size-600, 3rem));margin-right:var(--ds-size-300, 1.5rem)}`;
3986
+ var styleEmphasizedCss$1 = i$5`:host{display:block}.layout-emphasized .chevron,.layout-emphasized-left .chevron,.layout-emphasized-right .chevron{margin-right:var(--ds-size-300, 1.5rem)}.wrapper{display:flex;flex-direction:row}.trigger{display:flex;flex:1;align-items:center;justify-content:center;outline:none}.triggerContentWrapper{display:flex;overflow:hidden;width:100%;flex:1;align-items:center;justify-content:center;text-overflow:ellipsis;white-space:nowrap}:host([layout*=emphasized][shape*=pill]:not([layout*=right])) .leftIndent{width:calc(100% - var(--ds-size-300, 1.5rem));margin-left:var(--ds-size-300, 1.5rem)}:host([layout*=emphasized][shape*=pill]:not([layout*=left])) .rightIndent{width:calc(100% - var(--ds-size-300, 1.5rem));margin-right:var(--ds-size-300, 1.5rem)}:host([layout*=emphasized][shape*=pill]:not([layout*=left]):not([layout*=right])) .rightIndent{width:calc(100% - var(--ds-size-600, 3rem));margin-right:var(--ds-size-300, 1.5rem)}`;
3956
3987
 
3957
- var styleSnowflakeCss$1 = i$5`:host{display:block}.wrapper{display:flex;flex-direction:row}.trigger{display:flex;flex:1;align-items:center;justify-content:center;outline:none}.triggerContentWrapper{display:flex;width:100%;flex:1;align-items:center;justify-content:center}.triggerContent{display:flex;overflow:hidden;width:100%;flex:1;align-items:center;justify-content:center;text-overflow:ellipsis;white-space:nowrap}:host([layout*=snowflake]) .leftIndent{width:calc(100% - var(--ds-size-600, 3rem));margin-left:var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .rightIndent{width:calc(100% - var(--ds-size-600, 3rem));margin-right:var(--ds-size-300, 1.5rem)}.layout-snowflake .chevron,.layout-snowflake-left .chevron,.layout-snowflake-right .chevron{margin-right:var(--ds-size-300, 1.5rem)}`;
3988
+ var styleSnowflakeCss$1 = i$5`:host{display:block}.wrapper{display:flex;flex-direction:row}.trigger{display:flex;flex:1;align-items:center;justify-content:center;outline:none}.triggerContentWrapper{display:flex;overflow:hidden;width:100%;flex:1;align-items:center;justify-content:center;text-overflow:ellipsis;white-space:nowrap}:host([layout*=snowflake]) .leftIndent{width:calc(100% - var(--ds-size-600, 3rem));margin-left:var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .rightIndent{width:calc(100% - var(--ds-size-600, 3rem));margin-right:var(--ds-size-300, 1.5rem)}.layout-snowflake .chevron,.layout-snowflake-left .chevron,.layout-snowflake-right .chevron{margin-right:var(--ds-size-300, 1.5rem)}`;
3958
3989
 
3959
3990
  var colorCss$6 = i$5`:host([error]){--ds-auro-helptext-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]){--ds-auro-helptext-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][error]){--ds-auro-helptext-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
3960
3991
 
@@ -4199,18 +4230,21 @@ let AuroElement$4 = class AuroElement extends i$2 {
4199
4230
  }
4200
4231
 
4201
4232
  resetShapeClasses() {
4202
- if (this.shape && this.size) {
4203
- const wrapper = this.shadowRoot.querySelector('.wrapper');
4233
+ const wrapper = this.shadowRoot.querySelector('.wrapper');
4204
4234
 
4205
- if (wrapper) {
4206
- wrapper.classList.forEach((className) => {
4207
- if (className.startsWith('shape-')) {
4208
- wrapper.classList.remove(className);
4209
- }
4210
- });
4235
+ if (wrapper) {
4236
+ wrapper.classList.forEach((className) => {
4237
+ if (className.startsWith('shape-')) {
4238
+ wrapper.classList.remove(className);
4239
+ }
4240
+ });
4211
4241
 
4212
- wrapper.classList.add(`shape-${this.shape.toLowerCase()}-${this.size.toLowerCase()}`);
4213
- }
4242
+ }
4243
+
4244
+ if (this.shape && this.size) {
4245
+ wrapper.classList.add(`shape-${this.shape.toLowerCase()}-${this.size.toLowerCase()}`);
4246
+ } else {
4247
+ wrapper.classList.add('shape-none');
4214
4248
  }
4215
4249
  }
4216
4250
 
@@ -4286,19 +4320,14 @@ class AuroDropdown extends AuroElement$4 {
4286
4320
 
4287
4321
  // Layout Config
4288
4322
  this.layout = 'classic';
4289
- this.shape = 'rounded';
4323
+ this.shape = 'classic';
4290
4324
  this.size = 'xl';
4325
+
4291
4326
  this.parentBorder = false;
4292
4327
 
4293
4328
  this.privateDefaults();
4294
4329
  }
4295
4330
 
4296
- get commonLabelClasses() {
4297
- return {
4298
- // 'withValue': this.value && this.value.length > 0
4299
- };
4300
- }
4301
-
4302
4331
  get commonWrapperClasses() {
4303
4332
  return {
4304
4333
  'trigger': true,
@@ -4367,7 +4396,7 @@ class AuroDropdown extends AuroElement$4 {
4367
4396
  /**
4368
4397
  * Generate unique names for dependency components.
4369
4398
  */
4370
- const versioning = new AuroDependencyVersioning$3();
4399
+ const versioning = new AuroDependencyVersioning$2();
4371
4400
 
4372
4401
  /**
4373
4402
  * @private
@@ -4683,7 +4712,7 @@ class AuroDropdown extends AuroElement$4 {
4683
4712
  static get styles() {
4684
4713
  return [
4685
4714
  colorCss$1$3,
4686
- tokensCss$1$2,
4715
+ tokensCss$1$3,
4687
4716
 
4688
4717
  // default layout
4689
4718
  classicColorCss$1,
@@ -4971,14 +5000,13 @@ class AuroDropdown extends AuroElement$4 {
4971
5000
  * @returns {void}
4972
5001
  */
4973
5002
  handleTriggerContentSlotChange(event) {
4974
-
4975
5003
  this.floater.handleTriggerTabIndex();
4976
5004
 
4977
5005
  // Get the trigger
4978
5006
  const trigger = this.shadowRoot.querySelector('#trigger');
4979
5007
 
4980
5008
  // Get the trigger slot
4981
- const triggerSlot = this.shadowRoot.querySelector('.triggerContent slot');
5009
+ const triggerSlot = this.shadowRoot.querySelector('.triggerContentWrapper slot');
4982
5010
 
4983
5011
  // If there's a trigger slot
4984
5012
  if (triggerSlot) {
@@ -5050,29 +5078,6 @@ class AuroDropdown extends AuroElement$4 {
5050
5078
  }
5051
5079
  }
5052
5080
 
5053
- /**
5054
- * @private
5055
- * @method handleLabelSlotChange
5056
- * @param {event} event - The event object representing the slot change.
5057
- * @description Handles the slot change event for the label slot.
5058
- */
5059
- handleLabelSlotChange (event) {
5060
-
5061
- // Get the nodes from the event
5062
- const nodes = event.target.assignedNodes();
5063
-
5064
- // Guard clause for no nodes
5065
- if (!nodes) {
5066
- return;
5067
- }
5068
-
5069
- // Convert the nodes to a measurable array so we can get the length
5070
- const nodesArr = Array.from(nodes);
5071
-
5072
- // If the nodes array has a length, the dropdown is labeled
5073
- this.labeled = nodesArr.length > 0;
5074
- }
5075
-
5076
5081
  /**
5077
5082
  * Returns HTML for the common portion of the layouts.
5078
5083
  * @private
@@ -5087,22 +5092,17 @@ class AuroDropdown extends AuroElement$4 {
5087
5092
  class="${e(this.commonWrapperClasses)}" part="wrapper"
5088
5093
  tabindex="${this.tabIndex}"
5089
5094
  role="${o(this.triggerContentFocusable ? undefined : this.a11yRole)}"
5090
- aria-expanded="${o(this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
5091
- aria-controls="${o(this.triggerContentFocusable ? undefined : this.dropdownId)}"
5095
+ aria-expanded="${o(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
5096
+ aria-controls="${o(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
5092
5097
  aria-labelledby="${o(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
5093
5098
  @focusin="${this.handleFocusin}"
5094
5099
  @blur="${this.handleFocusOut}">
5095
- <div class="triggerContentWrapper">
5096
- <label class="label" id="triggerLabel" hasTrigger=${this.hasTriggerContent}>
5097
- <slot name="label" @slotchange="${this.handleLabelSlotChange}"></slot>
5098
- </label>
5099
- <div class="triggerContent">
5100
- <slot
5101
- name="trigger"
5102
- @slotchange="${this.handleTriggerContentSlotChange}"></slot>
5103
- </div>
5100
+ <div class="triggerContentWrapper" id="triggerLabel">
5101
+ <slot
5102
+ name="trigger"
5103
+ @slotchange="${this.handleTriggerContentSlotChange}"></slot>
5104
5104
  </div>
5105
- ${this.chevron || this.common ? u$2`
5105
+ ${this.chevron ? u$2`
5106
5106
  <div
5107
5107
  id="showStateIcon"
5108
5108
  class="chevron"
@@ -5123,6 +5123,7 @@ class AuroDropdown extends AuroElement$4 {
5123
5123
  <div id="bibSizer" part="size"></div>
5124
5124
  <${this.dropdownBibTag}
5125
5125
  id="bib"
5126
+ shape="${this.shape}"
5126
5127
  ?data-show="${this.isPopoverVisible}"
5127
5128
  ?isfullscreen="${this.isBibFullscreen}"
5128
5129
  ?common="${this.common}"
@@ -5142,62 +5143,13 @@ class AuroDropdown extends AuroElement$4 {
5142
5143
  * @returns {html} - Returns HTML for the classic layout.
5143
5144
  */
5144
5145
  renderLayoutClassic() {
5146
+ // TODO: check with Doug why this was never used?
5147
+ const helpTextClasses = {
5148
+ 'helpText': true
5149
+ };
5145
5150
 
5146
5151
  return u$2`
5147
- <div>
5148
- <div
5149
- id="trigger"
5150
- class="trigger"
5151
- part="trigger"
5152
- tabindex="${this.tabIndex}"
5153
- ?showBorder="${this.showTriggerBorders}"
5154
- role="${o(this.triggerContentFocusable ? undefined : this.a11yRole)}"
5155
- aria-expanded="${o(this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
5156
- aria-controls="${o(this.triggerContentFocusable ? undefined : this.dropdownId)}"
5157
- aria-labelledby="${o(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
5158
- >
5159
- <div class="triggerContentWrapper">
5160
- <label class="label" id="triggerLabel" hasTrigger=${this.hasTriggerContent}>
5161
- <slot name="label" @slotchange="${this.handleLabelSlotChange}"></slot>
5162
- </label>
5163
- <div class="triggerContent">
5164
- <slot
5165
- name="trigger"
5166
- @slotchange="${this.handleTriggerContentSlotChange}"></slot>
5167
- </div>
5168
- </div>
5169
- ${this.chevron || this.common ? u$2`
5170
- <div
5171
- id="showStateIcon"
5172
- part="chevron">
5173
- <${this.iconTag}
5174
- category="interface"
5175
- name="chevron-down"
5176
- ?onDark="${this.onDark}"
5177
- variant="${this.disabled ? 'disabled' : 'muted'}">
5178
- >
5179
- </${this.iconTag}>
5180
- </div>
5181
- ` : undefined }
5182
- </div>
5183
- <${this.helpTextTag} part="helpText" ?onDark=${this.onDark} ?error="${this.error}">
5184
- <slot name="helpText"></slot>
5185
- </${this.helpTextTag}>
5186
-
5187
- <div id="bibSizer" part="size"></div>
5188
- <${this.dropdownBibTag}
5189
- id="bib"
5190
- ?data-show="${this.isPopoverVisible}"
5191
- ?isfullscreen="${this.isBibFullscreen}"
5192
- ?common="${this.common}"
5193
- ?rounded="${this.common || this.rounded}"
5194
- ?inset="${this.common || this.inset}"
5195
- >
5196
- <div class="slotContent">
5197
- <slot @slotchange="${this.handleDefaultSlot}"></slot>
5198
- </div>
5199
- </${this.dropdownBibTag}>
5200
- </div>
5152
+ ${this.renderBasicHtml(helpTextClasses)}
5201
5153
  `;
5202
5154
  }
5203
5155
 
@@ -5278,9 +5230,9 @@ var dropdownVersion = '3.0.0';
5278
5230
  */
5279
5231
  const u=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r},c=e$1(class extends i{constructor(e){if(super(e),e.type!==t$1.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,s,t){let r;void 0===t?t=s:void 0!==s&&(r=s);const l=[],o=[];let i=0;for(const s of e)l[i]=r?r(s,i):i,o[i]=t(s,i),i++;return {values:o,keys:l}}render(e,s,t){return this.dt(e,s,t).values}update(s,[t,r$1,c]){const d=p(s),{values:p$1,keys:a}=this.dt(t,r$1,c);if(!Array.isArray(d))return this.ut=a,p$1;const h=this.ut??=[],v$1=[];let m$1,y,x=0,j=d.length-1,k=0,w=p$1.length-1;for(;x<=j&&k<=w;)if(null===d[x])x++;else if(null===d[j])j--;else if(h[x]===a[k])v$1[k]=v(d[x],p$1[k]),x++,k++;else if(h[j]===a[w])v$1[w]=v(d[j],p$1[w]),j--,w--;else if(h[x]===a[w])v$1[w]=v(d[x],p$1[w]),r(s,v$1[w+1],d[x]),x++,w--;else if(h[j]===a[k])v$1[k]=v(d[j],p$1[k]),r(s,d[x],d[j]),j--,k++;else if(void 0===m$1&&(m$1=u(a,k,w),y=u(h,x,j)),m$1.has(h[x]))if(m$1.has(h[j])){const e=y.get(a[k]),t=void 0!==e?d[e]:null;if(null===t){const e=r(s,d[x]);v(e,p$1[k]),v$1[k]=e;}else v$1[k]=v(t,p$1[k]),r(s,d[x],t),d[e]=null;k++;}else M(d[j]),j--;else M(d[x]),x++;for(;k<=w;){const e=r(s,v$1[w+1]);v(e,p$1[k]),v$1[k++]=e;}for(;x<=j;){const e=d[x++];null!==e&&M(e);}return this.ut=a,m(s,v$1),T}});
5280
5232
 
5281
- var shapeSizeCss = i$5`.wrapper{overflow:hidden}.shape-classic-xl,.shape-classic-lg,.shape-classic-md,.shape-classic-sm,.shape-classic-xs{min-height:58px;max-height:58px;border-style:solid;border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}.shape-classic-xl.simple,.shape-classic-lg.simple,.shape-classic-md.simple,.shape-classic-sm.simple,.shape-classic-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset}.shape-classic-xl.thin,.shape-classic-lg.thin,.shape-classic-md.thin,.shape-classic-sm.thin,.shape-classic-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-classic-xl.parentBorder,.shape-classic-lg.parentBorder,.shape-classic-md.parentBorder,.shape-classic-sm.parentBorder,.shape-classic-xs.parentBorder{border:0;min-height:56px;max-height:56px}.shape-snowflake-xl,.shape-snowflake-lg,.shape-snowflake-md,.shape-snowflake-sm,.shape-snowflake-xs{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:30px}.shape-snowflake-xl.simple,.shape-snowflake-lg.simple,.shape-snowflake-md.simple,.shape-snowflake-sm.simple,.shape-snowflake-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset}.shape-snowflake-xl.thin,.shape-snowflake-lg.thin,.shape-snowflake-md.thin,.shape-snowflake-sm.thin,.shape-snowflake-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-snowflake-xl.parentBorder,.shape-snowflake-lg.parentBorder,.shape-snowflake-md.parentBorder,.shape-snowflake-sm.parentBorder,.shape-snowflake-xs.parentBorder{border:0;min-height:56px;max-height:56px}.shape-box-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset}.shape-box-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-box-xl.parentBorder{border:0;min-height:68px;max-height:68px}.shape-rounded-lg{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:6px}.shape-rounded-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset}.shape-rounded-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-rounded-lg.parentBorder{border:0;min-height:52px;max-height:52px}.shape-pill-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset}.shape-pill-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-xl.parentBorder{border:0;min-height:68px;max-height:68px}.shape-pill-left-xl{min-height:72px;max-height:72px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset}.shape-pill-left-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-left-xl.parentBorder{border:0;min-height:68px;max-height:68px}.shape-pill-right-xl{min-height:72px;max-height:72px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset}.shape-pill-right-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-right-xl.parentBorder{border:0;min-height:68px;max-height:68px}.shape-pill-md{min-height:72px;max-height:72px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset}.shape-pill-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-md.parentBorder{border:0;min-height:44px;max-height:44px}.shape-pill-left-md{min-height:72px;max-height:72px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset}.shape-pill-left-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-left-md.parentBorder{border:0;min-height:44px;max-height:44px}.shape-pill-right-md{min-height:72px;max-height:72px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset}.shape-pill-right-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-right-md.parentBorder{border:0;min-height:44px;max-height:44px}`;
5233
+ var shapeSizeCss = i$5`.wrapper{overflow:hidden}.shape-classic-xl,.shape-classic-lg,.shape-classic-md,.shape-classic-sm,.shape-classic-xs{min-height:58px;max-height:58px;border-style:solid;border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}.shape-classic-xl.simple,.shape-classic-lg.simple,.shape-classic-md.simple,.shape-classic-sm.simple,.shape-classic-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset;box-shadow:none}.shape-classic-xl.thin,.shape-classic-lg.thin,.shape-classic-md.thin,.shape-classic-sm.thin,.shape-classic-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-classic-xl.parentBorder,.shape-classic-lg.parentBorder,.shape-classic-md.parentBorder,.shape-classic-sm.parentBorder,.shape-classic-xs.parentBorder{border:0;box-shadow:unset;min-height:56px;max-height:56px}.shape-snowflake-xl,.shape-snowflake-lg,.shape-snowflake-md,.shape-snowflake-sm,.shape-snowflake-xs{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:30px}.shape-snowflake-xl.simple,.shape-snowflake-lg.simple,.shape-snowflake-md.simple,.shape-snowflake-sm.simple,.shape-snowflake-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset;box-shadow:none}.shape-snowflake-xl.thin,.shape-snowflake-lg.thin,.shape-snowflake-md.thin,.shape-snowflake-sm.thin,.shape-snowflake-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-snowflake-xl.parentBorder,.shape-snowflake-lg.parentBorder,.shape-snowflake-md.parentBorder,.shape-snowflake-sm.parentBorder,.shape-snowflake-xs.parentBorder{border:0;box-shadow:unset;min-height:56px;max-height:56px}.shape-box-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-box-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-box-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-rounded-lg{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:6px}.shape-rounded-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset;box-shadow:none}.shape-rounded-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-rounded-lg.parentBorder{border:0;box-shadow:unset;min-height:52px;max-height:52px}.shape-pill-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-left-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-left-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-left-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-right-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-right-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-right-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-left-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-left-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-left-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-right-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-right-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-right-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}`;
5282
5234
 
5283
- var styleCss$4$1 = i$5`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}`;
5235
+ var styleCss$4$2 = i$5`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block}.wrapper{cursor:text}.helpTextClasses{cursor:default}input{overflow:hidden;width:100%;padding:0;border:0;background:unset;outline:none;text-overflow:ellipsis}.displayValue{display:none}.displayValue.hasContent:is(.withValue):not(.hasFocus){display:flex;align-items:center}.accents:not(.util_displayHidden){display:flex;flex-direction:row;align-items:center;justify-content:center}`;
5284
5236
 
5285
5237
  var styleDefaultCss = i$5`.layoutDefault .typeIcon,:host(:not([layout])) .typeIcon{display:flex;flex-direction:row;align-items:center}.layoutDefault .typeIcon [auro-icon],:host(:not([layout])) .typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.layoutDefault .notificationIcons,:host(:not([layout])) .notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .typeIcon,:host(:not([layout])[bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .notificationIcons,:host(:not([layout])[bordered]) .notificationIcons{align-items:center}:host([class=layoutDefault][bordered]) .notification:not(:first-of-type),:host(:not([layout])[bordered]) .notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .alertNotification,:host(:not([layout])[bordered]) .alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}:host([class=layoutDefault][bordered]) .passwordBtn,:host(:not([layout])[bordered]) .passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}:host([class=layoutDefault][bordered]) .notificationBtn,:host(:not([layout])[bordered]) .notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}:host([class=layoutDefault][bordered]) .notificationBtn [auro-icon],:host(:not([layout])[bordered]) .notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}:host([class=layoutDefault][bordered]) .notificationBtn [auro-icon][hidden],:host(:not([layout])[bordered]) .notificationBtn [auro-icon][hidden]{display:none}:host([class=layoutDefault]:not([bordered])) .typeIcon,:host([class=layoutDefault]:not([bordered])) .notificationIcons,:host(:not([layout]):not([bordered])) .typeIcon,:host(:not([layout]):not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}:host([class=layoutDefault]:not([bordered])) .clearBtn,:host(:not([layout]):not([bordered])) .clearBtn{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);overflow:hidden;width:0;opacity:0}.layoutDefault .wrapper:hover .clearBtn,.layoutDefault .wrapper:focus-within .clearBtn,:host(:not([layout])) .wrapper:hover .clearBtn,:host(:not([layout])) .wrapper:focus-within .clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));opacity:1}:host([class=layoutDefault]:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification,:host(:not([layout]):focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}.layoutDefault input,:host(:not([layout])) input{border:unset}.layoutDefault .wrapper,:host(:not([layout])) .wrapper{position:relative;overflow:hidden;border-style:solid}:host([class=layoutDefault]:not([bordered],[borderless])) .wrapper,:host(:not([layout]):not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([class=layoutDefault][bordered]) .wrapper,:host(:not([layout])[bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host([class=layoutDefault]:not([borderless])) .wrapper:focus-within:before,:host(:not([layout]):not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([class=layoutDefault][validity]:not([validity=valid])) .wrapper:before,:host(:not([layout])[validity]:not([validity=valid])) .wrapper:before{border-bottom:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.layoutDefault :host,:host(:not([layout])) :host{position:relative;display:block}.layoutDefault .wrapper,:host(:not([layout])) .wrapper{display:flex;flex-direction:row}.layoutDefault .main,:host(:not([layout])) .main{display:flex;flex-direction:row;position:relative;flex:1}`;
5286
5238
 
@@ -5288,15 +5240,15 @@ var colorBaseCss = i$5`.wrapper{border-color:var(--ds-auro-input-border-color);b
5288
5240
 
5289
5241
  var tokensCss$4 = i$5`:host(:not([ondark])){--ds-auro-input-border-color: var(--ds-basic-color-border-bold, #585e67);--ds-auro-input-background-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-input-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-input-caret-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-input-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-input-error-icon-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-input-outline-color: transparent}:host([ondark]){--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff);--ds-auro-input-background-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-input-container-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-input-caret-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-input-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-input-error-icon-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-input-outline-color: transparent}`;
5290
5242
 
5291
- var classicStyleCss = i$5`.layout-classic{display:flex;flex-direction:row;box-shadow:inset 0 0 0 1px var(--ds-auro-input-outline-color)}.layout-classic .mainContent{position:relative;display:flex;flex:1;flex-direction:column;justify-content:center;cursor:text}.layout-classic .mainContent label{padding-top:4px;cursor:text;font-size:var(--ds-text-body-size-xs);line-height:20px;transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1)}.layout-classic .mainContent input{height:auto;padding-bottom:8px;font-size:var(--ds-basic-text-body-default-font-size, 16px);line-height:var(--ds-basic-text-body-default-line-height, 24px);transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1)}.layout-classic .mainContent:has(input.util_displayHiddenVisually) label{padding-top:0;font-size:var(--ds-text-body-size-default, 1rem);justify-self:flex-start;line-height:var(--ds-text-body-size-default)}.layout-classic .mainContent:has(input.util_displayHiddenVisually) input{height:0;padding-bottom:0;line-height:0}.layout-classic .displayValue{position:absolute;display:none;inset:0}.layout-classic .displayValue.hasContent:is(.withValue):not(.hasFocus){display:block}.layout-classic .accents{display:flex;flex-direction:row;align-items:center;justify-content:center}.layout-classic .accents.left{padding-left:8px}.layout-classic .accents.right{padding-right:8px}.layout-classic.withValue{justify-content:flex-start}.layout-classic:focus-within{justify-content:flex-start}.layout-classic:focus-within .alertNotification{display:none}`;
5243
+ var classicStyleCss = i$5`.layout-classic{display:flex;flex-direction:row;box-shadow:inset 0 0 0 1px var(--ds-auro-input-outline-color)}.layout-classic .mainContent{position:relative;display:flex;flex:1;flex-direction:column;justify-content:center;cursor:text}.layout-classic .mainContent label{padding-top:4px;cursor:text;font-size:var(--ds-text-body-size-xs);line-height:20px;transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1)}.layout-classic .mainContent input{height:auto;padding-bottom:8px;font-size:var(--ds-basic-text-body-default-font-size, 16px);line-height:var(--ds-basic-text-body-default-line-height, 24px);transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1)}.layout-classic .mainContent:has(input.util_displayHiddenVisually) label{padding-top:0;font-size:var(--ds-text-body-size-default, 1rem);justify-self:flex-start;line-height:var(--ds-text-body-size-default)}.layout-classic .mainContent:has(input.util_displayHiddenVisually) input{height:0;padding-bottom:0;line-height:0}.layout-classic .accents.left{padding-left:8px}.layout-classic .accents.right{padding-right:8px}.layout-classic.withValue{justify-content:flex-start}.layout-classic:focus-within{justify-content:flex-start}.layout-classic:focus-within .alertNotification{display:none}`;
5292
5244
 
5293
5245
  var classicColorCss = i$5`.layout-classic label{color:var(--ds-auro-input-label-text-color)}.layout-classic:focus-within{--ds-auro-input-outline-color: var(--ds-auro-input-border-color)}:host(:not([ondark])) .layout-classic:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-brand, #00274a);--ds-auro-input-outline-color: var(--ds-basic-color-border-brand, #00274a)}:host([ondark]) .layout-classic:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff);--ds-auro-input-outline-color: var(--ds-basic-color-border-inverse, #ffffff)}:host([layout*=classic]:not([ondark]):is([validity]:not([validity=valid]))){--ds-auro-input-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-input-outline-color: var(--ds-basic-color-status-error, #e31f26)}:host([layout*=classic]:not([ondark]):is([validity]:not([validity=valid]))) .layout-classic:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-input-outline-color: var(--ds-basic-color-status-error, #e31f26)}:host([layout*=classic][ondark]:is([validity]:not([validity=valid]))){--ds-auro-input-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-input-outline-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}:host([layout*=classic][ondark]:is([validity]:not([validity=valid]))) .layout-classic:focus-within{--ds-auro-input-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-input-outline-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}`;
5294
5246
 
5295
- var emphasizedStyleCss = i$5`:host{display:block}.wrapper{cursor:text}.helpTextClasses{cursor:default}input{background:unset;width:100%;padding:0;border:0;outline:none;overflow:hidden;text-overflow:ellipsis}:host([layout*=emphasized][shape*=pill]:not([layout*=right])) .leftIndent{margin-left:24px;width:calc(100% - 24px)}:host([layout*=emphasized][shape*=pill]:not([layout*=left])) .rightIndent{margin-right:24px;width:calc(100% - 24px)}:host([layout*=emphasized][shape*=pill]:not([layout*=left]):not([layout*=right])) .rightIndent{margin-right:24px;width:calc(100% - 48px)}.layout-emphasized,.layout-emphasized-left,.layout-emphasized-right{display:flex;flex-direction:row;align-items:center;justify-content:center}.layout-emphasized label,.layout-emphasized-left label,.layout-emphasized-right label{text-transform:uppercase;font-size:32px;line-height:38px}.layout-emphasized input,.layout-emphasized-left input,.layout-emphasized-right input{text-align:center;font-size:14px;line-height:20px}.layout-emphasized .mainContent,.layout-emphasized-left .mainContent,.layout-emphasized-right .mainContent{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;flex:1}.layout-emphasized .displayValue,.layout-emphasized-left .displayValue,.layout-emphasized-right .displayValue{position:absolute;top:0;right:0;bottom:0;left:0;display:none}.layout-emphasized .displayValue.hasContent:is(.withValue):not(.hasFocus),.layout-emphasized-left .displayValue.hasContent:is(.withValue):not(.hasFocus),.layout-emphasized-right .displayValue.hasContent:is(.withValue):not(.hasFocus){display:block}.layout-emphasized .displayValueWrapper,.layout-emphasized-left .displayValueWrapper,.layout-emphasized-right .displayValueWrapper{transform:translateY(-50%)}.layout-emphasized .accents,.layout-emphasized-left .accents,.layout-emphasized-right .accents{display:flex;flex-direction:row;justify-content:center;align-items:center}.layout-emphasized.withValue,.layout-emphasized-left.withValue,.layout-emphasized-right.withValue{justify-content:flex-start}.layout-emphasized.withValue label,.layout-emphasized-left.withValue label,.layout-emphasized-right.withValue label{display:block;text-transform:unset;font-size:10px;line-height:14px;width:100%;text-align:left}.layout-emphasized.withValue input,.layout-emphasized-left.withValue input,.layout-emphasized-right.withValue input{text-transform:uppercase;font-size:32px;line-height:38px;text-align:left;width:100%}.layout-emphasized:not(:focus-within):not(:is([validity]:not([validity=valid]))),.layout-emphasized-left:not(:focus-within):not(:is([validity]:not([validity=valid]))),.layout-emphasized-right:not(:focus-within):not(:is([validity]:not([validity=valid]))){--ds-auro-input-border-color: transparent}.layout-emphasized:focus-within,.layout-emphasized-left:focus-within,.layout-emphasized-right:focus-within{justify-content:flex-start}.layout-emphasized:focus-within label,.layout-emphasized-left:focus-within label,.layout-emphasized-right:focus-within label{display:block;text-transform:unset;font-size:10px;line-height:14px;width:100%;text-align:left}.layout-emphasized:focus-within input,.layout-emphasized-left:focus-within input,.layout-emphasized-right:focus-within input{text-transform:uppercase;font-size:32px;line-height:38px;text-align:left;width:100%}.layout-emphasized:focus-within .alertNotification,.layout-emphasized-left:focus-within .alertNotification,.layout-emphasized-right:focus-within .alertNotification{display:none}.layout-emphasized .accents.left,.layout-emphasized-left .accents.left,.layout-emphasized-right .accents.left{padding-left:24px}.layout-emphasized .accents.right,.layout-emphasized-left .accents.right,.layout-emphasized-right .accents.right{padding-right:24px}.layout-emphasized-left .alertNotification{margin-right:8px}.layout-emphasized-left .clear{margin-left:8px}.layout-emphasized-right .alertNotification{margin-left:8px}.layout-emphasized-right .clear{margin-right:8px}`;
5247
+ var emphasizedStyleCss = i$5`:host([layout*=emphasized][shape*=pill]:not([layout*=right])) .leftIndent{margin-left:24px;width:calc(100% - 24px)}:host([layout*=emphasized][shape*=pill]:not([layout*=left])) .rightIndent{margin-right:24px;width:calc(100% - 24px)}:host([layout*=emphasized][shape*=pill]:not([layout*=left]):not([layout*=right])) .rightIndent{margin-right:24px;width:calc(100% - 48px)}.layout-emphasized,.layout-emphasized-left,.layout-emphasized-right{display:flex;flex-direction:row;align-items:center;justify-content:center}.layout-emphasized label,.layout-emphasized-left label,.layout-emphasized-right label{text-transform:uppercase;font-size:32px;line-height:38px}.layout-emphasized input,.layout-emphasized-left input,.layout-emphasized-right input{text-align:center;font-size:14px;line-height:20px}.layout-emphasized .mainContent,.layout-emphasized-left .mainContent,.layout-emphasized-right .mainContent{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;flex:1}.layout-emphasized .displayValue,.layout-emphasized-left .displayValue,.layout-emphasized-right .displayValue{position:absolute;top:0;right:0;bottom:0;left:0;display:none}.layout-emphasized .displayValue.hasContent:is(.withValue):not(.hasFocus),.layout-emphasized-left .displayValue.hasContent:is(.withValue):not(.hasFocus),.layout-emphasized-right .displayValue.hasContent:is(.withValue):not(.hasFocus){display:block}.layout-emphasized .displayValueWrapper,.layout-emphasized-left .displayValueWrapper,.layout-emphasized-right .displayValueWrapper{transform:translateY(-50%)}.layout-emphasized.withValue,.layout-emphasized-left.withValue,.layout-emphasized-right.withValue{justify-content:flex-start}.layout-emphasized.withValue label,.layout-emphasized-left.withValue label,.layout-emphasized-right.withValue label{display:block;text-transform:unset;font-size:10px;line-height:14px;width:100%;text-align:left}.layout-emphasized.withValue input,.layout-emphasized-left.withValue input,.layout-emphasized-right.withValue input{text-transform:uppercase;font-size:32px;line-height:38px;text-align:left;width:100%}.layout-emphasized:not(:focus-within):not(:is([validity]:not([validity=valid]))),.layout-emphasized-left:not(:focus-within):not(:is([validity]:not([validity=valid]))),.layout-emphasized-right:not(:focus-within):not(:is([validity]:not([validity=valid]))){--ds-auro-input-border-color: transparent}.layout-emphasized:focus-within,.layout-emphasized-left:focus-within,.layout-emphasized-right:focus-within{justify-content:flex-start}.layout-emphasized:focus-within label,.layout-emphasized-left:focus-within label,.layout-emphasized-right:focus-within label{display:block;text-transform:unset;font-size:10px;line-height:14px;width:100%;text-align:left}.layout-emphasized:focus-within input,.layout-emphasized-left:focus-within input,.layout-emphasized-right:focus-within input{text-transform:uppercase;font-size:32px;line-height:38px;text-align:left;width:100%}.layout-emphasized:focus-within .alertNotification,.layout-emphasized-left:focus-within .alertNotification,.layout-emphasized-right:focus-within .alertNotification{display:none}.layout-emphasized .accents.left,.layout-emphasized-left .accents.left,.layout-emphasized-right .accents.left{padding-left:24px}.layout-emphasized .accents.right,.layout-emphasized-left .accents.right,.layout-emphasized-right .accents.right{padding-right:24px}.layout-emphasized-left .alertNotification{margin-right:8px}.layout-emphasized-left .clear{margin-left:8px}.layout-emphasized-right .alertNotification{margin-left:8px}.layout-emphasized-right .clear{margin-right:8px}`;
5296
5248
 
5297
5249
  var emphasizedColorCss = i$5`.layout-emphasized:focus-within,.layout-emphasized.withValue,.layout-emphasized-left:focus-within,.layout-emphasized-left.withValue,.layout-emphasized-right:focus-within,.layout-emphasized-right.withValue{--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}.layout-emphasized:focus-within,.layout-emphasized-left:focus-within,.layout-emphasized-right:focus-within{--auro-input-border-color: var(--ds-auro-input-border-color)}`;
5298
5250
 
5299
- var snowflakeStyleCss = i$5`:root{--ds-advanced-color-button-flat-text: #676767;--ds-advanced-color-button-flat-text-disabled: #d0d0d0;--ds-advanced-color-button-flat-text-hover: #525252;--ds-advanced-color-button-flat-text-inverse: #ffffff;--ds-advanced-color-button-flat-text-inverse-disabled: #7e8894;--ds-advanced-color-button-flat-text-inverse-hover: #adadad;--ds-advanced-color-button-ghost-background-hover: rgba(0, 0, 0, 0.05);--ds-advanced-color-button-ghost-background-inverse-hover: rgba(255, 255, 255, 0.05);--ds-advanced-color-button-ghost-text: #01426a;--ds-advanced-color-button-ghost-text-disabled: #d0d0d0;--ds-advanced-color-button-ghost-text-inverse: #ffffff;--ds-advanced-color-button-ghost-text-inverse-disabled: #7e8894;--ds-advanced-color-button-primary-background: #01426a;--ds-advanced-color-button-primary-background-disabled: #acc9e2;--ds-advanced-color-button-primary-background-hover: #00274a;--ds-advanced-color-button-primary-background-inactive: #cfe0ef;--ds-advanced-color-button-primary-background-inactive-hover: #89b2d4;--ds-advanced-color-button-primary-background-inverse: #ffffff;--ds-advanced-color-button-primary-background-inverse-disabled: rgba(255, 255, 255, 0.75);--ds-advanced-color-button-primary-background-inverse-hover: #ebf3f9;--ds-advanced-color-button-primary-border: #01426a;--ds-advanced-color-button-primary-border-disabled: #acc9e2;--ds-advanced-color-button-primary-border-hover: #00274a;--ds-advanced-color-button-primary-border-inverse: #ffffff;--ds-advanced-color-button-primary-border-inverse-disabled: rgba(255, 255, 255, 0.75);--ds-advanced-color-button-primary-border-inverse-hover: #ebf3f9;--ds-advanced-color-button-primary-text: #ffffff;--ds-advanced-color-button-primary-text-disabled: #ffffff;--ds-advanced-color-button-primary-text-inverse: #01426a;--ds-advanced-color-button-secondary-background: #ffffff;--ds-advanced-color-button-secondary-background-disabled: #f7f7f7;--ds-advanced-color-button-secondary-background-hover: #f2f2f2;--ds-advanced-color-button-secondary-background-inverse-hover: rgba(255, 255, 255, 0.1);--ds-advanced-color-button-secondary-border: #01426a;--ds-advanced-color-button-secondary-border-hover: #00274a;--ds-advanced-color-button-secondary-border-disabled: #cfe0ef;--ds-advanced-color-button-secondary-border-inverse: #ffffff;--ds-advanced-color-button-secondary-border-inverse-disabled: #dddddd;--ds-advanced-color-button-secondary-text: #01426a;--ds-advanced-color-button-secondary-text-hover: #00274a;--ds-advanced-color-button-secondary-text-inverse: #ffffff;--ds-advanced-color-button-tertiary-background: rgba(0, 0, 0, 0.05);--ds-advanced-color-button-tertiary-background-hover: rgba(0, 0, 0, 0.1);--ds-advanced-color-button-tertiary-background-inverse: rgba(255, 255, 255, 0.05);--ds-advanced-color-button-tertiary-background-inverse-hover: rgba(255, 255, 255, 0.1);--ds-advanced-color-button-tertiary-text: #01426a;--ds-advanced-color-button-tertiary-text-hover: #00274a;--ds-advanced-color-button-tertiary-text-inverse: #ffffff;--ds-advanced-color-accents-accent1: #b2d583;--ds-advanced-color-accents-accent1-bold: #92c450;--ds-advanced-color-accents-accent1-muted: #deedca;--ds-advanced-color-accents-accent2: #fad362;--ds-advanced-color-accents-accent2-bold: #f2ba14;--ds-advanced-color-accents-accent2-muted: #fde398;--ds-advanced-color-accents-accent3: #63beff;--ds-advanced-color-accents-accent3-bold: #0074ca;--ds-advanced-color-accents-accent3-muted: #aedeff;--ds-advanced-color-accents-accent4: #feb17a;--ds-advanced-color-accents-accent4-bold: #fb7f24;--ds-advanced-color-accents-accent4-muted: #ffe2cf;--ds-advanced-color-accents-transparency: rgba(0, 0, 0, 0.1);--ds-advanced-color-accents-transparency-inverse: rgba(255, 255, 255, 0.2);--ds-advanced-color-avatar-gradient-bottom: #cfe0ef;--ds-advanced-color-avatar-gradient-top: #6899c6;--ds-advanced-color-boolean-disabled-inverse: #7e8894;--ds-advanced-color-boolean-error: #e31f26;--ds-advanced-color-boolean-error-hover: #b1161c;--ds-advanced-color-boolean-error-inverse: #f9a4a8;--ds-advanced-color-boolean-error-inverse-hover: #f15f65;--ds-advanced-color-boolean-indicator: #ffffff;--ds-advanced-color-boolean-indicator-inverse: #00274a;--ds-advanced-color-boolean-isfalse: #ffffff;--ds-advanced-color-boolean-isfalse-border: #585e67;--ds-advanced-color-boolean-isfalse-border-inverse: #ffffff;--ds-advanced-color-boolean-isfalse-hover: #f2f2f2;--ds-advanced-color-boolean-isfalse-inverse: rgba(255, 255, 255, 0.15);--ds-advanced-color-boolean-isfalse-inverse-hover: rgba(255, 255, 255, 0.2);--ds-advanced-color-boolean-istrue: #01426a;--ds-advanced-color-boolean-istrue-hover: #00274a;--ds-advanced-color-boolean-istrue-inverse: #ffffff;--ds-advanced-color-boolean-istrue-inverse-hover: rgba(255, 255, 255, 0.7);--ds-advanced-color-flightline-indicator: #00274a;--ds-advanced-color-flightline-line: #00274a;--ds-advanced-color-hyperlink-text: #2875b5;--ds-advanced-color-hyperlink-text-hover: #01426a;--ds-advanced-color-hyperlink-text-inverse: #ffffff;--ds-advanced-color-hyperlink-text-inverse-hover: #ebf3f9;--ds-advanced-color-shared-background: #ffffff;--ds-advanced-color-shared-background-inverse: rgba(255, 255, 255, 0.15);--ds-advanced-color-shared-background-inverse-disabled: rgba(255, 255, 255, 0.1);--ds-advanced-color-shared-background-inverse-hover: rgba(255, 255, 255, 0.2);--ds-advanced-color-shared-background-muted: #f7f7f7;--ds-advanced-color-shared-background-strong: #7e7e7e;--ds-advanced-color-shared-scrim: rgba(0, 0, 0, 0.5);--ds-advanced-color-shared-text-accent: #2875b5;--ds-advanced-color-skeleton-background: #f7f8fa;--ds-advanced-color-skeleton-wave: #e4e8ec;--ds-advanced-color-state-background-disabled: #dddddd;--ds-advanced-color-state-background-hover: #f2f2f2;--ds-advanced-color-state-background-inverse-disabled: #7e8894;--ds-advanced-color-state-error-inverse: #f9a4a8;--ds-advanced-color-state-focused: #01426a;--ds-advanced-color-state-focused-inverse: #ffffff;--ds-advanced-color-state-selected: #01426a;--ds-advanced-color-state-selected-hover: #00274a;--ds-basic-color-border-bold: #585e67;--ds-basic-color-border-brand: #00274a;--ds-basic-color-border-default: #959595;--ds-basic-color-border-divider: rgba(0, 0, 0, 0.15);--ds-basic-color-border-divider-inverse: rgba(255, 255, 255, 0.4);--ds-basic-color-border-inverse: #ffffff;--ds-basic-color-border-subtle: #dddddd;--ds-basic-color-brand-primary: #01426a;--ds-basic-color-brand-primary-bold: #00274a;--ds-basic-color-brand-primary-muted: #ebf3f9;--ds-basic-color-brand-primary-subtle: #2875b5;--ds-basic-color-brand-secondary: #5de3f7;--ds-basic-color-brand-secondary-bold: #18c3dd;--ds-basic-color-brand-secondary-muted: #ebfafd;--ds-basic-color-brand-secondary-subtle: #b4eff9;--ds-basic-color-brand-tertiary: #a3cd6a;--ds-basic-color-brand-tertiary-bold: #7daf3b;--ds-basic-color-brand-tertiary-muted: #eaf3dd;--ds-basic-color-brand-tertiary-subtle: #c9e1a7;--ds-basic-color-fare-basiceconomy: #97eaf8;--ds-basic-color-fare-business: #01426a;--ds-basic-color-fare-economy: #0074ca;--ds-basic-color-fare-first: #00274a;--ds-basic-color-fare-premiumeconomy: #005154;--ds-basic-color-page-background-default: #ebfafd;--ds-basic-color-page-background-utility: #ffffff;--ds-basic-color-status-default: #afb9c6;--ds-basic-color-status-error: #e31f26;--ds-basic-color-status-error-subtle: #fbc6c6;--ds-basic-color-status-info: #01426a;--ds-basic-color-status-info-subtle: #ebf3f9;--ds-basic-color-status-success: #447a1f;--ds-basic-color-status-success-subtle: #d6eac7;--ds-basic-color-status-warning: #fac200;--ds-basic-color-status-warning-subtle: #fff0b2;--ds-basic-color-surface-accent1: #5de3f7;--ds-basic-color-surface-accent1-muted: #ebfafd;--ds-basic-color-surface-accent1-subtle: #b4eff9;--ds-basic-color-surface-accent2: #a3cd6a;--ds-basic-color-surface-accent2-muted: #eaf3dd;--ds-basic-color-surface-default: #ffffff;--ds-basic-color-surface-inverse: #00274a;--ds-basic-color-surface-inverse-subtle: #2875b5;--ds-basic-color-surface-neutral-medium: #c5c5c5;--ds-basic-color-surface-neutral-subtle: #f7f7f7;--ds-basic-color-texticon-accent1: #265688;--ds-basic-color-texticon-default: #2a2a2a;--ds-basic-color-texticon-disabled: #d0d0d0;--ds-basic-color-texticon-inverse: #ffffff;--ds-basic-color-texticon-inverse-disabled: #7e8894;--ds-basic-color-texticon-inverse-muted: #ccd2db;--ds-basic-color-texticon-muted: #676767;--ds-basic-color-tier-program-loungetier-lounge: #01426a;--ds-basic-color-tier-program-loungetier-loungeplus: #53b390;--ds-basic-color-tier-program-loyaltytier-bronze: #d99f6d;--ds-basic-color-tier-program-loyaltytier-bronze-muted: #eed4be;--ds-basic-color-tier-program-loyaltytier-cobalt: #030772;--ds-basic-color-tier-program-loyaltytier-cobalt-muted: #a9b6d6;--ds-basic-color-tier-program-loyaltytier-copper: #cb7457;--ds-basic-color-tier-program-loyaltytier-copper-muted: #e7bfb1;--ds-basic-color-tier-program-loyaltytier-gold: #fbdc7a;--ds-basic-color-tier-program-loyaltytier-gold-muted: #fdefc4;--ds-basic-color-tier-program-loyaltytier-nickel: #abaab1;--ds-basic-color-tier-program-loyaltytier-nickel-muted: #e5e4e7;--ds-basic-color-tier-program-loyaltytier-platinum: #bcb8a4;--ds-basic-color-tier-program-loyaltytier-platinum-muted: #dad8cd;--ds-basic-color-tier-program-loyaltytier-silver: #e4e9ec;--ds-basic-color-tier-program-loyaltytier-silver-muted: #f9fafb;--ds-basic-color-tier-program-loyaltytier-titanium: #282828;--ds-basic-color-tier-program-loyaltytier-titanium-muted: #545454;--ds-basic-color-tier-program-oneworld-emerald: #139142;--ds-basic-color-tier-program-oneworld-ruby: #a41d4a;--ds-basic-color-tier-program-oneworld-sapphire: #015daa;--ds-basic-type-brand-family-primary: "AS Circular";--ds-basic-type-brand-family-secondary: "Good OT";--ds-basic-type-brand-line-height-primary: "1.3";--ds-basic-type-brand-line-height-secondary: "1";--ds-basic-type-brand-letter-spacing-primary: "0";--ds-basic-type-brand-letter-spacing-secondary: "0.05em";--ds-basic-type-brand-letter-spacing-tertiary: "0.10em";--ds-basic-type-family-accent: "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-family-body: "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-family-display: "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-family-heading: "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-letter-spacing-accent: "0.05em";--ds-basic-type-letter-spacing-accent2: "0.10em";--ds-basic-type-letter-spacing-body: "0";--ds-basic-type-letter-spacing-display: "0";--ds-basic-type-letter-spacing-heading: "0";--ds-basic-type-line-height-accent: "1.3";--ds-basic-type-line-height-accent2: "1";--ds-basic-type-line-height-body: "1.63";--ds-basic-type-line-height-body2: "1.5";--ds-basic-type-line-height-body3: "1.25";--ds-basic-type-line-height-body4: "1";--ds-basic-type-line-height-body5: "0.88";--ds-basic-type-line-height-display: "1.3";--ds-basic-type-line-height-heading: "1.3";--ds-basic-type-weight-accent: "450";--ds-basic-type-weight-accent2: "500";--ds-basic-type-weight-body: "450";--ds-basic-type-weight-display: "300";--ds-basic-type-weight-heading: "300";--ds-basic-type-weight-heading2: "450"}:host([layout*=snowflake]) .leftIndent{margin-left:24px;width:calc(100% - 48px)}:host([layout*=snowflake]) .rightIndent{margin-right:24px;width:calc(100% - 48px)}.layout-snowflake{display:flex;flex-direction:row;align-items:center;justify-content:center}.layout-snowflake label{font-size:var(--ds-text-body-size-xs);line-height:20px}.layout-snowflake input{text-align:center;font-size:18px;line-height:26px}.layout-snowflake .mainContent{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;flex:1}.layout-snowflake .displayValue{position:absolute;top:0;right:0;bottom:0;left:0;display:none}.layout-snowflake .displayValue.hasContent:is(.withValue):not(.hasFocus){display:block}.layout-snowflake .displayValueWrapper{transform:translateY(-50%)}.layout-snowflake .accents{display:flex;flex-direction:row;justify-content:center;align-items:center}.layout-snowflake.withValue{justify-content:flex-start}.layout-snowflake:not(:focus-within):not(:is([validity]:not([validity=valid]))){--ds-auro-input-border-color: transparent}.layout-snowflake:focus-within{justify-content:flex-start}.layout-snowflake:focus-within .alertNotification{display:none}.layout-snowflake .accents{width:24px}.layout-snowflake .accents.left{padding-left:24px}.layout-snowflake .accents.right{padding-right:24px}.helpTextWrapper{text-align:center}`;
5251
+ var snowflakeStyleCss = i$5`:root{--ds-advanced-color-button-flat-text: #676767;--ds-advanced-color-button-flat-text-disabled: #d0d0d0;--ds-advanced-color-button-flat-text-hover: #525252;--ds-advanced-color-button-flat-text-inverse: #ffffff;--ds-advanced-color-button-flat-text-inverse-disabled: #7e8894;--ds-advanced-color-button-flat-text-inverse-hover: #adadad;--ds-advanced-color-button-ghost-background-hover: rgba(0, 0, 0, 0.05);--ds-advanced-color-button-ghost-background-inverse-hover: rgba(255, 255, 255, 0.05);--ds-advanced-color-button-ghost-text: #01426a;--ds-advanced-color-button-ghost-text-disabled: #d0d0d0;--ds-advanced-color-button-ghost-text-inverse: #ffffff;--ds-advanced-color-button-ghost-text-inverse-disabled: #7e8894;--ds-advanced-color-button-primary-background: #01426a;--ds-advanced-color-button-primary-background-disabled: #acc9e2;--ds-advanced-color-button-primary-background-hover: #00274a;--ds-advanced-color-button-primary-background-inactive: #cfe0ef;--ds-advanced-color-button-primary-background-inactive-hover: #89b2d4;--ds-advanced-color-button-primary-background-inverse: #ffffff;--ds-advanced-color-button-primary-background-inverse-disabled: rgba(255, 255, 255, 0.75);--ds-advanced-color-button-primary-background-inverse-hover: #ebf3f9;--ds-advanced-color-button-primary-border: #01426a;--ds-advanced-color-button-primary-border-disabled: #acc9e2;--ds-advanced-color-button-primary-border-hover: #00274a;--ds-advanced-color-button-primary-border-inverse: #ffffff;--ds-advanced-color-button-primary-border-inverse-disabled: rgba(255, 255, 255, 0.75);--ds-advanced-color-button-primary-border-inverse-hover: #ebf3f9;--ds-advanced-color-button-primary-text: #ffffff;--ds-advanced-color-button-primary-text-disabled: #ffffff;--ds-advanced-color-button-primary-text-inverse: #01426a;--ds-advanced-color-button-secondary-background: #ffffff;--ds-advanced-color-button-secondary-background-disabled: #f7f7f7;--ds-advanced-color-button-secondary-background-hover: #f2f2f2;--ds-advanced-color-button-secondary-background-inverse-hover: rgba(255, 255, 255, 0.1);--ds-advanced-color-button-secondary-border: #01426a;--ds-advanced-color-button-secondary-border-hover: #00274a;--ds-advanced-color-button-secondary-border-disabled: #cfe0ef;--ds-advanced-color-button-secondary-border-inverse: #ffffff;--ds-advanced-color-button-secondary-border-inverse-disabled: #dddddd;--ds-advanced-color-button-secondary-text: #01426a;--ds-advanced-color-button-secondary-text-hover: #00274a;--ds-advanced-color-button-secondary-text-inverse: #ffffff;--ds-advanced-color-button-tertiary-background: rgba(0, 0, 0, 0.05);--ds-advanced-color-button-tertiary-background-hover: rgba(0, 0, 0, 0.1);--ds-advanced-color-button-tertiary-background-inverse: rgba(255, 255, 255, 0.05);--ds-advanced-color-button-tertiary-background-inverse-hover: rgba(255, 255, 255, 0.1);--ds-advanced-color-button-tertiary-text: #01426a;--ds-advanced-color-button-tertiary-text-hover: #00274a;--ds-advanced-color-button-tertiary-text-inverse: #ffffff;--ds-advanced-color-accents-accent1: #b2d583;--ds-advanced-color-accents-accent1-bold: #92c450;--ds-advanced-color-accents-accent1-muted: #deedca;--ds-advanced-color-accents-accent2: #fad362;--ds-advanced-color-accents-accent2-bold: #f2ba14;--ds-advanced-color-accents-accent2-muted: #fde398;--ds-advanced-color-accents-accent3: #63beff;--ds-advanced-color-accents-accent3-bold: #0074ca;--ds-advanced-color-accents-accent3-muted: #aedeff;--ds-advanced-color-accents-accent4: #feb17a;--ds-advanced-color-accents-accent4-bold: #fb7f24;--ds-advanced-color-accents-accent4-muted: #ffe2cf;--ds-advanced-color-accents-transparency: rgba(0, 0, 0, 0.1);--ds-advanced-color-accents-transparency-inverse: rgba(255, 255, 255, 0.2);--ds-advanced-color-avatar-gradient-bottom: #cfe0ef;--ds-advanced-color-avatar-gradient-top: #6899c6;--ds-advanced-color-boolean-disabled-inverse: #7e8894;--ds-advanced-color-boolean-error: #e31f26;--ds-advanced-color-boolean-error-hover: #b1161c;--ds-advanced-color-boolean-error-inverse: #f9a4a8;--ds-advanced-color-boolean-error-inverse-hover: #f15f65;--ds-advanced-color-boolean-indicator: #ffffff;--ds-advanced-color-boolean-indicator-inverse: #00274a;--ds-advanced-color-boolean-isfalse: #ffffff;--ds-advanced-color-boolean-isfalse-border: #585e67;--ds-advanced-color-boolean-isfalse-border-inverse: #ffffff;--ds-advanced-color-boolean-isfalse-hover: #f2f2f2;--ds-advanced-color-boolean-isfalse-inverse: rgba(255, 255, 255, 0.15);--ds-advanced-color-boolean-isfalse-inverse-hover: rgba(255, 255, 255, 0.2);--ds-advanced-color-boolean-istrue: #01426a;--ds-advanced-color-boolean-istrue-hover: #00274a;--ds-advanced-color-boolean-istrue-inverse: #ffffff;--ds-advanced-color-boolean-istrue-inverse-hover: rgba(255, 255, 255, 0.7);--ds-advanced-color-flightline-indicator: #00274a;--ds-advanced-color-flightline-line: #00274a;--ds-advanced-color-hyperlink-text: #2875b5;--ds-advanced-color-hyperlink-text-hover: #01426a;--ds-advanced-color-hyperlink-text-inverse: #ffffff;--ds-advanced-color-hyperlink-text-inverse-hover: #ebf3f9;--ds-advanced-color-shared-background: #ffffff;--ds-advanced-color-shared-background-inverse: rgba(255, 255, 255, 0.15);--ds-advanced-color-shared-background-inverse-disabled: rgba(255, 255, 255, 0.1);--ds-advanced-color-shared-background-inverse-hover: rgba(255, 255, 255, 0.2);--ds-advanced-color-shared-background-muted: #f7f7f7;--ds-advanced-color-shared-background-strong: #7e7e7e;--ds-advanced-color-shared-scrim: rgba(0, 0, 0, 0.5);--ds-advanced-color-shared-text-accent: #2875b5;--ds-advanced-color-skeleton-background: #f7f8fa;--ds-advanced-color-skeleton-wave: #e4e8ec;--ds-advanced-color-state-background-disabled: #dddddd;--ds-advanced-color-state-background-hover: #f2f2f2;--ds-advanced-color-state-background-inverse-disabled: #7e8894;--ds-advanced-color-state-error-inverse: #f9a4a8;--ds-advanced-color-state-focused: #01426a;--ds-advanced-color-state-focused-inverse: #ffffff;--ds-advanced-color-state-selected: #01426a;--ds-advanced-color-state-selected-hover: #00274a;--ds-basic-color-border-bold: #585e67;--ds-basic-color-border-brand: #00274a;--ds-basic-color-border-default: #959595;--ds-basic-color-border-divider: rgba(0, 0, 0, 0.15);--ds-basic-color-border-divider-inverse: rgba(255, 255, 255, 0.4);--ds-basic-color-border-inverse: #ffffff;--ds-basic-color-border-subtle: #dddddd;--ds-basic-color-brand-primary: #01426a;--ds-basic-color-brand-primary-bold: #00274a;--ds-basic-color-brand-primary-muted: #ebf3f9;--ds-basic-color-brand-primary-subtle: #2875b5;--ds-basic-color-brand-secondary: #5de3f7;--ds-basic-color-brand-secondary-bold: #18c3dd;--ds-basic-color-brand-secondary-muted: #ebfafd;--ds-basic-color-brand-secondary-subtle: #b4eff9;--ds-basic-color-brand-tertiary: #a3cd6a;--ds-basic-color-brand-tertiary-bold: #7daf3b;--ds-basic-color-brand-tertiary-muted: #eaf3dd;--ds-basic-color-brand-tertiary-subtle: #c9e1a7;--ds-basic-color-fare-basiceconomy: #97eaf8;--ds-basic-color-fare-business: #01426a;--ds-basic-color-fare-economy: #0074ca;--ds-basic-color-fare-first: #00274a;--ds-basic-color-fare-premiumeconomy: #005154;--ds-basic-color-page-background-default: #ebfafd;--ds-basic-color-page-background-utility: #ffffff;--ds-basic-color-status-default: #afb9c6;--ds-basic-color-status-error: #e31f26;--ds-basic-color-status-error-subtle: #fbc6c6;--ds-basic-color-status-info: #01426a;--ds-basic-color-status-info-subtle: #ebf3f9;--ds-basic-color-status-success: #447a1f;--ds-basic-color-status-success-subtle: #d6eac7;--ds-basic-color-status-warning: #fac200;--ds-basic-color-status-warning-subtle: #fff0b2;--ds-basic-color-surface-accent1: #5de3f7;--ds-basic-color-surface-accent1-muted: #ebfafd;--ds-basic-color-surface-accent1-subtle: #b4eff9;--ds-basic-color-surface-accent2: #a3cd6a;--ds-basic-color-surface-accent2-muted: #eaf3dd;--ds-basic-color-surface-default: #ffffff;--ds-basic-color-surface-inverse: #00274a;--ds-basic-color-surface-inverse-subtle: #2875b5;--ds-basic-color-surface-neutral-medium: #c5c5c5;--ds-basic-color-surface-neutral-subtle: #f7f7f7;--ds-basic-color-texticon-accent1: #265688;--ds-basic-color-texticon-default: #2a2a2a;--ds-basic-color-texticon-disabled: #d0d0d0;--ds-basic-color-texticon-inverse: #ffffff;--ds-basic-color-texticon-inverse-disabled: #7e8894;--ds-basic-color-texticon-inverse-muted: #ccd2db;--ds-basic-color-texticon-muted: #676767;--ds-basic-color-tier-program-loungetier-lounge: #01426a;--ds-basic-color-tier-program-loungetier-loungeplus: #53b390;--ds-basic-color-tier-program-loyaltytier-bronze: #d99f6d;--ds-basic-color-tier-program-loyaltytier-bronze-muted: #eed4be;--ds-basic-color-tier-program-loyaltytier-cobalt: #030772;--ds-basic-color-tier-program-loyaltytier-cobalt-muted: #a9b6d6;--ds-basic-color-tier-program-loyaltytier-copper: #cb7457;--ds-basic-color-tier-program-loyaltytier-copper-muted: #e7bfb1;--ds-basic-color-tier-program-loyaltytier-gold: #fbdc7a;--ds-basic-color-tier-program-loyaltytier-gold-muted: #fdefc4;--ds-basic-color-tier-program-loyaltytier-nickel: #abaab1;--ds-basic-color-tier-program-loyaltytier-nickel-muted: #e5e4e7;--ds-basic-color-tier-program-loyaltytier-platinum: #bcb8a4;--ds-basic-color-tier-program-loyaltytier-platinum-muted: #dad8cd;--ds-basic-color-tier-program-loyaltytier-silver: #e4e9ec;--ds-basic-color-tier-program-loyaltytier-silver-muted: #f9fafb;--ds-basic-color-tier-program-loyaltytier-titanium: #282828;--ds-basic-color-tier-program-loyaltytier-titanium-muted: #545454;--ds-basic-color-tier-program-oneworld-emerald: #139142;--ds-basic-color-tier-program-oneworld-ruby: #a41d4a;--ds-basic-color-tier-program-oneworld-sapphire: #015daa;--ds-basic-type-brand-family-primary: "AS Circular";--ds-basic-type-brand-family-secondary: "Good OT";--ds-basic-type-brand-line-height-primary: "1.3";--ds-basic-type-brand-line-height-secondary: "1";--ds-basic-type-brand-letter-spacing-primary: "0";--ds-basic-type-brand-letter-spacing-secondary: "0.05em";--ds-basic-type-brand-letter-spacing-tertiary: "0.10em";--ds-basic-type-family-accent: "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-family-body: "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-family-display: "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-family-heading: "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-letter-spacing-accent: "0.05em";--ds-basic-type-letter-spacing-accent2: "0.10em";--ds-basic-type-letter-spacing-body: "0";--ds-basic-type-letter-spacing-display: "0";--ds-basic-type-letter-spacing-heading: "0";--ds-basic-type-line-height-accent: "1.3";--ds-basic-type-line-height-accent2: "1";--ds-basic-type-line-height-body: "1.63";--ds-basic-type-line-height-body2: "1.5";--ds-basic-type-line-height-body3: "1.25";--ds-basic-type-line-height-body4: "1";--ds-basic-type-line-height-body5: "0.88";--ds-basic-type-line-height-display: "1.3";--ds-basic-type-line-height-heading: "1.3";--ds-basic-type-weight-accent: "450";--ds-basic-type-weight-accent2: "500";--ds-basic-type-weight-body: "450";--ds-basic-type-weight-display: "300";--ds-basic-type-weight-heading: "300";--ds-basic-type-weight-heading2: "450"}:host([layout*=snowflake]) .leftIndent{margin-left:24px;width:calc(100% - 48px)}:host([layout*=snowflake]) .rightIndent{margin-right:24px;width:calc(100% - 48px)}.layout-snowflake{display:flex;flex-direction:row;align-items:center;justify-content:center}.layout-snowflake label{font-size:var(--ds-text-body-size-xs);line-height:20px}.layout-snowflake input{text-align:center;font-size:18px;line-height:26px}.layout-snowflake .mainContent{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;flex:1}.layout-snowflake .displayValue{position:absolute;top:0;right:0;bottom:0;left:0;display:none}.layout-snowflake .displayValue.hasContent:is(.withValue):not(.hasFocus){display:block}.layout-snowflake .displayValueWrapper{transform:translateY(-50%)}.layout-snowflake.withValue{justify-content:flex-start}.layout-snowflake:not(:focus-within):not(:is([validity]:not([validity=valid]))){--ds-auro-input-border-color: transparent}.layout-snowflake:focus-within{justify-content:flex-start}.layout-snowflake:focus-within .alertNotification{display:none}.layout-snowflake .accents{width:24px}.layout-snowflake .accents.left{padding-left:24px}.layout-snowflake .accents.right{padding-right:24px}.helpTextWrapper{text-align:center}`;
5300
5252
 
5301
5253
  const watchedItems = new Set();
5302
5254
 
@@ -5359,6 +5311,8 @@ const stringsES = {
5359
5311
  'dateMM': 'Ingrese una fecha completa en el formato MM',
5360
5312
  'dateDD': 'Ingrese una fecha completa en el formato DD',
5361
5313
  'clearInput': 'Borrar campo de entrada',
5314
+ 'showPassword': 'Mostrar contraseña',
5315
+ 'hidePassword': 'Ocultar contraseña'
5362
5316
  };
5363
5317
 
5364
5318
  const stringsEN = {
@@ -5383,6 +5337,8 @@ const stringsEN = {
5383
5337
  'dateMM': 'Please enter a complete date in the format MM',
5384
5338
  'dateDD': 'Please enter a complete date in the format DD',
5385
5339
  'clearInput': 'Clear input field',
5340
+ 'showPassword': 'Show password',
5341
+ 'hidePassword': 'Hide password'
5386
5342
  };
5387
5343
 
5388
5344
  /**
@@ -9677,7 +9633,7 @@ const {
9677
9633
 
9678
9634
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
9679
9635
 
9680
- let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
9636
+ let AuroLibraryRuntimeUtils$3$1 = class AuroLibraryRuntimeUtils {
9681
9637
 
9682
9638
  /* eslint-disable jsdoc/require-param */
9683
9639
 
@@ -9747,7 +9703,7 @@ let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
9747
9703
  class AuroFormValidation {
9748
9704
 
9749
9705
  constructor() {
9750
- this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
9706
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$3$1();
9751
9707
  }
9752
9708
 
9753
9709
  /**
@@ -10026,7 +9982,9 @@ class AuroFormValidation {
10026
9982
  elem.validity = this.auroInputElements[0].validity;
10027
9983
  elem.errorMessage = this.auroInputElements[0].errorMessage;
10028
9984
 
10029
- if (elem.validity === 'valid' && this.auroInputElements.length > 1) {
9985
+ // combobox has 2 inputs but no need to check validity on the 2nd one which is in fullscreen bib.
9986
+ // combobox's 2nd input will have noValidate set true.
9987
+ if (elem.validity === 'valid' && this.auroInputElements.length > 1 && !this.auroInputElements[1].noValidate) {
10030
9988
  elem.validity = this.auroInputElements[1].validity;
10031
9989
  elem.errorMessage = this.auroInputElements[1].errorMessage;
10032
9990
  }
@@ -10106,7 +10064,7 @@ class AuroFormValidation {
10106
10064
  }
10107
10065
  }
10108
10066
 
10109
- let AuroElement$1$1 = class AuroElement extends i$2 {
10067
+ let AuroElement$2$1 = class AuroElement extends i$2 {
10110
10068
  static get properties() {
10111
10069
  return {
10112
10070
 
@@ -10141,18 +10099,21 @@ let AuroElement$1$1 = class AuroElement extends i$2 {
10141
10099
  }
10142
10100
 
10143
10101
  resetShapeClasses() {
10144
- if (this.shape && this.size) {
10145
- const wrapper = this.shadowRoot.querySelector('.wrapper');
10102
+ const wrapper = this.shadowRoot.querySelector('.wrapper');
10146
10103
 
10147
- if (wrapper) {
10148
- wrapper.classList.forEach((className) => {
10149
- if (className.startsWith('shape-')) {
10150
- wrapper.classList.remove(className);
10151
- }
10152
- });
10104
+ if (wrapper) {
10105
+ wrapper.classList.forEach((className) => {
10106
+ if (className.startsWith('shape-')) {
10107
+ wrapper.classList.remove(className);
10108
+ }
10109
+ });
10153
10110
 
10154
- wrapper.classList.add(`shape-${this.shape.toLowerCase()}-${this.size.toLowerCase()}`);
10155
- }
10111
+ }
10112
+
10113
+ if (this.shape && this.size) {
10114
+ wrapper.classList.add(`shape-${this.shape.toLowerCase()}-${this.size.toLowerCase()}`);
10115
+ } else {
10116
+ wrapper.classList.add('shape-none');
10156
10117
  }
10157
10118
  }
10158
10119
 
@@ -10210,17 +10171,21 @@ let AuroElement$1$1 = class AuroElement extends i$2 {
10210
10171
  *
10211
10172
  * @slot helptext - Sets the help text displayed below the input.
10212
10173
  * @slot label - Sets the label text for the input.
10174
+ * @slot displayValue - Allows custom HTML content to display in place of the value when the input is not focused.
10213
10175
  *
10214
10176
  * @csspart wrapper - Use for customizing the style of the root element
10215
10177
  * @csspart label - Use for customizing the style of the label element
10216
10178
  * @csspart helpText - Use for customizing the style of the helpText element
10179
+ * @csspart input - Use for customizing the style of the input element
10217
10180
  * @csspart accentIcon - Use for customizing the style of the accentIcon element (e.g. credit card icon, calendar icon)
10218
10181
  * @csspart iconContainer - Use for customizing the style of the iconContainer (e.g. X icon for clearing input value)
10182
+ * @csspart accent-left - Use for customizing the style of the left accent element (e.g. padding, margin)
10183
+ * @csspart accent-right - Use for customizing the style of the right accent element (e.g. padding, margin)
10219
10184
  * @event input - Event fires when the value of an `auro-input` has been changed.
10220
10185
  * @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` value has changed.
10221
10186
  */
10222
10187
 
10223
- class BaseInput extends AuroElement$1$1 {
10188
+ class BaseInput extends AuroElement$2$1 {
10224
10189
 
10225
10190
  constructor() {
10226
10191
  super();
@@ -10313,7 +10278,6 @@ class BaseInput extends AuroElement$1$1 {
10313
10278
  */
10314
10279
  a11yRole: {
10315
10280
  type: String,
10316
- attribute: true,
10317
10281
  reflect: true
10318
10282
  },
10319
10283
 
@@ -10322,7 +10286,6 @@ class BaseInput extends AuroElement$1$1 {
10322
10286
  */
10323
10287
  a11yExpanded: {
10324
10288
  type: Boolean,
10325
- attribute: true,
10326
10289
  reflect: true
10327
10290
  },
10328
10291
 
@@ -10331,7 +10294,6 @@ class BaseInput extends AuroElement$1$1 {
10331
10294
  */
10332
10295
  a11yControls: {
10333
10296
  type: String,
10334
- attribute: true,
10335
10297
  reflect: true
10336
10298
  },
10337
10299
 
@@ -10347,7 +10309,8 @@ class BaseInput extends AuroElement$1$1 {
10347
10309
  * An enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user. [off/none, on/sentences, words, characters].
10348
10310
  */
10349
10311
  autocapitalize: {
10350
- type: String
10312
+ type: String,
10313
+ reflect: true
10351
10314
  },
10352
10315
 
10353
10316
  /**
@@ -10362,7 +10325,8 @@ class BaseInput extends AuroElement$1$1 {
10362
10325
  * When set to `off`, stops iOS from auto-correcting words when typed into a text box.
10363
10326
  */
10364
10327
  autocorrect: {
10365
- type: String
10328
+ type: String,
10329
+ reflect: true
10366
10330
  },
10367
10331
 
10368
10332
  /**
@@ -10407,7 +10371,6 @@ class BaseInput extends AuroElement$1$1 {
10407
10371
  /** Exposes inputmode attribute for input. */
10408
10372
  inputmode: {
10409
10373
  type: String,
10410
- attribute: true,
10411
10374
  reflect: true
10412
10375
  },
10413
10376
 
@@ -10415,7 +10378,8 @@ class BaseInput extends AuroElement$1$1 {
10415
10378
  * Defines the language of an element.
10416
10379
  */
10417
10380
  lang: {
10418
- type: String
10381
+ type: String,
10382
+ reflect: true
10419
10383
  },
10420
10384
 
10421
10385
  /**
@@ -10429,7 +10393,8 @@ class BaseInput extends AuroElement$1$1 {
10429
10393
  * The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher.
10430
10394
  */
10431
10395
  maxLength: {
10432
- type: Number
10396
+ type: Number,
10397
+ reflect: true
10433
10398
  },
10434
10399
 
10435
10400
  /**
@@ -10443,14 +10408,25 @@ class BaseInput extends AuroElement$1$1 {
10443
10408
  * The minimum number of characters the user can enter into the text input. This must be a non-negative integer value smaller than or equal to the value specified by `maxlength`.
10444
10409
  */
10445
10410
  minLength: {
10446
- type: Number
10411
+ type: Number,
10412
+ reflect: true
10447
10413
  },
10448
10414
 
10449
10415
  /**
10450
10416
  * Populates the `name` attribute on the input.
10451
10417
  */
10452
10418
  name: {
10453
- type: String
10419
+ type: String,
10420
+ reflect: true
10421
+ },
10422
+
10423
+ /**
10424
+ * Sets styles for nested operation - removes borders, hides help + error text, and
10425
+ * hides accents.
10426
+ */
10427
+ nested: {
10428
+ type: Boolean,
10429
+ reflect: true
10454
10430
  },
10455
10431
 
10456
10432
  /**
@@ -10481,7 +10457,8 @@ class BaseInput extends AuroElement$1$1 {
10481
10457
  * Define custom placeholder text, only supported by date input formats.
10482
10458
  */
10483
10459
  placeholder: {
10484
- type: String
10460
+ type: String,
10461
+ reflect: true
10485
10462
  },
10486
10463
 
10487
10464
  /**
@@ -10570,6 +10547,14 @@ class BaseInput extends AuroElement$1$1 {
10570
10547
  type: String
10571
10548
  },
10572
10549
 
10550
+ /**
10551
+ * borderless
10552
+ */
10553
+ simple: {
10554
+ type: Boolean,
10555
+ reflect: true
10556
+ },
10557
+
10573
10558
  /**
10574
10559
  * Custom help text message for email type validity.
10575
10560
  */
@@ -10581,7 +10566,8 @@ class BaseInput extends AuroElement$1$1 {
10581
10566
  * An enumerated attribute defines whether the element may be checked for spelling errors. [true, false]. When set to `false` the attribute `autocorrect` is set to `off` and `autocapitalize` is set to `none`.
10582
10567
  */
10583
10568
  spellcheck: {
10584
- type: String
10569
+ type: String,
10570
+ reflect: true
10585
10571
  },
10586
10572
 
10587
10573
  /**
@@ -10596,7 +10582,8 @@ class BaseInput extends AuroElement$1$1 {
10596
10582
  * Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
10597
10583
  */
10598
10584
  value: {
10599
- type: String
10585
+ type: String,
10586
+ reflect: true
10600
10587
  },
10601
10588
 
10602
10589
  /**
@@ -10876,7 +10863,6 @@ class BaseInput extends AuroElement$1$1 {
10876
10863
 
10877
10864
  /**
10878
10865
  * Function to set element focus.
10879
- * @private
10880
10866
  * @return {void}
10881
10867
  */
10882
10868
  focus() {
@@ -11094,8 +11080,7 @@ class BaseInput extends AuroElement$1$1 {
11094
11080
 
11095
11081
  this.requestUpdate();
11096
11082
 
11097
- // console.warn('this.placeholderStr', this.placeholderStr);
11098
- // return this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
11083
+ return this.placeholderStr;
11099
11084
  }
11100
11085
 
11101
11086
  /**
@@ -11308,7 +11293,7 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
11308
11293
  * @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
11309
11294
  */
11310
11295
 
11311
- let AuroElement$3 = class AuroElement extends i$2 {
11296
+ let AuroElement$1$2 = class AuroElement extends i$2 {
11312
11297
 
11313
11298
  // function to define props used within the scope of this component
11314
11299
  static get properties() {
@@ -11364,7 +11349,7 @@ const cacheFetch$2 = (uri, options = {}) => {
11364
11349
  return _fetchMap$2.get(uri);
11365
11350
  };
11366
11351
 
11367
- var styleCss$3$1 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.componentWrapper{display:flex}.svgWrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelWrapper{margin-left:var(--ds-size-50, 0.25rem);line-height:1.8}`;
11352
+ var styleCss$3$2 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.componentWrapper{display:flex}.svgWrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelWrapper{margin-left:var(--ds-size-50, 0.25rem);line-height:1.8}`;
11368
11353
 
11369
11354
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
11370
11355
  // See LICENSE in the project root for license information.
@@ -11376,7 +11361,7 @@ var styleCss$3$1 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}
11376
11361
  */
11377
11362
 
11378
11363
  // build the component class
11379
- let BaseIcon$2 = class BaseIcon extends AuroElement$3 {
11364
+ let BaseIcon$2 = class BaseIcon extends AuroElement$1$2 {
11380
11365
  constructor() {
11381
11366
  super();
11382
11367
  this.onDark = false;
@@ -11407,7 +11392,7 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$3 {
11407
11392
 
11408
11393
  static get styles() {
11409
11394
  return i$5`
11410
- ${styleCss$3$1}
11395
+ ${styleCss$3$2}
11411
11396
  `;
11412
11397
  }
11413
11398
 
@@ -11450,7 +11435,7 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$3 {
11450
11435
 
11451
11436
  var tokensCss$3$1 = i$5`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-alaska-color:#02426D;--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
11452
11437
 
11453
- var colorCss$3$1 = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]){--ds-auro-icon-color:var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]){--ds-auro-icon-color:var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]){--ds-auro-icon-color:var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]){--ds-auro-icon-color:var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]){--ds-auro-icon-color:var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]){--ds-auro-icon-color:var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]){--ds-auro-icon-color:var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]){--ds-auro-icon-color:var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][variant=statusError]){--ds-auro-icon-color:var(--ds-advanced-color-state-error-inverse, #f9a4a8)}`;
11438
+ var colorCss$3$2 = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]){--ds-auro-icon-color:var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]){--ds-auro-icon-color:var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]){--ds-auro-icon-color:var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]){--ds-auro-icon-color:var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]){--ds-auro-icon-color:var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]){--ds-auro-icon-color:var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]){--ds-auro-icon-color:var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]){--ds-auro-icon-color:var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][variant=statusError]){--ds-auro-icon-color:var(--ds-advanced-color-state-error-inverse, #f9a4a8)}`;
11454
11439
 
11455
11440
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
11456
11441
  // See LICENSE in the project root for license information.
@@ -11459,7 +11444,7 @@ var colorCss$3$1 = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]
11459
11444
 
11460
11445
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
11461
11446
 
11462
- let AuroLibraryRuntimeUtils$3$1 = class AuroLibraryRuntimeUtils {
11447
+ let AuroLibraryRuntimeUtils$2$1 = class AuroLibraryRuntimeUtils {
11463
11448
 
11464
11449
  /* eslint-disable jsdoc/require-param */
11465
11450
 
@@ -11541,7 +11526,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
11541
11526
  */
11542
11527
  privateDefaults() {
11543
11528
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
11544
- this.runtimeUtils = new AuroLibraryRuntimeUtils$3$1();
11529
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2$1();
11545
11530
  }
11546
11531
 
11547
11532
  // function to define props used within the scope of this component
@@ -11609,8 +11594,8 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
11609
11594
  return [
11610
11595
  super.styles,
11611
11596
  i$5`${tokensCss$3$1}`,
11612
- i$5`${styleCss$3$1}`,
11613
- i$5`${colorCss$3$1}`
11597
+ i$5`${styleCss$3$2}`,
11598
+ i$5`${colorCss$3$2}`
11614
11599
  ];
11615
11600
  }
11616
11601
 
@@ -11623,7 +11608,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
11623
11608
  *
11624
11609
  */
11625
11610
  static register(name = "auro-icon") {
11626
- AuroLibraryRuntimeUtils$3$1.prototype.registerComponent(name, AuroIcon);
11611
+ AuroLibraryRuntimeUtils$2$1.prototype.registerComponent(name, AuroIcon);
11627
11612
  }
11628
11613
 
11629
11614
  connectedCallback() {
@@ -11644,8 +11629,12 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
11644
11629
  async firstUpdated() {
11645
11630
  await super.firstUpdated();
11646
11631
 
11647
- // Removes the SVG description for screenreader if ariaHidden is set to true
11648
- if (!this.hasAttribute('ariaHidden') && this.svg) {
11632
+ /**
11633
+ * icons provide a description for screen readers. Icon only instances Auro-button
11634
+ * depend on this description to provide context for the user using a screen reader.
11635
+ * Removes the SVG description for screen reader if ariaHidden is set to true.
11636
+ */
11637
+ if (this.hasAttribute('ariaHidden') && this.svg) {
11649
11638
  const svgDesc = this.svg.querySelector('desc');
11650
11639
 
11651
11640
  if (svgDesc) {
@@ -11689,123 +11678,481 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
11689
11678
  }
11690
11679
  };
11691
11680
 
11692
- var iconVersion$2 = '8.0.1';
11693
-
11694
- // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
11695
- // See LICENSE in the project root for license information.
11681
+ var iconVersion$2 = '8.0.4';
11696
11682
 
11683
+ /**
11684
+ * Private module-level WeakMap to hold MutationObservers for each host element.
11685
+ */
11686
+ const _observers$1 = new WeakMap();
11697
11687
 
11698
- let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
11688
+ /**
11689
+ * Private module-level WeakMap to hold attribute matchers and targets for each host element.
11690
+ * Structure: {
11691
+ * host: {
11692
+ * matchers: Set<Function>,
11693
+ * targets: Map<HTMLElement, Map<Function, {removeOriginal: boolean, currentAttributes: Map<string, string>}>>
11694
+ * }
11695
+ * }
11696
+ */
11697
+ const _transportConfig$1 = new WeakMap();
11699
11698
 
11700
- /**
11701
- * Generates a unique string to be used for child auro element naming.
11702
- * @private
11703
- * @param {string} baseName - Defines the first part of the unique element name.
11704
- * @param {string} version - Version of the component that will be appended to the baseName.
11705
- * @returns {string} - Unique string to be used for naming.
11706
- */
11707
- generateElementName(baseName, version) {
11708
- let result = baseName;
11699
+ /**
11700
+ * Transfers all matching attributes from a host element to a target element and observes for future changes.
11701
+ *
11702
+ * @param {Object} params - The parameters for the function.
11703
+ * @param {HTMLElement} params.host - The host element from which attributes will be transported.
11704
+ * @param {HTMLElement} params.target - The target element to which attributes will be transported.
11705
+ * @param {boolean} [params.removeOriginal=true] - Whether to remove the attributes from the host element.
11706
+ * @param {boolean} [params.observe=true] - Whether to attach a MutationObserver to the host element.
11707
+ * @returns {Function} A function to detach the observer when no longer needed.
11708
+ * @throws {TypeError} If the host or target parameters are not instances of HTMLElement.
11709
+ */
11710
+ const transportAttributes$1 = ({ host, target, match, removeOriginal = true }) => {
11711
+ // Guard Clause: Ensure host is valid HTMLElement instance
11712
+ if (typeof host !== 'object' || !(host instanceof HTMLElement)) {
11713
+ throw new TypeError('a11yUtilities.js | transportAttributes | The "host" parameter must be an instance of HTMLElement.');
11714
+ }
11709
11715
 
11710
- result += '-';
11711
- result += version.replace(/[.]/g, '_');
11716
+ // Guard Clause: Ensure target is valid HTMLElement instance
11717
+ if (typeof target !== 'object' || !(target instanceof HTMLElement)) {
11718
+ throw new TypeError('a11yUtilities.js | transportAttributes | The "target" parameter must be an instance of HTMLElement.');
11719
+ }
11712
11720
 
11713
- return result;
11721
+ // Guard Clause: Ensure match is a function
11722
+ if (typeof match !== 'function') {
11723
+ throw new TypeError('a11yUtilities.js | transportAttributes | The "match" parameter must be a function.');
11714
11724
  }
11715
11725
 
11716
- /**
11717
- * Generates a unique string to be used for child auro element naming.
11718
- * @param {string} baseName - Defines the first part of the unique element name.
11719
- * @param {string} version - Version of the component that will be appended to the baseName.
11720
- * @returns {string} - Unique string to be used for naming.
11721
- */
11722
- generateTag(baseName, version, tagClass) {
11723
- const elementName = this.generateElementName(baseName, version);
11724
- const tag = i$1`${s$1(elementName)}`;
11726
+ // Guard Clause: Ensure removeOriginal is a boolean
11727
+ if (typeof removeOriginal !== 'boolean') {
11728
+ throw new TypeError('a11yUtilities.js | transportAttributes | The "removeOriginal" parameter must be a boolean.');
11729
+ }
11730
+
11731
+ // Register this transport and get cleanup function
11732
+ return _registerTransport$1({
11733
+ host,
11734
+ target,
11735
+ matcher: match,
11736
+ removeOriginal
11737
+ });
11738
+ };
11725
11739
 
11726
- if (!customElements.get(elementName)) {
11727
- customElements.define(elementName, class extends tagClass {});
11728
- }
11740
+ /**
11741
+ * Registers a matcher and target for a host element and attaches an observer if needed.
11742
+ *
11743
+ * @param {Object} params - The parameters object.
11744
+ * @param {HTMLElement} params.host - The host element to observe.
11745
+ * @param {HTMLElement} params.target - The target element to receive attributes.
11746
+ * @param {Function} params.matcher - Function that determines which attributes to transport.
11747
+ * @param {boolean} [params.removeOriginal=true] - Whether to remove original attributes.
11748
+ * @param {boolean} [params.observe=true] - Whether to observe for attribute changes.
11749
+ * @returns {Function} Function to detach the specific matcher and target pairing.
11750
+ * @private
11751
+ */
11752
+ const _registerTransport$1 = ({ host, target, matcher, removeOriginal = true }) => {
11753
+ // Initialize config for this host if it doesn't exist
11754
+ if (!_transportConfig$1.has(host)) {
11755
+ _transportConfig$1.set(host, {
11756
+ matchers: new Set(),
11757
+ targets: new Map()
11758
+ });
11759
+ }
11729
11760
 
11730
- return tag;
11761
+ const config = _transportConfig$1.get(host);
11762
+
11763
+ // Add the matcher to the set of matchers for this host
11764
+ config.matchers.add(matcher);
11765
+
11766
+ // Initialize target entry if it doesn't exist
11767
+ if (!config.targets.has(target)) {
11768
+ config.targets.set(target, new Map());
11769
+ }
11770
+
11771
+ // Store the matcher with its removeOriginal setting for this target
11772
+ config.targets.get(target).set(matcher, {
11773
+ removeOriginal,
11774
+ currentAttributes: new Map()
11775
+ });
11776
+
11777
+ // Perform initial attribute transport
11778
+ _transportAttributes$1({ host, target, matcher, removeOriginal });
11779
+
11780
+ // Attach observer
11781
+ _attachObserver$1(host);
11782
+
11783
+ // Return cleanup function and utility functions
11784
+ return {
11785
+ cleanup: () => _cleanupTransport$1(host, target, matcher),
11786
+ getObservedAttributes: () => _getObservedAttributes$1(host, target, matcher),
11787
+ getObservedAttribute: (attr) => _getObservedAttribute$1(host, target, matcher, attr),
11731
11788
  }
11732
11789
  };
11733
11790
 
11734
- // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
11735
- // See LICENSE in the project root for license information.
11736
-
11737
- // ---------------------------------------------------------------------
11791
+ /**
11792
+ * Cleans up resources associated with a specific matcher and target for a host element.
11793
+ *
11794
+ * @param {HTMLElement} host - The host element
11795
+ * @param {HTMLElement} target - The target element
11796
+ * @param {Function} matcher - The matcher function
11797
+ * @private
11798
+ */
11799
+ const _cleanupTransport$1 = (host, target, matcher) => {
11800
+ const config = _transportConfig$1.get(host);
11801
+ if (!config) return;
11802
+
11803
+ // Remove this matcher from this target
11804
+ const targetMatchers = config.targets.get(target);
11805
+ if (targetMatchers) {
11806
+ targetMatchers.delete(matcher);
11807
+
11808
+ // If this target has no more matchers, remove it
11809
+ if (targetMatchers.size === 0) {
11810
+ config.targets.delete(target);
11811
+ }
11812
+ }
11813
+
11814
+ // Check if this matcher is still used by any target
11815
+ let matcherStillUsed = false;
11816
+ for (const matcherMap of config.targets.values()) {
11817
+ if (matcherMap.has(matcher)) {
11818
+ matcherStillUsed = true;
11819
+ break;
11820
+ }
11821
+ }
11822
+
11823
+ // If not used anymore, remove from matchers set
11824
+ if (!matcherStillUsed) {
11825
+ config.matchers.delete(matcher);
11826
+ }
11827
+
11828
+ // If no more targets or matchers, detach observer
11829
+ if (config.targets.size === 0 || config.matchers.size === 0) {
11830
+ _detachObserver$1(host);
11831
+ }
11832
+ };
11738
11833
 
11739
- /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
11834
+ /**
11835
+ * Generic function to transport attributes from a host element to a target element.
11836
+ *
11837
+ * @param {Object} params - The parameters object.
11838
+ * @param {HTMLElement} params.host - The host element from which to transport attributes.
11839
+ * @param {HTMLElement} params.target - The target element to which attributes will be transported.
11840
+ * @param {Function} params.matcher - Function that takes an attribute name and returns true if it should be transported.
11841
+ * @param {boolean} [params.removeOriginal=true] - Whether to remove original attributes from host.
11842
+ * @returns {void}
11843
+ * @private
11844
+ */
11845
+ const _transportAttributes$1 = ({ host, target, matcher, removeOriginal = true }) => {
11846
+ // Get a list of all matching attributes on the host element and their values
11847
+ const matchingAttributes = host.getAttributeNames()
11848
+ .filter(attr => matcher(attr))
11849
+ .reduce((acc, attr) => {
11850
+ acc[attr] = host.getAttribute(attr);
11851
+ return acc;
11852
+ }, {});
11853
+
11854
+ // Move matching attributes to the target element, removing them from the host if removeOriginal is true
11855
+ Object.entries(matchingAttributes).forEach(([key, value]) => {
11856
+ _setObservedAttribute$1(host, target, matcher, key, value);
11857
+ target.setAttribute(key, value);
11858
+ if (removeOriginal) {
11859
+ host.removeAttribute(key);
11860
+ }
11861
+ });
11862
+ };
11740
11863
 
11741
- let AuroLibraryRuntimeUtils$2$1 = class AuroLibraryRuntimeUtils {
11864
+ /**
11865
+ * Attaches a MutationObserver to the host element to monitor attribute changes.
11866
+ *
11867
+ * @param {HTMLElement} host - The element to observe for attribute changes.
11868
+ * @returns {MutationObserver} The observer instance.
11869
+ * @private
11870
+ */
11871
+ const _attachObserver$1 = (host) => {
11872
+ // If an observer for this host already exists, return it
11873
+ if (_observers$1.has(host)) {
11874
+ return _observers$1.get(host);
11875
+ }
11742
11876
 
11743
- /* eslint-disable jsdoc/require-param */
11877
+ // Create a new MutationObserver
11878
+ const observer = new MutationObserver((mutations) => {
11879
+ const config = _transportConfig$1.get(host);
11880
+ if (!config) return;
11881
+
11882
+ // For each mutation affecting attributes
11883
+ mutations
11884
+ .filter(mutation => mutation.type === 'attributes')
11885
+ .forEach(mutation => {
11886
+ const attributeName = mutation.attributeName;
11887
+
11888
+ // Find matchers that care about this attribute
11889
+ for (const matcher of config.matchers) {
11890
+ if (matcher(attributeName)) {
11891
+ // For each target that uses this matcher
11892
+ for (const [target, matcherConfigs] of config.targets.entries()) {
11893
+ if (matcherConfigs.has(matcher)) {
11894
+ const { removeOriginal } = matcherConfigs.get(matcher);
11895
+ _transportAttributes$1({
11896
+ host,
11897
+ target,
11898
+ matcher,
11899
+ removeOriginal
11900
+ });
11901
+ }
11902
+ }
11903
+ }
11904
+ }
11905
+ });
11906
+ });
11907
+
11908
+ // Start observing attribute changes
11909
+ observer.observe(host, { attributes: true });
11910
+
11911
+ // Store the observer
11912
+ _observers$1.set(host, observer);
11913
+
11914
+ return observer;
11915
+ };
11916
+
11917
+ /**
11918
+ * Detaches and cleans up the MutationObserver for a given host element.
11919
+ *
11920
+ * @param {HTMLElement} host - The element whose observer should be detached.
11921
+ * @private
11922
+ */
11923
+ const _detachObserver$1 = (host) => {
11924
+ if (_observers$1.has(host)) {
11925
+ const observer = _observers$1.get(host);
11926
+ observer.disconnect();
11927
+ _observers$1.delete(host);
11928
+ }
11929
+
11930
+ // Clean up the transport config as well
11931
+ if (_transportConfig$1.has(host)) {
11932
+ _transportConfig$1.delete(host);
11933
+ }
11934
+ };
11935
+
11936
+ /**
11937
+ * Gets the matcher configuration for a specific host, target, and matcher
11938
+ * @param {HTMLElement} host - The host element
11939
+ * @param {HTMLElement} target - The target element
11940
+ * @param {Function} matcher - The matcher function
11941
+ * @returns {Object|undefined} The matcher configuration if found
11942
+ * @private
11943
+ */
11944
+ const _getMatcherConfig$1 = (host, target, matcher) => {
11945
+ const config = _transportConfig$1.get(host);
11946
+ if (!config) return undefined;
11947
+
11948
+ const targetMatchers = config.targets.get(target);
11949
+ if (!targetMatchers) return undefined;
11950
+
11951
+ return targetMatchers.get(matcher);
11952
+ };
11953
+
11954
+ /**
11955
+ * Sets an observed attribute value
11956
+ * @param {HTMLElement} host - The host element
11957
+ * @param {HTMLElement} target - The target element
11958
+ * @param {Function} matcher - The matcher function
11959
+ * @param {string} key - The attribute name
11960
+ * @param {string} value - The attribute value
11961
+ * @private
11962
+ */
11963
+ const _setObservedAttribute$1 = (host, target, matcher, key, value) => {
11964
+ const matcherConfig = _getMatcherConfig$1(host, target, matcher);
11965
+ if (matcherConfig) {
11966
+ matcherConfig.currentAttributes.set(key, value);
11967
+ }
11968
+ };
11969
+
11970
+ const _getObservedAttribute$1 = (host, target, matcher, attr) => {
11971
+ const matcherConfig = _getMatcherConfig$1(host, target, matcher);
11972
+ if (matcherConfig) return matcherConfig.currentAttributes.get(attr);
11973
+ return undefined;
11974
+ };
11975
+
11976
+ const _getObservedAttributes$1 = (host, target, matcher) => {
11977
+ const matcherConfig = _getMatcherConfig$1(host, target, matcher);
11978
+ if (matcherConfig) return Array.from(matcherConfig.currentAttributes.entries());
11979
+ return [];
11980
+ };
11981
+
11982
+ const _matchers$1 = {
11983
+ 'aria-': attr => attr.startsWith('aria-'),
11984
+ 'role': attr => attr.match(/^role$/)
11985
+ };
11986
+
11987
+ const transportAllA11yAttributes$1 = ({ host, target, removeOriginal = true }) => {
11988
+ return transportAttributes$1({
11989
+ host,
11990
+ target,
11991
+ match: attr => {
11992
+ for (const key in _matchers$1) {
11993
+ if (_matchers$1[key](attr)) return true;
11994
+ }
11995
+ return false;
11996
+ },
11997
+ removeOriginal
11998
+ });
11999
+ };
12000
+
12001
+ let AuroElement$3 = class AuroElement extends i$2 {
11744
12002
 
11745
12003
  /**
11746
- * This will register a new custom element with the browser.
11747
- * @param {String} name - The name of the custom element.
11748
- * @param {Object} componentClass - The class to register as a custom element.
11749
- * @returns {void}
12004
+ * @type {Object} return object from transportAttributes via a11yUtilities
12005
+ * @property {Function} cleanup - Function to clean up the attribute watcher.
12006
+ * @property {Function} getCurrentAttributes - Function to get the current attributes being watched and their values.
12007
+ * @property {Function} getObservedAttribute - Function to get the value of a specific observed attribute by name.
12008
+ * @private
11750
12009
  */
11751
- registerComponent(name, componentClass) {
11752
- if (!customElements.get(name)) {
11753
- customElements.define(name, class extends componentClass {});
12010
+ attributeWatcher;
12011
+
12012
+ static get properties() {
12013
+ return {
12014
+
12015
+ /**
12016
+ * Defines the layout of an element.
12017
+ * @default {'default'}
12018
+ */
12019
+ layout: {
12020
+ type: String,
12021
+ attribute: "layout",
12022
+ reflect: true
12023
+ },
12024
+
12025
+ /**
12026
+ * Defines the shape of an element.
12027
+ * @property {'default', 'rounded', 'pill', 'circle'}
12028
+ * @default {'default'}
12029
+ */
12030
+ shape: {
12031
+ type: String,
12032
+ attribute: "shape",
12033
+ reflect: true
12034
+ },
12035
+
12036
+ /**
12037
+ * Defines the size of an element.
12038
+ * @property {'xs', 'sm', 'md', 'lg', 'xl'}
12039
+ * @default {'md'}
12040
+ */
12041
+ size: {
12042
+ type: String,
12043
+ attribute: "size",
12044
+ reflect: true
12045
+ },
12046
+
12047
+ /**
12048
+ * This Boolean attribute lets you specify that the element should be rendered in dark mode.
12049
+ * @default {false}
12050
+ */
12051
+ onDark: {
12052
+ type: Boolean,
12053
+ attribute: "ondark",
12054
+ reflect: true
12055
+ },
12056
+
12057
+ /**
12058
+ * A reference to the wrapper element in the shadow DOM.
12059
+ * This is used to apply layout and shape classes dynamically.
12060
+ * @type {HTMLElement|null}
12061
+ * @default {null}
12062
+ * @private
12063
+ */
12064
+ wrapper: {
12065
+ type: HTMLElement,
12066
+ attribute: false,
12067
+ reflect: false
12068
+ }
12069
+ };
12070
+ }
12071
+
12072
+
12073
+
12074
+ resetShapeClasses() {
12075
+ if (this.shape && this.size) {
12076
+
12077
+ if (this.wrapper) {
12078
+ this.wrapper.classList.forEach((className) => {
12079
+ if (className.startsWith('shape-')) {
12080
+ this.wrapper.classList.remove(className);
12081
+ }
12082
+ });
12083
+
12084
+ this.wrapper.classList.add(`shape-${this.shape.toLowerCase()}-${this.size.toLowerCase()}`);
12085
+ }
11754
12086
  }
11755
12087
  }
11756
12088
 
11757
- /**
11758
- * Finds and returns the closest HTML Element based on a selector.
11759
- * @returns {void}
11760
- */
11761
- closestElement(
11762
- selector, // selector like in .closest()
11763
- base = this, // extra functionality to skip a parent
11764
- __Closest = (el, found = el && el.closest(selector)) =>
11765
- !el || el === document || el === window
11766
- ? null // standard .closest() returns null for non-found selectors also
11767
- : found
11768
- ? found // found a selector INside this element
11769
- : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
11770
- ) {
11771
- return __Closest(base);
12089
+ resetLayoutClasses() {
12090
+ if (this.layout) {
12091
+ if (this.wrapper) {
12092
+ this.wrapper.classList.forEach((className) => {
12093
+ if (className.startsWith('layout-')) {
12094
+ this.wrapper.classList.remove(className);
12095
+ }
12096
+ });
12097
+
12098
+ this.wrapper.classList.add(`layout-${this.layout.toLowerCase()}`);
12099
+ }
12100
+ }
11772
12101
  }
11773
- /* eslint-enable jsdoc/require-param */
11774
12102
 
11775
- /**
11776
- * 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.
11777
- * @param {Object} elem - The element to check.
11778
- * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
11779
- * @returns {void}
11780
- */
11781
- handleComponentTagRename(elem, tagName) {
11782
- const tag = tagName.toLowerCase();
11783
- const elemTag = elem.tagName.toLowerCase();
12103
+ updateComponentArchitecture() {
12104
+ this.resetLayoutClasses();
12105
+ this.resetShapeClasses();
12106
+ }
11784
12107
 
11785
- if (elemTag !== tag) {
11786
- elem.setAttribute(tag, true);
12108
+ updated(changedProperties) {
12109
+ if (changedProperties.has('layout') || changedProperties.has('shape') || changedProperties.has('size')) {
12110
+ this.updateComponentArchitecture();
11787
12111
  }
11788
12112
  }
11789
12113
 
11790
- /**
11791
- * Validates if an element is a specific Auro component.
11792
- * @param {Object} elem - The element to validate.
11793
- * @param {String} tagName - The name of the Auro component to check against.
11794
- * @returns {Boolean} - Returns true if the element is the specified Auro component.
11795
- */
11796
- elementMatch(elem, tagName) {
11797
- const tag = tagName.toLowerCase();
11798
- const elemTag = elem.tagName.toLowerCase();
12114
+ firstUpdated() {
12115
+ super.firstUpdated();
11799
12116
 
11800
- return elemTag === tag || elem.hasAttribute(tag);
12117
+ // Set a reference to the wrapper element in the shadow DOM
12118
+ this.wrapper = this.shadowRoot.querySelector('.wrapper');
12119
+
12120
+ // Initialize the transportation of ARIA attributes to the target element and get the disconnect function for cleanup
12121
+ this.attributeWatcher = transportAllA11yAttributes$1({ host: this, target: this.shadowRoot.querySelector('.wrapper') });
12122
+ }
12123
+
12124
+ disconnectedCallback() {
12125
+ super.disconnectedCallback();
12126
+
12127
+ // Cleanup the ARIA observer if it exists
12128
+ if (this.attributeWatcher) {
12129
+ this.attributeWatcher.cleanup();
12130
+ this.attributeWatcher = null;
12131
+ }
12132
+ }
12133
+
12134
+ // Try to render the defined `this.layout` layout. If that fails, fall back to the default layout.
12135
+ // This will catch if an invalid layout value is passed in and render the default layout if so.
12136
+ render() {
12137
+ try {
12138
+ return this.renderLayout();
12139
+ } catch (error) {
12140
+ // failed to get the defined layout
12141
+ console.error('Failed to get the defined layout - using the default layout', error); // eslint-disable-line no-console
12142
+
12143
+ // fallback to the default layout
12144
+ return this.getLayout('default');
12145
+ }
11801
12146
  }
11802
12147
  };
11803
12148
 
11804
- var styleCss$2$2 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}:host([fluid]) .auro-button,:host([fluid=true]) .auro-button{min-width:auto;width:100%}:host([variant=flat]){display:inline-block;height:var(--ds-size-300, 1.5rem);width:var(--ds-size-300, 1.5rem)}:host([variant=flat]) .auro-button{height:100%;width:100%}::slotted(svg){vertical-align:middle}slot{pointer-events:none}.auro-button{position:relative;padding:0 var(--ds-size-300, 1.5rem);cursor:pointer;border-width:1px;border-style:solid;border-radius:var(--ds-border-radius, 0.375rem);font-family:var(--ds-basic-text-body-default-font-family, "AS Circular");font-size:var(--ds-basic-text-body-default-font-size, 16px);font-weight:var(--ds-basic-text-body-default-font-weight, 450);line-height:var(--ds-basic-text-body-default-line-height, 24px);letter-spacing:var(--ds-basic-text-body-default-letter-spacing, 0);overflow:hidden;text-overflow:ellipsis;user-select:none;white-space:nowrap;min-height:var(--ds-size-600, 3rem);max-height:var(--ds-size-600, 3rem);display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--ds-size-100, 0.5rem);margin:0;-webkit-touch-callout:none;-webkit-user-select:none}.auro-button:active{transform:scale(0.95)}.auro-button:focus-visible{outline:none}.auro-button:focus-visible:not([variant=flat]){outline-style:solid;outline-width:var(--ds-size-50, 0.25rem);outline-offset:calc(var(--ds-size-50, 0.25rem)*-1)}.auro-button:focus-visible:not([variant=flat]):not([variant=secondary]):not([variant=tertiary]){outline-width:calc(var(--ds-size-50, 0.25rem) - 1px)}.auro-button.loading{cursor:not-allowed}.auro-button.loading *:not([auro-loader]){visibility:hidden}@media screen and (min-width: 576px){.auro-button{min-width:8.75rem;width:auto}}.auro-button:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=secondary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=flat]{height:unset;width:unset;min-height:unset;max-height:unset;min-width:unset;max-width:unset;border:0;border-radius:unset;gap:unset;padding:unset}.auro-button[onDark]:disabled{cursor:not-allowed;transform:unset}.auro-button[onDark][variant=secondary]:disabled{cursor:not-allowed;transform:unset}@media(hover: hover){.auro-button[onDark][variant=tertiary]:active,.auro-button[onDark][variant=tertiary]:hover{box-shadow:none}}.auro-button[onDark][variant=tertiary]:active{box-shadow:none}.auro-button[onDark][variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button--slim{padding:var(--ds-size-100, 0.5rem) var(--ds-size-200, 1rem);font-family:var(--ds-basic-text-body-sm-font-family, "AS Circular");font-size:var(--ds-basic-text-body-sm-font-size, 14px);font-weight:var(--ds-basic-text-body-sm-font-weight, 450);line-height:var(--ds-basic-text-body-sm-line-height, 20px);letter-spacing:var(--ds-basic-text-body-sm-letter-spacing, 0);min-width:unset;min-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem));max-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem))}.auro-button--iconOnly{padding:0 var(--ds-size-100, 0.5rem);border-radius:100px;min-width:unset;height:var(--ds-size-600, 3rem);width:var(--ds-size-500, 2.5rem)}.auro-button--iconOnly ::slotted(auro-icon),.auro-button--iconOnly ::slotted([auro-icon]){--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}.auro-button--iconOnly:not(.auro-button--rounded):focus-visible:not([variant=secondary]):not([variant=tertiary]):not([variant=flat]){outline-width:1px;outline-offset:-2px}.auro-button--iconOnlySlim{padding:0 var(--ds-size-50, 0.25rem);height:calc(var(--ds-size-400, 2rem) + var(--ds-size-50, 0.25rem));width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-50, 0.25rem))}.auro-button--iconOnlySlim ::slotted(auro-icon),.auro-button--iconOnlySlim ::slotted([auro-icon]){--ds-auro-icon-size:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem))}.auro-button--rounded{border-radius:100px;box-shadow:var(--ds-elevation-300, 0px 0px 15px rgba(0, 0, 0, 0.2));height:var(--ds-size-500, 2.5rem);min-width:unset;transition:all 300ms ease-out,outline 0ms,outline-offset 0ms}.auro-button--rounded ::slotted(auro-icon),.auro-button--rounded ::slotted([auro-icon]){--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}.auro-button--rounded:focus-visible:not([variant=flat]):after{border-radius:100px}:host([rounded]) .textSlot{transition:opacity 300ms ease-in;opacity:1}:host([rounded][iconOnly]) .textSlot{opacity:0}:host([rounded][iconOnly]) .textWrapper{display:none}:host([rounded][iconOnly]) .auro-button{min-width:unset;padding:unset;width:var(--ds-size-600, 3rem)}[auro-loader]{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}`;
12149
+ var styleCss$2$2 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}:host([fluid]) .auro-button,:host([fluid=true]) .auro-button{min-width:auto;width:100%}:host([variant=flat]){display:inline-block}::slotted(svg){vertical-align:middle}slot{pointer-events:none}.auro-button{position:relative;padding:0 var(--ds-size-300, 1.5rem);cursor:pointer;border-width:1px;border-style:solid;border-radius:var(--ds-border-radius, 0.375rem);overflow:hidden;text-overflow:ellipsis;user-select:none;white-space:nowrap;min-height:var(--ds-size-600, 3rem);max-height:var(--ds-size-600, 3rem);display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--ds-size-100, 0.5rem);margin:0;-webkit-touch-callout:none;-webkit-user-select:none;transition:padding 300ms ease-out}.auro-button:active{transform:scale(0.95)}.auro-button:focus-visible,.auro-button:focus{outline:none;outline-style:solid;outline-width:var(--ds-size-50, 0.25rem);outline-offset:calc(var(--ds-size-50, 0.25rem)*-1)}.auro-button:focus-visible:not([variant=secondary]):not([variant=tertiary]),.auro-button:focus:not([variant=secondary]):not([variant=tertiary]){outline-width:calc(var(--ds-size-50, 0.25rem) - 1px)}.auro-button.loading{cursor:not-allowed}.auro-button.loading *:not([auro-loader]){visibility:hidden}@media screen and (min-width: 576px){.auro-button{min-width:8.75rem;width:auto}}.auro-button:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=secondary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=ghost]:disabled{cursor:not-allowed;transform:unset}.auro-button[onDark]:disabled{cursor:not-allowed;transform:unset}.auro-button[onDark][variant=secondary]:disabled{cursor:not-allowed;transform:unset}@media(hover: hover){.auro-button[onDark][variant=tertiary]:active,.auro-button[onDark][variant=tertiary]:hover{box-shadow:none}}.auro-button[onDark][variant=tertiary]:active{box-shadow:none}.auro-button[onDark][variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button.icon-only ::slotted(:not(auro-icon):not([auro-icon])){display:none}.auro-button--slim{min-width:unset;min-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem));max-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem))}.auro-button--iconOnly{padding:0 var(--ds-size-100, 0.5rem);border-radius:100px;min-width:unset;height:var(--ds-size-600, 3rem);width:var(--ds-size-500, 2.5rem)}.auro-button--iconOnly ::slotted(auro-icon),.auro-button--iconOnly ::slotted([auro-icon]){--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}.auro-button--iconOnly:not(.auro-button--rounded):focus-visible:not([variant=secondary]):not([variant=tertiary]):not([variant=flat]),.auro-button--iconOnly:not(.auro-button--rounded):focus:not([variant=secondary]):not([variant=tertiary]):not([variant=flat]){outline-width:1px;outline-offset:-2px}.auro-button--iconOnlySlim{padding:0 var(--ds-size-50, 0.25rem);height:calc(var(--ds-size-400, 2rem) + var(--ds-size-50, 0.25rem));width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-50, 0.25rem))}.auro-button--iconOnlySlim ::slotted(auro-icon),.auro-button--iconOnlySlim ::slotted([auro-icon]){--ds-auro-icon-size:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem))}.auro-button--rounded{border-radius:100px;box-shadow:var(--ds-elevation-300, 0px 0px 15px rgba(0, 0, 0, 0.2));height:var(--ds-size-500, 2.5rem);min-width:unset;transition:padding 300ms ease-out,outline 0ms,outline-offset 0ms}.auro-button--rounded ::slotted(auro-icon),.auro-button--rounded ::slotted([auro-icon]){--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}.auro-button--rounded:focus-visible:not([variant=flat]):after,.auro-button--rounded:focus:not([variant=flat]):after{border-radius:100px}:host([size=xs]) .wrapper:focus-visible,:host([size=xs]) .wrapper:focus{outline-width:1px;outline-offset:-2px}:host([rounded]) .textSlot{transition:opacity 300ms ease-in;opacity:1}:host([rounded][iconOnly]) .textSlot{opacity:0}:host([rounded][iconOnly]) .textWrapper{display:none}:host([rounded][iconOnly]) .auro-button{min-width:unset;padding:unset;width:var(--ds-size-600, 3rem)}[auro-loader]{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}`;
12150
+
12151
+ var colorCss$2$2 = i$5`[auro-loader]{color:var(--ds-auro-button-loader-color)}.auro-button{-webkit-tap-highlight-color:var(--ds-auro-button-tap-color);color:var(--ds-auro-button-text-color);background-color:var(--ds-auro-button-container-color);background-image:linear-gradient(var(--ds-auro-button-container-image), var(--ds-auro-button-container-image));border-color:var(--ds-auro-button-border-color)}.auro-button:not([variant=secondary]):not([variant=tertiary]):focus-visible{outline-color:var(--ds-auro-button-border-inset-color)}.auro-button:not([ondark]):active:not(:disabled),.auro-button:not([ondark]):hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-hover, #00274a);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-hover, #00274a);--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-hover, #00274a)}.auro-button:not([ondark]):disabled{--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-disabled, #acc9e2);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-disabled, #acc9e2);--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-disabled, #acc9e2)}.auro-button:not([ondark])[variant=secondary]{--ds-auro-button-container-color:var(--ds-advanced-color-button-secondary-background, #ffffff);--ds-auro-button-container-image:var(--ds-advanced-color-button-secondary-background, #ffffff);--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border, #01426a);--ds-auro-button-text-color:var(--ds-advanced-color-button-secondary-text, #01426a);--ds-auro-button-loader-color:var(--ds-advanced-color-button-secondary-text, #01426a)}.auro-button:not([ondark])[variant=secondary]:active:not(:disabled),.auro-button:not([ondark])[variant=secondary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-secondary-background-hover, #f2f2f2);--ds-auro-button-container-image:var(--ds-advanced-color-button-secondary-background-hover, #f2f2f2);--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border-hover, #00274a);--ds-auro-button-text-color:var(--ds-advanced-color-button-secondary-text-hover, #00274a)}.auro-button:not([ondark])[variant=secondary]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused, #01426a)}.auro-button:not([ondark])[variant=secondary]:disabled{--ds-auro-button-container-color:var(--ds-advanced-color-button-secondary-background-disabled, #f7f7f7);--ds-auro-button-container-image:var(--ds-advanced-color-button-secondary-background-disabled, #f7f7f7);--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border-disabled, #cfe0ef);--ds-auro-button-text-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}.auro-button:not([ondark])[variant=tertiary]{--ds-auro-button-container-color:var(--ds-advanced-color-button-tertiary-background, rgba(0, 0, 0, 0.05));--ds-auro-button-container-image:var(--ds-advanced-color-button-tertiary-background, rgba(0, 0, 0, 0.05));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-advanced-color-button-tertiary-text, #01426a);--ds-auro-button-loader-color:var(--ds-advanced-color-button-tertiary-text, #01426a)}.auro-button:not([ondark])[variant=tertiary]:active:not(:disabled),.auro-button:not([ondark])[variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-tertiary-background-hover, rgba(0, 0, 0, 0.1));--ds-auro-button-container-image:var(--ds-advanced-color-button-tertiary-background-hover, rgba(0, 0, 0, 0.1));--ds-auro-button-border-color:transparent}.auro-button:not([ondark])[variant=tertiary]:focus-visible{--ds-auro-button-border-color:var(--ds-advanced-color-state-focused, #01426a);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused, #01426a)}.auro-button:not([ondark])[variant=tertiary]:disabled{--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}.auro-button:not([ondark])[variant=ghost]{--ds-auro-button-container-color:transparent;--ds-auro-button-container-image:transparent;--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-advanced-color-button-ghost-text, #01426a);--ds-auro-button-loader-color:var(--ds-advanced-color-button-ghost-text, #01426a)}.auro-button:not([ondark])[variant=ghost]:active:not(:disabled),.auro-button:not([ondark])[variant=ghost]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-ghost-background-hover, rgba(0, 0, 0, 0.05));--ds-auro-button-container-image:var(--ds-advanced-color-button-ghost-background-hover, rgba(0, 0, 0, 0.05));--ds-auro-button-border-color:transparent}.auro-button:not([ondark])[variant=ghost]:focus-visible{--ds-auro-button-border-color:var(--ds-advanced-color-state-focused, #01426a);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused, #01426a)}.auro-button:not([ondark])[variant=ghost]:disabled{--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}.auro-button:not([ondark])[variant=flat]{color:var(--ds-advanced-color-button-flat-text, #676767);background-color:transparent;background-image:none;border-color:transparent}.auro-button:not([ondark])[variant=flat]:active:not(:disabled),.auro-button:not([ondark])[variant=flat]:hover:not(:disabled){color:var(--ds-advanced-color-button-flat-text-hover, #525252);background-color:transparent;background-image:none;border-color:transparent}.auro-button:not([ondark])[variant=flat]:disabled{color:var(--ds-advanced-color-button-flat-text-disabled, #d0d0d0);background-color:transparent;background-image:none;border-color:transparent}.auro-button:not([ondark])[variant=flat]:focus-visible{--ds-auro-button-border-color:var(--ds-advanced-color-state-focused, #01426a);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused, #01426a)}.auro-button[ondark]{--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-inverse, #ffffff);--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-inverse, #ffffff);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-inverse, #ffffff);--ds-auro-button-text-color:var(--ds-advanced-color-button-primary-text-inverse, #01426a);--ds-auro-button-loader-color:var(--ds-advanced-color-button-primary-text-inverse, #01426a)}.auro-button[ondark]:active:not(:disabled),.auro-button[ondark]:hover:not(:disabled){--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-inverse-hover, #ebf3f9);--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-inverse-hover, #ebf3f9);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-inverse-hover, #ebf3f9)}.auro-button[ondark]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused, #01426a)}.auro-button[ondark]:disabled{--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-button-text-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}.auro-button[ondark][variant=secondary]{--ds-auro-button-container-color:transparent;--ds-auro-button-container-image:transparent;--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border-inverse, #ffffff);--ds-auro-button-text-color:var(--ds-advanced-color-button-secondary-text-inverse, #ffffff);--ds-auro-button-loader-color:var(--ds-advanced-color-button-secondary-text-inverse, #ffffff)}.auro-button[ondark][variant=secondary]:active:not(:disabled),.auro-button[ondark][variant=secondary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-secondary-background-inverse-hover, rgba(255, 255, 255, 0.1));--ds-auro-button-container-image:var(--ds-advanced-color-button-secondary-background-inverse-hover, rgba(255, 255, 255, 0.1))}.auro-button[ondark][variant=secondary]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused-inverse, #ffffff)}.auro-button[ondark][variant=secondary]:disabled{--ds-auro-button-text-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border-inverse-disabled, #dddddd)}.auro-button[ondark][variant=tertiary]{--ds-auro-button-container-color:var(--ds-advanced-color-button-tertiary-background-inverse, rgba(255, 255, 255, 0.05));--ds-auro-button-container-image:var(--ds-advanced-color-button-tertiary-background-inverse, rgba(255, 255, 255, 0.05));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-advanced-color-button-tertiary-text-inverse, #ffffff);--ds-auro-button-loader-color:var(--ds-advanced-color-button-tertiary-text-inverse, #ffffff)}.auro-button[ondark][variant=tertiary]:active:not(:disabled),.auro-button[ondark][variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-tertiary-background-inverse-hover, rgba(255, 255, 255, 0.1));--ds-auro-button-container-image:var(--ds-advanced-color-button-tertiary-background-inverse-hover, rgba(255, 255, 255, 0.1))}.auro-button[ondark][variant=tertiary]:focus-visible{--ds-auro-button-border-color:var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused-inverse, #ffffff)}.auro-button[ondark][variant=tertiary]:disabled{--ds-auro-button-text-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}.auro-button[ondark][variant=ghost]{--ds-auro-button-container-color:transparent;--ds-auro-button-container-image:transparent;--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-advanced-color-button-ghost-text-inverse, #ffffff);--ds-auro-button-loader-color:var(--ds-advanced-color-button-ghost-text-inverse, #ffffff)}.auro-button[ondark][variant=ghost]:active:not(:disabled),.auro-button[ondark][variant=ghost]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-ghost-background-inverse-hover, rgba(255, 255, 255, 0.05));--ds-auro-button-container-image:var(--ds-advanced-color-button-ghost-background-inverse-hover, rgba(255, 255, 255, 0.05))}.auro-button[ondark][variant=ghost]:focus-visible{--ds-auro-button-border-color:var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused-inverse, #ffffff)}.auro-button[ondark][variant=ghost]:disabled{--ds-auro-button-text-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}.auro-button[ondark][variant=flat]{color:var(--ds-advanced-color-button-flat-text-inverse, #ffffff);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark][variant=flat]:active:not(:disabled),.auro-button[ondark][variant=flat]:hover:not(:disabled){color:var(--ds-advanced-color-button-flat-text-inverse-hover, #adadad);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark][variant=flat]:disabled{color:var(--ds-advanced-color-button-flat-text-inverse-disabled, #7e8894);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark][variant=flat]:focus-visible{--ds-auro-button-border-color:var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused-inverse, #ffffff)}`;
11805
12152
 
11806
- var colorCss$2$1 = i$5`[auro-loader]{color:var(--ds-auro-button-loader-color)}.auro-button{-webkit-tap-highlight-color:var(--ds-auro-button-tap-color);color:var(--ds-auro-button-text-color);background-color:var(--ds-auro-button-container-color);background-image:linear-gradient(var(--ds-auro-button-container-image), var(--ds-auro-button-container-image));border-color:var(--ds-auro-button-border-color)}.auro-button:not([variant=secondary]):not([variant=tertiary]):focus-visible{outline-color:var(--ds-auro-button-border-inset-color)}.auro-button:not([ondark]):active:not(:disabled),.auro-button:not([ondark]):hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-hover, #00274a);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-hover, #00274a);--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-hover, #00274a)}.auro-button:not([ondark]):disabled{--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-disabled, #acc9e2);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-disabled, #acc9e2);--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-disabled, #acc9e2)}.auro-button:not([ondark])[variant=secondary]{--ds-auro-button-container-color:var(--ds-advanced-color-button-secondary-background, #ffffff);--ds-auro-button-container-image:var(--ds-advanced-color-button-secondary-background, #ffffff);--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border, #01426a);--ds-auro-button-text-color:var(--ds-advanced-color-button-secondary-text, #01426a);--ds-auro-button-loader-color:var(--ds-advanced-color-button-secondary-text, #01426a)}.auro-button:not([ondark])[variant=secondary]:active:not(:disabled),.auro-button:not([ondark])[variant=secondary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-secondary-background-hover, #f2f2f2);--ds-auro-button-container-image:var(--ds-advanced-color-button-secondary-background-hover, #f2f2f2);--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border-hover, #00274a);--ds-auro-button-text-color:var(--ds-advanced-color-button-secondary-text-hover, #00274a)}.auro-button:not([ondark])[variant=secondary]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused, #01426a)}.auro-button:not([ondark])[variant=secondary]:disabled{--ds-auro-button-container-color:var(--ds-advanced-color-button-secondary-background-disabled, #f7f7f7);--ds-auro-button-container-image:var(--ds-advanced-color-button-secondary-background-disabled, #f7f7f7);--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border-disabled, #cfe0ef);--ds-auro-button-text-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}.auro-button:not([ondark])[variant=tertiary]{--ds-auro-button-container-color:var(--ds-advanced-color-button-tertiary-background, rgba(0, 0, 0, 0.05));--ds-auro-button-container-image:var(--ds-advanced-color-button-tertiary-background, rgba(0, 0, 0, 0.05));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-advanced-color-button-tertiary-text, #01426a);--ds-auro-button-loader-color:var(--ds-advanced-color-button-tertiary-text, #01426a)}.auro-button:not([ondark])[variant=tertiary]:active:not(:disabled),.auro-button:not([ondark])[variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-tertiary-background-hover, rgba(0, 0, 0, 0.1));--ds-auro-button-container-image:var(--ds-advanced-color-button-tertiary-background-hover, rgba(0, 0, 0, 0.1));--ds-auro-button-border-color:transparent}.auro-button:not([ondark])[variant=tertiary]:focus-visible{--ds-auro-button-border-color:var(--ds-advanced-color-state-focused, #01426a);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused, #01426a)}.auro-button:not([ondark])[variant=tertiary]:disabled{--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}.auro-button:not([ondark])[variant=flat]{color:var(--ds-advanced-color-button-flat-text, #676767);background-color:transparent;background-image:none;border-color:transparent}.auro-button:not([ondark])[variant=flat]:active:not(:disabled),.auro-button:not([ondark])[variant=flat]:hover:not(:disabled){color:var(--ds-advanced-color-button-flat-text-hover, #525252);background-color:transparent;background-image:none;border-color:transparent}.auro-button:not([ondark])[variant=flat]:disabled{color:var(--ds-advanced-color-button-flat-text-disabled, #d0d0d0);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark]{--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-inverse, #ffffff);--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-inverse, #ffffff);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-inverse, #ffffff);--ds-auro-button-text-color:var(--ds-advanced-color-button-primary-text-inverse, #01426a);--ds-auro-button-loader-color:var(--ds-advanced-color-button-primary-text-inverse, #01426a)}.auro-button[ondark]:active:not(:disabled),.auro-button[ondark]:hover:not(:disabled){--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-inverse-hover, #ebf3f9);--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-inverse-hover, #ebf3f9);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-inverse-hover, #ebf3f9)}.auro-button[ondark]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused, #01426a)}.auro-button[ondark]:disabled{--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-button-text-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}.auro-button[ondark][variant=secondary]{--ds-auro-button-container-color:transparent;--ds-auro-button-container-image:transparent;--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border-inverse, #ffffff);--ds-auro-button-text-color:var(--ds-advanced-color-button-secondary-text-inverse, #ffffff);--ds-auro-button-loader-color:var(--ds-advanced-color-button-secondary-text-inverse, #ffffff)}.auro-button[ondark][variant=secondary]:active:not(:disabled),.auro-button[ondark][variant=secondary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-secondary-background-inverse-hover, rgba(255, 255, 255, 0.1));--ds-auro-button-container-image:var(--ds-advanced-color-button-secondary-background-inverse-hover, rgba(255, 255, 255, 0.1))}.auro-button[ondark][variant=secondary]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused-inverse, #ffffff)}.auro-button[ondark][variant=secondary]:disabled{--ds-auro-button-text-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border-inverse-disabled, #dddddd)}.auro-button[ondark][variant=tertiary]{--ds-auro-button-container-color:var(--ds-advanced-color-button-tertiary-background-inverse, rgba(255, 255, 255, 0.05));--ds-auro-button-container-image:var(--ds-advanced-color-button-tertiary-background-inverse, rgba(255, 255, 255, 0.05));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-advanced-color-button-tertiary-text-inverse, #ffffff);--ds-auro-button-loader-color:var(--ds-advanced-color-button-tertiary-text-inverse, #ffffff)}.auro-button[ondark][variant=tertiary]:active:not(:disabled),.auro-button[ondark][variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-tertiary-background-inverse-hover, rgba(255, 255, 255, 0.1));--ds-auro-button-container-image:var(--ds-advanced-color-button-tertiary-background-inverse-hover, rgba(255, 255, 255, 0.1))}.auro-button[ondark][variant=tertiary]:focus-visible{--ds-auro-button-border-color:var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused-inverse, #ffffff)}.auro-button[ondark][variant=tertiary]:disabled{--ds-auro-button-text-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}.auro-button[ondark][variant=flat]{color:var(--ds-advanced-color-button-flat-text-inverse, #ffffff);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark][variant=flat]:active:not(:disabled),.auro-button[ondark][variant=flat]:hover:not(:disabled){color:var(--ds-advanced-color-button-flat-text-inverse-hover, #adadad);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark][variant=flat]:disabled{color:var(--ds-advanced-color-button-flat-text-inverse-disabled, #7e8894);background-color:transparent;background-image:none;border-color:transparent}`;
12153
+ var tokensCss$2$2 = i$5`:host(:not([onDark])){--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border, #01426a);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background, #01426a);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background, #01426a);--ds-auro-button-loader-color:var(--ds-advanced-color-button-primary-text, #ffffff);--ds-auro-button-text-color:var(--ds-advanced-color-button-primary-text, #ffffff);--ds-auro-button-tap-color:transparent}:host([onDark]){--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-inverse, #ffffff);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-inverse, #ffffff);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-inverse, #ffffff);--ds-auro-button-loader-color:var(--ds-advanced-color-button-primary-text-inverse, #01426a);--ds-auro-button-text-color:var(--ds-advanced-color-button-primary-text-inverse, #01426a);--ds-auro-button-tap-color:transparent}`;
11807
12154
 
11808
- var tokensCss$2$1 = i$5`:host{--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border, #01426a);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background, #01426a);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background, #01426a);--ds-auro-button-loader-color:var(--ds-advanced-color-button-primary-text, #ffffff);--ds-auro-button-text-color:var(--ds-advanced-color-button-primary-text, #ffffff);--ds-auro-button-tap-color:transparent}`;
12155
+ var shapeSize$1 = i$5`.shape-rounded-xl{min-height:68px;max-height:68px;border-style:solid;border-radius:6px;overflow:hidden;font-size:18px}.shape-rounded-lg{min-height:52px;max-height:52px;border-style:solid;border-radius:6px;overflow:hidden;font-size:18px}.shape-rounded-md{min-height:44px;max-height:44px;border-style:solid;border-radius:6px;overflow:hidden;font-size:16px}.shape-rounded-sm{min-height:32px;max-height:32px;border-style:solid;border-radius:6px;overflow:hidden;font-size:14px}.shape-rounded-xs{min-height:20px;max-height:20px;border-style:solid;border-radius:4px;overflow:hidden;font-size:12px;outline-offset:-2px;outline-width:1px}.shape-pill-xl{min-height:68px;max-height:68px;border-style:solid;border-radius:34px;overflow:hidden;font-size:18px}.shape-pill-left-xl{min-height:68px;max-height:68px;border-style:solid;border-radius:34px 0 0 34px;overflow:hidden}.shape-pill-right-xl{min-height:68px;max-height:68px;border-style:solid;border-radius:0 34px 34px 0;overflow:hidden}.shape-pill-lg{min-height:52px;max-height:52px;border-style:solid;border-radius:26px;overflow:hidden;font-size:18px}.shape-pill-left-lg{min-height:52px;max-height:52px;border-style:solid;border-radius:26px 0 0 26px;overflow:hidden}.shape-pill-right-lg{min-height:52px;max-height:52px;border-style:solid;border-radius:0 26px 26px 0;overflow:hidden}.shape-pill-md{min-height:44px;max-height:44px;border-style:solid;border-radius:22px;overflow:hidden}.shape-pill-left-md{min-height:44px;max-height:44px;border-style:solid;border-radius:22px 0 0 22px;overflow:hidden}.shape-pill-right-md{min-height:44px;max-height:44px;border-style:solid;border-radius:0 22px 22px 0;overflow:hidden;font-size:16px}.shape-pill-sm{min-height:32px;max-height:32px;border-style:solid;border-radius:16px;overflow:hidden;font-size:14px}.shape-pill-left-sm{min-height:32px;max-height:32px;border-style:solid;border-radius:16px 0 0 16px;overflow:hidden}.shape-pill-right-sm{min-height:32px;max-height:32px;border-style:solid;border-radius:0 16px 16px 0;overflow:hidden}.shape-pill-xs{min-height:20px;max-height:20px;border-style:solid;border-radius:10px;overflow:hidden;font-size:12px;outline-offset:-2px;outline-width:1px}.shape-pill-left-xs{min-height:20px;max-height:20px;border-style:solid;border-radius:10px 0 0 10px;overflow:hidden;outline-offset:-2px;outline-width:1px}.shape-pill-right-xs{min-height:20px;max-height:20px;border-style:solid;border-radius:0 10px 10px 0;overflow:hidden;outline-offset:-2px;outline-width:1px}.shape-circle-xl{min-height:68px;max-height:68px;min-width:68px;max-width:68px;border-style:solid;border-radius:34px;overflow:hidden;padding:0}.shape-circle-lg{min-height:52px;max-height:52px;min-width:52px;max-width:52px;border-style:solid;border-radius:26px;overflow:hidden;padding:0}.shape-circle-md{min-height:44px;max-height:44px;min-width:44px;max-width:44px;border-style:solid;border-radius:22px;overflow:hidden;padding:0}.shape-circle-sm{min-height:32px;max-height:32px;min-width:32px;max-width:32px;border-style:solid;border-radius:16px;overflow:hidden;padding:0}.shape-circle-xs{min-height:20px;max-height:20px;min-width:20px;max-width:20px;border-style:solid;border-radius:10px;overflow:hidden;padding:0;outline-offset:-2px;outline-width:1px}`;
11809
12156
 
11810
12157
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
11811
12158
  // See LICENSE in the project root for license information.
@@ -11881,13 +12228,13 @@ var styleCss$1$2 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}
11881
12228
 
11882
12229
  var colorCss$1$2 = i$5`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]){--ds-auro-loader-color:var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]){--ds-auro-loader-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color:transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color:currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color:currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}`;
11883
12230
 
11884
- var tokensCss$1$1 = i$5`:host{--ds-auro-loader-background-color:currentcolor;--ds-auro-loader-border-color:currentcolor;--ds-auro-loader-color:currentcolor}`;
12231
+ var tokensCss$1$2 = i$5`:host{--ds-auro-loader-background-color:currentcolor;--ds-auro-loader-border-color:currentcolor;--ds-auro-loader-color:currentcolor}`;
11885
12232
 
11886
12233
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
11887
12234
  // See LICENSE in the project root for license information.
11888
12235
 
11889
12236
 
11890
- class AuroLoader extends i$2 {
12237
+ let AuroLoader$1 = class AuroLoader extends i$2 {
11891
12238
  constructor() {
11892
12239
  super();
11893
12240
 
@@ -11959,7 +12306,7 @@ class AuroLoader extends i$2 {
11959
12306
  return [
11960
12307
  i$5`${styleCss$1$2}`,
11961
12308
  i$5`${colorCss$1$2}`,
11962
- i$5`${tokensCss$1$1}`
12309
+ i$5`${tokensCss$1$2}`
11963
12310
  ];
11964
12311
  }
11965
12312
 
@@ -12020,18 +12367,17 @@ class AuroLoader extends i$2 {
12020
12367
  }
12021
12368
  `;
12022
12369
  }
12023
- }
12370
+ };
12024
12371
 
12025
- var loaderVersion = '5.0.0';
12372
+ var loaderVersion$1 = '5.0.0';
12026
12373
 
12027
- /* eslint-disable max-lines */
12374
+ /* eslint-disable max-lines, curly */
12028
12375
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
12029
12376
  // See LICENSE in the project root for license information.
12030
12377
 
12031
12378
 
12032
12379
  /**
12033
12380
  * @slot - Default slot for the text of the button.
12034
- * @slot icon - Slot to provide auro-icon for the button.
12035
12381
  * @csspart button - Apply CSS to HTML5 button.
12036
12382
  * @csspart loader - Apply CSS to auro-loader.
12037
12383
  * @csspart text - Apply CSS to text slot.
@@ -12040,7 +12386,18 @@ var loaderVersion = '5.0.0';
12040
12386
 
12041
12387
  /* eslint-disable lit/no-invalid-html, lit/binding-positions */
12042
12388
 
12043
- class AuroButton extends i$2 {
12389
+ const ICON_ONLY_SHAPES$1 = ['circle'];
12390
+
12391
+ /**
12392
+ * AuroButton is a custom element that provides a styled, accessible button with support for various states and form association.
12393
+ * It is designed to be flexible, supporting loading states, icon slots, and integration with HTML5 forms.
12394
+ * @property {'default', 'rounded', 'pill', 'circle'} shape - Defines the shape of the button.
12395
+ * @property {'xs', 'sm', 'md', 'lg', 'xl'} size - Defines the size of the button.
12396
+ * @property {'primary', 'secondary', 'tertiary', 'ghost', 'flat'} variant - Sets the button variant.
12397
+ * @property {'submit', 'reset', 'button'} type - The type of button. Matches HTML5 Button Spec.
12398
+ * @property {boolean} onDark - Indicates if the button is rendered in dark mode.
12399
+ */
12400
+ let AuroButton$1 = class AuroButton extends AuroElement$3 {
12044
12401
 
12045
12402
  /**
12046
12403
  * Enables form association for this element.
@@ -12055,13 +12412,10 @@ class AuroButton extends i$2 {
12055
12412
  super();
12056
12413
  this.autofocus = false;
12057
12414
  this.disabled = false;
12058
- this.iconOnly = false;
12059
12415
  this.loading = false;
12416
+ this.size = "md";
12417
+ this.shape = "rounded";
12060
12418
  this.onDark = false;
12061
- this.secondary = false;
12062
- this.tertiary = false;
12063
- this.rounded = false;
12064
- this.slim = false;
12065
12419
  this.fluid = false;
12066
12420
  this.loadingText = this.loadingText || 'Loading...';
12067
12421
 
@@ -12078,55 +12432,50 @@ class AuroButton extends i$2 {
12078
12432
  /**
12079
12433
  * Generate unique names for dependency components.
12080
12434
  */
12081
- const versioning = new AuroDependencyVersioning$2();
12435
+ const versioning = new AuroDependencyVersioning$1();
12082
12436
 
12083
12437
  /**
12084
12438
  * @private
12085
12439
  */
12086
- this.loaderTag = versioning.generateTag('auro-loader', loaderVersion, AuroLoader);
12440
+ this.loaderTag = versioning.generateTag('auro-loader', loaderVersion$1, AuroLoader$1);
12087
12441
  }
12088
12442
 
12089
12443
  static get styles() {
12090
12444
  return [
12091
- tokensCss$2$1,
12445
+ tokensCss$2$2,
12092
12446
  styleCss$2$2,
12093
- colorCss$2$1
12447
+ colorCss$2$2,
12448
+ shapeSize$1
12094
12449
  ];
12095
12450
  }
12096
12451
 
12097
12452
  static get properties() {
12098
12453
  return {
12099
12454
 
12100
- /**
12101
- * This Boolean attribute lets you specify that the button should have input focus when the page loads, unless overridden by the user.
12102
- */
12103
- autofocus: {
12104
- type: Boolean,
12105
- reflect: true
12106
- },
12455
+ ...super.properties,
12107
12456
 
12108
12457
  /**
12109
- * If set to true, button will become disabled and not allow for interactions.
12458
+ * Override layout since it isn't used in this component.
12459
+ * @private
12110
12460
  */
12111
- disabled: {
12461
+ layout: {
12112
12462
  type: Boolean,
12113
- reflect: true
12463
+ attribute: false,
12464
+ reflect: false
12114
12465
  },
12115
12466
 
12116
12467
  /**
12117
- * DEPRECATED.
12118
- * @deprecated
12468
+ * This Boolean attribute lets you specify that the button should have input focus when the page loads, unless overridden by the user.
12119
12469
  */
12120
- secondary: {
12470
+ autofocus: {
12121
12471
  type: Boolean,
12122
12472
  reflect: true
12123
12473
  },
12124
12474
 
12125
12475
  /**
12126
- * DEPRECATED.
12127
- * @deprecated
12476
+ * If set to true, button will become disabled and not allow for interactions.
12128
12477
  */
12129
- tertiary: {
12478
+ disabled: {
12130
12479
  type: Boolean,
12131
12480
  reflect: true
12132
12481
  },
@@ -12134,15 +12483,7 @@ class AuroButton extends i$2 {
12134
12483
  /**
12135
12484
  * Alters the shape of the button to be full width of its parent container.
12136
12485
  */
12137
- fluid: {
12138
- type: Boolean,
12139
- reflect: true
12140
- },
12141
-
12142
- /**
12143
- * If set to true, the button will contain an icon with no additional content.
12144
- */
12145
- iconOnly: {
12486
+ fluid: {
12146
12487
  type: Boolean,
12147
12488
  reflect: true
12148
12489
  },
@@ -12150,7 +12491,7 @@ class AuroButton extends i$2 {
12150
12491
  /**
12151
12492
  * If set to true button text will be replaced with `auro-loader` and become disabled.
12152
12493
  */
12153
- loading: {
12494
+ loading: {
12154
12495
  type: Boolean,
12155
12496
  reflect: true
12156
12497
  },
@@ -12158,34 +12499,10 @@ class AuroButton extends i$2 {
12158
12499
  /**
12159
12500
  * Sets custom loading text for the `aria-label` on a button in loading state. If not set, the default value of "Loading..." will be used.
12160
12501
  */
12161
- loadingText: {
12502
+ loadingText: {
12162
12503
  type: String
12163
12504
  },
12164
12505
 
12165
- /**
12166
- * Set value for on-dark version of auro-button.
12167
- */
12168
- onDark: {
12169
- type: Boolean,
12170
- reflect: true
12171
- },
12172
-
12173
- /**
12174
- * If set to true, the button will have a rounded shape.
12175
- */
12176
- rounded: {
12177
- type: Boolean,
12178
- reflect: true
12179
- },
12180
-
12181
- /**
12182
- * Set value for slim version of auro-button.
12183
- */
12184
- slim: {
12185
- type: Boolean,
12186
- reflect: true
12187
- },
12188
-
12189
12506
  /**
12190
12507
  * Populates `tabIndex` to define the focusable sequence in keyboard navigation.
12191
12508
  */
@@ -12195,75 +12512,37 @@ class AuroButton extends i$2 {
12195
12512
  },
12196
12513
 
12197
12514
  /**
12198
- * Populates the `aria-hidden` attribute to hide the button from a11y API.
12199
- */
12200
- ariahidden: {
12201
- type: String,
12202
- reflect: true,
12203
- },
12204
-
12205
- /**
12206
- * Populates the `aria-label` attribute that is used to define a string that labels the current element.
12207
- * Use it in cases where a text label is not visible on the screen.
12208
- * If there is visible text labeling the element, use `aria-labelledby` instead.
12515
+ * Sets title attribute. The information is most often shown as a tooltip text when the mouse moves over the element.
12209
12516
  */
12210
- arialabel: {
12517
+ title: {
12211
12518
  type: String,
12212
12519
  reflect: true
12213
12520
  },
12214
12521
 
12215
12522
  /**
12216
- * Populates the `aria-labelledby` attribute that establishes relationships between objects and their label(s),
12217
- * and its value should be one or more element IDs, which refer to elements that have the text needed for labeling.
12218
- * List multiple element IDs in a space delimited fashion.
12523
+ * The type of the button. Possible values are: `submit`, `reset`, `button`.
12219
12524
  */
12220
- arialabelledby: {
12525
+ type: {
12221
12526
  type: String,
12222
12527
  reflect: true
12223
12528
  },
12224
12529
 
12225
12530
  /**
12226
- * Populates the `aria-expanded` attribute that indicates whether the element,
12227
- * or another grouping element it controls, is currently expanded or collapsed.
12228
- * This is an optional attribute for buttons.
12229
- */
12230
- ariaexpanded: {
12231
- type: Boolean,
12232
- reflect: true
12233
- },
12234
-
12235
- /**
12236
- * Sets title attribute. The information is most often shown as a tooltip text when the mouse moves over the element.
12531
+ * Defines the value associated with the button which is submitted with the form data.
12237
12532
  */
12238
- title: {
12533
+ value: {
12239
12534
  type: String,
12240
12535
  reflect: true
12241
12536
  },
12242
12537
 
12243
12538
  /**
12244
- * The type of the button. Possible values are: `submit`, `reset`, `button`.
12539
+ * Sets button variant option.
12540
+ * @default primary
12245
12541
  */
12246
- type: {
12542
+ variant: {
12247
12543
  type: String,
12248
12544
  reflect: true
12249
12545
  },
12250
-
12251
- /**
12252
- * Defines the value associated with the button which is submitted with the form data.
12253
- */
12254
- value: {
12255
- type: String,
12256
- reflect: true
12257
- },
12258
-
12259
- /**
12260
- * Sets button variant option. Possible values are: `secondary`, `tertiary`.
12261
- */
12262
- variant: {
12263
- type: String,
12264
- reflect: true
12265
- },
12266
- ready: { type: Boolean },
12267
12546
  };
12268
12547
  }
12269
12548
 
@@ -12276,7 +12555,7 @@ class AuroButton extends i$2 {
12276
12555
  *
12277
12556
  */
12278
12557
  static register(name = "auro-button") {
12279
- AuroLibraryRuntimeUtils$2$1.prototype.registerComponent(name, AuroButton);
12558
+ AuroLibraryRuntimeUtils$3$1.prototype.registerComponent(name, AuroButton);
12280
12559
  }
12281
12560
 
12282
12561
  /**
@@ -12288,17 +12567,6 @@ class AuroButton extends i$2 {
12288
12567
  this.renderRoot.querySelector('button').focus();
12289
12568
  }
12290
12569
 
12291
- updated() {
12292
- // support the old `secondary` and `tertiary` attributes` that are deprecated
12293
- if (this.secondary) {
12294
- this.setAttribute('variant', 'secondary');
12295
- }
12296
-
12297
- if (this.tertiary) {
12298
- this.setAttribute('variant', 'tertiary');
12299
- }
12300
- }
12301
-
12302
12570
  /**
12303
12571
  * Submits the form that this button is associated with.
12304
12572
  * @private
@@ -12319,25 +12587,57 @@ class AuroButton extends i$2 {
12319
12587
  return this.internals ? this.internals.form : null;
12320
12588
  }
12321
12589
 
12322
- render() {
12590
+ /**
12591
+ * @private
12592
+ * @returns {Boolean}
12593
+ */
12594
+ get hideText() {
12595
+ return ICON_ONLY_SHAPES$1.includes(this.shape);
12596
+ }
12597
+
12598
+ /**
12599
+ * Returns the current value of the projected `aria-label` attribute or undefined if not set.
12600
+ * @returns {string | undefined}
12601
+ * @private
12602
+ */
12603
+ get currentAriaLabel() {
12604
+ if (!this.attributeWatcher) return undefined;
12605
+
12606
+ const ariaLabel = this.attributeWatcher.getObservedAttribute("aria-label");
12607
+ return ariaLabel || undefined;
12608
+ }
12609
+
12610
+ /**
12611
+ * Returns the current value of the projected `aria-labelledby` attribute or undefined if not set.
12612
+ * @returns {string | undefined}
12613
+ * @private
12614
+ */
12615
+ get currentAriaLabelledBy() {
12616
+ if (!this.attributeWatcher) return undefined;
12617
+
12618
+ const ariaLabelledBy = this.attributeWatcher.getObservedAttribute("aria-labelledby");
12619
+ return ariaLabelledBy || undefined;
12620
+ }
12621
+
12622
+ /**
12623
+ * Renders the default layout for the button.
12624
+ * @returns {TemplateResult}
12625
+ * @private
12626
+ */
12627
+ renderLayoutDefault() {
12323
12628
  const classes = {
12324
- 'util_insetLg--squish': true,
12325
- 'auro-button': true,
12326
- 'auroButton': true,
12327
- 'auro-button--rounded': this.rounded,
12328
- 'auro-button--slim': this.slim,
12329
- 'auro-button--iconOnly': this.iconOnly,
12330
- 'auro-button--iconOnlySlim': this.iconOnly && this.slim,
12331
- 'loading': this.loading
12629
+ "util_insetLg--squish": true,
12630
+ "auro-button": true,
12631
+ "icon-only": this.hideText,
12632
+ wrapper: true,
12633
+ loading: this.loading,
12332
12634
  };
12333
12635
 
12334
12636
  return u$2`
12335
12637
  <button
12336
12638
  part="button"
12337
- aria-hidden="${o(this.ariahidden || undefined)}"
12338
- aria-label="${o(this.loading ? this.loadingText : this.arialabel || undefined)}"
12339
- aria-labelledby="${o(this.arialabelledby ? this.arialabelledby : undefined)}"
12340
- aria-expanded="${o(this.ariaexpanded)}"
12639
+ aria-label="${o(this.loading ? this.loadingText : this.currentAriaLabel || undefined)}"
12640
+ aria-labelledby="${o(this.loading ? undefined : this.currentAriaLabelledBy || undefined)}"
12341
12641
  tabIndex="${o(this.tIndex)}"
12342
12642
  ?autofocus="${this.autofocus}"
12343
12643
  class="${e(classes)}"
@@ -12354,19 +12654,24 @@ class AuroButton extends i$2 {
12354
12654
 
12355
12655
  <span class="contentWrapper">
12356
12656
  <span class="textSlot" part="text">
12357
- ${this.iconOnly ? undefined : u$2`<slot></slot>`}
12358
- </span>
12359
-
12360
- <span part="icon">
12361
- <slot name="icon"></slot>
12657
+ <slot></slot>
12362
12658
  </span>
12363
12659
  </span>
12364
12660
  </button>
12365
12661
  `;
12366
12662
  }
12367
- }
12368
12663
 
12369
- var buttonVersion = '9.3.0';
12664
+ /**
12665
+ * Renders the layout of the button
12666
+ * @returns {TemplateResult}
12667
+ * @private
12668
+ */
12669
+ renderLayout() {
12670
+ return this.renderLayoutDefault();
12671
+ }
12672
+ };
12673
+
12674
+ var buttonVersion$1 = '11.0.0';
12370
12675
 
12371
12676
  var colorCss$5 = i$5`:host([error]){--ds-auro-helptext-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]){--ds-auro-helptext-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][error]){--ds-auro-helptext-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
12372
12677
 
@@ -12594,7 +12899,7 @@ class AuroInput extends BaseInput {
12594
12899
  /**
12595
12900
  * @private
12596
12901
  */
12597
- this.buttonTag = versioning.generateTag('auro-formkit-input-button', buttonVersion, AuroButton);
12902
+ this.buttonTag = versioning.generateTag('auro-formkit-input-button', buttonVersion$1, AuroButton$1);
12598
12903
 
12599
12904
  /**
12600
12905
  * @private
@@ -12618,7 +12923,7 @@ class AuroInput extends BaseInput {
12618
12923
  i$5`${classicColorCss}`,
12619
12924
  i$5`${shapeSizeCss}`,
12620
12925
  i$5`${colorBaseCss}`,
12621
- i$5`${styleCss$4$1}`,
12926
+ i$5`${styleCss$4$2}`,
12622
12927
  i$5`${styleDefaultCss}`,
12623
12928
  i$5`${tokensCss$4}`,
12624
12929
  i$5`${emphasizedStyleCss}`,
@@ -12634,6 +12939,7 @@ class AuroInput extends BaseInput {
12634
12939
  */
12635
12940
  get commonLabelClasses() {
12636
12941
  return {
12942
+ 'is-disabled': this.disabled,
12637
12943
  'withValue': this.value && this.value.length > 0,
12638
12944
  'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
12639
12945
  };
@@ -12670,11 +12976,23 @@ class AuroInput extends BaseInput {
12670
12976
  get commonWrapperClasses() {
12671
12977
  return {
12672
12978
  'wrapper': true,
12979
+ 'simple': this.simple,
12673
12980
  'withValue': this.value && this.value.length > 0,
12674
12981
  'hasFocus': this.hasFocus
12675
12982
  };
12676
12983
  }
12677
12984
 
12985
+ /**
12986
+ * Returns classmap configuration for accent elements in each layout.
12987
+ * @private
12988
+ * @returns {object} - Returns classmap.
12989
+ */
12990
+ get commonAccentClasses() {
12991
+ return {
12992
+ 'util_displayHidden': false
12993
+ };
12994
+ }
12995
+
12678
12996
  /**
12679
12997
  * Returns classmap configuration for helpText elements in each layout.
12680
12998
  * @private
@@ -12697,7 +13015,7 @@ class AuroInput extends BaseInput {
12697
13015
  *
12698
13016
  */
12699
13017
  static register(name = "auro-input") {
12700
- AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroInput);
13018
+ AuroLibraryRuntimeUtils$3$1.prototype.registerComponent(name, AuroInput);
12701
13019
  }
12702
13020
 
12703
13021
  /**
@@ -12770,28 +13088,33 @@ class AuroInput extends BaseInput {
12770
13088
  : this.commonInputClasses;
12771
13089
 
12772
13090
  return u$2`
12773
- <label for=${this.id} class="${e(this.commonLabelClasses)}" part="label">
13091
+ <label for=${this.inputId} class="${e(this.commonLabelClasses)}" part="label">
12774
13092
  <slot name="label">
12775
13093
  ${this.label}
12776
13094
  </slot>
12777
13095
  </label>
13096
+
13097
+ <!-- Attributes are grouped into: basic attributes, event handlers, ARIA attributes, and input-specific attributes -->
12778
13098
  <input
12779
13099
  @blur="${this.handleBlur}"
12780
13100
  @focusin="${this.handleFocusin}"
12781
13101
  @focusout="${this.handleFocusout}"
12782
13102
  @input="${this.handleInput}"
13103
+ .placeholder=${this.placeholderStr}
13104
+ .role=${this.a11yRole}
12783
13105
  ?activeLabel="${this.activeLabel}"
12784
13106
  ?disabled="${this.disabled}"
12785
13107
  ?required="${this.required}"
12786
- .placeholder=${this.placeholderStr}
13108
+ aria-controls=${o(this.a11yControls)}
12787
13109
  aria-describedby="${this.uniqueId}"
13110
+ aria-expanded=${o(this.a11yExpanded)}
12788
13111
  aria-invalid="${this.validity !== 'valid'}"
12789
- autocapitalize="${o(this.autocapitalize ? this.autocapitalize : undefined)}"
12790
13112
  autocomplete="${o(this.autocomplete ? this.autocomplete : undefined)}"
13113
+ autocapitalize="${o(this.autocapitalize ? this.autocapitalize : undefined)}"
12791
13114
  autocorrect="${o(this.autocorrect ? this.autocorrect : undefined)}"
12792
13115
  class="${e(inputOverrideClasses)}"
12793
13116
  id="${this.inputId}"
12794
- inputMode="${o(this.inputMode ? this.inputMode : undefined)}"
13117
+ inputmode="${o(this.inputmode ? this.inputmode : undefined)}"
12795
13118
  lang="${o(this.lang)}"
12796
13119
  maxlength="${o(this.maxLength ? this.maxLength : undefined)}"
12797
13120
  minlength="${o(this.minLength ? this.minLength : undefined)}"
@@ -12799,7 +13122,8 @@ class AuroInput extends BaseInput {
12799
13122
  part="input"
12800
13123
  pattern="${o(this.definePattern())}"
12801
13124
  spellcheck="${o(this.spellcheck ? this.spellcheck : undefined)}"
12802
- type="${this.type === 'password' && this.showPassword ? 'text' : this.getInputType(this.type)}" />
13125
+ type="${this.type === "password" && this.showPassword ? "text" : this.getInputType(this.type)}"
13126
+ />
12803
13127
  <div class="${e(displayValueClasses)}" aria-hidden="true" part="displayValue">
12804
13128
  <div class="displayValueWrapper">
12805
13129
  <slot name="displayValue" @slotchange=${this.checkDisplayValueSlotChange}></slot>
@@ -12821,11 +13145,12 @@ class AuroInput extends BaseInput {
12821
13145
  ?onDark="${this.onDark}"
12822
13146
  aria-label="${i18n(this.lang, 'clearInput')}"
12823
13147
  class="notificationBtn clearBtn"
12824
- tabindex="-1"
12825
- variant="flat">
13148
+ shape="circle"
13149
+ size="sm"
13150
+ variant="ghost">
12826
13151
  <${this.iconTag}
13152
+ ?customColor="${this.onDark}"
12827
13153
  category="interface"
12828
- customColor
12829
13154
  name="x-lg"
12830
13155
  >
12831
13156
  </${this.iconTag}>
@@ -12843,22 +13168,23 @@ class AuroInput extends BaseInput {
12843
13168
  return u$2`
12844
13169
  <div class="notification">
12845
13170
  <${this.buttonTag}
12846
- @click="${this.handleClickShowPassword}
13171
+ @click="${this.handleClickShowPassword}"
12847
13172
  ?onDark="${this.onDark}"
12848
- aria-hidden="true"
12849
13173
  class="notificationBtn passwordBtn"
12850
- tabindex="-1"
12851
- variant="flat">
13174
+ aria-label="${this.showPassword ? i18n(this.lang, "hidePassword") : i18n(this.lang, "showPassword")}"
13175
+ shape="circle"
13176
+ size="sm"
13177
+ variant="ghost">
12852
13178
  <${this.iconTag}
13179
+ ?customColor="${this.onDark}"
12853
13180
  ?hidden=${!this.showPassword}
12854
13181
  category="interface"
12855
- customColor
12856
13182
  name="hide-password-stroke">
12857
13183
  </${this.iconTag}>
12858
13184
  <${this.iconTag}
13185
+ ?customColor="${this.onDark}"
12859
13186
  ?hidden=${this.showPassword}
12860
13187
  category="interface"
12861
- customColor
12862
13188
  name="view-password-stroke">
12863
13189
  </${this.iconTag}>
12864
13190
  </${this.buttonTag}>
@@ -12938,19 +13264,25 @@ class AuroInput extends BaseInput {
12938
13264
  * @returns {import("lit").TemplateResult} - Returns HTML for the classic layout.
12939
13265
  */
12940
13266
  renderLayoutClassic() {
13267
+ const classicClassMap = {
13268
+ ...this.commonWrapperClasses,
13269
+ 'thin': !this.simple
13270
+ };
13271
+
12941
13272
  return u$2`
12942
13273
  <div
12943
13274
  @click="${this.handleClick}"
12944
- class="${e(this.commonWrapperClasses)} thin"
13275
+ class="${e(classicClassMap)}"
12945
13276
  part="wrapper">
12946
- <div class="accents left">
13277
+ <div part="accent-left" class="accents left ${e(this.commonAccentClasses)}">
12947
13278
  ${this.renderHtmlTypeIcon()}
12948
13279
  </div>
12949
13280
  <div class="mainContent">
12950
13281
  ${this.renderHtmlInput(true)}
12951
13282
  </div>
12952
- <div class="accents right">
13283
+ <div part="accent-right" class="accents right ${e(this.commonAccentClasses)}">
12953
13284
  ${this.renderValidationErrorIconHtml()}
13285
+ ${this.hasValue && this.type === 'password' ? this.renderHtmlNotificationPassword() : undefined}
12954
13286
  ${this.hasValue ? u$2`
12955
13287
  ${!this.disabled && !this.readonly ? u$2`
12956
13288
  ${this.renderHtmlActionClear()}
@@ -12975,7 +13307,7 @@ class AuroInput extends BaseInput {
12975
13307
  @click="${this.handleClick}"
12976
13308
  class="${e(this.commonWrapperClasses)}"
12977
13309
  part="wrapper">
12978
- <div class="accents left">
13310
+ <div class="accents left ${this.commonAccentClasses}">
12979
13311
  ${this.layout.includes('left') ? u$2`
12980
13312
  ${this.renderValidationErrorIconHtml()}
12981
13313
  ` : undefined}
@@ -12983,7 +13315,7 @@ class AuroInput extends BaseInput {
12983
13315
  <div class="mainContent">
12984
13316
  ${this.renderHtmlInput()}
12985
13317
  </div>
12986
- <div class="accents right">
13318
+ <div class="accents right ${this.commonAccentClasses}">
12987
13319
  ${this.layout.includes('right') || this.layout === "emphasized" ? u$2`
12988
13320
  ${this.renderValidationErrorIconHtml()}
12989
13321
  ` : undefined}
@@ -13062,9 +13394,9 @@ class AuroInput extends BaseInput {
13062
13394
 
13063
13395
  var inputVersion = '4.2.0';
13064
13396
 
13065
- var colorCss$1$1 = i$5`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
13397
+ var colorCss$3$1 = i$5`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
13066
13398
 
13067
- var styleCss$2$1 = i$5`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column}#header{display:flex;width:100%;min-height:var(--ds-size-1000, 5rem);box-sizing:border-box;align-items:end;padding-top:var(--ds-size-400, 2rem);padding-right:var(--ds-size-700, 3.5rem);padding-left:var(--ds-size-200, 1rem);pointer-events:none}#subheader{width:100%}#subheader ::slotted([auro-input]){padding:0 var(--ds-size-200, 1rem)}#closeButton{position:absolute;top:var(--ds-size-400, 2rem);right:var(--ds-size-200, 1rem);border:none;background-color:transparent;cursor:pointer}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, 2.5rem)}#bodyContainer{position:relative;overflow:auto;flex:1 1 100%}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{position:absolute;right:0;bottom:0;left:0;padding:var(--ds-size-200, 1rem)}`;
13399
+ var styleCss$4$1 = i$5`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column}#header{display:flex;width:100%;min-height:var(--ds-size-1000, 5rem);box-sizing:border-box;align-items:end;padding-top:var(--ds-size-400, 2rem);padding-right:var(--ds-size-700, 3.5rem);padding-left:var(--ds-size-200, 1rem);pointer-events:none}#subheader{width:100%}#subheader ::slotted([auro-input]){box-sizing:border-box;padding:0 var(--ds-size-200, 1rem)}#closeButton{position:absolute;top:var(--ds-size-400, 2rem);right:var(--ds-size-200, 1rem);border:none;background-color:transparent;cursor:pointer}#bodyContainer{position:relative;overflow:auto;flex:1 1 100%}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{position:absolute;right:0;bottom:0;left:0;padding:var(--ds-size-200, 1rem)}`;
13068
13400
 
13069
13401
  var tokenCss = i$5`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-footer-container-color: var(--ds-basic-color-surface-default, #ffffff)}`;
13070
13402
 
@@ -13075,109 +13407,1102 @@ var tokenCss = i$5`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
13075
13407
 
13076
13408
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
13077
13409
 
13078
- let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
13410
+ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
13079
13411
 
13080
13412
  /* eslint-disable jsdoc/require-param */
13081
13413
 
13082
13414
  /**
13083
- * This will register a new custom element with the browser.
13084
- * @param {String} name - The name of the custom element.
13085
- * @param {Object} componentClass - The class to register as a custom element.
13086
- * @returns {void}
13415
+ * This will register a new custom element with the browser.
13416
+ * @param {String} name - The name of the custom element.
13417
+ * @param {Object} componentClass - The class to register as a custom element.
13418
+ * @returns {void}
13419
+ */
13420
+ registerComponent(name, componentClass) {
13421
+ if (!customElements.get(name)) {
13422
+ customElements.define(name, class extends componentClass {});
13423
+ }
13424
+ }
13425
+
13426
+ /**
13427
+ * Finds and returns the closest HTML Element based on a selector.
13428
+ * @returns {void}
13429
+ */
13430
+ closestElement(
13431
+ selector, // selector like in .closest()
13432
+ base = this, // extra functionality to skip a parent
13433
+ __Closest = (el, found = el && el.closest(selector)) =>
13434
+ !el || el === document || el === window
13435
+ ? null // standard .closest() returns null for non-found selectors also
13436
+ : found
13437
+ ? found // found a selector INside this element
13438
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
13439
+ ) {
13440
+ return __Closest(base);
13441
+ }
13442
+ /* eslint-enable jsdoc/require-param */
13443
+
13444
+ /**
13445
+ * 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.
13446
+ * @param {Object} elem - The element to check.
13447
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
13448
+ * @returns {void}
13449
+ */
13450
+ handleComponentTagRename(elem, tagName) {
13451
+ const tag = tagName.toLowerCase();
13452
+ const elemTag = elem.tagName.toLowerCase();
13453
+
13454
+ if (elemTag !== tag) {
13455
+ elem.setAttribute(tag, true);
13456
+ }
13457
+ }
13458
+
13459
+ /**
13460
+ * Validates if an element is a specific Auro component.
13461
+ * @param {Object} elem - The element to validate.
13462
+ * @param {String} tagName - The name of the Auro component to check against.
13463
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
13464
+ */
13465
+ elementMatch(elem, tagName) {
13466
+ const tag = tagName.toLowerCase();
13467
+ const elemTag = elem.tagName.toLowerCase();
13468
+
13469
+ return elemTag === tag || elem.hasAttribute(tag);
13470
+ }
13471
+ };
13472
+
13473
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
13474
+ // See LICENSE in the project root for license information.
13475
+
13476
+
13477
+ class AuroDependencyVersioning {
13478
+
13479
+ /**
13480
+ * Generates a unique string to be used for child auro element naming.
13481
+ * @private
13482
+ * @param {string} baseName - Defines the first part of the unique element name.
13483
+ * @param {string} version - Version of the component that will be appended to the baseName.
13484
+ * @returns {string} - Unique string to be used for naming.
13485
+ */
13486
+ generateElementName(baseName, version) {
13487
+ let result = baseName;
13488
+
13489
+ result += '-';
13490
+ result += version.replace(/[.]/g, '_');
13491
+
13492
+ return result;
13493
+ }
13494
+
13495
+ /**
13496
+ * Generates a unique string to be used for child auro element naming.
13497
+ * @param {string} baseName - Defines the first part of the unique element name.
13498
+ * @param {string} version - Version of the component that will be appended to the baseName.
13499
+ * @returns {string} - Unique string to be used for naming.
13500
+ */
13501
+ generateTag(baseName, version, tagClass) {
13502
+ const elementName = this.generateElementName(baseName, version);
13503
+ const tag = i$1`${s$1(elementName)}`;
13504
+
13505
+ if (!customElements.get(elementName)) {
13506
+ customElements.define(elementName, class extends tagClass {});
13507
+ }
13508
+
13509
+ return tag;
13510
+ }
13511
+ }
13512
+
13513
+ /**
13514
+ * Private module-level WeakMap to hold MutationObservers for each host element.
13515
+ */
13516
+ const _observers = new WeakMap();
13517
+
13518
+ /**
13519
+ * Private module-level WeakMap to hold attribute matchers and targets for each host element.
13520
+ * Structure: {
13521
+ * host: {
13522
+ * matchers: Set<Function>,
13523
+ * targets: Map<HTMLElement, Map<Function, {removeOriginal: boolean, currentAttributes: Map<string, string>}>>
13524
+ * }
13525
+ * }
13526
+ */
13527
+ const _transportConfig = new WeakMap();
13528
+
13529
+ /**
13530
+ * Transfers all matching attributes from a host element to a target element and observes for future changes.
13531
+ *
13532
+ * @param {Object} params - The parameters for the function.
13533
+ * @param {HTMLElement} params.host - The host element from which attributes will be transported.
13534
+ * @param {HTMLElement} params.target - The target element to which attributes will be transported.
13535
+ * @param {boolean} [params.removeOriginal=true] - Whether to remove the attributes from the host element.
13536
+ * @param {boolean} [params.observe=true] - Whether to attach a MutationObserver to the host element.
13537
+ * @returns {Function} A function to detach the observer when no longer needed.
13538
+ * @throws {TypeError} If the host or target parameters are not instances of HTMLElement.
13539
+ */
13540
+ const transportAttributes = ({ host, target, match, removeOriginal = true }) => {
13541
+ // Guard Clause: Ensure host is valid HTMLElement instance
13542
+ if (typeof host !== 'object' || !(host instanceof HTMLElement)) {
13543
+ throw new TypeError('a11yUtilities.js | transportAttributes | The "host" parameter must be an instance of HTMLElement.');
13544
+ }
13545
+
13546
+ // Guard Clause: Ensure target is valid HTMLElement instance
13547
+ if (typeof target !== 'object' || !(target instanceof HTMLElement)) {
13548
+ throw new TypeError('a11yUtilities.js | transportAttributes | The "target" parameter must be an instance of HTMLElement.');
13549
+ }
13550
+
13551
+ // Guard Clause: Ensure match is a function
13552
+ if (typeof match !== 'function') {
13553
+ throw new TypeError('a11yUtilities.js | transportAttributes | The "match" parameter must be a function.');
13554
+ }
13555
+
13556
+ // Guard Clause: Ensure removeOriginal is a boolean
13557
+ if (typeof removeOriginal !== 'boolean') {
13558
+ throw new TypeError('a11yUtilities.js | transportAttributes | The "removeOriginal" parameter must be a boolean.');
13559
+ }
13560
+
13561
+ // Register this transport and get cleanup function
13562
+ return _registerTransport({
13563
+ host,
13564
+ target,
13565
+ matcher: match,
13566
+ removeOriginal
13567
+ });
13568
+ };
13569
+
13570
+ /**
13571
+ * Registers a matcher and target for a host element and attaches an observer if needed.
13572
+ *
13573
+ * @param {Object} params - The parameters object.
13574
+ * @param {HTMLElement} params.host - The host element to observe.
13575
+ * @param {HTMLElement} params.target - The target element to receive attributes.
13576
+ * @param {Function} params.matcher - Function that determines which attributes to transport.
13577
+ * @param {boolean} [params.removeOriginal=true] - Whether to remove original attributes.
13578
+ * @param {boolean} [params.observe=true] - Whether to observe for attribute changes.
13579
+ * @returns {Function} Function to detach the specific matcher and target pairing.
13580
+ * @private
13581
+ */
13582
+ const _registerTransport = ({ host, target, matcher, removeOriginal = true }) => {
13583
+ // Initialize config for this host if it doesn't exist
13584
+ if (!_transportConfig.has(host)) {
13585
+ _transportConfig.set(host, {
13586
+ matchers: new Set(),
13587
+ targets: new Map()
13588
+ });
13589
+ }
13590
+
13591
+ const config = _transportConfig.get(host);
13592
+
13593
+ // Add the matcher to the set of matchers for this host
13594
+ config.matchers.add(matcher);
13595
+
13596
+ // Initialize target entry if it doesn't exist
13597
+ if (!config.targets.has(target)) {
13598
+ config.targets.set(target, new Map());
13599
+ }
13600
+
13601
+ // Store the matcher with its removeOriginal setting for this target
13602
+ config.targets.get(target).set(matcher, {
13603
+ removeOriginal,
13604
+ currentAttributes: new Map()
13605
+ });
13606
+
13607
+ // Perform initial attribute transport
13608
+ _transportAttributes({ host, target, matcher, removeOriginal });
13609
+
13610
+ // Attach observer
13611
+ _attachObserver(host);
13612
+
13613
+ // Return cleanup function and utility functions
13614
+ return {
13615
+ cleanup: () => _cleanupTransport(host, target, matcher),
13616
+ getObservedAttributes: () => _getObservedAttributes(host, target, matcher),
13617
+ getObservedAttribute: (attr) => _getObservedAttribute(host, target, matcher, attr),
13618
+ }
13619
+ };
13620
+
13621
+ /**
13622
+ * Cleans up resources associated with a specific matcher and target for a host element.
13623
+ *
13624
+ * @param {HTMLElement} host - The host element
13625
+ * @param {HTMLElement} target - The target element
13626
+ * @param {Function} matcher - The matcher function
13627
+ * @private
13628
+ */
13629
+ const _cleanupTransport = (host, target, matcher) => {
13630
+ const config = _transportConfig.get(host);
13631
+ if (!config) return;
13632
+
13633
+ // Remove this matcher from this target
13634
+ const targetMatchers = config.targets.get(target);
13635
+ if (targetMatchers) {
13636
+ targetMatchers.delete(matcher);
13637
+
13638
+ // If this target has no more matchers, remove it
13639
+ if (targetMatchers.size === 0) {
13640
+ config.targets.delete(target);
13641
+ }
13642
+ }
13643
+
13644
+ // Check if this matcher is still used by any target
13645
+ let matcherStillUsed = false;
13646
+ for (const matcherMap of config.targets.values()) {
13647
+ if (matcherMap.has(matcher)) {
13648
+ matcherStillUsed = true;
13649
+ break;
13650
+ }
13651
+ }
13652
+
13653
+ // If not used anymore, remove from matchers set
13654
+ if (!matcherStillUsed) {
13655
+ config.matchers.delete(matcher);
13656
+ }
13657
+
13658
+ // If no more targets or matchers, detach observer
13659
+ if (config.targets.size === 0 || config.matchers.size === 0) {
13660
+ _detachObserver(host);
13661
+ }
13662
+ };
13663
+
13664
+ /**
13665
+ * Generic function to transport attributes from a host element to a target element.
13666
+ *
13667
+ * @param {Object} params - The parameters object.
13668
+ * @param {HTMLElement} params.host - The host element from which to transport attributes.
13669
+ * @param {HTMLElement} params.target - The target element to which attributes will be transported.
13670
+ * @param {Function} params.matcher - Function that takes an attribute name and returns true if it should be transported.
13671
+ * @param {boolean} [params.removeOriginal=true] - Whether to remove original attributes from host.
13672
+ * @returns {void}
13673
+ * @private
13674
+ */
13675
+ const _transportAttributes = ({ host, target, matcher, removeOriginal = true }) => {
13676
+ // Get a list of all matching attributes on the host element and their values
13677
+ const matchingAttributes = host.getAttributeNames()
13678
+ .filter(attr => matcher(attr))
13679
+ .reduce((acc, attr) => {
13680
+ acc[attr] = host.getAttribute(attr);
13681
+ return acc;
13682
+ }, {});
13683
+
13684
+ // Move matching attributes to the target element, removing them from the host if removeOriginal is true
13685
+ Object.entries(matchingAttributes).forEach(([key, value]) => {
13686
+ _setObservedAttribute(host, target, matcher, key, value);
13687
+ target.setAttribute(key, value);
13688
+ if (removeOriginal) {
13689
+ host.removeAttribute(key);
13690
+ }
13691
+ });
13692
+ };
13693
+
13694
+ /**
13695
+ * Attaches a MutationObserver to the host element to monitor attribute changes.
13696
+ *
13697
+ * @param {HTMLElement} host - The element to observe for attribute changes.
13698
+ * @returns {MutationObserver} The observer instance.
13699
+ * @private
13700
+ */
13701
+ const _attachObserver = (host) => {
13702
+ // If an observer for this host already exists, return it
13703
+ if (_observers.has(host)) {
13704
+ return _observers.get(host);
13705
+ }
13706
+
13707
+ // Create a new MutationObserver
13708
+ const observer = new MutationObserver((mutations) => {
13709
+ const config = _transportConfig.get(host);
13710
+ if (!config) return;
13711
+
13712
+ // For each mutation affecting attributes
13713
+ mutations
13714
+ .filter(mutation => mutation.type === 'attributes')
13715
+ .forEach(mutation => {
13716
+ const attributeName = mutation.attributeName;
13717
+
13718
+ // Find matchers that care about this attribute
13719
+ for (const matcher of config.matchers) {
13720
+ if (matcher(attributeName)) {
13721
+ // For each target that uses this matcher
13722
+ for (const [target, matcherConfigs] of config.targets.entries()) {
13723
+ if (matcherConfigs.has(matcher)) {
13724
+ const { removeOriginal } = matcherConfigs.get(matcher);
13725
+ _transportAttributes({
13726
+ host,
13727
+ target,
13728
+ matcher,
13729
+ removeOriginal
13730
+ });
13731
+ }
13732
+ }
13733
+ }
13734
+ }
13735
+ });
13736
+ });
13737
+
13738
+ // Start observing attribute changes
13739
+ observer.observe(host, { attributes: true });
13740
+
13741
+ // Store the observer
13742
+ _observers.set(host, observer);
13743
+
13744
+ return observer;
13745
+ };
13746
+
13747
+ /**
13748
+ * Detaches and cleans up the MutationObserver for a given host element.
13749
+ *
13750
+ * @param {HTMLElement} host - The element whose observer should be detached.
13751
+ * @private
13752
+ */
13753
+ const _detachObserver = (host) => {
13754
+ if (_observers.has(host)) {
13755
+ const observer = _observers.get(host);
13756
+ observer.disconnect();
13757
+ _observers.delete(host);
13758
+ }
13759
+
13760
+ // Clean up the transport config as well
13761
+ if (_transportConfig.has(host)) {
13762
+ _transportConfig.delete(host);
13763
+ }
13764
+ };
13765
+
13766
+ /**
13767
+ * Gets the matcher configuration for a specific host, target, and matcher
13768
+ * @param {HTMLElement} host - The host element
13769
+ * @param {HTMLElement} target - The target element
13770
+ * @param {Function} matcher - The matcher function
13771
+ * @returns {Object|undefined} The matcher configuration if found
13772
+ * @private
13773
+ */
13774
+ const _getMatcherConfig = (host, target, matcher) => {
13775
+ const config = _transportConfig.get(host);
13776
+ if (!config) return undefined;
13777
+
13778
+ const targetMatchers = config.targets.get(target);
13779
+ if (!targetMatchers) return undefined;
13780
+
13781
+ return targetMatchers.get(matcher);
13782
+ };
13783
+
13784
+ /**
13785
+ * Sets an observed attribute value
13786
+ * @param {HTMLElement} host - The host element
13787
+ * @param {HTMLElement} target - The target element
13788
+ * @param {Function} matcher - The matcher function
13789
+ * @param {string} key - The attribute name
13790
+ * @param {string} value - The attribute value
13791
+ * @private
13792
+ */
13793
+ const _setObservedAttribute = (host, target, matcher, key, value) => {
13794
+ const matcherConfig = _getMatcherConfig(host, target, matcher);
13795
+ if (matcherConfig) {
13796
+ matcherConfig.currentAttributes.set(key, value);
13797
+ }
13798
+ };
13799
+
13800
+ const _getObservedAttribute = (host, target, matcher, attr) => {
13801
+ const matcherConfig = _getMatcherConfig(host, target, matcher);
13802
+ if (matcherConfig) return matcherConfig.currentAttributes.get(attr);
13803
+ return undefined;
13804
+ };
13805
+
13806
+ const _getObservedAttributes = (host, target, matcher) => {
13807
+ const matcherConfig = _getMatcherConfig(host, target, matcher);
13808
+ if (matcherConfig) return Array.from(matcherConfig.currentAttributes.entries());
13809
+ return [];
13810
+ };
13811
+
13812
+ const _matchers = {
13813
+ 'aria-': attr => attr.startsWith('aria-'),
13814
+ 'role': attr => attr.match(/^role$/)
13815
+ };
13816
+
13817
+ const transportAllA11yAttributes = ({ host, target, removeOriginal = true }) => {
13818
+ return transportAttributes({
13819
+ host,
13820
+ target,
13821
+ match: attr => {
13822
+ for (const key in _matchers) {
13823
+ if (_matchers[key](attr)) return true;
13824
+ }
13825
+ return false;
13826
+ },
13827
+ removeOriginal
13828
+ });
13829
+ };
13830
+
13831
+ let AuroElement$1$1 = class AuroElement extends i$2 {
13832
+
13833
+ /**
13834
+ * @type {Object} return object from transportAttributes via a11yUtilities
13835
+ * @property {Function} cleanup - Function to clean up the attribute watcher.
13836
+ * @property {Function} getCurrentAttributes - Function to get the current attributes being watched and their values.
13837
+ * @property {Function} getObservedAttribute - Function to get the value of a specific observed attribute by name.
13838
+ * @private
13839
+ */
13840
+ attributeWatcher;
13841
+
13842
+ static get properties() {
13843
+ return {
13844
+
13845
+ /**
13846
+ * Defines the layout of an element.
13847
+ * @default {'default'}
13848
+ */
13849
+ layout: {
13850
+ type: String,
13851
+ attribute: "layout",
13852
+ reflect: true
13853
+ },
13854
+
13855
+ /**
13856
+ * Defines the shape of an element.
13857
+ * @property {'default', 'rounded', 'pill', 'circle'}
13858
+ * @default {'default'}
13859
+ */
13860
+ shape: {
13861
+ type: String,
13862
+ attribute: "shape",
13863
+ reflect: true
13864
+ },
13865
+
13866
+ /**
13867
+ * Defines the size of an element.
13868
+ * @property {'xs', 'sm', 'md', 'lg', 'xl'}
13869
+ * @default {'md'}
13870
+ */
13871
+ size: {
13872
+ type: String,
13873
+ attribute: "size",
13874
+ reflect: true
13875
+ },
13876
+
13877
+ /**
13878
+ * This Boolean attribute lets you specify that the element should be rendered in dark mode.
13879
+ * @default {false}
13880
+ */
13881
+ onDark: {
13882
+ type: Boolean,
13883
+ attribute: "ondark",
13884
+ reflect: true
13885
+ },
13886
+
13887
+ /**
13888
+ * A reference to the wrapper element in the shadow DOM.
13889
+ * This is used to apply layout and shape classes dynamically.
13890
+ * @type {HTMLElement|null}
13891
+ * @default {null}
13892
+ * @private
13893
+ */
13894
+ wrapper: {
13895
+ type: HTMLElement,
13896
+ attribute: false,
13897
+ reflect: false
13898
+ }
13899
+ };
13900
+ }
13901
+
13902
+
13903
+
13904
+ resetShapeClasses() {
13905
+ if (this.shape && this.size) {
13906
+
13907
+ if (this.wrapper) {
13908
+ this.wrapper.classList.forEach((className) => {
13909
+ if (className.startsWith('shape-')) {
13910
+ this.wrapper.classList.remove(className);
13911
+ }
13912
+ });
13913
+
13914
+ this.wrapper.classList.add(`shape-${this.shape.toLowerCase()}-${this.size.toLowerCase()}`);
13915
+ }
13916
+ }
13917
+ }
13918
+
13919
+ resetLayoutClasses() {
13920
+ if (this.layout) {
13921
+ if (this.wrapper) {
13922
+ this.wrapper.classList.forEach((className) => {
13923
+ if (className.startsWith('layout-')) {
13924
+ this.wrapper.classList.remove(className);
13925
+ }
13926
+ });
13927
+
13928
+ this.wrapper.classList.add(`layout-${this.layout.toLowerCase()}`);
13929
+ }
13930
+ }
13931
+ }
13932
+
13933
+ updateComponentArchitecture() {
13934
+ this.resetLayoutClasses();
13935
+ this.resetShapeClasses();
13936
+ }
13937
+
13938
+ updated(changedProperties) {
13939
+ if (changedProperties.has('layout') || changedProperties.has('shape') || changedProperties.has('size')) {
13940
+ this.updateComponentArchitecture();
13941
+ }
13942
+ }
13943
+
13944
+ firstUpdated() {
13945
+ super.firstUpdated();
13946
+
13947
+ // Set a reference to the wrapper element in the shadow DOM
13948
+ this.wrapper = this.shadowRoot.querySelector('.wrapper');
13949
+
13950
+ // Initialize the transportation of ARIA attributes to the target element and get the disconnect function for cleanup
13951
+ this.attributeWatcher = transportAllA11yAttributes({ host: this, target: this.shadowRoot.querySelector('.wrapper') });
13952
+ }
13953
+
13954
+ disconnectedCallback() {
13955
+ super.disconnectedCallback();
13956
+
13957
+ // Cleanup the ARIA observer if it exists
13958
+ if (this.attributeWatcher) {
13959
+ this.attributeWatcher.cleanup();
13960
+ this.attributeWatcher = null;
13961
+ }
13962
+ }
13963
+
13964
+ // Try to render the defined `this.layout` layout. If that fails, fall back to the default layout.
13965
+ // This will catch if an invalid layout value is passed in and render the default layout if so.
13966
+ render() {
13967
+ try {
13968
+ return this.renderLayout();
13969
+ } catch (error) {
13970
+ // failed to get the defined layout
13971
+ console.error('Failed to get the defined layout - using the default layout', error); // eslint-disable-line no-console
13972
+
13973
+ // fallback to the default layout
13974
+ return this.getLayout('default');
13975
+ }
13976
+ }
13977
+ };
13978
+
13979
+ var styleCss$3$1 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}:host([fluid]) .auro-button,:host([fluid=true]) .auro-button{min-width:auto;width:100%}:host([variant=flat]){display:inline-block}::slotted(svg){vertical-align:middle}slot{pointer-events:none}.auro-button{position:relative;padding:0 var(--ds-size-300, 1.5rem);cursor:pointer;border-width:1px;border-style:solid;border-radius:var(--ds-border-radius, 0.375rem);overflow:hidden;text-overflow:ellipsis;user-select:none;white-space:nowrap;min-height:var(--ds-size-600, 3rem);max-height:var(--ds-size-600, 3rem);display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--ds-size-100, 0.5rem);margin:0;-webkit-touch-callout:none;-webkit-user-select:none;transition:padding 300ms ease-out}.auro-button:active{transform:scale(0.95)}.auro-button:focus-visible,.auro-button:focus{outline:none;outline-style:solid;outline-width:var(--ds-size-50, 0.25rem);outline-offset:calc(var(--ds-size-50, 0.25rem)*-1)}.auro-button:focus-visible:not([variant=secondary]):not([variant=tertiary]),.auro-button:focus:not([variant=secondary]):not([variant=tertiary]){outline-width:calc(var(--ds-size-50, 0.25rem) - 1px)}.auro-button.loading{cursor:not-allowed}.auro-button.loading *:not([auro-loader]){visibility:hidden}@media screen and (min-width: 576px){.auro-button{min-width:8.75rem;width:auto}}.auro-button:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=secondary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=ghost]:disabled{cursor:not-allowed;transform:unset}.auro-button[onDark]:disabled{cursor:not-allowed;transform:unset}.auro-button[onDark][variant=secondary]:disabled{cursor:not-allowed;transform:unset}@media(hover: hover){.auro-button[onDark][variant=tertiary]:active,.auro-button[onDark][variant=tertiary]:hover{box-shadow:none}}.auro-button[onDark][variant=tertiary]:active{box-shadow:none}.auro-button[onDark][variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button.icon-only ::slotted(:not(auro-icon):not([auro-icon])){display:none}.auro-button--slim{min-width:unset;min-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem));max-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem))}.auro-button--iconOnly{padding:0 var(--ds-size-100, 0.5rem);border-radius:100px;min-width:unset;height:var(--ds-size-600, 3rem);width:var(--ds-size-500, 2.5rem)}.auro-button--iconOnly ::slotted(auro-icon),.auro-button--iconOnly ::slotted([auro-icon]){--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}.auro-button--iconOnly:not(.auro-button--rounded):focus-visible:not([variant=secondary]):not([variant=tertiary]):not([variant=flat]),.auro-button--iconOnly:not(.auro-button--rounded):focus:not([variant=secondary]):not([variant=tertiary]):not([variant=flat]){outline-width:1px;outline-offset:-2px}.auro-button--iconOnlySlim{padding:0 var(--ds-size-50, 0.25rem);height:calc(var(--ds-size-400, 2rem) + var(--ds-size-50, 0.25rem));width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-50, 0.25rem))}.auro-button--iconOnlySlim ::slotted(auro-icon),.auro-button--iconOnlySlim ::slotted([auro-icon]){--ds-auro-icon-size:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem))}.auro-button--rounded{border-radius:100px;box-shadow:var(--ds-elevation-300, 0px 0px 15px rgba(0, 0, 0, 0.2));height:var(--ds-size-500, 2.5rem);min-width:unset;transition:padding 300ms ease-out,outline 0ms,outline-offset 0ms}.auro-button--rounded ::slotted(auro-icon),.auro-button--rounded ::slotted([auro-icon]){--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}.auro-button--rounded:focus-visible:not([variant=flat]):after,.auro-button--rounded:focus:not([variant=flat]):after{border-radius:100px}:host([size=xs]) .wrapper:focus-visible,:host([size=xs]) .wrapper:focus{outline-width:1px;outline-offset:-2px}:host([rounded]) .textSlot{transition:opacity 300ms ease-in;opacity:1}:host([rounded][iconOnly]) .textSlot{opacity:0}:host([rounded][iconOnly]) .textWrapper{display:none}:host([rounded][iconOnly]) .auro-button{min-width:unset;padding:unset;width:var(--ds-size-600, 3rem)}[auro-loader]{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}`;
13980
+
13981
+ var colorCss$2$1 = i$5`[auro-loader]{color:var(--ds-auro-button-loader-color)}.auro-button{-webkit-tap-highlight-color:var(--ds-auro-button-tap-color);color:var(--ds-auro-button-text-color);background-color:var(--ds-auro-button-container-color);background-image:linear-gradient(var(--ds-auro-button-container-image), var(--ds-auro-button-container-image));border-color:var(--ds-auro-button-border-color)}.auro-button:not([variant=secondary]):not([variant=tertiary]):focus-visible{outline-color:var(--ds-auro-button-border-inset-color)}.auro-button:not([ondark]):active:not(:disabled),.auro-button:not([ondark]):hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-hover, #00274a);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-hover, #00274a);--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-hover, #00274a)}.auro-button:not([ondark]):disabled{--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-disabled, #acc9e2);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-disabled, #acc9e2);--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-disabled, #acc9e2)}.auro-button:not([ondark])[variant=secondary]{--ds-auro-button-container-color:var(--ds-advanced-color-button-secondary-background, #ffffff);--ds-auro-button-container-image:var(--ds-advanced-color-button-secondary-background, #ffffff);--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border, #01426a);--ds-auro-button-text-color:var(--ds-advanced-color-button-secondary-text, #01426a);--ds-auro-button-loader-color:var(--ds-advanced-color-button-secondary-text, #01426a)}.auro-button:not([ondark])[variant=secondary]:active:not(:disabled),.auro-button:not([ondark])[variant=secondary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-secondary-background-hover, #f2f2f2);--ds-auro-button-container-image:var(--ds-advanced-color-button-secondary-background-hover, #f2f2f2);--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border-hover, #00274a);--ds-auro-button-text-color:var(--ds-advanced-color-button-secondary-text-hover, #00274a)}.auro-button:not([ondark])[variant=secondary]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused, #01426a)}.auro-button:not([ondark])[variant=secondary]:disabled{--ds-auro-button-container-color:var(--ds-advanced-color-button-secondary-background-disabled, #f7f7f7);--ds-auro-button-container-image:var(--ds-advanced-color-button-secondary-background-disabled, #f7f7f7);--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border-disabled, #cfe0ef);--ds-auro-button-text-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}.auro-button:not([ondark])[variant=tertiary]{--ds-auro-button-container-color:var(--ds-advanced-color-button-tertiary-background, rgba(0, 0, 0, 0.05));--ds-auro-button-container-image:var(--ds-advanced-color-button-tertiary-background, rgba(0, 0, 0, 0.05));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-advanced-color-button-tertiary-text, #01426a);--ds-auro-button-loader-color:var(--ds-advanced-color-button-tertiary-text, #01426a)}.auro-button:not([ondark])[variant=tertiary]:active:not(:disabled),.auro-button:not([ondark])[variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-tertiary-background-hover, rgba(0, 0, 0, 0.1));--ds-auro-button-container-image:var(--ds-advanced-color-button-tertiary-background-hover, rgba(0, 0, 0, 0.1));--ds-auro-button-border-color:transparent}.auro-button:not([ondark])[variant=tertiary]:focus-visible{--ds-auro-button-border-color:var(--ds-advanced-color-state-focused, #01426a);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused, #01426a)}.auro-button:not([ondark])[variant=tertiary]:disabled{--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}.auro-button:not([ondark])[variant=ghost]{--ds-auro-button-container-color:transparent;--ds-auro-button-container-image:transparent;--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-advanced-color-button-ghost-text, #01426a);--ds-auro-button-loader-color:var(--ds-advanced-color-button-ghost-text, #01426a)}.auro-button:not([ondark])[variant=ghost]:active:not(:disabled),.auro-button:not([ondark])[variant=ghost]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-ghost-background-hover, rgba(0, 0, 0, 0.05));--ds-auro-button-container-image:var(--ds-advanced-color-button-ghost-background-hover, rgba(0, 0, 0, 0.05));--ds-auro-button-border-color:transparent}.auro-button:not([ondark])[variant=ghost]:focus-visible{--ds-auro-button-border-color:var(--ds-advanced-color-state-focused, #01426a);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused, #01426a)}.auro-button:not([ondark])[variant=ghost]:disabled{--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}.auro-button:not([ondark])[variant=flat]{color:var(--ds-advanced-color-button-flat-text, #676767);background-color:transparent;background-image:none;border-color:transparent}.auro-button:not([ondark])[variant=flat]:active:not(:disabled),.auro-button:not([ondark])[variant=flat]:hover:not(:disabled){color:var(--ds-advanced-color-button-flat-text-hover, #525252);background-color:transparent;background-image:none;border-color:transparent}.auro-button:not([ondark])[variant=flat]:disabled{color:var(--ds-advanced-color-button-flat-text-disabled, #d0d0d0);background-color:transparent;background-image:none;border-color:transparent}.auro-button:not([ondark])[variant=flat]:focus-visible{--ds-auro-button-border-color:var(--ds-advanced-color-state-focused, #01426a);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused, #01426a)}.auro-button[ondark]{--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-inverse, #ffffff);--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-inverse, #ffffff);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-inverse, #ffffff);--ds-auro-button-text-color:var(--ds-advanced-color-button-primary-text-inverse, #01426a);--ds-auro-button-loader-color:var(--ds-advanced-color-button-primary-text-inverse, #01426a)}.auro-button[ondark]:active:not(:disabled),.auro-button[ondark]:hover:not(:disabled){--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-inverse-hover, #ebf3f9);--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-inverse-hover, #ebf3f9);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-inverse-hover, #ebf3f9)}.auro-button[ondark]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused, #01426a)}.auro-button[ondark]:disabled{--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-button-text-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}.auro-button[ondark][variant=secondary]{--ds-auro-button-container-color:transparent;--ds-auro-button-container-image:transparent;--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border-inverse, #ffffff);--ds-auro-button-text-color:var(--ds-advanced-color-button-secondary-text-inverse, #ffffff);--ds-auro-button-loader-color:var(--ds-advanced-color-button-secondary-text-inverse, #ffffff)}.auro-button[ondark][variant=secondary]:active:not(:disabled),.auro-button[ondark][variant=secondary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-secondary-background-inverse-hover, rgba(255, 255, 255, 0.1));--ds-auro-button-container-image:var(--ds-advanced-color-button-secondary-background-inverse-hover, rgba(255, 255, 255, 0.1))}.auro-button[ondark][variant=secondary]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused-inverse, #ffffff)}.auro-button[ondark][variant=secondary]:disabled{--ds-auro-button-text-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border-inverse-disabled, #dddddd)}.auro-button[ondark][variant=tertiary]{--ds-auro-button-container-color:var(--ds-advanced-color-button-tertiary-background-inverse, rgba(255, 255, 255, 0.05));--ds-auro-button-container-image:var(--ds-advanced-color-button-tertiary-background-inverse, rgba(255, 255, 255, 0.05));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-advanced-color-button-tertiary-text-inverse, #ffffff);--ds-auro-button-loader-color:var(--ds-advanced-color-button-tertiary-text-inverse, #ffffff)}.auro-button[ondark][variant=tertiary]:active:not(:disabled),.auro-button[ondark][variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-tertiary-background-inverse-hover, rgba(255, 255, 255, 0.1));--ds-auro-button-container-image:var(--ds-advanced-color-button-tertiary-background-inverse-hover, rgba(255, 255, 255, 0.1))}.auro-button[ondark][variant=tertiary]:focus-visible{--ds-auro-button-border-color:var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused-inverse, #ffffff)}.auro-button[ondark][variant=tertiary]:disabled{--ds-auro-button-text-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}.auro-button[ondark][variant=ghost]{--ds-auro-button-container-color:transparent;--ds-auro-button-container-image:transparent;--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-advanced-color-button-ghost-text-inverse, #ffffff);--ds-auro-button-loader-color:var(--ds-advanced-color-button-ghost-text-inverse, #ffffff)}.auro-button[ondark][variant=ghost]:active:not(:disabled),.auro-button[ondark][variant=ghost]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-ghost-background-inverse-hover, rgba(255, 255, 255, 0.05));--ds-auro-button-container-image:var(--ds-advanced-color-button-ghost-background-inverse-hover, rgba(255, 255, 255, 0.05))}.auro-button[ondark][variant=ghost]:focus-visible{--ds-auro-button-border-color:var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused-inverse, #ffffff)}.auro-button[ondark][variant=ghost]:disabled{--ds-auro-button-text-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}.auro-button[ondark][variant=flat]{color:var(--ds-advanced-color-button-flat-text-inverse, #ffffff);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark][variant=flat]:active:not(:disabled),.auro-button[ondark][variant=flat]:hover:not(:disabled){color:var(--ds-advanced-color-button-flat-text-inverse-hover, #adadad);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark][variant=flat]:disabled{color:var(--ds-advanced-color-button-flat-text-inverse-disabled, #7e8894);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark][variant=flat]:focus-visible{--ds-auro-button-border-color:var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused-inverse, #ffffff)}`;
13982
+
13983
+ var tokensCss$2$1 = i$5`:host(:not([onDark])){--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border, #01426a);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background, #01426a);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background, #01426a);--ds-auro-button-loader-color:var(--ds-advanced-color-button-primary-text, #ffffff);--ds-auro-button-text-color:var(--ds-advanced-color-button-primary-text, #ffffff);--ds-auro-button-tap-color:transparent}:host([onDark]){--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-inverse, #ffffff);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-inverse, #ffffff);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-inverse, #ffffff);--ds-auro-button-loader-color:var(--ds-advanced-color-button-primary-text-inverse, #01426a);--ds-auro-button-text-color:var(--ds-advanced-color-button-primary-text-inverse, #01426a);--ds-auro-button-tap-color:transparent}`;
13984
+
13985
+ var shapeSize = i$5`.shape-rounded-xl{min-height:68px;max-height:68px;border-style:solid;border-radius:6px;overflow:hidden;font-size:18px}.shape-rounded-lg{min-height:52px;max-height:52px;border-style:solid;border-radius:6px;overflow:hidden;font-size:18px}.shape-rounded-md{min-height:44px;max-height:44px;border-style:solid;border-radius:6px;overflow:hidden;font-size:16px}.shape-rounded-sm{min-height:32px;max-height:32px;border-style:solid;border-radius:6px;overflow:hidden;font-size:14px}.shape-rounded-xs{min-height:20px;max-height:20px;border-style:solid;border-radius:4px;overflow:hidden;font-size:12px;outline-offset:-2px;outline-width:1px}.shape-pill-xl{min-height:68px;max-height:68px;border-style:solid;border-radius:34px;overflow:hidden;font-size:18px}.shape-pill-left-xl{min-height:68px;max-height:68px;border-style:solid;border-radius:34px 0 0 34px;overflow:hidden}.shape-pill-right-xl{min-height:68px;max-height:68px;border-style:solid;border-radius:0 34px 34px 0;overflow:hidden}.shape-pill-lg{min-height:52px;max-height:52px;border-style:solid;border-radius:26px;overflow:hidden;font-size:18px}.shape-pill-left-lg{min-height:52px;max-height:52px;border-style:solid;border-radius:26px 0 0 26px;overflow:hidden}.shape-pill-right-lg{min-height:52px;max-height:52px;border-style:solid;border-radius:0 26px 26px 0;overflow:hidden}.shape-pill-md{min-height:44px;max-height:44px;border-style:solid;border-radius:22px;overflow:hidden}.shape-pill-left-md{min-height:44px;max-height:44px;border-style:solid;border-radius:22px 0 0 22px;overflow:hidden}.shape-pill-right-md{min-height:44px;max-height:44px;border-style:solid;border-radius:0 22px 22px 0;overflow:hidden;font-size:16px}.shape-pill-sm{min-height:32px;max-height:32px;border-style:solid;border-radius:16px;overflow:hidden;font-size:14px}.shape-pill-left-sm{min-height:32px;max-height:32px;border-style:solid;border-radius:16px 0 0 16px;overflow:hidden}.shape-pill-right-sm{min-height:32px;max-height:32px;border-style:solid;border-radius:0 16px 16px 0;overflow:hidden}.shape-pill-xs{min-height:20px;max-height:20px;border-style:solid;border-radius:10px;overflow:hidden;font-size:12px;outline-offset:-2px;outline-width:1px}.shape-pill-left-xs{min-height:20px;max-height:20px;border-style:solid;border-radius:10px 0 0 10px;overflow:hidden;outline-offset:-2px;outline-width:1px}.shape-pill-right-xs{min-height:20px;max-height:20px;border-style:solid;border-radius:0 10px 10px 0;overflow:hidden;outline-offset:-2px;outline-width:1px}.shape-circle-xl{min-height:68px;max-height:68px;min-width:68px;max-width:68px;border-style:solid;border-radius:34px;overflow:hidden;padding:0}.shape-circle-lg{min-height:52px;max-height:52px;min-width:52px;max-width:52px;border-style:solid;border-radius:26px;overflow:hidden;padding:0}.shape-circle-md{min-height:44px;max-height:44px;min-width:44px;max-width:44px;border-style:solid;border-radius:22px;overflow:hidden;padding:0}.shape-circle-sm{min-height:32px;max-height:32px;min-width:32px;max-width:32px;border-style:solid;border-radius:16px;overflow:hidden;padding:0}.shape-circle-xs{min-height:20px;max-height:20px;min-width:20px;max-width:20px;border-style:solid;border-radius:10px;overflow:hidden;padding:0;outline-offset:-2px;outline-width:1px}`;
13986
+
13987
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
13988
+ // See LICENSE in the project root for license information.
13989
+
13990
+ // ---------------------------------------------------------------------
13991
+
13992
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
13993
+
13994
+ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
13995
+
13996
+ /* eslint-disable jsdoc/require-param */
13997
+
13998
+ /**
13999
+ * This will register a new custom element with the browser.
14000
+ * @param {String} name - The name of the custom element.
14001
+ * @param {Object} componentClass - The class to register as a custom element.
14002
+ * @returns {void}
14003
+ */
14004
+ registerComponent(name, componentClass) {
14005
+ if (!customElements.get(name)) {
14006
+ customElements.define(name, class extends componentClass {});
14007
+ }
14008
+ }
14009
+
14010
+ /**
14011
+ * Finds and returns the closest HTML Element based on a selector.
14012
+ * @returns {void}
14013
+ */
14014
+ closestElement(
14015
+ selector, // selector like in .closest()
14016
+ base = this, // extra functionality to skip a parent
14017
+ __Closest = (el, found = el && el.closest(selector)) =>
14018
+ !el || el === document || el === window
14019
+ ? null // standard .closest() returns null for non-found selectors also
14020
+ : found
14021
+ ? found // found a selector INside this element
14022
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
14023
+ ) {
14024
+ return __Closest(base);
14025
+ }
14026
+ /* eslint-enable jsdoc/require-param */
14027
+
14028
+ /**
14029
+ * 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.
14030
+ * @param {Object} elem - The element to check.
14031
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
14032
+ * @returns {void}
14033
+ */
14034
+ handleComponentTagRename(elem, tagName) {
14035
+ const tag = tagName.toLowerCase();
14036
+ const elemTag = elem.tagName.toLowerCase();
14037
+
14038
+ if (elemTag !== tag) {
14039
+ elem.setAttribute(tag, true);
14040
+ }
14041
+ }
14042
+
14043
+ /**
14044
+ * Validates if an element is a specific Auro component.
14045
+ * @param {Object} elem - The element to validate.
14046
+ * @param {String} tagName - The name of the Auro component to check against.
14047
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
14048
+ */
14049
+ elementMatch(elem, tagName) {
14050
+ const tag = tagName.toLowerCase();
14051
+ const elemTag = elem.tagName.toLowerCase();
14052
+
14053
+ return elemTag === tag || elem.hasAttribute(tag);
14054
+ }
14055
+ };
14056
+
14057
+ var styleCss$2$1 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin:0.375rem;--margin-xs:0.2rem;--margin-sm:0.5rem;--margin-md:0.75rem;--margin-lg:1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin)*6);height:1.5rem}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(2.55rem + var(--margin-xs)*6);height:1.55rem}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm)*6);height:2.5rem}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md)*6);height:3.5rem}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg)*6);height:5.5rem}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-400ms}:host([pulse])>span:nth-child(2){animation-delay:-200ms}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,100%{opacity:.1;transform:scale(0.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}100%{left:110%}}:host>.no-animation{display:none}@media(prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center;font-size:1rem}:host>span{opacity:1}:host>.loader{display:none}:host>.no-animation{display:block}}`;
14058
+
14059
+ var colorCss$1$1 = i$5`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]){--ds-auro-loader-color:var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]){--ds-auro-loader-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color:transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color:currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color:currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}`;
14060
+
14061
+ var tokensCss$1$1 = i$5`:host{--ds-auro-loader-background-color:currentcolor;--ds-auro-loader-border-color:currentcolor;--ds-auro-loader-color:currentcolor}`;
14062
+
14063
+ // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
14064
+ // See LICENSE in the project root for license information.
14065
+
14066
+
14067
+ class AuroLoader extends i$2 {
14068
+ constructor() {
14069
+ super();
14070
+
14071
+ /**
14072
+ * @private
14073
+ */
14074
+ this.keys = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
14075
+
14076
+ /**
14077
+ * @private
14078
+ */
14079
+ this.mdCount = 3;
14080
+
14081
+ /**
14082
+ * @private
14083
+ */
14084
+ this.smCount = 2;
14085
+
14086
+ /**
14087
+ * @private
14088
+ */
14089
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
14090
+
14091
+ this.orbit = false;
14092
+ this.ringworm = false;
14093
+ this.laser = false;
14094
+ this.pulse = false;
14095
+ }
14096
+
14097
+ // function to define props used within the scope of this component
14098
+ static get properties() {
14099
+ return {
14100
+
14101
+ /**
14102
+ * Sets loader to laser type.
14103
+ */
14104
+ laser: {
14105
+ type: Boolean,
14106
+ reflect: true
14107
+ },
14108
+
14109
+ /**
14110
+ * Sets loader to orbit type.
14111
+ */
14112
+ orbit: {
14113
+ type: Boolean,
14114
+ reflect: true
14115
+ },
14116
+
14117
+ /**
14118
+ * Sets loader to pulse type.
14119
+ */
14120
+ pulse: {
14121
+ type: Boolean,
14122
+ reflect: true
14123
+ },
14124
+
14125
+ /**
14126
+ * Sets loader to ringworm type.
14127
+ */
14128
+ ringworm: {
14129
+ type: Boolean,
14130
+ reflect: true
14131
+ }
14132
+ };
14133
+ }
14134
+
14135
+ static get styles() {
14136
+ return [
14137
+ i$5`${styleCss$2$1}`,
14138
+ i$5`${colorCss$1$1}`,
14139
+ i$5`${tokensCss$1$1}`
14140
+ ];
14141
+ }
14142
+
14143
+ /**
14144
+ * This will register this element with the browser.
14145
+ * @param {string} [name="auro-loader"] - The name of element that you want to register to.
14146
+ *
14147
+ * @example
14148
+ * AuroLoader.register("custom-loader") // this will register this element to <custom-loader/>
14149
+ *
14150
+ */
14151
+ static register(name = "auro-loader") {
14152
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroLoader);
14153
+ }
14154
+
14155
+ firstUpdated() {
14156
+ // Add the tag name as an attribute if it is different than the component name
14157
+ this.runtimeUtils.handleComponentTagRename(this, 'auro-loader');
14158
+ }
14159
+
14160
+ connectedCallback() {
14161
+ super.connectedCallback();
14162
+ }
14163
+
14164
+ /**
14165
+ * @private
14166
+ * @returns {Array} Numbered array for template map.
14167
+ */
14168
+ defineTemplate() {
14169
+ let nodes = Array.from(Array(this.mdCount).keys());
14170
+
14171
+ if (this.orbit || this.laser) {
14172
+ nodes = Array.from(Array(this.smCount).keys());
14173
+ } else if (this.ringworm) {
14174
+ nodes = Array.from(Array(0).keys());
14175
+ }
14176
+
14177
+ return nodes;
14178
+ }
14179
+
14180
+ // When using auroElement, use the following attribute and function when hiding content from screen readers.
14181
+ // aria-hidden="${this.hideAudible(this.hiddenAudible)}"
14182
+
14183
+ // function that renders the HTML and CSS into the scope of the component
14184
+ render() {
14185
+ return x`
14186
+ ${this.defineTemplate().map((idx) => x`
14187
+ <span part="element" class="loader node-${idx}"></span>
14188
+ `)}
14189
+
14190
+ <div class="no-animation">Loading...</div>
14191
+
14192
+ ${this.ringworm ? x`
14193
+ <svg part="element" class="circular" viewBox="25 25 50 50">
14194
+ <circle class="path" cx="50" cy="50" r="20" fill="none"/>
14195
+ </svg>`
14196
+ : ``
14197
+ }
14198
+ `;
14199
+ }
14200
+ }
14201
+
14202
+ var loaderVersion = '5.0.0';
14203
+
14204
+ /* eslint-disable max-lines, curly */
14205
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
14206
+ // See LICENSE in the project root for license information.
14207
+
14208
+
14209
+ /**
14210
+ * @slot - Default slot for the text of the button.
14211
+ * @csspart button - Apply CSS to HTML5 button.
14212
+ * @csspart loader - Apply CSS to auro-loader.
14213
+ * @csspart text - Apply CSS to text slot.
14214
+ * @csspart icon - Apply CSS to icon slot.
14215
+ */
14216
+
14217
+ /* eslint-disable lit/no-invalid-html, lit/binding-positions */
14218
+
14219
+ const ICON_ONLY_SHAPES = ['circle'];
14220
+
14221
+ /**
14222
+ * AuroButton is a custom element that provides a styled, accessible button with support for various states and form association.
14223
+ * It is designed to be flexible, supporting loading states, icon slots, and integration with HTML5 forms.
14224
+ * @property {'default', 'rounded', 'pill', 'circle'} shape - Defines the shape of the button.
14225
+ * @property {'xs', 'sm', 'md', 'lg', 'xl'} size - Defines the size of the button.
14226
+ * @property {'primary', 'secondary', 'tertiary', 'ghost', 'flat'} variant - Sets the button variant.
14227
+ * @property {'submit', 'reset', 'button'} type - The type of button. Matches HTML5 Button Spec.
14228
+ * @property {boolean} onDark - Indicates if the button is rendered in dark mode.
14229
+ */
14230
+ class AuroButton extends AuroElement$1$1 {
14231
+
14232
+ /**
14233
+ * Enables form association for this element.
14234
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals
14235
+ * @returns {boolean} - Returns true to enable form association.
14236
+ */
14237
+ static get formAssociated() {
14238
+ return true;
14239
+ }
14240
+
14241
+ constructor() {
14242
+ super();
14243
+ this.autofocus = false;
14244
+ this.disabled = false;
14245
+ this.loading = false;
14246
+ this.size = "md";
14247
+ this.shape = "rounded";
14248
+ this.onDark = false;
14249
+ this.fluid = false;
14250
+ this.loadingText = this.loadingText || 'Loading...';
14251
+
14252
+ // Support for HTML5 forms
14253
+ if (typeof this.attachInternals === 'function') {
14254
+ this.internals = this.attachInternals();
14255
+ } else {
14256
+ this.internals = null;
14257
+
14258
+ // eslint-disable-next-line no-console
14259
+ console.warn('This browser does not support form association features. Some form-related functionality may not work as expected. Consider using a polyfill or handling click events manually.');
14260
+ }
14261
+
14262
+ /**
14263
+ * Generate unique names for dependency components.
14264
+ */
14265
+ const versioning = new AuroDependencyVersioning();
14266
+
14267
+ /**
14268
+ * @private
14269
+ */
14270
+ this.loaderTag = versioning.generateTag('auro-loader', loaderVersion, AuroLoader);
14271
+ }
14272
+
14273
+ static get styles() {
14274
+ return [
14275
+ tokensCss$2$1,
14276
+ styleCss$3$1,
14277
+ colorCss$2$1,
14278
+ shapeSize
14279
+ ];
14280
+ }
14281
+
14282
+ static get properties() {
14283
+ return {
14284
+
14285
+ ...super.properties,
14286
+
14287
+ /**
14288
+ * Override layout since it isn't used in this component.
14289
+ * @private
14290
+ */
14291
+ layout: {
14292
+ type: Boolean,
14293
+ attribute: false,
14294
+ reflect: false
14295
+ },
14296
+
14297
+ /**
14298
+ * This Boolean attribute lets you specify that the button should have input focus when the page loads, unless overridden by the user.
14299
+ */
14300
+ autofocus: {
14301
+ type: Boolean,
14302
+ reflect: true
14303
+ },
14304
+
14305
+ /**
14306
+ * If set to true, button will become disabled and not allow for interactions.
14307
+ */
14308
+ disabled: {
14309
+ type: Boolean,
14310
+ reflect: true
14311
+ },
14312
+
14313
+ /**
14314
+ * Alters the shape of the button to be full width of its parent container.
14315
+ */
14316
+ fluid: {
14317
+ type: Boolean,
14318
+ reflect: true
14319
+ },
14320
+
14321
+ /**
14322
+ * If set to true button text will be replaced with `auro-loader` and become disabled.
14323
+ */
14324
+ loading: {
14325
+ type: Boolean,
14326
+ reflect: true
14327
+ },
14328
+
14329
+ /**
14330
+ * Sets custom loading text for the `aria-label` on a button in loading state. If not set, the default value of "Loading..." will be used.
14331
+ */
14332
+ loadingText: {
14333
+ type: String
14334
+ },
14335
+
14336
+ /**
14337
+ * Populates `tabIndex` to define the focusable sequence in keyboard navigation.
14338
+ */
14339
+ tIndex: {
14340
+ type: String,
14341
+ reflect: true
14342
+ },
14343
+
14344
+ /**
14345
+ * Sets title attribute. The information is most often shown as a tooltip text when the mouse moves over the element.
14346
+ */
14347
+ title: {
14348
+ type: String,
14349
+ reflect: true
14350
+ },
14351
+
14352
+ /**
14353
+ * The type of the button. Possible values are: `submit`, `reset`, `button`.
14354
+ */
14355
+ type: {
14356
+ type: String,
14357
+ reflect: true
14358
+ },
14359
+
14360
+ /**
14361
+ * Defines the value associated with the button which is submitted with the form data.
14362
+ */
14363
+ value: {
14364
+ type: String,
14365
+ reflect: true
14366
+ },
14367
+
14368
+ /**
14369
+ * Sets button variant option.
14370
+ * @default primary
14371
+ */
14372
+ variant: {
14373
+ type: String,
14374
+ reflect: true
14375
+ },
14376
+ };
14377
+ }
14378
+
14379
+ /**
14380
+ * This will register this element with the browser.
14381
+ * @param {string} [name="auro-button"] - The name of element that you want to register to.
14382
+ *
14383
+ * @example
14384
+ * AuroButton.register("custom-button") // this will register this element to <custom-button/>
14385
+ *
13087
14386
  */
13088
- registerComponent(name, componentClass) {
13089
- if (!customElements.get(name)) {
13090
- customElements.define(name, class extends componentClass {});
13091
- }
14387
+ static register(name = "auro-button") {
14388
+ AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroButton);
13092
14389
  }
13093
14390
 
13094
14391
  /**
13095
- * Finds and returns the closest HTML Element based on a selector.
14392
+ * Internal method to apply focus to the HTML5 button.
14393
+ * @private
13096
14394
  * @returns {void}
13097
14395
  */
13098
- closestElement(
13099
- selector, // selector like in .closest()
13100
- base = this, // extra functionality to skip a parent
13101
- __Closest = (el, found = el && el.closest(selector)) =>
13102
- !el || el === document || el === window
13103
- ? null // standard .closest() returns null for non-found selectors also
13104
- : found
13105
- ? found // found a selector INside this element
13106
- : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
13107
- ) {
13108
- return __Closest(base);
14396
+ focus() {
14397
+ this.renderRoot.querySelector('button').focus();
13109
14398
  }
13110
- /* eslint-enable jsdoc/require-param */
13111
14399
 
13112
14400
  /**
13113
- * 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.
13114
- * @param {Object} elem - The element to check.
13115
- * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
14401
+ * Submits the form that this button is associated with.
14402
+ * @private
13116
14403
  * @returns {void}
13117
14404
  */
13118
- handleComponentTagRename(elem, tagName) {
13119
- const tag = tagName.toLowerCase();
13120
- const elemTag = elem.tagName.toLowerCase();
13121
-
13122
- if (elemTag !== tag) {
13123
- elem.setAttribute(tag, true);
14405
+ surfaceSubmitEvent() {
14406
+ if (this.form) {
14407
+ this.form.requestSubmit();
13124
14408
  }
13125
14409
  }
13126
14410
 
13127
14411
  /**
13128
- * Validates if an element is a specific Auro component.
13129
- * @param {Object} elem - The element to validate.
13130
- * @param {String} tagName - The name of the Auro component to check against.
13131
- * @returns {Boolean} - Returns true if the element is the specified Auro component.
14412
+ * Returns the form element that this button is associated with.
14413
+ * @private
14414
+ * @returns {HTMLFormElement | null}
13132
14415
  */
13133
- elementMatch(elem, tagName) {
13134
- const tag = tagName.toLowerCase();
13135
- const elemTag = elem.tagName.toLowerCase();
13136
-
13137
- return elemTag === tag || elem.hasAttribute(tag);
14416
+ get form() {
14417
+ return this.internals ? this.internals.form : null;
13138
14418
  }
13139
- };
13140
14419
 
13141
- // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
13142
- // See LICENSE in the project root for license information.
14420
+ /**
14421
+ * @private
14422
+ * @returns {Boolean}
14423
+ */
14424
+ get hideText() {
14425
+ return ICON_ONLY_SHAPES.includes(this.shape);
14426
+ }
13143
14427
 
14428
+ /**
14429
+ * Returns the current value of the projected `aria-label` attribute or undefined if not set.
14430
+ * @returns {string | undefined}
14431
+ * @private
14432
+ */
14433
+ get currentAriaLabel() {
14434
+ if (!this.attributeWatcher) return undefined;
13144
14435
 
13145
- class AuroDependencyVersioning {
14436
+ const ariaLabel = this.attributeWatcher.getObservedAttribute("aria-label");
14437
+ return ariaLabel || undefined;
14438
+ }
13146
14439
 
13147
14440
  /**
13148
- * Generates a unique string to be used for child auro element naming.
14441
+ * Returns the current value of the projected `aria-labelledby` attribute or undefined if not set.
14442
+ * @returns {string | undefined}
13149
14443
  * @private
13150
- * @param {string} baseName - Defines the first part of the unique element name.
13151
- * @param {string} version - Version of the component that will be appended to the baseName.
13152
- * @returns {string} - Unique string to be used for naming.
13153
14444
  */
13154
- generateElementName(baseName, version) {
13155
- let result = baseName;
13156
-
13157
- result += '-';
13158
- result += version.replace(/[.]/g, '_');
14445
+ get currentAriaLabelledBy() {
14446
+ if (!this.attributeWatcher) return undefined;
13159
14447
 
13160
- return result;
14448
+ const ariaLabelledBy = this.attributeWatcher.getObservedAttribute("aria-labelledby");
14449
+ return ariaLabelledBy || undefined;
13161
14450
  }
13162
14451
 
13163
14452
  /**
13164
- * Generates a unique string to be used for child auro element naming.
13165
- * @param {string} baseName - Defines the first part of the unique element name.
13166
- * @param {string} version - Version of the component that will be appended to the baseName.
13167
- * @returns {string} - Unique string to be used for naming.
14453
+ * Renders the default layout for the button.
14454
+ * @returns {TemplateResult}
14455
+ * @private
13168
14456
  */
13169
- generateTag(baseName, version, tagClass) {
13170
- const elementName = this.generateElementName(baseName, version);
13171
- const tag = i$1`${s$1(elementName)}`;
14457
+ renderLayoutDefault() {
14458
+ const classes = {
14459
+ "util_insetLg--squish": true,
14460
+ "auro-button": true,
14461
+ "icon-only": this.hideText,
14462
+ wrapper: true,
14463
+ loading: this.loading,
14464
+ };
13172
14465
 
13173
- if (!customElements.get(elementName)) {
13174
- customElements.define(elementName, class extends tagClass {});
13175
- }
14466
+ return u$2`
14467
+ <button
14468
+ part="button"
14469
+ aria-label="${o(this.loading ? this.loadingText : this.currentAriaLabel || undefined)}"
14470
+ aria-labelledby="${o(this.loading ? undefined : this.currentAriaLabelledBy || undefined)}"
14471
+ tabIndex="${o(this.tIndex)}"
14472
+ ?autofocus="${this.autofocus}"
14473
+ class="${e(classes)}"
14474
+ ?disabled="${this.disabled || this.loading}"
14475
+ ?onDark="${this.onDark}"
14476
+ title="${o(this.title ? this.title : undefined)}"
14477
+ name="${o(this.name ? this.name : undefined)}"
14478
+ type="${o(this.type ? this.type : undefined)}"
14479
+ variant="${o(this.variant ? this.variant : undefined)}"
14480
+ .value="${o(this.value ? this.value : undefined)}"
14481
+ @click="${this.type === 'submit' ? this.surfaceSubmitEvent : undefined}"
14482
+ >
14483
+ ${o(this.loading ? u$2`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
13176
14484
 
13177
- return tag;
14485
+ <span class="contentWrapper">
14486
+ <span class="textSlot" part="text">
14487
+ <slot></slot>
14488
+ </span>
14489
+ </span>
14490
+ </button>
14491
+ `;
14492
+ }
14493
+
14494
+ /**
14495
+ * Renders the layout of the button
14496
+ * @returns {TemplateResult}
14497
+ * @private
14498
+ */
14499
+ renderLayout() {
14500
+ return this.renderLayoutDefault();
13178
14501
  }
13179
14502
  }
13180
14503
 
14504
+ var buttonVersion = '11.0.0';
14505
+
13181
14506
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
13182
14507
  // See LICENSE in the project root for license information.
13183
14508
 
@@ -13524,8 +14849,12 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
13524
14849
  async firstUpdated() {
13525
14850
  await super.firstUpdated();
13526
14851
 
13527
- // Removes the SVG description for screenreader if ariaHidden is set to true
13528
- if (!this.hasAttribute('ariaHidden') && this.svg) {
14852
+ /**
14853
+ * icons provide a description for screen readers. Icon only instances Auro-button
14854
+ * depend on this description to provide context for the user using a screen reader.
14855
+ * Removes the SVG description for screen reader if ariaHidden is set to true.
14856
+ */
14857
+ if (this.hasAttribute('ariaHidden') && this.svg) {
13529
14858
  const svgDesc = this.svg.querySelector('desc');
13530
14859
 
13531
14860
  if (svgDesc) {
@@ -13569,7 +14898,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
13569
14898
  }
13570
14899
  };
13571
14900
 
13572
- var iconVersion$1 = '8.0.3';
14901
+ var iconVersion$1 = '8.0.4';
13573
14902
 
13574
14903
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
13575
14904
  // See LICENSE in the project root for license information.
@@ -13578,7 +14907,7 @@ var iconVersion$1 = '8.0.3';
13578
14907
 
13579
14908
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
13580
14909
 
13581
- let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
14910
+ let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
13582
14911
 
13583
14912
  /* eslint-disable jsdoc/require-param */
13584
14913
 
@@ -13670,7 +14999,7 @@ class AuroHeader extends i$2 {
13670
14999
  /**
13671
15000
  * @private
13672
15001
  */
13673
- this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
15002
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
13674
15003
  }
13675
15004
 
13676
15005
  // function to define props used within the scope of this component
@@ -13700,7 +15029,7 @@ class AuroHeader extends i$2 {
13700
15029
  *
13701
15030
  */
13702
15031
  static register(name = "auro-header") {
13703
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroHeader);
15032
+ AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroHeader);
13704
15033
  }
13705
15034
 
13706
15035
  firstUpdated() {
@@ -13796,17 +15125,30 @@ class AuroBibtemplate extends i$2 {
13796
15125
 
13797
15126
  this.large = false;
13798
15127
 
13799
- AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
15128
+ AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
13800
15129
 
13801
15130
  const versioning = new AuroDependencyVersioning();
15131
+
15132
+ /**
15133
+ * @private
15134
+ */
13802
15135
  this.iconTag = versioning.generateTag('auro-formkit-bibtemplate-icon', iconVersion$1, AuroIcon$1);
15136
+
15137
+ /**
15138
+ * @private
15139
+ */
13803
15140
  this.headerTag = versioning.generateTag('auro-formkit-bibtemplate-header', headerVersion, AuroHeader);
15141
+
15142
+ /**
15143
+ * @private
15144
+ */
15145
+ this.buttonTag = versioning.generateTag('auro-formkit-input-button', buttonVersion, AuroButton);
13804
15146
  }
13805
15147
 
13806
15148
  static get styles() {
13807
15149
  return [
13808
- colorCss$1$1,
13809
- styleCss$2$1,
15150
+ colorCss$3$1,
15151
+ styleCss$4$1,
13810
15152
  tokenCss
13811
15153
  ];
13812
15154
  }
@@ -13835,7 +15177,7 @@ class AuroBibtemplate extends i$2 {
13835
15177
  *
13836
15178
  */
13837
15179
  static register(name = "auro-bibtemplate") {
13838
- AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroBibtemplate);
15180
+ AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroBibtemplate);
13839
15181
  }
13840
15182
 
13841
15183
  /**
@@ -13893,9 +15235,9 @@ class AuroBibtemplate extends i$2 {
13893
15235
  <div id="bibTemplate" part="bibtemplate">
13894
15236
  ${this.isFullscreen ? u$2`
13895
15237
  <div id="headerContainer">
13896
- <button id="closeButton" @click="${this.onCloseButtonClick}">
15238
+ <${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
13897
15239
  <${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
13898
- </button>
15240
+ </${this.buttonTag}>
13899
15241
  <${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
13900
15242
  <slot name="header"></slot>
13901
15243
  </${this.headerTag}>
@@ -13960,18 +15302,21 @@ let AuroElement$1 = class AuroElement extends i$2 {
13960
15302
  }
13961
15303
 
13962
15304
  resetShapeClasses() {
13963
- if (this.shape && this.size) {
13964
- const wrapper = this.shadowRoot.querySelector('.wrapper');
15305
+ const wrapper = this.shadowRoot.querySelector('.wrapper');
13965
15306
 
13966
- if (wrapper) {
13967
- wrapper.classList.forEach((className) => {
13968
- if (className.startsWith('shape-')) {
13969
- wrapper.classList.remove(className);
13970
- }
13971
- });
15307
+ if (wrapper) {
15308
+ wrapper.classList.forEach((className) => {
15309
+ if (className.startsWith('shape-')) {
15310
+ wrapper.classList.remove(className);
15311
+ }
15312
+ });
13972
15313
 
13973
- wrapper.classList.add(`shape-${this.shape.toLowerCase()}-${this.size.toLowerCase()}`);
13974
- }
15314
+ }
15315
+
15316
+ if (this.shape && this.size) {
15317
+ wrapper.classList.add(`shape-${this.shape.toLowerCase()}-${this.size.toLowerCase()}`);
15318
+ } else {
15319
+ wrapper.classList.add('shape-none');
13975
15320
  }
13976
15321
  }
13977
15322
 
@@ -14233,6 +15578,7 @@ class AuroHelpText extends i$2 {
14233
15578
  * @slot bib.fullscreen.headline - Defines the headline to display above menu-options
14234
15579
  * @slot label - Defines the content of the label.
14235
15580
  * @slot helpText - Defines the content of the helpText.
15581
+ * @slot displayValue - Allows custom HTML content to display the selected value when the combobox is not focused. Only works with `snowflake` and `emphasized` layouts.
14236
15582
  * @event auroCombobox-valueSet - Notifies that the component has a new value set.
14237
15583
  * @event auroFormElement-validated - Notifies that the component value(s) have been validated.
14238
15584
  */
@@ -14295,7 +15641,7 @@ class AuroCombobox extends AuroElement$1 {
14295
15641
  this.noFlip = false;
14296
15642
  this.autoPlacement = false;
14297
15643
 
14298
- const versioning = new AuroDependencyVersioning$4();
15644
+ const versioning = new AuroDependencyVersioning$3();
14299
15645
 
14300
15646
  this.dropdownTag = versioning.generateTag('auro-formkit-combobox-dropdown', dropdownVersion, AuroDropdown);
14301
15647
  this.bibtemplateTag = versioning.generateTag('auro-formkit-combobox-bibtemplate', bibTemplateVersion, AuroBibtemplate);
@@ -14519,7 +15865,7 @@ class AuroCombobox extends AuroElement$1 {
14519
15865
  * @type {string}
14520
15866
  */
14521
15867
  value: {
14522
- type: Object
15868
+ type: String
14523
15869
  },
14524
15870
 
14525
15871
  /* eslint-disable jsdoc/require-description-complete-sentence */
@@ -14724,6 +16070,7 @@ class AuroCombobox extends AuroElement$1 {
14724
16070
  * @returns {void}
14725
16071
  */
14726
16072
  configureDropdown() {
16073
+ this.dropdown.a11yRole = "combobox";
14727
16074
 
14728
16075
  // Listen for the ID to be added to the dropdown so we can capture it and use it for accessibility.
14729
16076
  this.dropdown.addEventListener('auroDropdown-idAdded', (event) => {
@@ -14735,7 +16082,7 @@ class AuroCombobox extends AuroElement$1 {
14735
16082
  this.dropdownOpen = ev.detail.expanded;
14736
16083
 
14737
16084
  // wait a frame in case the bib gets hide immediately after showing because there is no value
14738
- setTimeout(this.transportInput);
16085
+ setTimeout(this.setInputFocus, 0);
14739
16086
  });
14740
16087
 
14741
16088
  this.dropdown.addEventListener('auroDropdown-triggerClick', () => {
@@ -14743,7 +16090,8 @@ class AuroCombobox extends AuroElement$1 {
14743
16090
  });
14744
16091
 
14745
16092
  // setting up bibtemplate
14746
- this.bibtemplate = this.dropdown.querySelector(this.bibtemplateTag._$litStatic$); // eslint-disable-line no-underscore-dangle
16093
+ this.bibtemplate = this.dropdown.querySelector(this.bibtemplateTag._$litStatic$);
16094
+ this.inputInBib = this.bibtemplate.querySelector(this.inputTag._$litStatic$);
14747
16095
 
14748
16096
  // Exposes the CSS parts from the bibtemplate for styling
14749
16097
  this.bibtemplate.exposeCssParts();
@@ -14751,14 +16099,24 @@ class AuroCombobox extends AuroElement$1 {
14751
16099
  this.hideBib = this.hideBib.bind(this);
14752
16100
  this.bibtemplate.addEventListener('close-click', this.hideBib);
14753
16101
 
14754
- this.transportInput = this.transportInput.bind(this);
14755
-
16102
+ this.setInputFocus = this.setInputFocus.bind(this);
14756
16103
  this.dropdown.addEventListener('auroDropdown-strategy-change', () => {
14757
16104
  // event when the strategy(bib mode) is changed between fullscreen and floating
14758
- setTimeout(this.transportInput);
16105
+ setTimeout(this.setInputFocus, 0);
14759
16106
  });
14760
16107
  }
14761
16108
 
16109
+ /**
16110
+ * @private
16111
+ */
16112
+ setInputFocus() {
16113
+ if (this.dropdown.isBibFullscreen && this.dropdown.isPopoverVisible) {
16114
+ this.inputInBib.focus();
16115
+ } else {
16116
+ this.input.focus();
16117
+ }
16118
+ }
16119
+
14762
16120
  /**
14763
16121
  * Binds all behavior needed to the menu after rendering.
14764
16122
  * @private
@@ -14767,6 +16125,15 @@ class AuroCombobox extends AuroElement$1 {
14767
16125
  configureMenu() {
14768
16126
  this.menu = this.querySelector('auro-menu, [auro-menu]');
14769
16127
 
16128
+ // set menu's default size if there it's not specified.
16129
+ if (!this.menu.getAttribute('size')) {
16130
+ this.menu.setAttribute('size', this.layout !== 'emphasized' ? 'md' : this.size);
16131
+ }
16132
+
16133
+ if (!this.getAttribute('shape')) {
16134
+ this.menu.setAttribute('shape', this.layout === 'classic' ? 'box' : this.shape);
16135
+ }
16136
+
14770
16137
  // a racing condition on custom-combobox with custom-menu
14771
16138
  if (!this.menu || this.menuShadowRoot === null) {
14772
16139
  setTimeout(() => {
@@ -14899,63 +16266,19 @@ class AuroCombobox extends AuroElement$1 {
14899
16266
  }
14900
16267
 
14901
16268
  /**
14902
- * When the dropdown is visible in fullscreen mode, the input is moved to the subheader slot of bibtemplate.
14903
- * Otherwise, it's moved back to the trigger slot.
16269
+ * Handle changes to the input value and trigger changes that should result.
14904
16270
  * @private
16271
+ * @param {Event} event - The input event triggered by the input element.
14905
16272
  * @returns {void}
14906
16273
  */
14907
- transportInput() {
14908
- if (!this.input) {
16274
+ handleInputValueChange(event) {
16275
+ if (event.target === this.inputInBib) {
16276
+ this.input.value = this.inputInBib.value;
14909
16277
  return;
14910
16278
  }
14911
16279
 
14912
- const inputHelpText = this.input.shadowRoot.querySelector('auro-helptext, [auro-helptext]');
14913
- const inputAlertIcon = this.input.shadowRoot.querySelector(".alertNotification");
14914
-
14915
- if (this.dropdown.isPopoverVisible && this.dropdown.isBibFullscreen) {
14916
-
14917
- if (this.input.parentNode === this.dropdown) {
14918
- // keep the trigger size the same even after input gets removed
14919
- const parentSize = window.getComputedStyle(this.dropdown.trigger);
14920
- this.dropdown.trigger.style.height = parentSize.height;
14921
-
14922
- // input will not have border on bib
14923
- this.input.removeAttribute('bordered');
14924
- this.input.setAttribute('borderless', true);
14925
- this.input.setAttribute('slot', 'subheader');
14926
-
14927
- // set display of helpText and alert icon programmatically
14928
- // because ::slotted and ::part do not work together
14929
- inputHelpText.style.display = 'none';
14930
- if (inputAlertIcon) {
14931
- inputAlertIcon.style.display = 'none';
14932
- }
14933
-
14934
- this.bibtemplate.prepend(this.input);
14935
- this.input.focus();
14936
- }
14937
- } else if (this.input.parentNode !== this.dropdown) {
14938
- this.input.setAttribute('bordered', true);
14939
- this.input.removeAttribute('borderless');
14940
- this.input.setAttribute('slot', 'trigger');
14941
-
14942
- // reset display of helpText and alert icon to be visible
14943
- inputHelpText.style.display = '';
14944
- if (inputAlertIcon) {
14945
- inputAlertIcon.style.display = '';
14946
- }
14947
-
14948
- this.dropdown.prepend(this.input);
14949
- this.input.focus();
14950
- }
14951
- }
16280
+ this.inputInBib.value = this.input.value;
14952
16281
 
14953
- /**
14954
- * Handle changes to the input value and trigger changes that should result.
14955
- * @private
14956
- * @returns {void}
14957
- */
14958
- handleInputValueChange() {
14959
16282
  this.menu.matchWord = this.input.value;
14960
16283
  this.optionActive = null;
14961
16284
 
@@ -15071,8 +16394,8 @@ class AuroCombobox extends AuroElement$1 {
15071
16394
  // Add the tag name as an attribute if it is different than the component name
15072
16395
  this.runtimeUtils.handleComponentTagRename(this, 'auro-combobox');
15073
16396
 
15074
- this.dropdown = this.shadowRoot.querySelector(this.dropdownTag._$litStatic$); // eslint-disable-line no-underscore-dangle
15075
- this.input = this.dropdown.querySelector(this.inputTag._$litStatic$); // eslint-disable-line no-underscore-dangle
16397
+ this.dropdown = this.shadowRoot.querySelector(this.dropdownTag._$litStatic$);
16398
+ this.input = this.dropdown.querySelector(this.inputTag._$litStatic$);
15076
16399
 
15077
16400
  this.configureMenu();
15078
16401
  this.configureInput();
@@ -15145,6 +16468,14 @@ class AuroCombobox extends AuroElement$1 {
15145
16468
  this.input.setAttribute('error', this.getAttribute('error'));
15146
16469
  this.validate();
15147
16470
  }
16471
+
16472
+ if (changedProperties.has('shape') && this.menu) {
16473
+ this.menu.setAttribute('shape', this.layout === 'classic' ? 'box' : this.shape);
16474
+ }
16475
+
16476
+ if (changedProperties.has('size') && this.menu) {
16477
+ this.menu.setAttribute('size', this.layout !== 'emphasized' ? 'md' : this.size);
16478
+ }
15148
16479
  }
15149
16480
 
15150
16481
  /**
@@ -15189,7 +16520,7 @@ class AuroCombobox extends AuroElement$1 {
15189
16520
  case 'label':
15190
16521
  // Programmatically inject as the slot cannot be carried over to bibtemplate.
15191
16522
  // It's because the bib is/will be separated from dropdown to body.
15192
- this.transportAssignedNodes(event.target, this.input, 'label');
16523
+ this.transportAssignedNodes(event.target, this.inputInBib, "label");
15193
16524
  break;
15194
16525
  case 'bib.fullscreen.headline':
15195
16526
  this.transportAssignedNodes(event.target, this.bibtemplate, 'header');
@@ -15219,20 +16550,15 @@ class AuroCombobox extends AuroElement$1 {
15219
16550
  : undefined
15220
16551
  }
15221
16552
  </div>
15222
- <div class="util_displayHiddenVisually" aria-hidden="true">
15223
- <slot name="label" @slotchange="${this.handleSlotChange}"></slot>
15224
- <slot name="bib.fullscreen.headline" @slotchange="${this.handleSlotChange}"></slot>
15225
- </div>
15226
16553
  <${this.dropdownTag}
16554
+ .fullscreenBreakpoint="${this.fullscreenBreakpoint}"
16555
+ .offset="${this.offset}"
16556
+ .placement="${this.placement}"
15227
16557
  ?autoPlacement="${this.autoPlacement}"
15228
16558
  ?disabled="${this.disabled}"
15229
16559
  ?error="${this.validity !== undefined && this.validity !== 'valid'}"
15230
16560
  ?noFlip="${this.noFlip}"
15231
16561
  ?onDark="${this.onDark}"
15232
- .fullscreenBreakpoint="${this.fullscreenBreakpoint}"
15233
- .offset="${this.offset}"
15234
- .placement="${this.placement}"
15235
- simple
15236
16562
  disableEventShow
15237
16563
  fluid
15238
16564
  for="dropdownMenu"
@@ -15240,34 +16566,57 @@ class AuroCombobox extends AuroElement$1 {
15240
16566
  matchWidth="${o(this.matchWidth)}"
15241
16567
  nocheckmark
15242
16568
  rounded
16569
+ simple
15243
16570
  shape="${this.shape}"
15244
16571
  size="${this.size}">
15245
- <${this.inputTag}
15246
- @input="${this.handleInputValueChange}"
15247
- .a11yExpanded="${this.dropdownOpen}"
15248
- .a11yControls="${this.dropdownId}"
15249
- .autocomplete="${this.autocomplete}"
15250
- .inputmode="${this.inputmode}"
15251
- .placeholder="${this.placeholder}"
15252
- .type="${this.type}"
15253
- ?onDark="${this.onDark}"
15254
- ?required="${this.required}"
15255
- ?noValidate="${this.noValidate}"
15256
- ?disabled="${this.disabled}"
15257
- ?icon="${this.triggerIcon}"
15258
- a11yRole="combobox"
15259
- id="${this.id}"
15260
- layout="${this.layout}"
15261
- setCustomValidity="${this.setCustomValidity}"
15262
- setCustomValidityValueMissing="${this.setCustomValidityValueMissing}"
15263
- setCustomValidityCustomError="${this.setCustomValidityCustomError}"
15264
- shape="${this.shape}"
15265
- size="${this.size}"
15266
- slot="trigger">
15267
- </${this.inputTag}>
16572
+ <${this.inputTag}
16573
+ @input="${this.handleInputValueChange}"
16574
+ .a11yExpanded="${this.dropdownOpen}"
16575
+ .a11yControls="${this.dropdownId}"
16576
+ .autocomplete="${this.autocomplete}"
16577
+ .inputmode="${this.inputmode}"
16578
+ .placeholder="${this.placeholder}"
16579
+ .type="${this.type}"
16580
+ ?disabled="${this.disabled}"
16581
+ ?icon="${this.triggerIcon}"
16582
+ ?noValidate="${this.noValidate}"
16583
+ ?onDark="${this.onDark}"
16584
+ ?required="${this.required}"
16585
+ a11yRole="combobox"
16586
+ id="${this.id}"
16587
+ layout="${this.layout}"
16588
+ setCustomValidity="${this.setCustomValidity}"
16589
+ setCustomValidityCustomError="${this.setCustomValidityCustomError}"
16590
+ setCustomValidityValueMissing="${this.setCustomValidityValueMissing}"
16591
+ shape="${this.shape}"
16592
+ size="${this.size}"
16593
+ slot="trigger">
16594
+ <slot name="label" slot="label" @slotchange="${this.handleSlotChange}"></slot>
16595
+ <slot name="displayValue" slot="displayValue"></slot>
16596
+ </${this.inputTag}>
15268
16597
 
15269
16598
  <${this.bibtemplateTag} ?large="${this.largeFullscreenHeadline}">
16599
+ <slot name="bib.fullscreen.headline" slot="header"></slot>
15270
16600
  <slot></slot>
16601
+ <${this.inputTag}
16602
+ @input="${this.handleInputValueChange}"
16603
+ .a11yControls="${this.dropdownId}"
16604
+ .autocomplete="${this.autocomplete}"
16605
+ .inputmode="${this.inputmode}"
16606
+ .placeholder="${this.placeholder}"
16607
+ .type="${this.type}"
16608
+ ?disabled="${this.disabled}"
16609
+ ?icon="${this.triggerIcon}"
16610
+ ?required="${this.required}"
16611
+ a11yRole="combobox"
16612
+ a11yExpanded="true"
16613
+ layout="classic"
16614
+ noValidate="true"
16615
+ shape="classic"
16616
+ simple
16617
+ size="sm"
16618
+ slot="subheader">
16619
+ </${this.inputTag}>
15271
16620
  </${this.bibtemplateTag}>
15272
16621
 
15273
16622
  <span slot="helpText">
@@ -15294,11 +16643,11 @@ class AuroCombobox extends AuroElement$1 {
15294
16643
  }
15295
16644
  }
15296
16645
 
15297
- var styleCss$2 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}:host{display:inline-block;width:100%;margin:0;padding:0;vertical-align:middle}:host ::slotted(auro-menuoption),:host ::slotted([auro-menuoption]),:host auro-menuoption[loadingplaceholder]{padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem))}:host ::slotted([selected]){padding-left:0}:host ::slotted(hr){box-sizing:content-box !important;height:0 !important;overflow:visible !important;margin:var(--ds-size-100, 0.5rem) 0 !important;border-width:0 !important;border-top-width:1px !important;border-top-style:solid !important}:host([nocheckmark]) ::slotted(auro-menuoption),:host([nocheckmark]) auro-menuoption[loadingplaceholder]{padding-left:var(--ds-size-200, 1rem)}:host([root]){overflow-y:auto}[loadingplaceholder].empty{opacity:0;position:absolute}[loadingplaceholder] slot[name=loadingIcon]{vertical-align:middle;line-height:1;display:inline-block}[loadingplaceholder] slot[name=loadingIcon]::slotted(*){margin-right:var(--ds-size-150, 0.75rem)}`;
16646
+ var styleCss$2 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}:host{display:block;vertical-align:middle}:host .wrapper{box-sizing:border-box;display:inline-block;width:100%;margin:0;padding:0}:host ::slotted(hr){box-sizing:content-box !important;height:0 !important;overflow:visible !important;margin:var(--ds-size-100, 0.5rem) 0 !important;border-width:0 !important;border-top-width:1px !important;border-top-style:solid !important}:host [loadingplaceholder].empty{opacity:0;position:absolute}:host [loadingplaceholder] slot[name=loadingIcon]{vertical-align:middle;line-height:1;display:inline-block}:host [loadingplaceholder] slot[name=loadingIcon]::slotted(*){margin-right:var(--ds-size-150, 0.75rem)}:host([root]){overflow-y:auto}:host([root]) .wrapper[class*=-lg]{padding:var(--ds-size-150, 0.75rem)}:host([root]) .wrapper[class*=-xl]{padding:var(--ds-size-200, 1rem)}`;
15298
16647
 
15299
16648
  var colorCss$2 = i$5`:host ::slotted(hr){border-top-color:var(--ds-auro-menu-divider-color)}[loadingplaceholder] slot[name=loadingIcon]{color:var(--ds-auro-menu-loader-color)}[loadingplaceholder] slot[name=loadingText]{color:var(--ds-auro-menu-loader-text-color)}`;
15300
16649
 
15301
- var tokensCss$1 = i$5`:host{--ds-auro-menu-divider-color: var(--ds-basic-color-border-divider, rgba(0, 0, 0, 0.15));--ds-auro-menu-loader-color: var(--ds-basic-color-brand-primary, #01426a);--ds-auro-menu-loader-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-menuoption-container-color: transparent;--ds-auro-menuoption-icon-color: transparent;--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}`;
16650
+ var tokensCss$1 = i$5`:host{--ds-auro-menu-divider-color: var(--ds-basic-color-border-divider, rgba(0, 0, 0, 0.15));--ds-auro-menu-loader-color: var(--ds-basic-color-brand-primary, #01426a);--ds-auro-menu-loader-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-menuoption-container-color: transparent;--ds-auro-menuoption-container-border-color: var(--ds-auro-menuoption-container-color);--ds-auro-menuoption-icon-color: transparent;--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}`;
15302
16651
 
15303
16652
  // Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
15304
16653
  // See LICENSE in the project root for license information.
@@ -15364,14 +16713,17 @@ function dispatchMenuEvent(element, eventName, detail = null) {
15364
16713
  * @slot - Slot for insertion of menu options.
15365
16714
  */
15366
16715
 
15367
- /* eslint-disable no-magic-numbers, max-lines, no-extra-parens */
16716
+ /* eslint-disable no-magic-numbers, max-lines, no-extra-parens, no-inline-comments, line-comment-position */
15368
16717
 
15369
- class AuroMenu extends i$2 {
16718
+ class AuroMenu extends AuroElement$1 {
15370
16719
  constructor() {
15371
16720
  super();
15372
16721
 
15373
16722
  // State properties (reactive)
15374
16723
 
16724
+ this.shape = ""; // box, rounded, pill
16725
+ this.size = ""; // md, lg, xl
16726
+
15375
16727
  // Value of the selected options
15376
16728
  this.value = undefined;
15377
16729
  // Currently selected option
@@ -15430,6 +16782,7 @@ class AuroMenu extends i$2 {
15430
16782
 
15431
16783
  static get properties() {
15432
16784
  return {
16785
+ ...super.properties,
15433
16786
  noCheckmark: {
15434
16787
  type: Boolean,
15435
16788
  reflect: true,
@@ -15463,6 +16816,16 @@ class AuroMenu extends i$2 {
15463
16816
  value: {
15464
16817
  // Allow string, string[] arrays and undefined
15465
16818
  type: Object
16819
+ },
16820
+
16821
+ /**
16822
+ * Indent level for submenus.
16823
+ * @private
16824
+ */
16825
+ level: {
16826
+ type: Number,
16827
+ reflect: false,
16828
+ attribute: false
15466
16829
  }
15467
16830
  };
15468
16831
  }
@@ -15515,12 +16878,15 @@ class AuroMenu extends i$2 {
15515
16878
  }
15516
16879
 
15517
16880
  updated(changedProperties) {
16881
+ super.updated(changedProperties);
16882
+
15518
16883
  if (changedProperties.has('multiSelect')) {
15519
16884
  // Reset selection if multiSelect mode changes
15520
16885
  this.clearSelection();
15521
16886
  }
15522
16887
 
15523
- if (changedProperties.has('value')) {
16888
+
16889
+ if (changedProperties.has("value")) {
15524
16890
  // Handle null/undefined case
15525
16891
  if (this.value === undefined || this.value === null) {
15526
16892
  this.optionSelected = undefined;
@@ -15588,6 +16954,19 @@ class AuroMenu extends i$2 {
15588
16954
  this.querySelectorAll('auro-menu, [auro-menu], auro-menuoption, [auro-menuoption]').forEach((element) => element.setAttribute('noCheckmark', ''));
15589
16955
  }
15590
16956
 
16957
+ // Handle layout propagation to all menus and options
16958
+ const propagationTargets = this.querySelectorAll('auro-menu, [auro-menu], auro-menuoption, [auro-menuoption]');
16959
+ [
16960
+ 'size',
16961
+ 'shape'
16962
+ ].forEach((prop) => {
16963
+ if (changedProperties.has(prop)) {
16964
+ propagationTargets.forEach((el) => {
16965
+ el.setAttribute(prop, this[prop]);
16966
+ });
16967
+ }
16968
+ });
16969
+
15591
16970
  // Regex for matchWord if needed
15592
16971
  let regexWord = null;
15593
16972
 
@@ -15784,21 +17163,20 @@ class AuroMenu extends i$2 {
15784
17163
  * @param {HTMLElement} menu - Root menu element.
15785
17164
  */
15786
17165
  handleNestedMenus(menu) {
15787
- const nestedMenus = menu.querySelectorAll('auro-menu, [auro-menu]');
17166
+ menu.level = menu.parentElement.level >= 0 ? menu.parentElement.level + 1 : 0;
15788
17167
 
15789
- nestedMenus.forEach((nestedMenu) => {
15790
- // role="listbox" only allows "role=group" for children.
15791
- nestedMenu.setAttribute('role', 'group');
15792
- if (!nestedMenu.hasAttribute('aria-label')) {
15793
- nestedMenu.setAttribute('aria-label', 'submenu');
17168
+ if (menu.level > 0) {
17169
+ menu.setAttribute('role', 'group');
17170
+ menu.removeAttribute("root");
17171
+ if (!menu.hasAttribute('aria-label')) {
17172
+ menu.setAttribute('aria-label', 'submenu');
15794
17173
  }
17174
+ }
15795
17175
 
15796
- const options = nestedMenu.querySelectorAll(':scope > auro-menuoption, :scope > [auro-menuoption]');
15797
- options.forEach((option) => {
15798
- option.innerHTML = this.nestingSpacer + option.innerHTML;
15799
- });
15800
-
15801
- this.handleNestedMenus(nestedMenu);
17176
+ const options = menu.querySelectorAll(':scope > auro-menuoption, :scope > [auro-menuoption]');
17177
+ options.forEach((option) => {
17178
+ const regex = new RegExp(this.nestingSpacer, "gu");
17179
+ option.innerHTML = this.nestingSpacer.repeat(menu.level) + option.innerHTML.replace(regex, '');
15802
17180
  });
15803
17181
  }
15804
17182
 
@@ -16040,28 +17418,39 @@ class AuroMenu extends i$2 {
16040
17418
  }
16041
17419
 
16042
17420
  /**
16043
- * Renders the component.
16044
- * @returns {boolean} - True if loading slots are present and non-empty.
17421
+ * Logic to determine the layout of the component.
17422
+ * @protected
17423
+ * @returns {void}
16045
17424
  */
16046
- render() {
17425
+ renderLayout() {
16047
17426
  if (this.loading) {
16048
17427
  return x`
16049
- <auro-menuoption disabled loadingplaceholder class="${this.hasLoadingPlaceholder ? '' : 'empty'}">
16050
- <div>
16051
- <slot name="loadingIcon"></slot>
16052
- <slot name="loadingText"></slot>
16053
- </div>
16054
- </auro-menuoption>
17428
+ <div class="wrapper">
17429
+ <auro-menuoption
17430
+ disabled
17431
+ loadingplaceholder
17432
+ class="${this.hasLoadingPlaceholder ? "" : "empty"}"
17433
+ >
17434
+ <div>
17435
+ <slot name="loadingIcon"></slot>
17436
+ <slot name="loadingText"></slot>
17437
+ </div>
17438
+ </auro-menuoption>
17439
+ </div>
16055
17440
  `;
16056
17441
  }
16057
17442
 
16058
- return x`<slot @slotchange=${this.handleSlotChange}></slot>`;
17443
+ return x`
17444
+ <div class="wrapper">
17445
+ <slot @slotchange=${this.handleSlotChange}></slot>
17446
+ </div>
17447
+ `;
16059
17448
  }
16060
17449
  }
16061
17450
 
16062
- var styleCss$1 = i$5`:host{display:flex;align-items:center;padding:var(--ds-size-50, 0.25rem) var(--ds-size-200, 1rem) var(--ds-size-50, 0.25rem) 0;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent}:host slot{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-150, 0.75rem);margin-left:var(--ds-size-100, 0.5rem)}:host ::slotted(.nestingSpacer){display:inline-block;width:var(--ds-size-300, 1.5rem)}:host ::slotted(strong){font-weight:700}:host([hidden]){display:none}:host([static]){pointer-events:none}:host([disabled]:hover){cursor:auto}:host([disabled]){user-select:none;pointer-events:none}`;
17451
+ var styleCss$1 = i$5`:host{cursor:pointer;user-select:none}:host .wrapper{display:flex;align-items:center;padding-right:var(--ds-size-200, 1rem);padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem));padding-top:var(--ds-size-50, 0.25rem);padding-bottom:var(--ds-size-50, 0.25rem);-webkit-tap-highlight-color:transparent}:host .wrapper[class*=shape-box],:host .wrapper[class*=shape-snowflake]{border-radius:unset}:host .wrapper[class*=shape-pill]{border-radius:30px}:host .wrapper[class*=-lg]{font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);padding-top:var(--ds-size-75, 0.375rem);padding-bottom:var(--ds-size-75, 0.375rem);padding-right:var(--ds-size-150, 0.75rem);margin-bottom:var(--ds-size-50, 0.25rem)}:host .wrapper[class*=-xl]{font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);padding-top:var(--ds-size-100, 0.5rem);padding-bottom:var(--ds-size-100, 0.5rem);padding-right:var(--ds-size-200, 1rem);margin-bottom:var(--ds-size-100, 0.5rem)}:host slot{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-150, 0.75rem);margin-left:var(--ds-size-100, 0.5rem)}:host ::slotted(.nestingSpacer){display:inline-block;width:var(--ds-size-300, 1.5rem)}:host ::slotted(strong){font-weight:700}:host([loadingplaceholder]) .wrapper{padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem))}:host([selected]) .wrapper{padding-left:0}:host([nocheckmark]) .wrapper{padding-left:var(--ds-size-150, 0.75rem)}:host([nocheckmark]) .wrapper[class*=-lg]{padding-left:var(--ds-size-150, 0.75rem)}:host([nocheckmark]) .wrapper[class*=-xl]{padding-left:var(--ds-size-200, 1rem)}:host([hidden]){display:none}:host([static]){pointer-events:none}:host([disabled]:hover){cursor:auto}:host([disabled]){user-select:none;pointer-events:none}`;
16063
17452
 
16064
- var colorCss$1 = i$5`:host{background-color:var(--ds-auro-menuoption-container-color);color:var(--ds-auro-menuoption-text-color)}:host svg{fill:var(--ds-auro-menuoption-icon-color)}:host([disabled]){--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:hover),:host(.active){--ds-auro-menuoption-container-color: var(--ds-basic-color-surface-neutral-subtle, #f7f7f7)}:host([selected]){--ds-auro-menuoption-container-color: var(--ds-advanced-color-state-selected, #01426a);--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-menuoption-icon-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([selected]):host(:hover),:host([selected]):host(.active){--ds-auro-menuoption-container-color: var(--ds-advanced-color-state-selected-hover, #00274a)}`;
17453
+ var colorCss$1 = i$5`:host .wrapper{border:1px solid var(--ds-auro-menuoption-container-border-color);background-color:var(--ds-auro-menuoption-container-color);color:var(--ds-auro-menuoption-text-color)}:host svg{fill:var(--ds-auro-menuoption-icon-color)}:host([disabled]){--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:hover),:host(.active){--ds-auro-menuoption-container-color: var(--ds-basic-color-surface-neutral-subtle, #f7f7f7)}:host([selected]){--ds-auro-menuoption-container-color: var(--ds-advanced-color-state-selected, #01426a);--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-menuoption-icon-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([selected]):host(:hover),:host([selected]):host(.active){--ds-auro-menuoption-container-color: var(--ds-advanced-color-state-selected-hover, #00274a)}`;
16065
17454
 
16066
17455
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
16067
17456
  // See LICENSE in the project root for license information.
@@ -16409,8 +17798,12 @@ class AuroIcon extends BaseIcon {
16409
17798
  async firstUpdated() {
16410
17799
  await super.firstUpdated();
16411
17800
 
16412
- // Removes the SVG description for screenreader if ariaHidden is set to true
16413
- if (!this.hasAttribute('ariaHidden') && this.svg) {
17801
+ /**
17802
+ * icons provide a description for screen readers. Icon only instances Auro-button
17803
+ * depend on this description to provide context for the user using a screen reader.
17804
+ * Removes the SVG description for screen reader if ariaHidden is set to true.
17805
+ */
17806
+ if (this.hasAttribute('ariaHidden') && this.svg) {
16414
17807
  const svgDesc = this.svg.querySelector('desc');
16415
17808
 
16416
17809
  if (svgDesc) {
@@ -16454,7 +17847,7 @@ class AuroIcon extends BaseIcon {
16454
17847
  }
16455
17848
  }
16456
17849
 
16457
- var iconVersion = '8.0.3';
17850
+ var iconVersion = '8.0.4';
16458
17851
 
16459
17852
  var checkmarkIcon = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"checkmark-sm__desc\" class=\"ico_squareLarge\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"checkmark-sm__desc\">a small check mark.</desc><path d=\"M8.461 11.84a.625.625 0 1 0-.922.844l2.504 2.738c.247.27.674.27.922 0l5.496-6a.625.625 0 1 0-.922-.844l-5.035 5.496z\"/></svg>"};
16460
17853
 
@@ -16472,14 +17865,17 @@ var checkmarkIcon = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlin
16472
17865
  * @event auroMenuOption-mouseover - Notifies that this option has been hovered over.
16473
17866
  * @slot - Specifies text for an option, but is not the value.
16474
17867
  */
16475
- class AuroMenuOption extends i$2 {
17868
+ class AuroMenuOption extends AuroElement$1 {
16476
17869
  constructor() {
16477
17870
  super();
16478
17871
 
17872
+ this.size = ""; // md, lg, xl
17873
+ this.shape = ""; // box, rounded, pill
17874
+
16479
17875
  /**
16480
17876
  * Generate unique names for dependency components.
16481
17877
  */
16482
- const versioning = new AuroDependencyVersioning$4();
17878
+ const versioning = new AuroDependencyVersioning$3();
16483
17879
  this.iconTag = versioning.generateTag('auro-formkit-menuoption-icon', iconVersion, AuroIcon);
16484
17880
 
16485
17881
  this.selected = false;
@@ -16499,6 +17895,7 @@ class AuroMenuOption extends i$2 {
16499
17895
 
16500
17896
  static get properties() {
16501
17897
  return {
17898
+ ...super.properties,
16502
17899
  nocheckmark: {
16503
17900
  type: Boolean,
16504
17901
  reflect: true
@@ -16560,6 +17957,8 @@ class AuroMenuOption extends i$2 {
16560
17957
 
16561
17958
  // observer for selected property changes
16562
17959
  updated(changedProperties) {
17960
+ super.updated(changedProperties);
17961
+
16563
17962
  if (changedProperties.has('selected')) {
16564
17963
  this.setAttribute('aria-selected', this.selected.toString());
16565
17964
  }
@@ -16581,10 +17980,19 @@ class AuroMenuOption extends i$2 {
16581
17980
  return u$2`<${this.iconTag} customColor customSvg slot="icon">${svg}</${this.iconTag}>`;
16582
17981
  }
16583
17982
 
16584
- render() {
17983
+ /**
17984
+ * Logic to determine the layout of the component.
17985
+ * @protected
17986
+ * @returns {void}
17987
+ */
17988
+ renderLayout() {
16585
17989
  return u$2`
16586
- ${this.selected && !this.nocheckmark ? this.generateIconHtml(checkmarkIcon.svg) : undefined}
16587
- <slot></slot>
17990
+ <div class="wrapper">
17991
+ ${this.selected && !this.nocheckmark
17992
+ ? this.generateIconHtml(checkmarkIcon.svg)
17993
+ : undefined}
17994
+ <slot></slot>
17995
+ </div>
16588
17996
  `;
16589
17997
  }
16590
17998
  }