@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.2 → 0.0.0-pr624.21

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 (108) hide show
  1. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +13 -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 +1292 -79
  5. package/components/bibtemplate/dist/registered.js +1292 -79
  6. package/components/checkbox/README.md +1 -1
  7. package/components/checkbox/demo/api.md +8 -9
  8. package/components/checkbox/demo/api.min.js +30 -24
  9. package/components/checkbox/demo/index.md +2 -2
  10. package/components/checkbox/demo/index.min.js +30 -24
  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 +30 -24
  14. package/components/checkbox/dist/registered.js +30 -24
  15. package/components/combobox/demo/api.md +53 -0
  16. package/components/combobox/demo/api.min.js +2898 -753
  17. package/components/combobox/demo/index.md +6 -0
  18. package/components/combobox/demo/index.min.js +2898 -753
  19. package/components/combobox/dist/auro-combobox.d.ts +12 -12
  20. package/components/combobox/dist/index.js +2646 -642
  21. package/components/combobox/dist/registered.js +2646 -642
  22. package/components/counter/demo/api.md +21 -19
  23. package/components/counter/demo/api.min.js +3648 -929
  24. package/components/counter/demo/index.md +99 -34
  25. package/components/counter/demo/index.min.js +3648 -929
  26. package/components/counter/dist/auro-counter-button.d.ts +2 -0
  27. package/components/counter/dist/auro-counter-group.d.ts +105 -6
  28. package/components/counter/dist/auro-counter.d.ts +6 -0
  29. package/components/counter/dist/helptextVersion.d.ts +2 -0
  30. package/components/counter/dist/iconVersion.d.ts +1 -1
  31. package/components/counter/dist/index.js +3648 -929
  32. package/components/counter/dist/registered.js +3648 -929
  33. package/components/datepicker/demo/api.md +36 -19
  34. package/components/datepicker/demo/api.min.js +11437 -7744
  35. package/components/datepicker/demo/index.md +80 -0
  36. package/components/datepicker/demo/index.min.js +11437 -7744
  37. package/components/datepicker/dist/auro-datepicker.d.ts +71 -3
  38. package/components/datepicker/dist/buttonVersion.d.ts +1 -1
  39. package/components/datepicker/dist/iconVersion.d.ts +2 -0
  40. package/components/datepicker/dist/index.js +13847 -10154
  41. package/components/datepicker/dist/popoverVersion.d.ts +1 -1
  42. package/components/datepicker/dist/registered.js +13847 -10154
  43. package/components/dropdown/demo/api.md +6 -7
  44. package/components/dropdown/demo/api.min.js +238 -144
  45. package/components/dropdown/demo/index.md +57 -9
  46. package/components/dropdown/demo/index.min.js +238 -144
  47. package/components/dropdown/dist/auro-dropdown.d.ts +10 -9
  48. package/components/dropdown/dist/auro-dropdownBib.d.ts +22 -0
  49. package/components/dropdown/dist/index.js +238 -144
  50. package/components/dropdown/dist/registered.js +238 -144
  51. package/components/form/demo/api.min.js +1 -1
  52. package/components/form/demo/index.min.js +1 -1
  53. package/components/form/dist/index.js +1 -1
  54. package/components/form/dist/registered.js +1 -1
  55. package/components/helptext/dist/index.js +2 -2
  56. package/components/helptext/dist/registered.js +2 -2
  57. package/components/input/demo/api.md +63 -56
  58. package/components/input/demo/api.min.js +983 -269
  59. package/components/input/demo/index.min.js +982 -268
  60. package/components/input/dist/auro-input.d.ts +202 -14
  61. package/components/input/dist/base-input.d.ts +30 -7
  62. package/components/input/dist/buttonVersion.d.ts +1 -1
  63. package/components/input/dist/iconVersion.d.ts +1 -1
  64. package/components/input/dist/index.js +982 -268
  65. package/components/input/dist/registered.js +982 -268
  66. package/components/layoutElement/dist/index.js +13 -10
  67. package/components/menu/demo/api.html +38 -0
  68. package/components/menu/demo/api.md +68 -7
  69. package/components/menu/demo/api.min.js +278 -42
  70. package/components/menu/demo/index.min.js +278 -42
  71. package/components/menu/dist/auro-menu.d.ts +28 -5
  72. package/components/menu/dist/auro-menuoption.d.ts +15 -3
  73. package/components/menu/dist/iconVersion.d.ts +1 -1
  74. package/components/menu/dist/index.js +278 -42
  75. package/components/menu/dist/registered.js +278 -42
  76. package/components/menu/dist/styles/default/color-menuoption-css.d.ts +2 -0
  77. package/components/menu/dist/styles/default/style-menu-css.d.ts +2 -0
  78. package/components/menu/dist/styles/default/style-menuoption-css.d.ts +2 -0
  79. package/components/menu/dist/styles/default/tokens-css.d.ts +2 -0
  80. package/components/radio/demo/api.md +2 -2
  81. package/components/radio/demo/api.min.js +10 -7
  82. package/components/radio/demo/index.min.js +10 -7
  83. package/components/radio/dist/auro-radio.d.ts +1 -1
  84. package/components/radio/dist/index.js +10 -7
  85. package/components/radio/dist/registered.js +10 -7
  86. package/components/select/demo/api.js +2 -0
  87. package/components/select/demo/api.md +78 -12
  88. package/components/select/demo/api.min.js +2797 -538
  89. package/components/select/demo/index.html +1 -0
  90. package/components/select/demo/index.md +325 -763
  91. package/components/select/demo/index.min.js +2790 -543
  92. package/components/select/dist/auro-select.d.ts +111 -11
  93. package/components/select/dist/helptextVersion.d.ts +2 -0
  94. package/components/select/dist/index.js +2533 -427
  95. package/components/select/dist/registered.js +2533 -427
  96. package/components/select/dist/styles/shapeSize-css.d.ts +2 -0
  97. package/components/select/dist/styles/tokens-css.d.ts +2 -0
  98. package/package.json +6 -4
  99. /package/components/{dropdown/dist/styles/default/bibColors-css.d.ts → counter/dist/styles/shapeSize-css.d.ts} +0 -0
  100. /package/components/{dropdown → datepicker}/dist/styles/default/color-css.d.ts +0 -0
  101. /package/components/{dropdown/dist/styles/default/bibStyles-css.d.ts → datepicker/dist/styles/shapeSize-css.d.ts} +0 -0
  102. /package/components/{dropdown/dist/styles/default/style-css.d.ts → datepicker/dist/styles/snowflake/color-css.d.ts} +0 -0
  103. /package/components/{dropdown/dist/styles → datepicker/dist/styles/snowflake}/style-css.d.ts +0 -0
  104. /package/components/{menu/dist/styles/color-menu-css.d.ts → dropdown/dist/styles/classic/bibColors-css.d.ts} +0 -0
  105. /package/components/{menu/dist/styles/color-menuoption-css.d.ts → dropdown/dist/styles/classic/bibStyles-css.d.ts} +0 -0
  106. /package/components/{menu/dist/styles/style-menu-css.d.ts → dropdown/dist/styles/classic/color-css.d.ts} +0 -0
  107. /package/components/{menu/dist/styles/style-menuoption-css.d.ts → dropdown/dist/styles/classic/style-css.d.ts} +0 -0
  108. /package/components/menu/dist/styles/{tokens-css.d.ts → default/color-menu-css.d.ts} +0 -0
@@ -41,25 +41,25 @@ const t$2=globalThis,i$3=t$2.trustedTypes,s$3=i$3?i$3.createPolicy("lit-html",{c
41
41
  * SPDX-License-Identifier: BSD-3-Clause
42
42
  */const s$2=globalThis;let i$2 = class i extends y$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(r,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T}};i$2._$litElement$=true,i$2["finalized"]=true,s$2.litElementHydrateSupport?.({LitElement:i$2});const o$2=s$2.litElementPolyfillSupport;o$2?.({LitElement:i$2});(s$2.litElementVersions??=[]).push("4.2.0");
43
43
 
44
- var shapeSizeCss = i$5`.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-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-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-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-pill-xl{min-height:72px;max-height:72px;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-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-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-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-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-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}`;
44
+ 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}`;
45
45
 
46
- var styleCss$4 = 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}`;
46
+ var styleCss$4 = 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}`;
47
47
 
48
- 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}.layoutDefault label,:host(:not([layout])) label{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);position:absolute;overflow:hidden;pointer-events:none;text-overflow:ellipsis;white-space:nowrap}.layoutDefault :host(:not([bordered])) label,:host(:not([layout])) :host(:not([bordered])) label{top:calc(100% - var(--ds-size-25, 0.125rem));transform:translateY(-100%)}.layoutDefault :host(:not([bordered])) label.withIcon,:host(:not([layout])) :host(:not([bordered])) label.withIcon{left:var(--ds-size-400, 2rem)}:host([class=layoutDefault][bordered]) label,:host(:not([layout])[bordered]) label{top:50%;transform:translateY(-50%)}:host([class=layoutDefault][bordered]) label.withIcon,:host(:not([layout])[bordered]) label.withIcon{left:var(--ds-size-500, 2.5rem)}:host([class=layoutDefault][bordered]) label:not(label.withIcon),:host(:not([layout])[bordered]) label:not(label.withIcon){left:var(--ds-size-100, 0.5rem)}.layoutDefault .wrapper:focus-within label,:host(:not([layout])) .wrapper:focus-within label{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-basic-text-body-xs-font-size, 12px);font-weight:var(--ds-basic-text-body-xs-font-weight, 450);letter-spacing:var(--ds-basic-text-body-xs-letter-spacing, 0);line-height:var(--ds-basic-text-body-xs-line-height, 16px);transform:unset}.layoutDefault label.withValue,:host(:not([layout])) label.withValue{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-basic-text-body-xs-font-size, 12px);font-weight:var(--ds-basic-text-body-xs-font-weight, 450);letter-spacing:var(--ds-basic-text-body-xs-letter-spacing, 0);line-height:var(--ds-basic-text-body-xs-line-height, 16px);transform:unset}:host([class=layoutDefault][activeLabel]) .wrapper label,:host(:not([layout])[activeLabel]) .wrapper label{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-basic-text-body-xs-font-size, 12px);font-weight:var(--ds-basic-text-body-xs-font-weight, 450);letter-spacing:var(--ds-basic-text-body-xs-letter-spacing, 0);line-height:var(--ds-basic-text-body-xs-line-height, 16px);transform:unset}.layoutDefault input,:host(:not([layout])) input{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);position:relative;overflow:hidden;min-height:var(--ds-size-200, 1rem);max-height:var(--ds-size-200, 1rem);flex:1;padding:var(--ds-size-400, 2rem) 0 var(--ds-size-50, 0.25rem);margin:0;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);letter-spacing:var(--ds-basic-text-body-default-letter-spacing, 0);line-height:var(--ds-basic-text-body-default-line-height, 24px);outline:none;text-overflow:ellipsis;white-space:nowrap}.layoutDefault input::-ms-reveal,.layoutDefault input::-ms-clear,:host(:not([layout])) input::-ms-reveal,:host(:not([layout])) input::-ms-clear{display:none}.layoutDefault input::-webkit-outer-spin-button,.layoutDefault input::-webkit-inner-spin-button,:host(:not([layout])) input::-webkit-outer-spin-button,:host(:not([layout])) input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.layoutDefault input[type=number],:host(:not([layout])) input[type=number]{-moz-appearance:textfield;appearance:textfield}.layoutDefault input:disabled,:host(:not([layout])) input:disabled{background:none;pointer-events:none}:host([class=layoutDefault][bordered]) input,:host(:not([layout])[bordered]) input{padding:var(--ds-size-400, 2rem) 0 var(--ds-size-100, 0.5rem)}: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}`;
48
+ 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}`;
49
49
 
50
- var colorBaseCss = i$5`.wrapper{border-color:var(--ds-auro-input-border-color);background-color:var(--ds-auro-input-background-color);color:var(--ds-auro-input-text-color)}.wrapper label{color:var(--ds-auro-input-label-text-color)}.wrapper input{color:var(--ds-auro-input-text-color);caret-color:var(--ds-auro-input-caret-color)}.wrapper input::placeholder{color:var(--ds-auro-input-placeholder-text-color)}.wrapper input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}.wrapper .displayValue{background-color:var(--ds-auro-input-background-color)}:host(:not([ondark])) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-brand, #00274a)}:host([ondark]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff)}:host(:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([ondark]:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}`;
50
+ var colorBaseCss = i$5`.wrapper{border-color:var(--ds-auro-input-border-color);background-color:var(--ds-auro-input-background-color);color:var(--ds-auro-input-text-color)}.wrapper label{color:var(--ds-auro-input-label-text-color)}.wrapper input{caret-color:var(--ds-auro-input-caret-color);color:var(--ds-auro-input-text-color)}.wrapper input::placeholder{color:var(--ds-auro-input-placeholder-text-color)}.wrapper input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}.wrapper .displayValue{background-color:var(--ds-auro-input-background-color)}:host(:not([ondark])) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-brand, #00274a)}:host([ondark]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff)}:host(:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([ondark]:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}`;
51
51
 
52
- 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}`;
52
+ 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-basic-color-status-error-subtle, #fbc6c6);--ds-auro-input-outline-color: transparent}`;
53
53
 
54
- 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-direction:column;justify-content:center;flex:1;cursor:text}.layout-classic .mainContent label{cursor:text;padding-top:4px;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{font-size:var(--ds-basic-text-body-default-font-size, 16px);line-height:var(--ds-basic-text-body-default-line-height, 24px);padding-bottom:8px;transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);height:auto}.layout-classic .mainContent:has(input.util_displayHiddenVisually) label{justify-self:flex-start;padding-top:0;font-size:var(--ds-text-body-size-default, 1rem);line-height:var(--ds-text-body-size-default)}.layout-classic .mainContent:has(input.util_displayHiddenVisually) input{height:0;line-height:0;padding-bottom:0}.layout-classic .displayValue{position:absolute;top:0;right:0;bottom:0;left:0;display:none}.layout-classic .displayValue.hasContent:is(.withValue):not(.hasFocus){display:block}.layout-classic .accents{display:flex;flex-direction:row;justify-content:center;align-items:center}.layout-classic.withValue{justify-content:flex-start}.layout-classic:focus-within{justify-content:flex-start}.layout-classic:focus-within .alertNotification{display:none}.layout-classic .accents.left{padding-left:8px}.layout-classic .accents.right{padding-right:8px}`;
54
+ 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}`;
55
55
 
56
- 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)}`;
56
+ 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-basic-color-status-error-subtle, #fbc6c6);--ds-auro-input-outline-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host([layout*=classic][ondark]:is([validity]:not([validity=valid]))) .layout-classic:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-status-error-subtle, #fbc6c6);--ds-auro-input-outline-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}`;
57
57
 
58
- 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}`;
58
+ 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}`;
59
59
 
60
60
  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)}`;
61
61
 
62
- var snowflakeStyleCss = i$5`: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}`;
62
+ 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}`;
63
63
 
64
64
  /**
65
65
  * @license
@@ -161,6 +161,8 @@ const stringsES = {
161
161
  'dateMM': 'Ingrese una fecha completa en el formato MM',
162
162
  'dateDD': 'Ingrese una fecha completa en el formato DD',
163
163
  'clearInput': 'Borrar campo de entrada',
164
+ 'showPassword': 'Mostrar contraseña',
165
+ 'hidePassword': 'Ocultar contraseña'
164
166
  };
165
167
 
166
168
  const stringsEN = {
@@ -185,6 +187,8 @@ const stringsEN = {
185
187
  'dateMM': 'Please enter a complete date in the format MM',
186
188
  'dateDD': 'Please enter a complete date in the format DD',
187
189
  'clearInput': 'Clear input field',
190
+ 'showPassword': 'Show password',
191
+ 'hidePassword': 'Hide password'
188
192
  };
189
193
 
190
194
  /**
@@ -4119,9 +4123,10 @@ class DateFormatter {
4119
4123
  /**
4120
4124
  * Convert a date object to string format.
4121
4125
  * @param {Object} date - Date to convert to string.
4122
- * @returns {Object} Returns the date as a string.
4126
+ * @param {String} locale - Optional locale to use for the date string. Defaults to user's locale.
4127
+ * @returns {String} Returns the date as a string.
4123
4128
  */
4124
- this.getDateAsString = (date) => date.toLocaleDateString(undefined, {
4129
+ this.getDateAsString = (date, locale = undefined) => date.toLocaleDateString(locale, {
4125
4130
  year: "numeric",
4126
4131
  month: "2-digit",
4127
4132
  day: "2-digit",
@@ -4313,7 +4318,7 @@ class AuroDateUtilities extends AuroDateUtilitiesBase {
4313
4318
  const dateObj = new Date(this.getFourDigitYear(dateParts.year), dateParts.month - 1, dateParts.day || 1);
4314
4319
 
4315
4320
  // Get the date string of the date object we created from the string date
4316
- const actualDateStr = dateFormatter.getDateAsString(dateObj);
4321
+ const actualDateStr = dateFormatter.getDateAsString(dateObj, "en-US");
4317
4322
 
4318
4323
  // Guard Clause: Generated date matches date string input
4319
4324
  if (expectedDateStr !== actualDateStr) {
@@ -4478,7 +4483,7 @@ const {
4478
4483
 
4479
4484
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
4480
4485
 
4481
- let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
4486
+ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
4482
4487
 
4483
4488
  /* eslint-disable jsdoc/require-param */
4484
4489
 
@@ -4548,7 +4553,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
4548
4553
  class AuroFormValidation {
4549
4554
 
4550
4555
  constructor() {
4551
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
4556
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
4552
4557
  }
4553
4558
 
4554
4559
  /**
@@ -4827,7 +4832,9 @@ class AuroFormValidation {
4827
4832
  elem.validity = this.auroInputElements[0].validity;
4828
4833
  elem.errorMessage = this.auroInputElements[0].errorMessage;
4829
4834
 
4830
- if (elem.validity === 'valid' && this.auroInputElements.length > 1) {
4835
+ // combobox has 2 inputs but no need to check validity on the 2nd one which is in fullscreen bib.
4836
+ // combobox's 2nd input will have noValidate set true.
4837
+ if (elem.validity === 'valid' && this.auroInputElements.length > 1 && !this.auroInputElements[1].noValidate) {
4831
4838
  elem.validity = this.auroInputElements[1].validity;
4832
4839
  elem.errorMessage = this.auroInputElements[1].errorMessage;
4833
4840
  }
@@ -4907,7 +4914,7 @@ class AuroFormValidation {
4907
4914
  }
4908
4915
  }
4909
4916
 
4910
- let AuroElement$1 = class AuroElement extends i$2 {
4917
+ let AuroElement$2 = class AuroElement extends i$2 {
4911
4918
  static get properties() {
4912
4919
  return {
4913
4920
 
@@ -4942,18 +4949,21 @@ let AuroElement$1 = class AuroElement extends i$2 {
4942
4949
  }
4943
4950
 
4944
4951
  resetShapeClasses() {
4945
- if (this.shape && this.size) {
4946
- const wrapper = this.shadowRoot.querySelector('.wrapper');
4952
+ const wrapper = this.shadowRoot.querySelector('.wrapper');
4947
4953
 
4948
- if (wrapper) {
4949
- wrapper.classList.forEach((className) => {
4950
- if (className.startsWith('shape-')) {
4951
- wrapper.classList.remove(className);
4952
- }
4953
- });
4954
+ if (wrapper) {
4955
+ wrapper.classList.forEach((className) => {
4956
+ if (className.startsWith('shape-')) {
4957
+ wrapper.classList.remove(className);
4958
+ }
4959
+ });
4954
4960
 
4955
- wrapper.classList.add(`shape-${this.shape.toLowerCase()}-${this.size.toLowerCase()}`);
4956
- }
4961
+ }
4962
+
4963
+ if (this.shape && this.size) {
4964
+ wrapper.classList.add(`shape-${this.shape.toLowerCase()}-${this.size.toLowerCase()}`);
4965
+ } else {
4966
+ wrapper.classList.add('shape-none');
4957
4967
  }
4958
4968
  }
4959
4969
 
@@ -5011,17 +5021,21 @@ let AuroElement$1 = class AuroElement extends i$2 {
5011
5021
  *
5012
5022
  * @slot helptext - Sets the help text displayed below the input.
5013
5023
  * @slot label - Sets the label text for the input.
5024
+ * @slot displayValue - Allows custom HTML content to display in place of the value when the input is not focused.
5014
5025
  *
5015
5026
  * @csspart wrapper - Use for customizing the style of the root element
5016
5027
  * @csspart label - Use for customizing the style of the label element
5017
5028
  * @csspart helpText - Use for customizing the style of the helpText element
5029
+ * @csspart input - Use for customizing the style of the input element
5018
5030
  * @csspart accentIcon - Use for customizing the style of the accentIcon element (e.g. credit card icon, calendar icon)
5019
5031
  * @csspart iconContainer - Use for customizing the style of the iconContainer (e.g. X icon for clearing input value)
5032
+ * @csspart accent-left - Use for customizing the style of the left accent element (e.g. padding, margin)
5033
+ * @csspart accent-right - Use for customizing the style of the right accent element (e.g. padding, margin)
5020
5034
  * @event input - Event fires when the value of an `auro-input` has been changed.
5021
5035
  * @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` value has changed.
5022
5036
  */
5023
5037
 
5024
- class BaseInput extends AuroElement$1 {
5038
+ class BaseInput extends AuroElement$2 {
5025
5039
 
5026
5040
  constructor() {
5027
5041
  super();
@@ -5114,7 +5128,6 @@ class BaseInput extends AuroElement$1 {
5114
5128
  */
5115
5129
  a11yRole: {
5116
5130
  type: String,
5117
- attribute: true,
5118
5131
  reflect: true
5119
5132
  },
5120
5133
 
@@ -5123,7 +5136,6 @@ class BaseInput extends AuroElement$1 {
5123
5136
  */
5124
5137
  a11yExpanded: {
5125
5138
  type: Boolean,
5126
- attribute: true,
5127
5139
  reflect: true
5128
5140
  },
5129
5141
 
@@ -5132,7 +5144,6 @@ class BaseInput extends AuroElement$1 {
5132
5144
  */
5133
5145
  a11yControls: {
5134
5146
  type: String,
5135
- attribute: true,
5136
5147
  reflect: true
5137
5148
  },
5138
5149
 
@@ -5148,7 +5159,8 @@ class BaseInput extends AuroElement$1 {
5148
5159
  * 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].
5149
5160
  */
5150
5161
  autocapitalize: {
5151
- type: String
5162
+ type: String,
5163
+ reflect: true
5152
5164
  },
5153
5165
 
5154
5166
  /**
@@ -5163,7 +5175,8 @@ class BaseInput extends AuroElement$1 {
5163
5175
  * When set to `off`, stops iOS from auto-correcting words when typed into a text box.
5164
5176
  */
5165
5177
  autocorrect: {
5166
- type: String
5178
+ type: String,
5179
+ reflect: true
5167
5180
  },
5168
5181
 
5169
5182
  /**
@@ -5208,7 +5221,6 @@ class BaseInput extends AuroElement$1 {
5208
5221
  /** Exposes inputmode attribute for input. */
5209
5222
  inputmode: {
5210
5223
  type: String,
5211
- attribute: true,
5212
5224
  reflect: true
5213
5225
  },
5214
5226
 
@@ -5216,7 +5228,8 @@ class BaseInput extends AuroElement$1 {
5216
5228
  * Defines the language of an element.
5217
5229
  */
5218
5230
  lang: {
5219
- type: String
5231
+ type: String,
5232
+ reflect: true
5220
5233
  },
5221
5234
 
5222
5235
  /**
@@ -5230,7 +5243,8 @@ class BaseInput extends AuroElement$1 {
5230
5243
  * The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher.
5231
5244
  */
5232
5245
  maxLength: {
5233
- type: Number
5246
+ type: Number,
5247
+ reflect: true
5234
5248
  },
5235
5249
 
5236
5250
  /**
@@ -5244,14 +5258,25 @@ class BaseInput extends AuroElement$1 {
5244
5258
  * 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`.
5245
5259
  */
5246
5260
  minLength: {
5247
- type: Number
5261
+ type: Number,
5262
+ reflect: true
5248
5263
  },
5249
5264
 
5250
5265
  /**
5251
5266
  * Populates the `name` attribute on the input.
5252
5267
  */
5253
5268
  name: {
5254
- type: String
5269
+ type: String,
5270
+ reflect: true
5271
+ },
5272
+
5273
+ /**
5274
+ * Sets styles for nested operation - removes borders, hides help + error text, and
5275
+ * hides accents.
5276
+ */
5277
+ nested: {
5278
+ type: Boolean,
5279
+ reflect: true
5255
5280
  },
5256
5281
 
5257
5282
  /**
@@ -5282,7 +5307,8 @@ class BaseInput extends AuroElement$1 {
5282
5307
  * Define custom placeholder text, only supported by date input formats.
5283
5308
  */
5284
5309
  placeholder: {
5285
- type: String
5310
+ type: String,
5311
+ reflect: true
5286
5312
  },
5287
5313
 
5288
5314
  /**
@@ -5371,6 +5397,14 @@ class BaseInput extends AuroElement$1 {
5371
5397
  type: String
5372
5398
  },
5373
5399
 
5400
+ /**
5401
+ * Simple makes the input render without a border.
5402
+ */
5403
+ simple: {
5404
+ type: Boolean,
5405
+ reflect: true
5406
+ },
5407
+
5374
5408
  /**
5375
5409
  * Custom help text message for email type validity.
5376
5410
  */
@@ -5382,7 +5416,8 @@ class BaseInput extends AuroElement$1 {
5382
5416
  * 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`.
5383
5417
  */
5384
5418
  spellcheck: {
5385
- type: String
5419
+ type: String,
5420
+ reflect: true
5386
5421
  },
5387
5422
 
5388
5423
  /**
@@ -5397,7 +5432,8 @@ class BaseInput extends AuroElement$1 {
5397
5432
  * Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
5398
5433
  */
5399
5434
  value: {
5400
- type: String
5435
+ type: String,
5436
+ reflect: true
5401
5437
  },
5402
5438
 
5403
5439
  /**
@@ -5428,8 +5464,8 @@ class BaseInput extends AuroElement$1 {
5428
5464
  },
5429
5465
 
5430
5466
  /**
5467
+ * The id for input node.
5431
5468
  * @private
5432
- * id for input node
5433
5469
  */
5434
5470
  inputId: {
5435
5471
  type: String,
@@ -5677,7 +5713,6 @@ class BaseInput extends AuroElement$1 {
5677
5713
 
5678
5714
  /**
5679
5715
  * Function to set element focus.
5680
- * @private
5681
5716
  * @return {void}
5682
5717
  */
5683
5718
  focus() {
@@ -5875,28 +5910,15 @@ class BaseInput extends AuroElement$1 {
5875
5910
  * @returns {void}
5876
5911
  */
5877
5912
  getPlaceholder() {
5878
- const isFocused = this.inputElement === this.getActiveElement();
5879
-
5880
- // console.warn('isFocused', isFocused);
5881
- // console.warn(this.inputElement);
5882
- // console.warn(this.getActiveElement());
5883
-
5884
- if (!isFocused) {
5885
- if (this.placeholder) {
5886
- this.placeholderStr = this.placeholder;
5887
- // return this.placeholder;
5888
- } else if (this.type === 'date') {
5889
- this.placeholderStr = this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
5890
- // return this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
5891
- }
5892
- } else {
5893
- this.placeholderStr = '';
5913
+ if (this.placeholder) {
5914
+ this.placeholderStr = this.placeholder;
5915
+ } else if (this.type === 'date') {
5916
+ this.placeholderStr = this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
5894
5917
  }
5895
5918
 
5896
5919
  this.requestUpdate();
5897
5920
 
5898
- // console.warn('this.placeholderStr', this.placeholderStr);
5899
- // return this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
5921
+ return this.placeholderStr;
5900
5922
  }
5901
5923
 
5902
5924
  /**
@@ -6109,7 +6131,7 @@ class AuroDependencyVersioning {
6109
6131
  * @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
6110
6132
  */
6111
6133
 
6112
- class AuroElement extends i$2 {
6134
+ let AuroElement$1 = class AuroElement extends i$2 {
6113
6135
 
6114
6136
  // function to define props used within the scope of this component
6115
6137
  static get properties() {
@@ -6133,7 +6155,7 @@ class AuroElement extends i$2 {
6133
6155
 
6134
6156
  return 'false'
6135
6157
  }
6136
- }
6158
+ };
6137
6159
 
6138
6160
  var error = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" 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=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
6139
6161
 
@@ -6177,7 +6199,7 @@ var styleCss$3 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}.u
6177
6199
  */
6178
6200
 
6179
6201
  // build the component class
6180
- class BaseIcon extends AuroElement {
6202
+ class BaseIcon extends AuroElement$1 {
6181
6203
  constructor() {
6182
6204
  super();
6183
6205
  this.onDark = false;
@@ -6253,6 +6275,76 @@ var tokensCss$3 = i$5`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-d
6253
6275
 
6254
6276
  var colorCss$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)}`;
6255
6277
 
6278
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
6279
+ // See LICENSE in the project root for license information.
6280
+
6281
+ // ---------------------------------------------------------------------
6282
+
6283
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
6284
+
6285
+ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
6286
+
6287
+ /* eslint-disable jsdoc/require-param */
6288
+
6289
+ /**
6290
+ * This will register a new custom element with the browser.
6291
+ * @param {String} name - The name of the custom element.
6292
+ * @param {Object} componentClass - The class to register as a custom element.
6293
+ * @returns {void}
6294
+ */
6295
+ registerComponent(name, componentClass) {
6296
+ if (!customElements.get(name)) {
6297
+ customElements.define(name, class extends componentClass {});
6298
+ }
6299
+ }
6300
+
6301
+ /**
6302
+ * Finds and returns the closest HTML Element based on a selector.
6303
+ * @returns {void}
6304
+ */
6305
+ closestElement(
6306
+ selector, // selector like in .closest()
6307
+ base = this, // extra functionality to skip a parent
6308
+ __Closest = (el, found = el && el.closest(selector)) =>
6309
+ !el || el === document || el === window
6310
+ ? null // standard .closest() returns null for non-found selectors also
6311
+ : found
6312
+ ? found // found a selector INside this element
6313
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
6314
+ ) {
6315
+ return __Closest(base);
6316
+ }
6317
+ /* eslint-enable jsdoc/require-param */
6318
+
6319
+ /**
6320
+ * 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.
6321
+ * @param {Object} elem - The element to check.
6322
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
6323
+ * @returns {void}
6324
+ */
6325
+ handleComponentTagRename(elem, tagName) {
6326
+ const tag = tagName.toLowerCase();
6327
+ const elemTag = elem.tagName.toLowerCase();
6328
+
6329
+ if (elemTag !== tag) {
6330
+ elem.setAttribute(tag, true);
6331
+ }
6332
+ }
6333
+
6334
+ /**
6335
+ * Validates if an element is a specific Auro component.
6336
+ * @param {Object} elem - The element to validate.
6337
+ * @param {String} tagName - The name of the Auro component to check against.
6338
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
6339
+ */
6340
+ elementMatch(elem, tagName) {
6341
+ const tag = tagName.toLowerCase();
6342
+ const elemTag = elem.tagName.toLowerCase();
6343
+
6344
+ return elemTag === tag || elem.hasAttribute(tag);
6345
+ }
6346
+ };
6347
+
6256
6348
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
6257
6349
  // See LICENSE in the project root for license information.
6258
6350
 
@@ -6272,7 +6364,7 @@ class AuroIcon extends BaseIcon {
6272
6364
  */
6273
6365
  privateDefaults() {
6274
6366
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
6275
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
6367
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
6276
6368
  }
6277
6369
 
6278
6370
  // function to define props used within the scope of this component
@@ -6354,7 +6446,7 @@ class AuroIcon extends BaseIcon {
6354
6446
  *
6355
6447
  */
6356
6448
  static register(name = "auro-icon") {
6357
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
6449
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroIcon);
6358
6450
  }
6359
6451
 
6360
6452
  connectedCallback() {
@@ -6375,8 +6467,12 @@ class AuroIcon extends BaseIcon {
6375
6467
  async firstUpdated() {
6376
6468
  await super.firstUpdated();
6377
6469
 
6378
- // Removes the SVG description for screenreader if ariaHidden is set to true
6379
- if (!this.hasAttribute('ariaHidden') && this.svg) {
6470
+ /**
6471
+ * icons provide a description for screen readers. Icon only instances Auro-button
6472
+ * depend on this description to provide context for the user using a screen reader.
6473
+ * Removes the SVG description for screen reader if ariaHidden is set to true.
6474
+ */
6475
+ if (this.hasAttribute('ariaHidden') && this.svg) {
6380
6476
  const svgDesc = this.svg.querySelector('desc');
6381
6477
 
6382
6478
  if (svgDesc) {
@@ -6420,80 +6516,617 @@ class AuroIcon extends BaseIcon {
6420
6516
  }
6421
6517
  }
6422
6518
 
6423
- var iconVersion = '8.0.1';
6519
+ var iconVersion = '8.0.4';
6424
6520
 
6425
- var styleCss$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}`;
6521
+ /**
6522
+ * Private module-level WeakMap to hold MutationObservers for each host element.
6523
+ */
6524
+ const _observers = new WeakMap();
6426
6525
 
6427
- var colorCss$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=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}`;
6526
+ /**
6527
+ * Private module-level WeakMap to hold attribute matchers and targets for each host element.
6528
+ * Structure: {
6529
+ * host: {
6530
+ * matchers: Set<Function>,
6531
+ * targets: Map<HTMLElement, Map<Function, {removeOriginal: boolean, currentAttributes: Map<string, string>}>>
6532
+ * }
6533
+ * }
6534
+ */
6535
+ const _transportConfig = new WeakMap();
6428
6536
 
6429
- var tokensCss$2 = 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}`;
6537
+ /**
6538
+ * Transfers all matching attributes from a host element to a target element and observes for future changes.
6539
+ *
6540
+ * @param {Object} params - The parameters for the function.
6541
+ * @param {HTMLElement} params.host - The host element from which attributes will be transported.
6542
+ * @param {HTMLElement} params.target - The target element to which attributes will be transported.
6543
+ * @param {boolean} [params.removeOriginal=true] - Whether to remove the attributes from the host element.
6544
+ * @param {boolean} [params.observe=true] - Whether to attach a MutationObserver to the host element.
6545
+ * @returns {Function} A function to detach the observer when no longer needed.
6546
+ * @throws {TypeError} If the host or target parameters are not instances of HTMLElement.
6547
+ */
6548
+ const transportAttributes = ({ host, target, match, removeOriginal = true }) => {
6549
+ // Guard Clause: Ensure host is valid HTMLElement instance
6550
+ if (typeof host !== 'object' || !(host instanceof HTMLElement)) {
6551
+ throw new TypeError('a11yUtilities.js | transportAttributes | The "host" parameter must be an instance of HTMLElement.');
6552
+ }
6430
6553
 
6431
- var styleCss$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}}`;
6554
+ // Guard Clause: Ensure target is valid HTMLElement instance
6555
+ if (typeof target !== 'object' || !(target instanceof HTMLElement)) {
6556
+ throw new TypeError('a11yUtilities.js | transportAttributes | The "target" parameter must be an instance of HTMLElement.');
6557
+ }
6432
6558
 
6433
- var colorCss$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}`;
6559
+ // Guard Clause: Ensure match is a function
6560
+ if (typeof match !== 'function') {
6561
+ throw new TypeError('a11yUtilities.js | transportAttributes | The "match" parameter must be a function.');
6562
+ }
6434
6563
 
6435
- var tokensCss$1 = i$5`:host{--ds-auro-loader-background-color:currentcolor;--ds-auro-loader-border-color:currentcolor;--ds-auro-loader-color:currentcolor}`;
6564
+ // Guard Clause: Ensure removeOriginal is a boolean
6565
+ if (typeof removeOriginal !== 'boolean') {
6566
+ throw new TypeError('a11yUtilities.js | transportAttributes | The "removeOriginal" parameter must be a boolean.');
6567
+ }
6568
+
6569
+ // Register this transport and get cleanup function
6570
+ return _registerTransport({
6571
+ host,
6572
+ target,
6573
+ matcher: match,
6574
+ removeOriginal
6575
+ });
6576
+ };
6436
6577
 
6437
- // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
6438
- // See LICENSE in the project root for license information.
6578
+ /**
6579
+ * Registers a matcher and target for a host element and attaches an observer if needed.
6580
+ *
6581
+ * @param {Object} params - The parameters object.
6582
+ * @param {HTMLElement} params.host - The host element to observe.
6583
+ * @param {HTMLElement} params.target - The target element to receive attributes.
6584
+ * @param {Function} params.matcher - Function that determines which attributes to transport.
6585
+ * @param {boolean} [params.removeOriginal=true] - Whether to remove original attributes.
6586
+ * @param {boolean} [params.observe=true] - Whether to observe for attribute changes.
6587
+ * @returns {Function} Function to detach the specific matcher and target pairing.
6588
+ * @private
6589
+ */
6590
+ const _registerTransport = ({ host, target, matcher, removeOriginal = true }) => {
6591
+ // Initialize config for this host if it doesn't exist
6592
+ if (!_transportConfig.has(host)) {
6593
+ _transportConfig.set(host, {
6594
+ matchers: new Set(),
6595
+ targets: new Map()
6596
+ });
6597
+ }
6439
6598
 
6599
+ const config = _transportConfig.get(host);
6600
+
6601
+ // Add the matcher to the set of matchers for this host
6602
+ config.matchers.add(matcher);
6603
+
6604
+ // Initialize target entry if it doesn't exist
6605
+ if (!config.targets.has(target)) {
6606
+ config.targets.set(target, new Map());
6607
+ }
6608
+
6609
+ // Store the matcher with its removeOriginal setting for this target
6610
+ config.targets.get(target).set(matcher, {
6611
+ removeOriginal,
6612
+ currentAttributes: new Map()
6613
+ });
6614
+
6615
+ // Perform initial attribute transport
6616
+ _transportAttributes({ host, target, matcher, removeOriginal });
6617
+
6618
+ // Attach observer
6619
+ _attachObserver(host);
6620
+
6621
+ // Return cleanup function and utility functions
6622
+ return {
6623
+ cleanup: () => _cleanupTransport(host, target, matcher),
6624
+ getObservedAttributes: () => _getObservedAttributes(host, target, matcher),
6625
+ getObservedAttribute: (attr) => _getObservedAttribute(host, target, matcher, attr),
6626
+ }
6627
+ };
6440
6628
 
6441
- class AuroLoader extends i$2 {
6442
- constructor() {
6443
- super();
6629
+ /**
6630
+ * Cleans up resources associated with a specific matcher and target for a host element.
6631
+ *
6632
+ * @param {HTMLElement} host - The host element
6633
+ * @param {HTMLElement} target - The target element
6634
+ * @param {Function} matcher - The matcher function
6635
+ * @private
6636
+ */
6637
+ const _cleanupTransport = (host, target, matcher) => {
6638
+ const config = _transportConfig.get(host);
6639
+ if (!config) return;
6640
+
6641
+ // Remove this matcher from this target
6642
+ const targetMatchers = config.targets.get(target);
6643
+ if (targetMatchers) {
6644
+ targetMatchers.delete(matcher);
6645
+
6646
+ // If this target has no more matchers, remove it
6647
+ if (targetMatchers.size === 0) {
6648
+ config.targets.delete(target);
6649
+ }
6650
+ }
6651
+
6652
+ // Check if this matcher is still used by any target
6653
+ let matcherStillUsed = false;
6654
+ for (const matcherMap of config.targets.values()) {
6655
+ if (matcherMap.has(matcher)) {
6656
+ matcherStillUsed = true;
6657
+ break;
6658
+ }
6659
+ }
6660
+
6661
+ // If not used anymore, remove from matchers set
6662
+ if (!matcherStillUsed) {
6663
+ config.matchers.delete(matcher);
6664
+ }
6665
+
6666
+ // If no more targets or matchers, detach observer
6667
+ if (config.targets.size === 0 || config.matchers.size === 0) {
6668
+ _detachObserver(host);
6669
+ }
6670
+ };
6444
6671
 
6445
- /**
6446
- * @private
6447
- */
6448
- this.keys = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
6672
+ /**
6673
+ * Generic function to transport attributes from a host element to a target element.
6674
+ *
6675
+ * @param {Object} params - The parameters object.
6676
+ * @param {HTMLElement} params.host - The host element from which to transport attributes.
6677
+ * @param {HTMLElement} params.target - The target element to which attributes will be transported.
6678
+ * @param {Function} params.matcher - Function that takes an attribute name and returns true if it should be transported.
6679
+ * @param {boolean} [params.removeOriginal=true] - Whether to remove original attributes from host.
6680
+ * @returns {void}
6681
+ * @private
6682
+ */
6683
+ const _transportAttributes = ({ host, target, matcher, removeOriginal = true }) => {
6684
+ // Get a list of all matching attributes on the host element and their values
6685
+ const matchingAttributes = host.getAttributeNames()
6686
+ .filter(attr => matcher(attr))
6687
+ .reduce((acc, attr) => {
6688
+ acc[attr] = host.getAttribute(attr);
6689
+ return acc;
6690
+ }, {});
6691
+
6692
+ // Move matching attributes to the target element, removing them from the host if removeOriginal is true
6693
+ Object.entries(matchingAttributes).forEach(([key, value]) => {
6694
+ _setObservedAttribute(host, target, matcher, key, value);
6695
+ target.setAttribute(key, value);
6696
+ if (removeOriginal) {
6697
+ host.removeAttribute(key);
6698
+ }
6699
+ });
6700
+ };
6449
6701
 
6450
- /**
6451
- * @private
6452
- */
6453
- this.mdCount = 3;
6702
+ /**
6703
+ * Attaches a MutationObserver to the host element to monitor attribute changes.
6704
+ *
6705
+ * @param {HTMLElement} host - The element to observe for attribute changes.
6706
+ * @returns {MutationObserver} The observer instance.
6707
+ * @private
6708
+ */
6709
+ const _attachObserver = (host) => {
6710
+ // If an observer for this host already exists, return it
6711
+ if (_observers.has(host)) {
6712
+ return _observers.get(host);
6713
+ }
6714
+
6715
+ // Create a new MutationObserver
6716
+ const observer = new MutationObserver((mutations) => {
6717
+ const config = _transportConfig.get(host);
6718
+ if (!config) return;
6719
+
6720
+ // For each mutation affecting attributes
6721
+ mutations
6722
+ .filter(mutation => mutation.type === 'attributes')
6723
+ .forEach(mutation => {
6724
+ const attributeName = mutation.attributeName;
6725
+
6726
+ // Find matchers that care about this attribute
6727
+ for (const matcher of config.matchers) {
6728
+ if (matcher(attributeName)) {
6729
+ // For each target that uses this matcher
6730
+ for (const [target, matcherConfigs] of config.targets.entries()) {
6731
+ if (matcherConfigs.has(matcher)) {
6732
+ const { removeOriginal } = matcherConfigs.get(matcher);
6733
+ _transportAttributes({
6734
+ host,
6735
+ target,
6736
+ matcher,
6737
+ removeOriginal
6738
+ });
6739
+ }
6740
+ }
6741
+ }
6742
+ }
6743
+ });
6744
+ });
6454
6745
 
6455
- /**
6456
- * @private
6457
- */
6458
- this.smCount = 2;
6746
+ // Start observing attribute changes
6747
+ observer.observe(host, { attributes: true });
6748
+
6749
+ // Store the observer
6750
+ _observers.set(host, observer);
6751
+
6752
+ return observer;
6753
+ };
6459
6754
 
6460
- /**
6461
- * @private
6462
- */
6463
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
6755
+ /**
6756
+ * Detaches and cleans up the MutationObserver for a given host element.
6757
+ *
6758
+ * @param {HTMLElement} host - The element whose observer should be detached.
6759
+ * @private
6760
+ */
6761
+ const _detachObserver = (host) => {
6762
+ if (_observers.has(host)) {
6763
+ const observer = _observers.get(host);
6764
+ observer.disconnect();
6765
+ _observers.delete(host);
6766
+ }
6767
+
6768
+ // Clean up the transport config as well
6769
+ if (_transportConfig.has(host)) {
6770
+ _transportConfig.delete(host);
6771
+ }
6772
+ };
6464
6773
 
6465
- this.orbit = false;
6466
- this.ringworm = false;
6467
- this.laser = false;
6468
- this.pulse = false;
6774
+ /**
6775
+ * Gets the matcher configuration for a specific host, target, and matcher
6776
+ * @param {HTMLElement} host - The host element
6777
+ * @param {HTMLElement} target - The target element
6778
+ * @param {Function} matcher - The matcher function
6779
+ * @returns {Object|undefined} The matcher configuration if found
6780
+ * @private
6781
+ */
6782
+ const _getMatcherConfig = (host, target, matcher) => {
6783
+ const config = _transportConfig.get(host);
6784
+ if (!config) return undefined;
6785
+
6786
+ const targetMatchers = config.targets.get(target);
6787
+ if (!targetMatchers) return undefined;
6788
+
6789
+ return targetMatchers.get(matcher);
6790
+ };
6791
+
6792
+ /**
6793
+ * Sets an observed attribute value
6794
+ * @param {HTMLElement} host - The host element
6795
+ * @param {HTMLElement} target - The target element
6796
+ * @param {Function} matcher - The matcher function
6797
+ * @param {string} key - The attribute name
6798
+ * @param {string} value - The attribute value
6799
+ * @private
6800
+ */
6801
+ const _setObservedAttribute = (host, target, matcher, key, value) => {
6802
+ const matcherConfig = _getMatcherConfig(host, target, matcher);
6803
+ if (matcherConfig) {
6804
+ matcherConfig.currentAttributes.set(key, value);
6469
6805
  }
6806
+ };
6807
+
6808
+ const _getObservedAttribute = (host, target, matcher, attr) => {
6809
+ const matcherConfig = _getMatcherConfig(host, target, matcher);
6810
+ if (matcherConfig) return matcherConfig.currentAttributes.get(attr);
6811
+ return undefined;
6812
+ };
6813
+
6814
+ const _getObservedAttributes = (host, target, matcher) => {
6815
+ const matcherConfig = _getMatcherConfig(host, target, matcher);
6816
+ if (matcherConfig) return Array.from(matcherConfig.currentAttributes.entries());
6817
+ return [];
6818
+ };
6819
+
6820
+ const _matchers = {
6821
+ 'aria-': attr => attr.startsWith('aria-'),
6822
+ 'role': attr => attr.match(/^role$/)
6823
+ };
6824
+
6825
+ const transportAllA11yAttributes = ({ host, target, removeOriginal = true }) => {
6826
+ return transportAttributes({
6827
+ host,
6828
+ target,
6829
+ match: attr => {
6830
+ for (const key in _matchers) {
6831
+ if (_matchers[key](attr)) return true;
6832
+ }
6833
+ return false;
6834
+ },
6835
+ removeOriginal
6836
+ });
6837
+ };
6838
+
6839
+ class AuroElement extends i$2 {
6840
+
6841
+ /**
6842
+ * @type {Object} return object from transportAttributes via a11yUtilities
6843
+ * @property {Function} cleanup - Function to clean up the attribute watcher.
6844
+ * @property {Function} getCurrentAttributes - Function to get the current attributes being watched and their values.
6845
+ * @property {Function} getObservedAttribute - Function to get the value of a specific observed attribute by name.
6846
+ * @private
6847
+ */
6848
+ attributeWatcher;
6470
6849
 
6471
- // function to define props used within the scope of this component
6472
6850
  static get properties() {
6473
6851
  return {
6474
6852
 
6475
6853
  /**
6476
- * Sets loader to laser type.
6854
+ * Defines the layout of an element.
6855
+ * @default {'default'}
6477
6856
  */
6478
- laser: {
6479
- type: Boolean,
6857
+ layout: {
6858
+ type: String,
6859
+ attribute: "layout",
6480
6860
  reflect: true
6481
6861
  },
6482
-
6862
+
6483
6863
  /**
6484
- * Sets loader to orbit type.
6864
+ * Defines the shape of an element.
6865
+ * @property {'default', 'rounded', 'pill', 'circle'}
6866
+ * @default {'default'}
6485
6867
  */
6486
- orbit: {
6487
- type: Boolean,
6868
+ shape: {
6869
+ type: String,
6870
+ attribute: "shape",
6488
6871
  reflect: true
6489
6872
  },
6490
6873
 
6491
6874
  /**
6492
- * Sets loader to pulse type.
6875
+ * Defines the size of an element.
6876
+ * @property {'xs', 'sm', 'md', 'lg', 'xl'}
6877
+ * @default {'md'}
6493
6878
  */
6494
- pulse: {
6495
- type: Boolean,
6496
- reflect: true
6879
+ size: {
6880
+ type: String,
6881
+ attribute: "size",
6882
+ reflect: true
6883
+ },
6884
+
6885
+ /**
6886
+ * This Boolean attribute lets you specify that the element should be rendered in dark mode.
6887
+ * @default {false}
6888
+ */
6889
+ onDark: {
6890
+ type: Boolean,
6891
+ attribute: "ondark",
6892
+ reflect: true
6893
+ },
6894
+
6895
+ /**
6896
+ * A reference to the wrapper element in the shadow DOM.
6897
+ * This is used to apply layout and shape classes dynamically.
6898
+ * @type {HTMLElement|null}
6899
+ * @default {null}
6900
+ * @private
6901
+ */
6902
+ wrapper: {
6903
+ attribute: false,
6904
+ reflect: false
6905
+ }
6906
+ };
6907
+ }
6908
+
6909
+
6910
+
6911
+ resetShapeClasses() {
6912
+ if (this.shape && this.size) {
6913
+
6914
+ if (this.wrapper) {
6915
+ this.wrapper.classList.forEach((className) => {
6916
+ if (className.startsWith('shape-')) {
6917
+ this.wrapper.classList.remove(className);
6918
+ }
6919
+ });
6920
+
6921
+ this.wrapper.classList.add(`shape-${this.shape.toLowerCase()}-${this.size.toLowerCase()}`);
6922
+ }
6923
+ }
6924
+ }
6925
+
6926
+ resetLayoutClasses() {
6927
+ if (this.layout) {
6928
+ if (this.wrapper) {
6929
+ this.wrapper.classList.forEach((className) => {
6930
+ if (className.startsWith('layout-')) {
6931
+ this.wrapper.classList.remove(className);
6932
+ }
6933
+ });
6934
+
6935
+ this.wrapper.classList.add(`layout-${this.layout.toLowerCase()}`);
6936
+ }
6937
+ }
6938
+ }
6939
+
6940
+ updateComponentArchitecture() {
6941
+ this.resetLayoutClasses();
6942
+ this.resetShapeClasses();
6943
+ }
6944
+
6945
+ updated(changedProperties) {
6946
+ if (changedProperties.has('layout') || changedProperties.has('shape') || changedProperties.has('size')) {
6947
+ this.updateComponentArchitecture();
6948
+ }
6949
+ }
6950
+
6951
+ firstUpdated() {
6952
+ super.firstUpdated();
6953
+
6954
+ // Set a reference to the wrapper element in the shadow DOM
6955
+ this.wrapper = this.shadowRoot.querySelector('.wrapper');
6956
+
6957
+ // Initialize the transportation of ARIA attributes to the target element and get the disconnect function for cleanup
6958
+ this.attributeWatcher = transportAllA11yAttributes({ host: this, target: this.shadowRoot.querySelector('.wrapper') });
6959
+ }
6960
+
6961
+ disconnectedCallback() {
6962
+ super.disconnectedCallback();
6963
+
6964
+ // Cleanup the ARIA observer if it exists
6965
+ if (this.attributeWatcher) {
6966
+ this.attributeWatcher.cleanup();
6967
+ this.attributeWatcher = null;
6968
+ }
6969
+ }
6970
+
6971
+ // Try to render the defined `this.layout` layout. If that fails, fall back to the default layout.
6972
+ // This will catch if an invalid layout value is passed in and render the default layout if so.
6973
+ render() {
6974
+ try {
6975
+ return this.renderLayout();
6976
+ } catch (error) {
6977
+ // failed to get the defined layout
6978
+ console.error('Failed to get the defined layout - using the default layout', error); // eslint-disable-line no-console
6979
+
6980
+ // fallback to the default layout
6981
+ return this.getLayout('default');
6982
+ }
6983
+ }
6984
+ }
6985
+
6986
+ var styleCss$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}`;
6987
+
6988
+ var colorCss$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)}`;
6989
+
6990
+ var tokensCss$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}`;
6991
+
6992
+ 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}`;
6993
+
6994
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
6995
+ // See LICENSE in the project root for license information.
6996
+
6997
+ // ---------------------------------------------------------------------
6998
+
6999
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
7000
+
7001
+ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
7002
+
7003
+ /* eslint-disable jsdoc/require-param */
7004
+
7005
+ /**
7006
+ * This will register a new custom element with the browser.
7007
+ * @param {String} name - The name of the custom element.
7008
+ * @param {Object} componentClass - The class to register as a custom element.
7009
+ * @returns {void}
7010
+ */
7011
+ registerComponent(name, componentClass) {
7012
+ if (!customElements.get(name)) {
7013
+ customElements.define(name, class extends componentClass {});
7014
+ }
7015
+ }
7016
+
7017
+ /**
7018
+ * Finds and returns the closest HTML Element based on a selector.
7019
+ * @returns {void}
7020
+ */
7021
+ closestElement(
7022
+ selector, // selector like in .closest()
7023
+ base = this, // extra functionality to skip a parent
7024
+ __Closest = (el, found = el && el.closest(selector)) =>
7025
+ !el || el === document || el === window
7026
+ ? null // standard .closest() returns null for non-found selectors also
7027
+ : found
7028
+ ? found // found a selector INside this element
7029
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
7030
+ ) {
7031
+ return __Closest(base);
7032
+ }
7033
+ /* eslint-enable jsdoc/require-param */
7034
+
7035
+ /**
7036
+ * 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.
7037
+ * @param {Object} elem - The element to check.
7038
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
7039
+ * @returns {void}
7040
+ */
7041
+ handleComponentTagRename(elem, tagName) {
7042
+ const tag = tagName.toLowerCase();
7043
+ const elemTag = elem.tagName.toLowerCase();
7044
+
7045
+ if (elemTag !== tag) {
7046
+ elem.setAttribute(tag, true);
7047
+ }
7048
+ }
7049
+
7050
+ /**
7051
+ * Validates if an element is a specific Auro component.
7052
+ * @param {Object} elem - The element to validate.
7053
+ * @param {String} tagName - The name of the Auro component to check against.
7054
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
7055
+ */
7056
+ elementMatch(elem, tagName) {
7057
+ const tag = tagName.toLowerCase();
7058
+ const elemTag = elem.tagName.toLowerCase();
7059
+
7060
+ return elemTag === tag || elem.hasAttribute(tag);
7061
+ }
7062
+ };
7063
+
7064
+ var styleCss$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}}`;
7065
+
7066
+ var colorCss$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}`;
7067
+
7068
+ var tokensCss$1 = i$5`:host{--ds-auro-loader-background-color:currentcolor;--ds-auro-loader-border-color:currentcolor;--ds-auro-loader-color:currentcolor}`;
7069
+
7070
+ // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
7071
+ // See LICENSE in the project root for license information.
7072
+
7073
+
7074
+ class AuroLoader extends i$2 {
7075
+ constructor() {
7076
+ super();
7077
+
7078
+ /**
7079
+ * @private
7080
+ */
7081
+ this.keys = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
7082
+
7083
+ /**
7084
+ * @private
7085
+ */
7086
+ this.mdCount = 3;
7087
+
7088
+ /**
7089
+ * @private
7090
+ */
7091
+ this.smCount = 2;
7092
+
7093
+ /**
7094
+ * @private
7095
+ */
7096
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
7097
+
7098
+ this.orbit = false;
7099
+ this.ringworm = false;
7100
+ this.laser = false;
7101
+ this.pulse = false;
7102
+ }
7103
+
7104
+ // function to define props used within the scope of this component
7105
+ static get properties() {
7106
+ return {
7107
+
7108
+ /**
7109
+ * Sets loader to laser type.
7110
+ */
7111
+ laser: {
7112
+ type: Boolean,
7113
+ reflect: true
7114
+ },
7115
+
7116
+ /**
7117
+ * Sets loader to orbit type.
7118
+ */
7119
+ orbit: {
7120
+ type: Boolean,
7121
+ reflect: true
7122
+ },
7123
+
7124
+ /**
7125
+ * Sets loader to pulse type.
7126
+ */
7127
+ pulse: {
7128
+ type: Boolean,
7129
+ reflect: true
6497
7130
  },
6498
7131
 
6499
7132
  /**
@@ -6575,14 +7208,13 @@ class AuroLoader extends i$2 {
6575
7208
 
6576
7209
  var loaderVersion = '5.0.0';
6577
7210
 
6578
- /* eslint-disable max-lines */
7211
+ /* eslint-disable max-lines, curly, jsdoc/no-undefined-types */
6579
7212
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
6580
7213
  // See LICENSE in the project root for license information.
6581
7214
 
6582
7215
 
6583
7216
  /**
6584
7217
  * @slot - Default slot for the text of the button.
6585
- * @slot icon - Slot to provide auro-icon for the button.
6586
7218
  * @csspart button - Apply CSS to HTML5 button.
6587
7219
  * @csspart loader - Apply CSS to auro-loader.
6588
7220
  * @csspart text - Apply CSS to text slot.
@@ -6591,7 +7223,18 @@ var loaderVersion = '5.0.0';
6591
7223
 
6592
7224
  /* eslint-disable lit/no-invalid-html, lit/binding-positions */
6593
7225
 
6594
- class AuroButton extends i$2 {
7226
+ const ICON_ONLY_SHAPES = ['circle'];
7227
+
7228
+ /**
7229
+ * AuroButton is a custom element that provides a styled, accessible button with support for various states and form association.
7230
+ * It is designed to be flexible, supporting loading states, icon slots, and integration with HTML5 forms.
7231
+ * @property {'default', 'rounded', 'pill', 'circle'} shape - Defines the shape of the button.
7232
+ * @property {'xs', 'sm', 'md', 'lg', 'xl'} size - Defines the size of the button.
7233
+ * @property {'primary', 'secondary', 'tertiary', 'ghost', 'flat'} variant - Sets the button variant.
7234
+ * @property {'submit', 'reset', 'button'} type - The type of button. Matches HTML5 Button Spec.
7235
+ * @property {boolean} onDark - Indicates if the button is rendered in dark mode.
7236
+ */
7237
+ class AuroButton extends AuroElement {
6595
7238
 
6596
7239
  /**
6597
7240
  * Enables form association for this element.
@@ -6606,13 +7249,10 @@ class AuroButton extends i$2 {
6606
7249
  super();
6607
7250
  this.autofocus = false;
6608
7251
  this.disabled = false;
6609
- this.iconOnly = false;
6610
7252
  this.loading = false;
7253
+ this.size = "md";
7254
+ this.shape = "rounded";
6611
7255
  this.onDark = false;
6612
- this.secondary = false;
6613
- this.tertiary = false;
6614
- this.rounded = false;
6615
- this.slim = false;
6616
7256
  this.fluid = false;
6617
7257
  this.loadingText = this.loadingText || 'Loading...';
6618
7258
 
@@ -6635,49 +7275,59 @@ class AuroButton extends i$2 {
6635
7275
  * @private
6636
7276
  */
6637
7277
  this.loaderTag = versioning.generateTag('auro-loader', loaderVersion, AuroLoader);
7278
+
7279
+ /**
7280
+ * @private
7281
+ */
7282
+ this.buttonHref = undefined;
7283
+
7284
+ /**
7285
+ * @private
7286
+ */
7287
+ this.buttonTarget = undefined;
7288
+
7289
+ /**
7290
+ * @private
7291
+ */
7292
+ this.buttonRel = undefined;
6638
7293
  }
6639
7294
 
6640
7295
  static get styles() {
6641
7296
  return [
6642
7297
  tokensCss$2,
6643
7298
  styleCss$2,
6644
- colorCss$2
7299
+ colorCss$2,
7300
+ shapeSize
6645
7301
  ];
6646
7302
  }
6647
7303
 
6648
7304
  static get properties() {
6649
7305
  return {
6650
7306
 
6651
- /**
6652
- * This Boolean attribute lets you specify that the button should have input focus when the page loads, unless overridden by the user.
6653
- */
6654
- autofocus: {
6655
- type: Boolean,
6656
- reflect: true
6657
- },
7307
+ ...super.properties,
6658
7308
 
6659
7309
  /**
6660
- * If set to true, button will become disabled and not allow for interactions.
7310
+ * Override layout since it isn't used in this component.
7311
+ * @private
6661
7312
  */
6662
- disabled: {
7313
+ layout: {
6663
7314
  type: Boolean,
6664
- reflect: true
7315
+ attribute: false,
7316
+ reflect: false
6665
7317
  },
6666
7318
 
6667
7319
  /**
6668
- * DEPRECATED.
6669
- * @deprecated
7320
+ * This Boolean attribute lets you specify that the button should have input focus when the page loads, unless overridden by the user.
6670
7321
  */
6671
- secondary: {
7322
+ autofocus: {
6672
7323
  type: Boolean,
6673
7324
  reflect: true
6674
7325
  },
6675
7326
 
6676
7327
  /**
6677
- * DEPRECATED.
6678
- * @deprecated
7328
+ * If set to true, button will become disabled and not allow for interactions.
6679
7329
  */
6680
- tertiary: {
7330
+ disabled: {
6681
7331
  type: Boolean,
6682
7332
  reflect: true
6683
7333
  },
@@ -6685,15 +7335,7 @@ class AuroButton extends i$2 {
6685
7335
  /**
6686
7336
  * Alters the shape of the button to be full width of its parent container.
6687
7337
  */
6688
- fluid: {
6689
- type: Boolean,
6690
- reflect: true
6691
- },
6692
-
6693
- /**
6694
- * If set to true, the button will contain an icon with no additional content.
6695
- */
6696
- iconOnly: {
7338
+ fluid: {
6697
7339
  type: Boolean,
6698
7340
  reflect: true
6699
7341
  },
@@ -6701,7 +7343,7 @@ class AuroButton extends i$2 {
6701
7343
  /**
6702
7344
  * If set to true button text will be replaced with `auro-loader` and become disabled.
6703
7345
  */
6704
- loading: {
7346
+ loading: {
6705
7347
  type: Boolean,
6706
7348
  reflect: true
6707
7349
  },
@@ -6709,36 +7351,12 @@ class AuroButton extends i$2 {
6709
7351
  /**
6710
7352
  * 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.
6711
7353
  */
6712
- loadingText: {
7354
+ loadingText: {
6713
7355
  type: String
6714
7356
  },
6715
7357
 
6716
7358
  /**
6717
- * Set value for on-dark version of auro-button.
6718
- */
6719
- onDark: {
6720
- type: Boolean,
6721
- reflect: true
6722
- },
6723
-
6724
- /**
6725
- * If set to true, the button will have a rounded shape.
6726
- */
6727
- rounded: {
6728
- type: Boolean,
6729
- reflect: true
6730
- },
6731
-
6732
- /**
6733
- * Set value for slim version of auro-button.
6734
- */
6735
- slim: {
6736
- type: Boolean,
6737
- reflect: true
6738
- },
6739
-
6740
- /**
6741
- * Populates `tabIndex` to define the focusable sequence in keyboard navigation.
7359
+ * Populates `tabindex` to define the focusable sequence in keyboard navigation.
6742
7360
  */
6743
7361
  tIndex: {
6744
7362
  type: String,
@@ -6746,75 +7364,68 @@ class AuroButton extends i$2 {
6746
7364
  },
6747
7365
 
6748
7366
  /**
6749
- * Populates the `aria-hidden` attribute to hide the button from a11y API.
7367
+ * Populates `tabindex` to define the focusable sequence in keyboard navigation.
7368
+ * Must be used with "." to ensure the host element does not retain a reference to the `tabindex` attribute.
7369
+ * Example: `<auro-button .tabindex="${this.disabled ? '-1' : '0'}"></auro-button>`
6750
7370
  */
6751
- ariahidden: {
7371
+ tabindex: {
6752
7372
  type: String,
6753
- reflect: true,
7373
+ reflect: false
6754
7374
  },
6755
7375
 
6756
7376
  /**
6757
- * Populates the `aria-label` attribute that is used to define a string that labels the current element.
6758
- * Use it in cases where a text label is not visible on the screen.
6759
- * If there is visible text labeling the element, use `aria-labelledby` instead.
7377
+ * Sets title attribute. The information is most often shown as a tooltip text when the mouse moves over the element.
6760
7378
  */
6761
- arialabel: {
7379
+ title: {
6762
7380
  type: String,
6763
7381
  reflect: true
6764
7382
  },
6765
7383
 
6766
7384
  /**
6767
- * Populates the `aria-labelledby` attribute that establishes relationships between objects and their label(s),
6768
- * and its value should be one or more element IDs, which refer to elements that have the text needed for labeling.
6769
- * List multiple element IDs in a space delimited fashion.
7385
+ * The type of the button. Possible values are: `submit`, `reset`, `button`.
6770
7386
  */
6771
- arialabelledby: {
7387
+ type: {
6772
7388
  type: String,
6773
7389
  reflect: true
6774
7390
  },
6775
7391
 
6776
7392
  /**
6777
- * Populates the `aria-expanded` attribute that indicates whether the element,
6778
- * or another grouping element it controls, is currently expanded or collapsed.
6779
- * This is an optional attribute for buttons.
7393
+ * Defines the value associated with the button which is submitted with the form data.
6780
7394
  */
6781
- ariaexpanded: {
6782
- type: Boolean,
7395
+ value: {
7396
+ type: String,
6783
7397
  reflect: true
6784
7398
  },
6785
7399
 
6786
7400
  /**
6787
- * Sets title attribute. The information is most often shown as a tooltip text when the mouse moves over the element.
7401
+ * Sets button variant option.
7402
+ * @default primary
6788
7403
  */
6789
- title: {
7404
+ variant: {
6790
7405
  type: String,
6791
7406
  reflect: true
6792
7407
  },
6793
7408
 
6794
7409
  /**
6795
- * The type of the button. Possible values are: `submit`, `reset`, `button`.
7410
+ * @private
6796
7411
  */
6797
- type: {
7412
+ buttonHref: {
6798
7413
  type: String,
6799
- reflect: true
6800
7414
  },
6801
7415
 
6802
7416
  /**
6803
- * Defines the value associated with the button which is submitted with the form data.
7417
+ * @private
6804
7418
  */
6805
- value: {
7419
+ buttonTarget: {
6806
7420
  type: String,
6807
- reflect: true
6808
7421
  },
6809
7422
 
6810
7423
  /**
6811
- * Sets button variant option. Possible values are: `secondary`, `tertiary`.
7424
+ * @private
6812
7425
  */
6813
- variant: {
7426
+ buttonRel: {
6814
7427
  type: String,
6815
- reflect: true
6816
7428
  },
6817
- ready: { type: Boolean },
6818
7429
  };
6819
7430
  }
6820
7431
 
@@ -6827,7 +7438,7 @@ class AuroButton extends i$2 {
6827
7438
  *
6828
7439
  */
6829
7440
  static register(name = "auro-button") {
6830
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroButton);
7441
+ AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroButton);
6831
7442
  }
6832
7443
 
6833
7444
  /**
@@ -6839,17 +7450,6 @@ class AuroButton extends i$2 {
6839
7450
  this.renderRoot.querySelector('button').focus();
6840
7451
  }
6841
7452
 
6842
- updated() {
6843
- // support the old `secondary` and `tertiary` attributes` that are deprecated
6844
- if (this.secondary) {
6845
- this.setAttribute('variant', 'secondary');
6846
- }
6847
-
6848
- if (this.tertiary) {
6849
- this.setAttribute('variant', 'tertiary');
6850
- }
6851
- }
6852
-
6853
7453
  /**
6854
7454
  * Submits the form that this button is associated with.
6855
7455
  * @private
@@ -6870,28 +7470,63 @@ class AuroButton extends i$2 {
6870
7470
  return this.internals ? this.internals.form : null;
6871
7471
  }
6872
7472
 
6873
- render() {
7473
+ /**
7474
+ * @private
7475
+ * @returns {Boolean}
7476
+ */
7477
+ get hideText() {
7478
+ return ICON_ONLY_SHAPES.includes(this.shape);
7479
+ }
7480
+
7481
+ /**
7482
+ * Returns the current value of the projected `aria-label` attribute or undefined if not set.
7483
+ * @returns {string | undefined}
7484
+ * @private
7485
+ */
7486
+ get currentAriaLabel() {
7487
+ if (!this.attributeWatcher) return undefined;
7488
+
7489
+ const ariaLabel = this.attributeWatcher.getObservedAttribute("aria-label");
7490
+ return ariaLabel || undefined;
7491
+ }
7492
+
7493
+ /**
7494
+ * Returns the current value of the projected `aria-labelledby` attribute or undefined if not set.
7495
+ * @returns {string | undefined}
7496
+ * @private
7497
+ */
7498
+ get currentAriaLabelledBy() {
7499
+ if (!this.attributeWatcher) return undefined;
7500
+
7501
+ const ariaLabelledBy = this.attributeWatcher.getObservedAttribute("aria-labelledby");
7502
+ return ariaLabelledBy || undefined;
7503
+ }
7504
+
7505
+ /**
7506
+ * Renders the default layout for the button.
7507
+ * @returns {TemplateResult}
7508
+ * @private
7509
+ */
7510
+ renderLayoutDefault() {
6874
7511
  const classes = {
6875
- 'util_insetLg--squish': true,
6876
- 'auro-button': true,
6877
- 'auroButton': true,
6878
- 'auro-button--rounded': this.rounded,
6879
- 'auro-button--slim': this.slim,
6880
- 'auro-button--iconOnly': this.iconOnly,
6881
- 'auro-button--iconOnlySlim': this.iconOnly && this.slim,
6882
- 'loading': this.loading
7512
+ "util_insetLg--squish": true,
7513
+ "auro-button": true,
7514
+ "icon-only": this.hideText,
7515
+ wrapper: true,
7516
+ loading: this.loading,
6883
7517
  };
6884
7518
 
7519
+ const tag = this.buttonHref ? i$1`a` : i$1`button`;
7520
+ const part = this.buttonHref ? 'link' : 'button';
7521
+
6885
7522
  return u$2`
6886
- <button
6887
- part="button"
6888
- aria-hidden="${o(this.ariahidden || undefined)}"
6889
- aria-label="${o(this.loading ? this.loadingText : this.arialabel || undefined)}"
6890
- aria-labelledby="${o(this.arialabelledby ? this.arialabelledby : undefined)}"
6891
- aria-expanded="${o(this.ariaexpanded)}"
6892
- tabIndex="${o(this.tIndex)}"
7523
+ <${tag}
7524
+ part="${part}"
7525
+ aria-label="${o(this.loading ? this.loadingText : this.currentAriaLabel || undefined)}"
7526
+ aria-labelledby="${o(this.loading ? undefined : this.currentAriaLabelledBy || undefined)}"
7527
+ tabindex="${o(this.tIndex || this.tabindex)}"
6893
7528
  ?autofocus="${this.autofocus}"
6894
- class="${e(classes)}"
7529
+ class=${e(classes)}
6895
7530
  ?disabled="${this.disabled || this.loading}"
6896
7531
  ?onDark="${this.onDark}"
6897
7532
  title="${o(this.title ? this.title : undefined)}"
@@ -6900,28 +7535,36 @@ class AuroButton extends i$2 {
6900
7535
  variant="${o(this.variant ? this.variant : undefined)}"
6901
7536
  .value="${o(this.value ? this.value : undefined)}"
6902
7537
  @click="${this.type === 'submit' ? this.surfaceSubmitEvent : undefined}"
7538
+ href="${o(this.buttonHref || undefined)}"
7539
+ target="${o(this.buttonTarget || undefined)}"
7540
+ rel="${o(this.buttonRel || undefined)}"
6903
7541
  >
6904
7542
  ${o(this.loading ? u$2`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
6905
7543
 
6906
7544
  <span class="contentWrapper">
6907
7545
  <span class="textSlot" part="text">
6908
- ${this.iconOnly ? undefined : u$2`<slot></slot>`}
6909
- </span>
6910
-
6911
- <span part="icon">
6912
- <slot name="icon"></slot>
7546
+ <slot></slot>
6913
7547
  </span>
6914
7548
  </span>
6915
- </button>
7549
+ </${tag}>
6916
7550
  `;
6917
7551
  }
7552
+
7553
+ /**
7554
+ * Renders the layout of the button.
7555
+ * @returns {TemplateResult}
7556
+ * @private
7557
+ */
7558
+ renderLayout() {
7559
+ return this.renderLayoutDefault();
7560
+ }
6918
7561
  }
6919
7562
 
6920
- var buttonVersion = '9.3.0';
7563
+ var buttonVersion = '11.0.0';
6921
7564
 
6922
- var colorCss = 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)}`;
7565
+ var colorCss = 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-basic-color-status-error-subtle, #fbc6c6)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
6923
7566
 
6924
- var styleCss = i$5`.helptext-wrapper{display:none;font-size:var(--ds-basic-text-body-xs-font-size, 12px);font-weight:var(--ds-basic-text-body-xs-font-weight, 450);letter-spacing:var(--ds-basic-text-body-xs-letter-spacing, 0);line-height:var(--ds-basic-text-body-xs-line-height, 16px)}:host([large]) .helptext-wrapper{font-size:var(--ds-basic-text-body-default-font-size, 16px);font-weight:var(--ds-basic-text-body-default-font-weight, 450);letter-spacing:var(--ds-basic-text-body-default-letter-spacing, 0);line-height:var(--ds-basic-text-body-default-line-height, 24px)}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
7567
+ var styleCss = i$5`.helptext-wrapper{display:none;font-size:12px;font-weight:450;letter-spacing:0;line-height:16px}:host([large]) .helptext-wrapper{font-size:16px;font-weight:450;letter-spacing:0;line-height:24px}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
6925
7568
 
6926
7569
  var tokensCss = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
6927
7570
 
@@ -7163,6 +7806,20 @@ class AuroInput extends BaseInput {
7163
7806
  this.iconTag = versioning.generateTag('auro-formkit-input-icon', iconVersion, AuroIcon);
7164
7807
  }
7165
7808
 
7809
+ static get properties() {
7810
+ return {
7811
+ ...super.properties,
7812
+
7813
+ /**
7814
+ * @type {boolean}
7815
+ */
7816
+ hideInputVisually: {
7817
+ type: Boolean,
7818
+ reflect: true,
7819
+ }
7820
+ };
7821
+ }
7822
+
7166
7823
  static get styles() {
7167
7824
  return [
7168
7825
  i$5`${classicStyleCss}`,
@@ -7185,6 +7842,7 @@ class AuroInput extends BaseInput {
7185
7842
  */
7186
7843
  get commonLabelClasses() {
7187
7844
  return {
7845
+ 'is-disabled': this.disabled,
7188
7846
  'withValue': this.value && this.value.length > 0,
7189
7847
  'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
7190
7848
  };
@@ -7193,22 +7851,63 @@ class AuroInput extends BaseInput {
7193
7851
  /**
7194
7852
  * Returns classmap configuration for html5 inputs in all layouts.
7195
7853
  * @private
7196
- * @returns {void}
7854
+ * @returns {object} - Returns classmap.
7197
7855
  */
7198
7856
  get commonInputClasses() {
7199
7857
  return {
7200
- 'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
7858
+ 'util_displayHiddenVisually': this.hideInputVisually !== undefined
7859
+ ? this.hideInputVisually
7860
+ // eslint-disable-next-line no-warning-comments
7861
+ // TODO: refactor this to use a less brittle/forced solution.
7862
+ : this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
7201
7863
  };
7202
7864
  }
7203
7865
 
7866
+ /**
7867
+ * Returns classmap configuration for html5 inputs in each layout.
7868
+ * @private
7869
+ * @returns {object} - Returns classmap.
7870
+ */
7871
+ get legacyInputClasses() {
7872
+ return {
7873
+ ...this.commonInputClasses,
7874
+ 'util_displayHiddenVisually':
7875
+ this.hideInputVisually !== undefined
7876
+ ? this.hideInputVisually
7877
+ : !this.hasFocus && !this.value
7878
+ };
7879
+ }
7880
+
7881
+ /**
7882
+ * Returns classmap configuration for wrapper elements in each layout.
7883
+ * @private
7884
+ * @returns {object} - Returns classmap.
7885
+ */
7204
7886
  get commonWrapperClasses() {
7205
7887
  return {
7206
7888
  'wrapper': true,
7889
+ 'simple': this.simple,
7207
7890
  'withValue': this.value && this.value.length > 0,
7208
7891
  'hasFocus': this.hasFocus
7209
7892
  };
7210
7893
  }
7211
7894
 
7895
+ /**
7896
+ * Returns classmap configuration for accent elements in each layout.
7897
+ * @private
7898
+ * @returns {object} - Returns classmap.
7899
+ */
7900
+ get commonAccentClasses() {
7901
+ return {
7902
+ 'util_displayHidden': false
7903
+ };
7904
+ }
7905
+
7906
+ /**
7907
+ * Returns classmap configuration for helpText elements in each layout.
7908
+ * @private
7909
+ * @returns {object} - Returns classmap.
7910
+ */
7212
7911
  get helpTextClasses() {
7213
7912
  return {
7214
7913
  'helpTextWrapper': true,
@@ -7226,7 +7925,7 @@ class AuroInput extends BaseInput {
7226
7925
  *
7227
7926
  */
7228
7927
  static register(name = "auro-input") {
7229
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroInput);
7928
+ AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroInput);
7230
7929
  }
7231
7930
 
7232
7931
  /**
@@ -7282,10 +7981,10 @@ class AuroInput extends BaseInput {
7282
7981
  /**
7283
7982
  * Returns HTML for the HTML5 input element.
7284
7983
  * @private
7285
- * @param {boolean} [hideInputWhenBlurred=false] - If true, the input will be visually hidden when not focused and has no value.
7984
+ * @param {boolean} [useLegacyHiddenState=false] - If true, the input will be visually hidden when not focused and has no value.
7286
7985
  * @returns {html} - Returns HTML for the HTML5 input element.
7287
7986
  */
7288
- renderHtmlInput(hideInputWhenBlurred = false) {
7987
+ renderHtmlInput(useLegacyHiddenState = false) {
7289
7988
  const displayValueClasses = {
7290
7989
  'displayValue': true,
7291
7990
  'hasContent': this.hasDisplayValueContent,
@@ -7293,33 +7992,39 @@ class AuroInput extends BaseInput {
7293
7992
  'withValue': this.value && this.value.length > 0,
7294
7993
  };
7295
7994
 
7296
- const inputClasses = {
7297
- 'util_displayHiddenVisually': hideInputWhenBlurred && !this.hasFocus && !this.value
7298
- };
7995
+ // Remove this when the classic layout is sunset.
7996
+ const inputOverrideClasses = useLegacyHiddenState
7997
+ ? this.legacyInputClasses
7998
+ : this.commonInputClasses;
7299
7999
 
7300
8000
  return u$2`
7301
- <label for=${this.id} class="${e(this.commonLabelClasses)}" part="label">
8001
+ <label for=${this.inputId} class="${e(this.commonLabelClasses)}" part="label">
7302
8002
  <slot name="label">
7303
8003
  ${this.label}
7304
8004
  </slot>
7305
8005
  </label>
8006
+
8007
+ <!-- Attributes are grouped into: basic attributes, event handlers, ARIA attributes, and input-specific attributes -->
7306
8008
  <input
7307
8009
  @blur="${this.handleBlur}"
7308
8010
  @focusin="${this.handleFocusin}"
7309
8011
  @focusout="${this.handleFocusout}"
7310
8012
  @input="${this.handleInput}"
8013
+ .placeholder=${this.placeholderStr}
8014
+ .role=${this.a11yRole}
7311
8015
  ?activeLabel="${this.activeLabel}"
7312
8016
  ?disabled="${this.disabled}"
7313
8017
  ?required="${this.required}"
7314
- .placeholder=${this.placeholderStr}
8018
+ aria-controls=${o(this.a11yControls)}
7315
8019
  aria-describedby="${this.uniqueId}"
8020
+ aria-expanded=${o(this.a11yExpanded)}
7316
8021
  aria-invalid="${this.validity !== 'valid'}"
7317
- autocapitalize="${o(this.autocapitalize ? this.autocapitalize : undefined)}"
7318
8022
  autocomplete="${o(this.autocomplete ? this.autocomplete : undefined)}"
8023
+ autocapitalize="${o(this.autocapitalize ? this.autocapitalize : undefined)}"
7319
8024
  autocorrect="${o(this.autocorrect ? this.autocorrect : undefined)}"
7320
- class="${e(inputClasses)}"
8025
+ class="${e(inputOverrideClasses)}"
7321
8026
  id="${this.inputId}"
7322
- inputMode="${o(this.inputMode ? this.inputMode : undefined)}"
8027
+ inputmode="${o(this.inputmode ? this.inputmode : undefined)}"
7323
8028
  lang="${o(this.lang)}"
7324
8029
  maxlength="${o(this.maxLength ? this.maxLength : undefined)}"
7325
8030
  minlength="${o(this.minLength ? this.minLength : undefined)}"
@@ -7327,7 +8032,8 @@ class AuroInput extends BaseInput {
7327
8032
  part="input"
7328
8033
  pattern="${o(this.definePattern())}"
7329
8034
  spellcheck="${o(this.spellcheck ? this.spellcheck : undefined)}"
7330
- type="${this.type === 'password' && this.showPassword ? 'text' : this.getInputType(this.type)}" />
8035
+ type="${this.type === "password" && this.showPassword ? "text" : this.getInputType(this.type)}"
8036
+ />
7331
8037
  <div class="${e(displayValueClasses)}" aria-hidden="true" part="displayValue">
7332
8038
  <div class="displayValueWrapper">
7333
8039
  <slot name="displayValue" @slotchange=${this.checkDisplayValueSlotChange}></slot>
@@ -7349,11 +8055,12 @@ class AuroInput extends BaseInput {
7349
8055
  ?onDark="${this.onDark}"
7350
8056
  aria-label="${i18n(this.lang, 'clearInput')}"
7351
8057
  class="notificationBtn clearBtn"
7352
- tabindex="-1"
7353
- variant="flat">
8058
+ shape="circle"
8059
+ size="sm"
8060
+ variant="ghost">
7354
8061
  <${this.iconTag}
8062
+ ?customColor="${this.onDark}"
7355
8063
  category="interface"
7356
- customColor
7357
8064
  name="x-lg"
7358
8065
  >
7359
8066
  </${this.iconTag}>
@@ -7371,22 +8078,23 @@ class AuroInput extends BaseInput {
7371
8078
  return u$2`
7372
8079
  <div class="notification">
7373
8080
  <${this.buttonTag}
7374
- @click="${this.handleClickShowPassword}
8081
+ @click="${this.handleClickShowPassword}"
7375
8082
  ?onDark="${this.onDark}"
7376
- aria-hidden="true"
7377
8083
  class="notificationBtn passwordBtn"
7378
- tabindex="-1"
7379
- variant="flat">
8084
+ aria-label="${this.showPassword ? i18n(this.lang, "hidePassword") : i18n(this.lang, "showPassword")}"
8085
+ shape="circle"
8086
+ size="sm"
8087
+ variant="ghost">
7380
8088
  <${this.iconTag}
8089
+ ?customColor="${this.onDark}"
7381
8090
  ?hidden=${!this.showPassword}
7382
8091
  category="interface"
7383
- customColor
7384
8092
  name="hide-password-stroke">
7385
8093
  </${this.iconTag}>
7386
8094
  <${this.iconTag}
8095
+ ?customColor="${this.onDark}"
7387
8096
  ?hidden=${this.showPassword}
7388
8097
  category="interface"
7389
- customColor
7390
8098
  name="view-password-stroke">
7391
8099
  </${this.iconTag}>
7392
8100
  </${this.buttonTag}>
@@ -7461,24 +8169,30 @@ class AuroInput extends BaseInput {
7461
8169
  }
7462
8170
 
7463
8171
  /**
7464
- * Returns HTML for the default layout.
8172
+ * Returns HTML for the classic layout.
7465
8173
  * @private
7466
- * @returns {import("lit").TemplateResult} - Returns HTML for the default layout.
8174
+ * @returns {import("lit").TemplateResult} - Returns HTML for the classic layout.
7467
8175
  */
7468
8176
  renderLayoutClassic() {
8177
+ const classicClassMap = {
8178
+ ...this.commonWrapperClasses,
8179
+ 'thin': !this.simple
8180
+ };
8181
+
7469
8182
  return u$2`
7470
8183
  <div
7471
8184
  @click="${this.handleClick}"
7472
- class="${e(this.commonWrapperClasses)} thin"
8185
+ class="${e(classicClassMap)}"
7473
8186
  part="wrapper">
7474
- <div class="accents left">
8187
+ <div part="accent-left" class="accents left ${e(this.commonAccentClasses)}">
7475
8188
  ${this.renderHtmlTypeIcon()}
7476
8189
  </div>
7477
8190
  <div class="mainContent">
7478
8191
  ${this.renderHtmlInput(true)}
7479
8192
  </div>
7480
- <div class="accents right">
8193
+ <div part="accent-right" class="accents right ${e(this.commonAccentClasses)}">
7481
8194
  ${this.renderValidationErrorIconHtml()}
8195
+ ${this.hasValue && this.type === 'password' ? this.renderHtmlNotificationPassword() : undefined}
7482
8196
  ${this.hasValue ? u$2`
7483
8197
  ${!this.disabled && !this.readonly ? u$2`
7484
8198
  ${this.renderHtmlActionClear()}
@@ -7503,7 +8217,7 @@ class AuroInput extends BaseInput {
7503
8217
  @click="${this.handleClick}"
7504
8218
  class="${e(this.commonWrapperClasses)}"
7505
8219
  part="wrapper">
7506
- <div class="accents left">
8220
+ <div class="accents left ${this.commonAccentClasses}">
7507
8221
  ${this.layout.includes('left') ? u$2`
7508
8222
  ${this.renderValidationErrorIconHtml()}
7509
8223
  ` : undefined}
@@ -7511,7 +8225,7 @@ class AuroInput extends BaseInput {
7511
8225
  <div class="mainContent">
7512
8226
  ${this.renderHtmlInput()}
7513
8227
  </div>
7514
- <div class="accents right">
8228
+ <div class="accents right ${this.commonAccentClasses}">
7515
8229
  ${this.layout.includes('right') || this.layout === "emphasized" ? u$2`
7516
8230
  ${this.renderValidationErrorIconHtml()}
7517
8231
  ` : undefined}