@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.6 → 0.0.0-pr624.61

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 (138) hide show
  1. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +12 -2
  2. package/components/bibtemplate/dist/buttonVersion.d.ts +2 -0
  3. package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
  4. package/components/bibtemplate/dist/index.js +1214 -83
  5. package/components/bibtemplate/dist/registered.js +1214 -83
  6. package/components/checkbox/README.md +1 -1
  7. package/components/checkbox/demo/api.html +16 -10
  8. package/components/checkbox/demo/api.md +47 -14
  9. package/components/checkbox/demo/api.min.js +65 -42
  10. package/components/checkbox/demo/index.html +16 -10
  11. package/components/checkbox/demo/index.md +2 -2
  12. package/components/checkbox/demo/index.min.js +65 -42
  13. package/components/checkbox/demo/readme.html +16 -9
  14. package/components/checkbox/demo/readme.md +1 -1
  15. package/components/checkbox/dist/auro-checkbox-group.d.ts +1 -1
  16. package/components/checkbox/dist/auro-checkbox.d.ts +3 -3
  17. package/components/checkbox/dist/index.js +65 -42
  18. package/components/checkbox/dist/registered.js +65 -42
  19. package/components/combobox/demo/api.html +16 -10
  20. package/components/combobox/demo/api.md +113 -8
  21. package/components/combobox/demo/api.min.js +3052 -926
  22. package/components/combobox/demo/index.html +16 -10
  23. package/components/combobox/demo/index.md +6 -30
  24. package/components/combobox/demo/index.min.js +3052 -926
  25. package/components/combobox/demo/readme.html +16 -9
  26. package/components/combobox/dist/auro-combobox.d.ts +42 -8
  27. package/components/combobox/dist/index.js +2773 -743
  28. package/components/combobox/dist/registered.js +2773 -743
  29. package/components/counter/demo/api.html +17 -10
  30. package/components/counter/demo/api.md +156 -21
  31. package/components/counter/demo/api.min.js +6728 -4118
  32. package/components/counter/demo/index.html +17 -10
  33. package/components/counter/demo/index.md +185 -34
  34. package/components/counter/demo/index.min.js +6728 -4118
  35. package/components/counter/demo/readme.html +16 -9
  36. package/components/counter/dist/auro-counter-button.d.ts +2 -0
  37. package/components/counter/dist/auro-counter-group.d.ts +151 -11
  38. package/components/counter/dist/auro-counter.d.ts +16 -0
  39. package/components/counter/dist/helptextVersion.d.ts +2 -0
  40. package/components/counter/dist/iconVersion.d.ts +1 -1
  41. package/components/counter/dist/index.js +6728 -4118
  42. package/components/counter/dist/registered.js +6728 -4118
  43. package/components/datepicker/demo/api.html +16 -10
  44. package/components/datepicker/demo/api.md +25 -16
  45. package/components/datepicker/demo/api.min.js +11540 -7985
  46. package/components/datepicker/demo/index.html +16 -10
  47. package/components/datepicker/demo/index.md +71 -4
  48. package/components/datepicker/demo/index.min.js +11540 -7985
  49. package/components/datepicker/demo/readme.html +16 -9
  50. package/components/datepicker/dist/auro-datepicker.d.ts +89 -11
  51. package/components/datepicker/dist/buttonVersion.d.ts +1 -1
  52. package/components/datepicker/dist/iconVersion.d.ts +2 -0
  53. package/components/datepicker/dist/index.js +11603 -8048
  54. package/components/datepicker/dist/popoverVersion.d.ts +1 -1
  55. package/components/datepicker/dist/registered.js +11603 -8048
  56. package/components/dropdown/demo/api.html +16 -10
  57. package/components/dropdown/demo/api.md +81 -274
  58. package/components/dropdown/demo/api.min.js +429 -195
  59. package/components/dropdown/demo/index.html +16 -10
  60. package/components/dropdown/demo/index.md +92 -362
  61. package/components/dropdown/demo/index.min.js +429 -195
  62. package/components/dropdown/demo/readme.html +16 -9
  63. package/components/dropdown/dist/auro-dropdown.d.ts +41 -76
  64. package/components/dropdown/dist/auro-dropdownBib.d.ts +14 -0
  65. package/components/dropdown/dist/index.js +429 -195
  66. package/components/dropdown/dist/registered.js +429 -195
  67. package/components/form/demo/api.html +16 -9
  68. package/components/form/demo/api.min.js +1 -1
  69. package/components/form/demo/autocomplete.html +19 -3
  70. package/components/form/demo/index.html +16 -9
  71. package/components/form/demo/index.min.js +1 -1
  72. package/components/form/demo/readme.html +16 -9
  73. package/components/form/demo/working.html +19 -13
  74. package/components/form/dist/index.js +1 -1
  75. package/components/form/dist/registered.js +1 -1
  76. package/components/helptext/dist/index.js +2 -2
  77. package/components/helptext/dist/registered.js +2 -2
  78. package/components/input/README.md +5 -2
  79. package/components/input/demo/api.html +16 -10
  80. package/components/input/demo/api.md +228 -130
  81. package/components/input/demo/api.min.js +853 -241
  82. package/components/input/demo/index.html +16 -10
  83. package/components/input/demo/index.md +48 -32
  84. package/components/input/demo/index.min.js +853 -241
  85. package/components/input/demo/readme.html +16 -9
  86. package/components/input/demo/readme.md +5 -2
  87. package/components/input/dist/auro-input.d.ts +3 -3
  88. package/components/input/dist/base-input.d.ts +38 -10
  89. package/components/input/dist/buttonVersion.d.ts +1 -1
  90. package/components/input/dist/iconVersion.d.ts +1 -1
  91. package/components/input/dist/index.js +853 -241
  92. package/components/input/dist/registered.js +853 -241
  93. package/components/layoutElement/dist/index.js +13 -10
  94. package/components/menu/demo/api.html +32 -10
  95. package/components/menu/demo/api.md +69 -8
  96. package/components/menu/demo/api.min.js +238 -47
  97. package/components/menu/demo/index.html +16 -10
  98. package/components/menu/demo/index.min.js +238 -47
  99. package/components/menu/demo/readme.html +16 -9
  100. package/components/menu/dist/auro-menu.d.ts +41 -7
  101. package/components/menu/dist/auro-menuoption.d.ts +15 -3
  102. package/components/menu/dist/iconVersion.d.ts +1 -1
  103. package/components/menu/dist/index.js +238 -47
  104. package/components/menu/dist/registered.js +238 -47
  105. package/components/menu/dist/styles/default/style-menuoption-css.d.ts +2 -0
  106. package/components/menu/dist/styles/default/tokens-css.d.ts +2 -0
  107. package/components/radio/demo/api.html +16 -10
  108. package/components/radio/demo/api.md +7 -8
  109. package/components/radio/demo/api.min.js +88 -90
  110. package/components/radio/demo/index.html +16 -10
  111. package/components/radio/demo/index.min.js +88 -90
  112. package/components/radio/demo/readme.html +16 -9
  113. package/components/radio/dist/auro-radio-group.d.ts +1 -1
  114. package/components/radio/dist/auro-radio.d.ts +9 -12
  115. package/components/radio/dist/index.js +88 -90
  116. package/components/radio/dist/registered.js +88 -90
  117. package/components/select/demo/api.html +16 -10
  118. package/components/select/demo/api.js +0 -2
  119. package/components/select/demo/api.md +104 -57
  120. package/components/select/demo/api.min.js +2123 -644
  121. package/components/select/demo/index.html +16 -11
  122. package/components/select/demo/index.md +45 -158
  123. package/components/select/demo/index.min.js +2123 -632
  124. package/components/select/demo/readme.html +16 -9
  125. package/components/select/dist/auro-select.d.ts +57 -16
  126. package/components/select/dist/index.js +2047 -652
  127. package/components/select/dist/registered.js +2047 -652
  128. package/package.json +29 -26
  129. /package/components/{datepicker/dist/styles/emphasized/style-css.d.ts → counter/dist/styles/shapeSize-css.d.ts} +0 -0
  130. /package/components/{dropdown/dist/styles/default → datepicker/dist/styles/snowflake}/color-css.d.ts +0 -0
  131. /package/components/{dropdown/dist/styles/default → datepicker/dist/styles/snowflake}/style-css.d.ts +0 -0
  132. /package/components/dropdown/dist/styles/{default → classic}/bibColors-css.d.ts +0 -0
  133. /package/components/dropdown/dist/styles/{default → classic}/bibStyles-css.d.ts +0 -0
  134. /package/components/{menu/dist/styles/color-menu-css.d.ts → dropdown/dist/styles/classic/color-css.d.ts} +0 -0
  135. /package/components/{menu/dist/styles/color-menuoption-css.d.ts → dropdown/dist/styles/classic/style-css.d.ts} +0 -0
  136. /package/components/menu/dist/styles/{style-menu-css.d.ts → default/color-menu-css.d.ts} +0 -0
  137. /package/components/menu/dist/styles/{style-menuoption-css.d.ts → default/color-menuoption-css.d.ts} +0 -0
  138. /package/components/menu/dist/styles/{tokens-css.d.ts → default/style-menu-css.d.ts} +0 -0
@@ -4,25 +4,25 @@ import { repeat } from 'lit/directives/repeat.js';
4
4
  import { classMap } from 'lit/directives/class-map.js';
5
5
  import { ifDefined } from 'lit/directives/if-defined.js';
6
6
 
7
- var shapeSizeCss = css`.wrapper{overflow:hidden}.shape-classic-xl,.shape-classic-lg,.shape-classic-md,.shape-classic-sm,.shape-classic-xs{min-height:58px;max-height:58px;border-style:solid;border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}.shape-classic-xl.simple,.shape-classic-lg.simple,.shape-classic-md.simple,.shape-classic-sm.simple,.shape-classic-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset}.shape-classic-xl.thin,.shape-classic-lg.thin,.shape-classic-md.thin,.shape-classic-sm.thin,.shape-classic-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-classic-xl.parentBorder,.shape-classic-lg.parentBorder,.shape-classic-md.parentBorder,.shape-classic-sm.parentBorder,.shape-classic-xs.parentBorder{border:0;min-height:56px;max-height:56px}.shape-snowflake-xl,.shape-snowflake-lg,.shape-snowflake-md,.shape-snowflake-sm,.shape-snowflake-xs{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:30px}.shape-snowflake-xl.simple,.shape-snowflake-lg.simple,.shape-snowflake-md.simple,.shape-snowflake-sm.simple,.shape-snowflake-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset}.shape-snowflake-xl.thin,.shape-snowflake-lg.thin,.shape-snowflake-md.thin,.shape-snowflake-sm.thin,.shape-snowflake-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-snowflake-xl.parentBorder,.shape-snowflake-lg.parentBorder,.shape-snowflake-md.parentBorder,.shape-snowflake-sm.parentBorder,.shape-snowflake-xs.parentBorder{border:0;min-height:56px;max-height:56px}.shape-box-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset}.shape-box-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-box-xl.parentBorder{border:0;min-height:68px;max-height:68px}.shape-rounded-lg{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:6px}.shape-rounded-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset}.shape-rounded-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-rounded-lg.parentBorder{border:0;min-height:52px;max-height:52px}.shape-pill-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset}.shape-pill-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-xl.parentBorder{border:0;min-height:68px;max-height:68px}.shape-pill-left-xl{min-height:72px;max-height:72px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset}.shape-pill-left-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-left-xl.parentBorder{border:0;min-height:68px;max-height:68px}.shape-pill-right-xl{min-height:72px;max-height:72px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset}.shape-pill-right-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-right-xl.parentBorder{border:0;min-height:68px;max-height:68px}.shape-pill-md{min-height:72px;max-height:72px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset}.shape-pill-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-md.parentBorder{border:0;min-height:44px;max-height:44px}.shape-pill-left-md{min-height:72px;max-height:72px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset}.shape-pill-left-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-left-md.parentBorder{border:0;min-height:44px;max-height:44px}.shape-pill-right-md{min-height:72px;max-height:72px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset}.shape-pill-right-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-right-md.parentBorder{border:0;min-height:44px;max-height:44px}`;
7
+ var shapeSizeCss = css`.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}`;
8
8
 
9
- var styleCss$4 = css`.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}`;
9
+ var styleCss$4 = css`.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:clip !important;width:100%;padding:0;border:0;background:unset;outline:none;overflow-clip-margin:0 !important;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;gap:8px}`;
10
10
 
11
- var styleDefaultCss = css`.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}`;
11
+ var styleDefaultCss = css`.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}`;
12
12
 
13
- var colorBaseCss = css`.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)}`;
13
+ var colorBaseCss = css`.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)}:host(:not([ondark])[disabled]){--ds-auro-input-border-color: var(--ds-basic-color-border-subtle, #dddddd);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([ondark][disabled]){--ds-auro-input-border-color: var(--ds-advanced-color-button-primary-border-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}`;
14
14
 
15
- var tokensCss$4 = css`: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}`;
15
+ var tokensCss$4 = css`: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}`;
16
16
 
17
- var classicStyleCss = css`.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}`;
17
+ var classicStyleCss = css`.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{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;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 .typeIcon>*{margin-left:var(--ds-size-100, 0.5rem)}.layout-classic .accents.left{padding-right:var(--ds-size-100, 0.5rem)}.layout-classic .accents.right{padding-left:var(--ds-size-100, 0.5rem)}.layout-classic .accents.right .notification{margin-right:var(--ds-size-100, 0.5rem)}.layout-classic.withValue{justify-content:flex-start}.layout-classic:focus-within{justify-content:flex-start}.layout-classic:focus-within .alertNotification{display:none}`;
18
18
 
19
- var classicColorCss = css`.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)}`;
19
+ var classicColorCss = css`.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)}`;
20
20
 
21
- var emphasizedStyleCss = css`: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}`;
21
+ var emphasizedStyleCss = css`:host([layout*=emphasized][shape*=pill]:not([layout*=right])) .leftIndent{margin-left:var(--ds-size-300, 1.5rem);width:calc(100% - var(--ds-size-300, 1.5rem))}:host([layout*=emphasized][shape*=pill]:not([layout*=left])) .rightIndent{margin-right:var(--ds-size-300, 1.5rem);width:calc(100% - var(--ds-size-300, 1.5rem))}:host([layout*=emphasized][shape*=pill]:not([layout*=left]):not([layout*=right])) .rightIndent{margin-right:var(--ds-size-300, 1.5rem);width:calc(100% - var(--ds-size-300, 1.5rem))}.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:var(--ds-size-300, 1.5rem)}.layout-emphasized .accents.right,.layout-emphasized-left .accents.right,.layout-emphasized-right .accents.right{padding-right:var(--ds-size-300, 1.5rem)}.layout-emphasized-left .alertNotification{margin-right:var(--ds-size-100, 0.5rem)}.layout-emphasized-left .clear{margin-left:var(--ds-size-100, 0.5rem)}.layout-emphasized .alertNotification,.layout-emphasized-right .alertNotification{margin-left:var(--ds-size-100, 0.5rem)}.layout-emphasized .clear,.layout-emphasized-right .clear{margin-right:var(--ds-size-100, 0.5rem)}`;
22
22
 
23
23
  var emphasizedColorCss = css`.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)}`;
24
24
 
25
- var snowflakeStyleCss = css`: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}`;
25
+ var snowflakeStyleCss = css`: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:var(--ds-size-300, 1.5rem);width:calc(100% - var(--ds-size-300, 1.5rem))}:host([layout*=snowflake]) .rightIndent{margin-right:var(--ds-size-300, 1.5rem);width:calc(100% - var(--ds-size-300, 1.5rem))}.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:var(--ds-size-300, 1.5rem)}.layout-snowflake .accents.left{padding-left:var(--ds-size-300, 1.5rem)}.layout-snowflake .accents.right{padding-right:var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .helpTextWrapper{text-align:center}`;
26
26
 
27
27
  const watchedItems = new Set();
28
28
 
@@ -85,6 +85,8 @@ const stringsES = {
85
85
  'dateMM': 'Ingrese una fecha completa en el formato MM',
86
86
  'dateDD': 'Ingrese una fecha completa en el formato DD',
87
87
  'clearInput': 'Borrar campo de entrada',
88
+ 'showPassword': 'Mostrar contraseña',
89
+ 'hidePassword': 'Ocultar contraseña'
88
90
  };
89
91
 
90
92
  const stringsEN = {
@@ -109,6 +111,8 @@ const stringsEN = {
109
111
  'dateMM': 'Please enter a complete date in the format MM',
110
112
  'dateDD': 'Please enter a complete date in the format DD',
111
113
  'clearInput': 'Clear input field',
114
+ 'showPassword': 'Show password',
115
+ 'hidePassword': 'Hide password'
112
116
  };
113
117
 
114
118
  /**
@@ -4403,7 +4407,7 @@ const {
4403
4407
 
4404
4408
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
4405
4409
 
4406
- let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
4410
+ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
4407
4411
 
4408
4412
  /* eslint-disable jsdoc/require-param */
4409
4413
 
@@ -4473,7 +4477,7 @@ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
4473
4477
  class AuroFormValidation {
4474
4478
 
4475
4479
  constructor() {
4476
- this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
4480
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
4477
4481
  }
4478
4482
 
4479
4483
  /**
@@ -4533,19 +4537,19 @@ class AuroFormValidation {
4533
4537
  {
4534
4538
  check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
4535
4539
  validity: 'tooShort',
4536
- message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
4540
+ message: e => e.getAttribute('setCustomValidityTooShort') || e.setCustomValidity || ''
4537
4541
  },
4538
4542
  {
4539
4543
  check: (e) => e.value?.length > e.maxLength,
4540
4544
  validity: 'tooLong',
4541
- message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
4545
+ message: e => e.getAttribute('setCustomValidityTooLong') || e.setCustomValidity || ''
4542
4546
  }
4543
4547
  ],
4544
4548
  pattern: [
4545
4549
  {
4546
4550
  check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
4547
4551
  validity: 'patternMismatch',
4548
- message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
4552
+ message: e => e.getAttribute('setCustomValidityPatternMismatch') || e.setCustomValidity || ''
4549
4553
  }
4550
4554
  ]
4551
4555
  },
@@ -4692,13 +4696,24 @@ class AuroFormValidation {
4692
4696
  this.getInputElements(elem);
4693
4697
  this.getAuroInputs(elem);
4694
4698
 
4695
- // Validate only if noValidate is not true and the input does not have focus
4699
+ // Check if validation should run
4696
4700
  let validationShouldRun =
4701
+
4702
+ // If the validation was forced
4697
4703
  force ||
4698
- (!elem.contains(document.activeElement) &&
4699
- (elem.touched ||
4700
- (!elem.touched && typeof elem.value !== "undefined"))) ||
4701
- elem.validateOnInput;
4704
+
4705
+ // If the validation should run on input
4706
+ elem.validateOnInput ||
4707
+
4708
+ // State-based checks
4709
+ (
4710
+ // Element is not currently focused
4711
+ !elem.contains(document.activeElement) && // native input is not focused directly
4712
+ !document.activeElement.shadowRoot?.contains(elem) && // native input is not focused in the shadow DOM of another component
4713
+
4714
+ // And element has been touched or is untouched but has a value
4715
+ ( elem.touched || (!elem.touched && typeof elem.value !== "undefined") )
4716
+ );
4702
4717
 
4703
4718
  if (elem.hasAttribute('error')) {
4704
4719
  elem.validity = 'customError';
@@ -4740,10 +4755,10 @@ class AuroFormValidation {
4740
4755
  if (!hasValue && elem.required && elem.touched) {
4741
4756
  elem.validity = 'valueMissing';
4742
4757
  elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
4743
- } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
4758
+ } else if (hasValue && this.runtimeUtils.elementMatch(elem, 'auro-input')) {
4744
4759
  this.validateType(elem);
4745
4760
  this.validateElementAttributes(elem);
4746
- } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
4761
+ } else if (hasValue && (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group'))) {
4747
4762
  this.validateElementAttributes(elem);
4748
4763
  }
4749
4764
  }
@@ -4752,7 +4767,9 @@ class AuroFormValidation {
4752
4767
  elem.validity = this.auroInputElements[0].validity;
4753
4768
  elem.errorMessage = this.auroInputElements[0].errorMessage;
4754
4769
 
4755
- if (elem.validity === 'valid' && this.auroInputElements.length > 1) {
4770
+ // combobox has 2 inputs but no need to check validity on the 2nd one which is in fullscreen bib.
4771
+ // combobox's 2nd input will have noValidate set true.
4772
+ if (elem.validity === 'valid' && this.auroInputElements.length > 1 && !this.auroInputElements[1].noValidate) {
4756
4773
  elem.validity = this.auroInputElements[1].validity;
4757
4774
  elem.errorMessage = this.auroInputElements[1].errorMessage;
4758
4775
  }
@@ -4832,7 +4849,7 @@ class AuroFormValidation {
4832
4849
  }
4833
4850
  }
4834
4851
 
4835
- let AuroElement$1 = class AuroElement extends LitElement {
4852
+ let AuroElement$2 = class AuroElement extends LitElement {
4836
4853
  static get properties() {
4837
4854
  return {
4838
4855
 
@@ -4867,18 +4884,21 @@ let AuroElement$1 = class AuroElement extends LitElement {
4867
4884
  }
4868
4885
 
4869
4886
  resetShapeClasses() {
4870
- if (this.shape && this.size) {
4871
- const wrapper = this.shadowRoot.querySelector('.wrapper');
4887
+ const wrapper = this.shadowRoot.querySelector('.wrapper');
4872
4888
 
4873
- if (wrapper) {
4874
- wrapper.classList.forEach((className) => {
4875
- if (className.startsWith('shape-')) {
4876
- wrapper.classList.remove(className);
4877
- }
4878
- });
4889
+ if (wrapper) {
4890
+ wrapper.classList.forEach((className) => {
4891
+ if (className.startsWith('shape-')) {
4892
+ wrapper.classList.remove(className);
4893
+ }
4894
+ });
4879
4895
 
4880
- wrapper.classList.add(`shape-${this.shape.toLowerCase()}-${this.size.toLowerCase()}`);
4881
- }
4896
+ }
4897
+
4898
+ if (this.shape && this.size) {
4899
+ wrapper.classList.add(`shape-${this.shape.toLowerCase()}-${this.size.toLowerCase()}`);
4900
+ } else {
4901
+ wrapper.classList.add('shape-none');
4882
4902
  }
4883
4903
  }
4884
4904
 
@@ -4934,19 +4954,24 @@ let AuroElement$1 = class AuroElement extends LitElement {
4934
4954
  * @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
4935
4955
  * @attr id
4936
4956
  *
4937
- * @slot helptext - Sets the help text displayed below the input.
4957
+ * @slot helpText - Sets the help text displayed below the input.
4938
4958
  * @slot label - Sets the label text for the input.
4959
+ * @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
4960
+ * @slot displayValue - Allows custom HTML content to display in place of the value when the input is not focused.
4939
4961
  *
4940
4962
  * @csspart wrapper - Use for customizing the style of the root element
4941
4963
  * @csspart label - Use for customizing the style of the label element
4942
4964
  * @csspart helpText - Use for customizing the style of the helpText element
4965
+ * @csspart input - Use for customizing the style of the input element
4943
4966
  * @csspart accentIcon - Use for customizing the style of the accentIcon element (e.g. credit card icon, calendar icon)
4944
4967
  * @csspart iconContainer - Use for customizing the style of the iconContainer (e.g. X icon for clearing input value)
4968
+ * @csspart accent-left - Use for customizing the style of the left accent element (e.g. padding, margin)
4969
+ * @csspart accent-right - Use for customizing the style of the right accent element (e.g. padding, margin)
4945
4970
  * @event input - Event fires when the value of an `auro-input` has been changed.
4946
4971
  * @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` value has changed.
4947
4972
  */
4948
4973
 
4949
- class BaseInput extends AuroElement$1 {
4974
+ class BaseInput extends AuroElement$2 {
4950
4975
 
4951
4976
  constructor() {
4952
4977
  super();
@@ -5039,7 +5064,6 @@ class BaseInput extends AuroElement$1 {
5039
5064
  */
5040
5065
  a11yRole: {
5041
5066
  type: String,
5042
- attribute: true,
5043
5067
  reflect: true
5044
5068
  },
5045
5069
 
@@ -5048,7 +5072,6 @@ class BaseInput extends AuroElement$1 {
5048
5072
  */
5049
5073
  a11yExpanded: {
5050
5074
  type: Boolean,
5051
- attribute: true,
5052
5075
  reflect: true
5053
5076
  },
5054
5077
 
@@ -5057,7 +5080,6 @@ class BaseInput extends AuroElement$1 {
5057
5080
  */
5058
5081
  a11yControls: {
5059
5082
  type: String,
5060
- attribute: true,
5061
5083
  reflect: true
5062
5084
  },
5063
5085
 
@@ -5073,7 +5095,8 @@ class BaseInput extends AuroElement$1 {
5073
5095
  * 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].
5074
5096
  */
5075
5097
  autocapitalize: {
5076
- type: String
5098
+ type: String,
5099
+ reflect: true
5077
5100
  },
5078
5101
 
5079
5102
  /**
@@ -5088,7 +5111,8 @@ class BaseInput extends AuroElement$1 {
5088
5111
  * When set to `off`, stops iOS from auto-correcting words when typed into a text box.
5089
5112
  */
5090
5113
  autocorrect: {
5091
- type: String
5114
+ type: String,
5115
+ reflect: true
5092
5116
  },
5093
5117
 
5094
5118
  /**
@@ -5133,7 +5157,6 @@ class BaseInput extends AuroElement$1 {
5133
5157
  /** Exposes inputmode attribute for input. */
5134
5158
  inputmode: {
5135
5159
  type: String,
5136
- attribute: true,
5137
5160
  reflect: true
5138
5161
  },
5139
5162
 
@@ -5141,7 +5164,8 @@ class BaseInput extends AuroElement$1 {
5141
5164
  * Defines the language of an element.
5142
5165
  */
5143
5166
  lang: {
5144
- type: String
5167
+ type: String,
5168
+ reflect: true
5145
5169
  },
5146
5170
 
5147
5171
  /**
@@ -5155,7 +5179,8 @@ class BaseInput extends AuroElement$1 {
5155
5179
  * The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher.
5156
5180
  */
5157
5181
  maxLength: {
5158
- type: Number
5182
+ type: Number,
5183
+ reflect: true
5159
5184
  },
5160
5185
 
5161
5186
  /**
@@ -5169,14 +5194,25 @@ class BaseInput extends AuroElement$1 {
5169
5194
  * 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`.
5170
5195
  */
5171
5196
  minLength: {
5172
- type: Number
5197
+ type: Number,
5198
+ reflect: true
5173
5199
  },
5174
5200
 
5175
5201
  /**
5176
5202
  * Populates the `name` attribute on the input.
5177
5203
  */
5178
5204
  name: {
5179
- type: String
5205
+ type: String,
5206
+ reflect: true
5207
+ },
5208
+
5209
+ /**
5210
+ * Sets styles for nested operation - removes borders, hides help + error text, and
5211
+ * hides accents.
5212
+ */
5213
+ nested: {
5214
+ type: Boolean,
5215
+ reflect: true
5180
5216
  },
5181
5217
 
5182
5218
  /**
@@ -5204,10 +5240,11 @@ class BaseInput extends AuroElement$1 {
5204
5240
  },
5205
5241
 
5206
5242
  /**
5207
- * Define custom placeholder text, only supported by date input formats.
5243
+ * Define custom placeholder text.
5208
5244
  */
5209
5245
  placeholder: {
5210
- type: String
5246
+ type: String,
5247
+ reflect: true
5211
5248
  },
5212
5249
 
5213
5250
  /**
@@ -5296,6 +5333,14 @@ class BaseInput extends AuroElement$1 {
5296
5333
  type: String
5297
5334
  },
5298
5335
 
5336
+ /**
5337
+ * Simple makes the input render without a border.
5338
+ */
5339
+ simple: {
5340
+ type: Boolean,
5341
+ reflect: true
5342
+ },
5343
+
5299
5344
  /**
5300
5345
  * Custom help text message for email type validity.
5301
5346
  */
@@ -5307,7 +5352,8 @@ class BaseInput extends AuroElement$1 {
5307
5352
  * 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`.
5308
5353
  */
5309
5354
  spellcheck: {
5310
- type: String
5355
+ type: String,
5356
+ reflect: true
5311
5357
  },
5312
5358
 
5313
5359
  /**
@@ -5322,7 +5368,8 @@ class BaseInput extends AuroElement$1 {
5322
5368
  * Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
5323
5369
  */
5324
5370
  value: {
5325
- type: String
5371
+ type: String,
5372
+ reflect: true
5326
5373
  },
5327
5374
 
5328
5375
  /**
@@ -5353,8 +5400,8 @@ class BaseInput extends AuroElement$1 {
5353
5400
  },
5354
5401
 
5355
5402
  /**
5403
+ * The id for input node.
5356
5404
  * @private
5357
- * id for input node
5358
5405
  */
5359
5406
  inputId: {
5360
5407
  type: String,
@@ -5378,7 +5425,7 @@ class BaseInput extends AuroElement$1 {
5378
5425
  }
5379
5426
 
5380
5427
  firstUpdated() {
5381
- // clicking anywhere in the main wrapper will focus the input. Clicking the helptext or label will not focus the input.
5428
+ // clicking anywhere in the main wrapper will focus the input. Clicking the helpText or label will not focus the input.
5382
5429
  this.wrapperElement = this.shadowRoot.querySelector('.wrapper');
5383
5430
  this.inputElement = this.renderRoot.querySelector('input');
5384
5431
  this.labelElement = this.shadowRoot.querySelector('label');
@@ -5490,9 +5537,9 @@ class BaseInput extends AuroElement$1 {
5490
5537
  if (!this.shadowRoot.contains(this.getActiveElement())) {
5491
5538
  this.validation.validate(this);
5492
5539
  }
5493
-
5494
- this.notifyValueChanged();
5495
5540
  }
5541
+
5542
+ this.notifyValueChanged();
5496
5543
  }
5497
5544
 
5498
5545
  if (changedProperties.has('error')) {
@@ -5602,7 +5649,6 @@ class BaseInput extends AuroElement$1 {
5602
5649
 
5603
5650
  /**
5604
5651
  * Function to set element focus.
5605
- * @private
5606
5652
  * @return {void}
5607
5653
  */
5608
5654
  focus() {
@@ -5618,9 +5664,9 @@ class BaseInput extends AuroElement$1 {
5618
5664
  this.inputElement.value = "";
5619
5665
  this.value = "";
5620
5666
  this.labelElement.classList.remove('inputElement-label--sticky');
5667
+ this.notifyValueChanged();
5621
5668
  this.focus();
5622
5669
  this.validation.validate(this);
5623
- this.notifyValueChanged();
5624
5670
  }
5625
5671
 
5626
5672
  /**
@@ -5715,13 +5761,20 @@ class BaseInput extends AuroElement$1 {
5715
5761
  }
5716
5762
 
5717
5763
  /**
5718
- * Resets component to initial state.
5764
+ * Resets component to initial state, including resetting the touched state and validity.
5719
5765
  * @returns {void}
5720
5766
  */
5721
5767
  reset() {
5722
5768
  this.validation.reset(this);
5723
5769
  }
5724
5770
 
5771
+ /**
5772
+ * Clears the input value
5773
+ */
5774
+ clear() {
5775
+ this.value = undefined;
5776
+ }
5777
+
5725
5778
  /**
5726
5779
  * Sets configuration data used elsewhere based on the `type` attribute.
5727
5780
  * @private
@@ -5800,28 +5853,15 @@ class BaseInput extends AuroElement$1 {
5800
5853
  * @returns {void}
5801
5854
  */
5802
5855
  getPlaceholder() {
5803
- const isFocused = this.inputElement === this.getActiveElement();
5804
-
5805
- // console.warn('isFocused', isFocused);
5806
- // console.warn(this.inputElement);
5807
- // console.warn(this.getActiveElement());
5808
-
5809
- if (!isFocused) {
5810
- if (this.placeholder) {
5811
- this.placeholderStr = this.placeholder;
5812
- // return this.placeholder;
5813
- } else if (this.type === 'date') {
5814
- this.placeholderStr = this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
5815
- // return this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
5816
- }
5817
- } else {
5818
- this.placeholderStr = '';
5856
+ if (this.placeholder) {
5857
+ this.placeholderStr = this.placeholder;
5858
+ } else if (this.type === 'date') {
5859
+ this.placeholderStr = this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
5819
5860
  }
5820
5861
 
5821
5862
  this.requestUpdate();
5822
5863
 
5823
- // console.warn('this.placeholderStr', this.placeholderStr);
5824
- // return this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
5864
+ return this.placeholderStr;
5825
5865
  }
5826
5866
 
5827
5867
  /**
@@ -6034,7 +6074,7 @@ class AuroDependencyVersioning {
6034
6074
  * @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
6035
6075
  */
6036
6076
 
6037
- class AuroElement extends LitElement {
6077
+ let AuroElement$1 = class AuroElement extends LitElement {
6038
6078
 
6039
6079
  // function to define props used within the scope of this component
6040
6080
  static get properties() {
@@ -6058,7 +6098,7 @@ class AuroElement extends LitElement {
6058
6098
 
6059
6099
  return 'false'
6060
6100
  }
6061
- }
6101
+ };
6062
6102
 
6063
6103
  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>"};
6064
6104
 
@@ -6102,7 +6142,7 @@ var styleCss$3 = css`:focus:not(:focus-visible){outline:3px solid transparent}.u
6102
6142
  */
6103
6143
 
6104
6144
  // build the component class
6105
- class BaseIcon extends AuroElement {
6145
+ class BaseIcon extends AuroElement$1 {
6106
6146
  constructor() {
6107
6147
  super();
6108
6148
  this.onDark = false;
@@ -6185,7 +6225,7 @@ var colorCss$3 = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){
6185
6225
 
6186
6226
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
6187
6227
 
6188
- let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
6228
+ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
6189
6229
 
6190
6230
  /* eslint-disable jsdoc/require-param */
6191
6231
 
@@ -6267,7 +6307,7 @@ class AuroIcon extends BaseIcon {
6267
6307
  */
6268
6308
  privateDefaults() {
6269
6309
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
6270
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
6310
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
6271
6311
  }
6272
6312
 
6273
6313
  // function to define props used within the scope of this component
@@ -6349,7 +6389,7 @@ class AuroIcon extends BaseIcon {
6349
6389
  *
6350
6390
  */
6351
6391
  static register(name = "auro-icon") {
6352
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
6392
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroIcon);
6353
6393
  }
6354
6394
 
6355
6395
  connectedCallback() {
@@ -6370,8 +6410,12 @@ class AuroIcon extends BaseIcon {
6370
6410
  async firstUpdated() {
6371
6411
  await super.firstUpdated();
6372
6412
 
6373
- // Removes the SVG description for screenreader if ariaHidden is set to true
6374
- if (!this.hasAttribute('ariaHidden') && this.svg) {
6413
+ /**
6414
+ * icons provide a description for screen readers. Icon only instances Auro-button
6415
+ * depend on this description to provide context for the user using a screen reader.
6416
+ * Removes the SVG description for screen reader if ariaHidden is set to true.
6417
+ */
6418
+ if (this.hasAttribute('ariaHidden') && this.svg) {
6375
6419
  const svgDesc = this.svg.querySelector('desc');
6376
6420
 
6377
6421
  if (svgDesc) {
@@ -6415,13 +6459,550 @@ class AuroIcon extends BaseIcon {
6415
6459
  }
6416
6460
  }
6417
6461
 
6418
- var iconVersion = '8.0.1';
6462
+ var iconVersion = '8.0.4';
6463
+
6464
+ /**
6465
+ * Private module-level WeakMap to hold MutationObservers for each host element.
6466
+ */
6467
+ const _observers = new WeakMap();
6468
+
6469
+ /**
6470
+ * Private module-level WeakMap to hold attribute matchers and targets for each host element.
6471
+ * Structure: {
6472
+ * host: {
6473
+ * matchers: Set<Function>,
6474
+ * targets: Map<HTMLElement, Map<Function, {removeOriginal: boolean, currentAttributes: Map<string, string>}>>
6475
+ * }
6476
+ * }
6477
+ */
6478
+ const _transportConfig = new WeakMap();
6479
+
6480
+ /**
6481
+ * Transfers all matching attributes from a host element to a target element and observes for future changes.
6482
+ *
6483
+ * @param {Object} params - The parameters for the function.
6484
+ * @param {HTMLElement} params.host - The host element from which attributes will be transported.
6485
+ * @param {HTMLElement} params.target - The target element to which attributes will be transported.
6486
+ * @param {boolean} [params.removeOriginal=true] - Whether to remove the attributes from the host element.
6487
+ * @param {boolean} [params.observe=true] - Whether to attach a MutationObserver to the host element.
6488
+ * @returns {Function} A function to detach the observer when no longer needed.
6489
+ * @throws {TypeError} If the host or target parameters are not instances of HTMLElement.
6490
+ */
6491
+ const transportAttributes = ({ host, target, match, removeOriginal = true }) => {
6492
+ // Guard Clause: Ensure host is valid HTMLElement instance
6493
+ if (typeof host !== 'object' || !(host instanceof HTMLElement)) {
6494
+ throw new TypeError('a11yUtilities.js | transportAttributes | The "host" parameter must be an instance of HTMLElement.');
6495
+ }
6496
+
6497
+ // Guard Clause: Ensure target is valid HTMLElement instance
6498
+ if (typeof target !== 'object' || !(target instanceof HTMLElement)) {
6499
+ throw new TypeError('a11yUtilities.js | transportAttributes | The "target" parameter must be an instance of HTMLElement.');
6500
+ }
6501
+
6502
+ // Guard Clause: Ensure match is a function
6503
+ if (typeof match !== 'function') {
6504
+ throw new TypeError('a11yUtilities.js | transportAttributes | The "match" parameter must be a function.');
6505
+ }
6506
+
6507
+ // Guard Clause: Ensure removeOriginal is a boolean
6508
+ if (typeof removeOriginal !== 'boolean') {
6509
+ throw new TypeError('a11yUtilities.js | transportAttributes | The "removeOriginal" parameter must be a boolean.');
6510
+ }
6511
+
6512
+ // Register this transport and get cleanup function
6513
+ return _registerTransport({
6514
+ host,
6515
+ target,
6516
+ matcher: match,
6517
+ removeOriginal
6518
+ });
6519
+ };
6520
+
6521
+ /**
6522
+ * Registers a matcher and target for a host element and attaches an observer if needed.
6523
+ *
6524
+ * @param {Object} params - The parameters object.
6525
+ * @param {HTMLElement} params.host - The host element to observe.
6526
+ * @param {HTMLElement} params.target - The target element to receive attributes.
6527
+ * @param {Function} params.matcher - Function that determines which attributes to transport.
6528
+ * @param {boolean} [params.removeOriginal=true] - Whether to remove original attributes.
6529
+ * @param {boolean} [params.observe=true] - Whether to observe for attribute changes.
6530
+ * @returns {Function} Function to detach the specific matcher and target pairing.
6531
+ * @private
6532
+ */
6533
+ const _registerTransport = ({ host, target, matcher, removeOriginal = true }) => {
6534
+ // Initialize config for this host if it doesn't exist
6535
+ if (!_transportConfig.has(host)) {
6536
+ _transportConfig.set(host, {
6537
+ matchers: new Set(),
6538
+ targets: new Map()
6539
+ });
6540
+ }
6541
+
6542
+ const config = _transportConfig.get(host);
6543
+
6544
+ // Add the matcher to the set of matchers for this host
6545
+ config.matchers.add(matcher);
6546
+
6547
+ // Initialize target entry if it doesn't exist
6548
+ if (!config.targets.has(target)) {
6549
+ config.targets.set(target, new Map());
6550
+ }
6551
+
6552
+ // Store the matcher with its removeOriginal setting for this target
6553
+ config.targets.get(target).set(matcher, {
6554
+ removeOriginal,
6555
+ currentAttributes: new Map()
6556
+ });
6557
+
6558
+ // Perform initial attribute transport
6559
+ _transportAttributes({ host, target, matcher, removeOriginal });
6560
+
6561
+ // Attach observer
6562
+ _attachObserver(host);
6563
+
6564
+ // Return cleanup function and utility functions
6565
+ return {
6566
+ cleanup: () => _cleanupTransport(host, target, matcher),
6567
+ getObservedAttributes: () => _getObservedAttributes(host, target, matcher),
6568
+ getObservedAttribute: (attr) => _getObservedAttribute(host, target, matcher, attr),
6569
+ }
6570
+ };
6571
+
6572
+ /**
6573
+ * Cleans up resources associated with a specific matcher and target for a host element.
6574
+ *
6575
+ * @param {HTMLElement} host - The host element
6576
+ * @param {HTMLElement} target - The target element
6577
+ * @param {Function} matcher - The matcher function
6578
+ * @private
6579
+ */
6580
+ const _cleanupTransport = (host, target, matcher) => {
6581
+ const config = _transportConfig.get(host);
6582
+ if (!config) return;
6583
+
6584
+ // Remove this matcher from this target
6585
+ const targetMatchers = config.targets.get(target);
6586
+ if (targetMatchers) {
6587
+ targetMatchers.delete(matcher);
6588
+
6589
+ // If this target has no more matchers, remove it
6590
+ if (targetMatchers.size === 0) {
6591
+ config.targets.delete(target);
6592
+ }
6593
+ }
6594
+
6595
+ // Check if this matcher is still used by any target
6596
+ let matcherStillUsed = false;
6597
+ for (const matcherMap of config.targets.values()) {
6598
+ if (matcherMap.has(matcher)) {
6599
+ matcherStillUsed = true;
6600
+ break;
6601
+ }
6602
+ }
6603
+
6604
+ // If not used anymore, remove from matchers set
6605
+ if (!matcherStillUsed) {
6606
+ config.matchers.delete(matcher);
6607
+ }
6608
+
6609
+ // If no more targets or matchers, detach observer
6610
+ if (config.targets.size === 0 || config.matchers.size === 0) {
6611
+ _detachObserver(host);
6612
+ }
6613
+ };
6614
+
6615
+ /**
6616
+ * Generic function to transport attributes from a host element to a target element.
6617
+ *
6618
+ * @param {Object} params - The parameters object.
6619
+ * @param {HTMLElement} params.host - The host element from which to transport attributes.
6620
+ * @param {HTMLElement} params.target - The target element to which attributes will be transported.
6621
+ * @param {Function} params.matcher - Function that takes an attribute name and returns true if it should be transported.
6622
+ * @param {boolean} [params.removeOriginal=true] - Whether to remove original attributes from host.
6623
+ * @returns {void}
6624
+ * @private
6625
+ */
6626
+ const _transportAttributes = ({ host, target, matcher, removeOriginal = true }) => {
6627
+ // Get a list of all matching attributes on the host element and their values
6628
+ const matchingAttributes = host.getAttributeNames()
6629
+ .filter(attr => matcher(attr))
6630
+ .reduce((acc, attr) => {
6631
+ acc[attr] = host.getAttribute(attr);
6632
+ return acc;
6633
+ }, {});
6634
+
6635
+ // Move matching attributes to the target element, removing them from the host if removeOriginal is true
6636
+ Object.entries(matchingAttributes).forEach(([key, value]) => {
6637
+ _setObservedAttribute(host, target, matcher, key, value);
6638
+ target.setAttribute(key, value);
6639
+ if (removeOriginal) {
6640
+ host.removeAttribute(key);
6641
+ }
6642
+ });
6643
+ };
6644
+
6645
+ /**
6646
+ * Attaches a MutationObserver to the host element to monitor attribute changes.
6647
+ *
6648
+ * @param {HTMLElement} host - The element to observe for attribute changes.
6649
+ * @returns {MutationObserver} The observer instance.
6650
+ * @private
6651
+ */
6652
+ const _attachObserver = (host) => {
6653
+ // If an observer for this host already exists, return it
6654
+ if (_observers.has(host)) {
6655
+ return _observers.get(host);
6656
+ }
6657
+
6658
+ // Create a new MutationObserver
6659
+ const observer = new MutationObserver((mutations) => {
6660
+ const config = _transportConfig.get(host);
6661
+ if (!config) return;
6662
+
6663
+ // For each mutation affecting attributes
6664
+ mutations
6665
+ .filter(mutation => mutation.type === 'attributes')
6666
+ .forEach(mutation => {
6667
+ const attributeName = mutation.attributeName;
6668
+
6669
+ // Find matchers that care about this attribute
6670
+ for (const matcher of config.matchers) {
6671
+ if (matcher(attributeName)) {
6672
+ // For each target that uses this matcher
6673
+ for (const [target, matcherConfigs] of config.targets.entries()) {
6674
+ if (matcherConfigs.has(matcher)) {
6675
+ const { removeOriginal } = matcherConfigs.get(matcher);
6676
+ _transportAttributes({
6677
+ host,
6678
+ target,
6679
+ matcher,
6680
+ removeOriginal
6681
+ });
6682
+ }
6683
+ }
6684
+ }
6685
+ }
6686
+ });
6687
+ });
6688
+
6689
+ // Start observing attribute changes
6690
+ observer.observe(host, { attributes: true });
6691
+
6692
+ // Store the observer
6693
+ _observers.set(host, observer);
6694
+
6695
+ return observer;
6696
+ };
6697
+
6698
+ /**
6699
+ * Detaches and cleans up the MutationObserver for a given host element.
6700
+ *
6701
+ * @param {HTMLElement} host - The element whose observer should be detached.
6702
+ * @private
6703
+ */
6704
+ const _detachObserver = (host) => {
6705
+ if (_observers.has(host)) {
6706
+ const observer = _observers.get(host);
6707
+ observer.disconnect();
6708
+ _observers.delete(host);
6709
+ }
6710
+
6711
+ // Clean up the transport config as well
6712
+ if (_transportConfig.has(host)) {
6713
+ _transportConfig.delete(host);
6714
+ }
6715
+ };
6716
+
6717
+ /**
6718
+ * Gets the matcher configuration for a specific host, target, and matcher
6719
+ * @param {HTMLElement} host - The host element
6720
+ * @param {HTMLElement} target - The target element
6721
+ * @param {Function} matcher - The matcher function
6722
+ * @returns {Object|undefined} The matcher configuration if found
6723
+ * @private
6724
+ */
6725
+ const _getMatcherConfig = (host, target, matcher) => {
6726
+ const config = _transportConfig.get(host);
6727
+ if (!config) return undefined;
6728
+
6729
+ const targetMatchers = config.targets.get(target);
6730
+ if (!targetMatchers) return undefined;
6731
+
6732
+ return targetMatchers.get(matcher);
6733
+ };
6734
+
6735
+ /**
6736
+ * Sets an observed attribute value
6737
+ * @param {HTMLElement} host - The host element
6738
+ * @param {HTMLElement} target - The target element
6739
+ * @param {Function} matcher - The matcher function
6740
+ * @param {string} key - The attribute name
6741
+ * @param {string} value - The attribute value
6742
+ * @private
6743
+ */
6744
+ const _setObservedAttribute = (host, target, matcher, key, value) => {
6745
+ const matcherConfig = _getMatcherConfig(host, target, matcher);
6746
+ if (matcherConfig) {
6747
+ matcherConfig.currentAttributes.set(key, value);
6748
+ }
6749
+ };
6750
+
6751
+ const _getObservedAttribute = (host, target, matcher, attr) => {
6752
+ const matcherConfig = _getMatcherConfig(host, target, matcher);
6753
+ if (matcherConfig) return matcherConfig.currentAttributes.get(attr);
6754
+ return undefined;
6755
+ };
6756
+
6757
+ const _getObservedAttributes = (host, target, matcher) => {
6758
+ const matcherConfig = _getMatcherConfig(host, target, matcher);
6759
+ if (matcherConfig) return Array.from(matcherConfig.currentAttributes.entries());
6760
+ return [];
6761
+ };
6762
+
6763
+ const _matchers = {
6764
+ 'aria-': attr => attr.startsWith('aria-'),
6765
+ 'role': attr => attr.match(/^role$/)
6766
+ };
6767
+
6768
+ const transportAllA11yAttributes = ({ host, target, removeOriginal = true }) => {
6769
+ return transportAttributes({
6770
+ host,
6771
+ target,
6772
+ match: attr => {
6773
+ for (const key in _matchers) {
6774
+ if (_matchers[key](attr)) return true;
6775
+ }
6776
+ return false;
6777
+ },
6778
+ removeOriginal
6779
+ });
6780
+ };
6781
+
6782
+ class AuroElement extends LitElement {
6783
+
6784
+ /**
6785
+ * @type {Object} return object from transportAttributes via a11yUtilities
6786
+ * @property {Function} cleanup - Function to clean up the attribute watcher.
6787
+ * @property {Function} getCurrentAttributes - Function to get the current attributes being watched and their values.
6788
+ * @property {Function} getObservedAttribute - Function to get the value of a specific observed attribute by name.
6789
+ * @private
6790
+ */
6791
+ attributeWatcher;
6792
+
6793
+ static get properties() {
6794
+ return {
6795
+
6796
+ /**
6797
+ * Defines the layout of an element.
6798
+ * @default {'default'}
6799
+ */
6800
+ layout: {
6801
+ type: String,
6802
+ attribute: "layout",
6803
+ reflect: true
6804
+ },
6805
+
6806
+ /**
6807
+ * Defines the shape of an element.
6808
+ * @property {'default', 'rounded', 'pill', 'circle'}
6809
+ * @default {'default'}
6810
+ */
6811
+ shape: {
6812
+ type: String,
6813
+ attribute: "shape",
6814
+ reflect: true
6815
+ },
6816
+
6817
+ /**
6818
+ * Defines the size of an element.
6819
+ * @property {'xs', 'sm', 'md', 'lg', 'xl'}
6820
+ * @default {'md'}
6821
+ */
6822
+ size: {
6823
+ type: String,
6824
+ attribute: "size",
6825
+ reflect: true
6826
+ },
6827
+
6828
+ /**
6829
+ * This Boolean attribute lets you specify that the element should be rendered in dark mode.
6830
+ * @default {false}
6831
+ */
6832
+ onDark: {
6833
+ type: Boolean,
6834
+ attribute: "ondark",
6835
+ reflect: true
6836
+ },
6837
+
6838
+ /**
6839
+ * A reference to the wrapper element in the shadow DOM.
6840
+ * This is used to apply layout and shape classes dynamically.
6841
+ * @type {HTMLElement|null}
6842
+ * @default {null}
6843
+ * @private
6844
+ */
6845
+ wrapper: {
6846
+ attribute: false,
6847
+ reflect: false
6848
+ }
6849
+ };
6850
+ }
6851
+
6852
+
6853
+
6854
+ resetShapeClasses() {
6855
+ if (this.shape && this.size) {
6856
+
6857
+ if (this.wrapper) {
6858
+ this.wrapper.classList.forEach((className) => {
6859
+ if (className.startsWith('shape-')) {
6860
+ this.wrapper.classList.remove(className);
6861
+ }
6862
+ });
6863
+
6864
+ this.wrapper.classList.add(`shape-${this.shape.toLowerCase()}-${this.size.toLowerCase()}`);
6865
+ }
6866
+ }
6867
+ }
6868
+
6869
+ resetLayoutClasses() {
6870
+ if (this.layout) {
6871
+ if (this.wrapper) {
6872
+ this.wrapper.classList.forEach((className) => {
6873
+ if (className.startsWith('layout-')) {
6874
+ this.wrapper.classList.remove(className);
6875
+ }
6876
+ });
6877
+
6878
+ this.wrapper.classList.add(`layout-${this.layout.toLowerCase()}`);
6879
+ }
6880
+ }
6881
+ }
6882
+
6883
+ updateComponentArchitecture() {
6884
+ this.resetLayoutClasses();
6885
+ this.resetShapeClasses();
6886
+ }
6887
+
6888
+ updated(changedProperties) {
6889
+ if (changedProperties.has('layout') || changedProperties.has('shape') || changedProperties.has('size')) {
6890
+ this.updateComponentArchitecture();
6891
+ }
6892
+ }
6893
+
6894
+ firstUpdated() {
6895
+ super.firstUpdated();
6896
+
6897
+ // Set a reference to the wrapper element in the shadow DOM
6898
+ this.wrapper = this.shadowRoot.querySelector('.wrapper');
6899
+
6900
+ // Initialize the transportation of ARIA attributes to the target element and get the disconnect function for cleanup
6901
+ this.attributeWatcher = transportAllA11yAttributes({ host: this, target: this.shadowRoot.querySelector('.wrapper') });
6902
+ }
6903
+
6904
+ disconnectedCallback() {
6905
+ super.disconnectedCallback();
6906
+
6907
+ // Cleanup the ARIA observer if it exists
6908
+ if (this.attributeWatcher) {
6909
+ this.attributeWatcher.cleanup();
6910
+ this.attributeWatcher = null;
6911
+ }
6912
+ }
6913
+
6914
+ // Try to render the defined `this.layout` layout. If that fails, fall back to the default layout.
6915
+ // This will catch if an invalid layout value is passed in and render the default layout if so.
6916
+ render() {
6917
+ try {
6918
+ return this.renderLayout();
6919
+ } catch (error) {
6920
+ // failed to get the defined layout
6921
+ console.error('Failed to get the defined layout - using the default layout', error); // eslint-disable-line no-console
6922
+
6923
+ // fallback to the default layout
6924
+ return this.getLayout('default');
6925
+ }
6926
+ }
6927
+ }
6928
+
6929
+ var styleCss$2 = css`: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}`;
6930
+
6931
+ var colorCss$2 = css`[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)}`;
6932
+
6933
+ var tokensCss$2 = css`: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}`;
6934
+
6935
+ var shapeSize = css`.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}`;
6936
+
6937
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
6938
+ // See LICENSE in the project root for license information.
6939
+
6940
+ // ---------------------------------------------------------------------
6941
+
6942
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
6943
+
6944
+ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
6945
+
6946
+ /* eslint-disable jsdoc/require-param */
6947
+
6948
+ /**
6949
+ * This will register a new custom element with the browser.
6950
+ * @param {String} name - The name of the custom element.
6951
+ * @param {Object} componentClass - The class to register as a custom element.
6952
+ * @returns {void}
6953
+ */
6954
+ registerComponent(name, componentClass) {
6955
+ if (!customElements.get(name)) {
6956
+ customElements.define(name, class extends componentClass {});
6957
+ }
6958
+ }
6959
+
6960
+ /**
6961
+ * Finds and returns the closest HTML Element based on a selector.
6962
+ * @returns {void}
6963
+ */
6964
+ closestElement(
6965
+ selector, // selector like in .closest()
6966
+ base = this, // extra functionality to skip a parent
6967
+ __Closest = (el, found = el && el.closest(selector)) =>
6968
+ !el || el === document || el === window
6969
+ ? null // standard .closest() returns null for non-found selectors also
6970
+ : found
6971
+ ? found // found a selector INside this element
6972
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
6973
+ ) {
6974
+ return __Closest(base);
6975
+ }
6976
+ /* eslint-enable jsdoc/require-param */
6977
+
6978
+ /**
6979
+ * 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.
6980
+ * @param {Object} elem - The element to check.
6981
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
6982
+ * @returns {void}
6983
+ */
6984
+ handleComponentTagRename(elem, tagName) {
6985
+ const tag = tagName.toLowerCase();
6986
+ const elemTag = elem.tagName.toLowerCase();
6419
6987
 
6420
- var styleCss$2 = css`: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}`;
6988
+ if (elemTag !== tag) {
6989
+ elem.setAttribute(tag, true);
6990
+ }
6991
+ }
6421
6992
 
6422
- var colorCss$2 = css`[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}`;
6993
+ /**
6994
+ * Validates if an element is a specific Auro component.
6995
+ * @param {Object} elem - The element to validate.
6996
+ * @param {String} tagName - The name of the Auro component to check against.
6997
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
6998
+ */
6999
+ elementMatch(elem, tagName) {
7000
+ const tag = tagName.toLowerCase();
7001
+ const elemTag = elem.tagName.toLowerCase();
6423
7002
 
6424
- var tokensCss$2 = css`: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}`;
7003
+ return elemTag === tag || elem.hasAttribute(tag);
7004
+ }
7005
+ };
6425
7006
 
6426
7007
  var styleCss$1 = css`: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}}`;
6427
7008
 
@@ -6455,7 +7036,7 @@ class AuroLoader extends LitElement {
6455
7036
  /**
6456
7037
  * @private
6457
7038
  */
6458
- this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
7039
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
6459
7040
 
6460
7041
  this.orbit = false;
6461
7042
  this.ringworm = false;
@@ -6518,7 +7099,7 @@ class AuroLoader extends LitElement {
6518
7099
  *
6519
7100
  */
6520
7101
  static register(name = "auro-loader") {
6521
- AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroLoader);
7102
+ AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroLoader);
6522
7103
  }
6523
7104
 
6524
7105
  firstUpdated() {
@@ -6570,14 +7151,13 @@ class AuroLoader extends LitElement {
6570
7151
 
6571
7152
  var loaderVersion = '5.0.0';
6572
7153
 
6573
- /* eslint-disable max-lines */
7154
+ /* eslint-disable max-lines, curly, jsdoc/no-undefined-types */
6574
7155
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
6575
7156
  // See LICENSE in the project root for license information.
6576
7157
 
6577
7158
 
6578
7159
  /**
6579
7160
  * @slot - Default slot for the text of the button.
6580
- * @slot icon - Slot to provide auro-icon for the button.
6581
7161
  * @csspart button - Apply CSS to HTML5 button.
6582
7162
  * @csspart loader - Apply CSS to auro-loader.
6583
7163
  * @csspart text - Apply CSS to text slot.
@@ -6586,7 +7166,18 @@ var loaderVersion = '5.0.0';
6586
7166
 
6587
7167
  /* eslint-disable lit/no-invalid-html, lit/binding-positions */
6588
7168
 
6589
- class AuroButton extends LitElement {
7169
+ const ICON_ONLY_SHAPES = ['circle'];
7170
+
7171
+ /**
7172
+ * AuroButton is a custom element that provides a styled, accessible button with support for various states and form association.
7173
+ * It is designed to be flexible, supporting loading states, icon slots, and integration with HTML5 forms.
7174
+ * @property {'default', 'rounded', 'pill', 'circle'} shape - Defines the shape of the button.
7175
+ * @property {'xs', 'sm', 'md', 'lg', 'xl'} size - Defines the size of the button.
7176
+ * @property {'primary', 'secondary', 'tertiary', 'ghost', 'flat'} variant - Sets the button variant.
7177
+ * @property {'submit', 'reset', 'button'} type - The type of button. Matches HTML5 Button Spec.
7178
+ * @property {boolean} onDark - Indicates if the button is rendered in dark mode.
7179
+ */
7180
+ class AuroButton extends AuroElement {
6590
7181
 
6591
7182
  /**
6592
7183
  * Enables form association for this element.
@@ -6601,13 +7192,10 @@ class AuroButton extends LitElement {
6601
7192
  super();
6602
7193
  this.autofocus = false;
6603
7194
  this.disabled = false;
6604
- this.iconOnly = false;
6605
7195
  this.loading = false;
7196
+ this.size = "md";
7197
+ this.shape = "rounded";
6606
7198
  this.onDark = false;
6607
- this.secondary = false;
6608
- this.tertiary = false;
6609
- this.rounded = false;
6610
- this.slim = false;
6611
7199
  this.fluid = false;
6612
7200
  this.loadingText = this.loadingText || 'Loading...';
6613
7201
 
@@ -6630,49 +7218,59 @@ class AuroButton extends LitElement {
6630
7218
  * @private
6631
7219
  */
6632
7220
  this.loaderTag = versioning.generateTag('auro-loader', loaderVersion, AuroLoader);
7221
+
7222
+ /**
7223
+ * @private
7224
+ */
7225
+ this.buttonHref = undefined;
7226
+
7227
+ /**
7228
+ * @private
7229
+ */
7230
+ this.buttonTarget = undefined;
7231
+
7232
+ /**
7233
+ * @private
7234
+ */
7235
+ this.buttonRel = undefined;
6633
7236
  }
6634
7237
 
6635
7238
  static get styles() {
6636
7239
  return [
6637
7240
  tokensCss$2,
6638
7241
  styleCss$2,
6639
- colorCss$2
7242
+ colorCss$2,
7243
+ shapeSize
6640
7244
  ];
6641
7245
  }
6642
7246
 
6643
7247
  static get properties() {
6644
7248
  return {
6645
7249
 
6646
- /**
6647
- * This Boolean attribute lets you specify that the button should have input focus when the page loads, unless overridden by the user.
6648
- */
6649
- autofocus: {
6650
- type: Boolean,
6651
- reflect: true
6652
- },
7250
+ ...super.properties,
6653
7251
 
6654
7252
  /**
6655
- * If set to true, button will become disabled and not allow for interactions.
7253
+ * Override layout since it isn't used in this component.
7254
+ * @private
6656
7255
  */
6657
- disabled: {
7256
+ layout: {
6658
7257
  type: Boolean,
6659
- reflect: true
7258
+ attribute: false,
7259
+ reflect: false
6660
7260
  },
6661
7261
 
6662
7262
  /**
6663
- * DEPRECATED.
6664
- * @deprecated
7263
+ * This Boolean attribute lets you specify that the button should have input focus when the page loads, unless overridden by the user.
6665
7264
  */
6666
- secondary: {
7265
+ autofocus: {
6667
7266
  type: Boolean,
6668
7267
  reflect: true
6669
7268
  },
6670
7269
 
6671
7270
  /**
6672
- * DEPRECATED.
6673
- * @deprecated
7271
+ * If set to true, button will become disabled and not allow for interactions.
6674
7272
  */
6675
- tertiary: {
7273
+ disabled: {
6676
7274
  type: Boolean,
6677
7275
  reflect: true
6678
7276
  },
@@ -6680,15 +7278,7 @@ class AuroButton extends LitElement {
6680
7278
  /**
6681
7279
  * Alters the shape of the button to be full width of its parent container.
6682
7280
  */
6683
- fluid: {
6684
- type: Boolean,
6685
- reflect: true
6686
- },
6687
-
6688
- /**
6689
- * If set to true, the button will contain an icon with no additional content.
6690
- */
6691
- iconOnly: {
7281
+ fluid: {
6692
7282
  type: Boolean,
6693
7283
  reflect: true
6694
7284
  },
@@ -6696,7 +7286,7 @@ class AuroButton extends LitElement {
6696
7286
  /**
6697
7287
  * If set to true button text will be replaced with `auro-loader` and become disabled.
6698
7288
  */
6699
- loading: {
7289
+ loading: {
6700
7290
  type: Boolean,
6701
7291
  reflect: true
6702
7292
  },
@@ -6704,36 +7294,12 @@ class AuroButton extends LitElement {
6704
7294
  /**
6705
7295
  * 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.
6706
7296
  */
6707
- loadingText: {
7297
+ loadingText: {
6708
7298
  type: String
6709
7299
  },
6710
7300
 
6711
7301
  /**
6712
- * Set value for on-dark version of auro-button.
6713
- */
6714
- onDark: {
6715
- type: Boolean,
6716
- reflect: true
6717
- },
6718
-
6719
- /**
6720
- * If set to true, the button will have a rounded shape.
6721
- */
6722
- rounded: {
6723
- type: Boolean,
6724
- reflect: true
6725
- },
6726
-
6727
- /**
6728
- * Set value for slim version of auro-button.
6729
- */
6730
- slim: {
6731
- type: Boolean,
6732
- reflect: true
6733
- },
6734
-
6735
- /**
6736
- * Populates `tabIndex` to define the focusable sequence in keyboard navigation.
7302
+ * Populates `tabindex` to define the focusable sequence in keyboard navigation.
6737
7303
  */
6738
7304
  tIndex: {
6739
7305
  type: String,
@@ -6741,75 +7307,68 @@ class AuroButton extends LitElement {
6741
7307
  },
6742
7308
 
6743
7309
  /**
6744
- * Populates the `aria-hidden` attribute to hide the button from a11y API.
7310
+ * Populates `tabindex` to define the focusable sequence in keyboard navigation.
7311
+ * Must be used with "." to ensure the host element does not retain a reference to the `tabindex` attribute.
7312
+ * Example: `<auro-button .tabindex="${this.disabled ? '-1' : '0'}"></auro-button>`
6745
7313
  */
6746
- ariahidden: {
7314
+ tabindex: {
6747
7315
  type: String,
6748
- reflect: true,
7316
+ reflect: false
6749
7317
  },
6750
7318
 
6751
7319
  /**
6752
- * Populates the `aria-label` attribute that is used to define a string that labels the current element.
6753
- * Use it in cases where a text label is not visible on the screen.
6754
- * If there is visible text labeling the element, use `aria-labelledby` instead.
7320
+ * Sets title attribute. The information is most often shown as a tooltip text when the mouse moves over the element.
6755
7321
  */
6756
- arialabel: {
7322
+ title: {
6757
7323
  type: String,
6758
7324
  reflect: true
6759
7325
  },
6760
7326
 
6761
7327
  /**
6762
- * Populates the `aria-labelledby` attribute that establishes relationships between objects and their label(s),
6763
- * and its value should be one or more element IDs, which refer to elements that have the text needed for labeling.
6764
- * List multiple element IDs in a space delimited fashion.
7328
+ * The type of the button. Possible values are: `submit`, `reset`, `button`.
6765
7329
  */
6766
- arialabelledby: {
7330
+ type: {
6767
7331
  type: String,
6768
7332
  reflect: true
6769
7333
  },
6770
7334
 
6771
7335
  /**
6772
- * Populates the `aria-expanded` attribute that indicates whether the element,
6773
- * or another grouping element it controls, is currently expanded or collapsed.
6774
- * This is an optional attribute for buttons.
7336
+ * Defines the value associated with the button which is submitted with the form data.
6775
7337
  */
6776
- ariaexpanded: {
6777
- type: Boolean,
7338
+ value: {
7339
+ type: String,
6778
7340
  reflect: true
6779
7341
  },
6780
7342
 
6781
7343
  /**
6782
- * Sets title attribute. The information is most often shown as a tooltip text when the mouse moves over the element.
7344
+ * Sets button variant option.
7345
+ * @default primary
6783
7346
  */
6784
- title: {
7347
+ variant: {
6785
7348
  type: String,
6786
7349
  reflect: true
6787
7350
  },
6788
7351
 
6789
7352
  /**
6790
- * The type of the button. Possible values are: `submit`, `reset`, `button`.
7353
+ * @private
6791
7354
  */
6792
- type: {
7355
+ buttonHref: {
6793
7356
  type: String,
6794
- reflect: true
6795
7357
  },
6796
7358
 
6797
7359
  /**
6798
- * Defines the value associated with the button which is submitted with the form data.
7360
+ * @private
6799
7361
  */
6800
- value: {
7362
+ buttonTarget: {
6801
7363
  type: String,
6802
- reflect: true
6803
7364
  },
6804
7365
 
6805
7366
  /**
6806
- * Sets button variant option. Possible values are: `secondary`, `tertiary`.
7367
+ * @private
6807
7368
  */
6808
- variant: {
7369
+ buttonRel: {
6809
7370
  type: String,
6810
- reflect: true
6811
7371
  },
6812
- ready: { type: Boolean },
6813
7372
  };
6814
7373
  }
6815
7374
 
@@ -6822,7 +7381,7 @@ class AuroButton extends LitElement {
6822
7381
  *
6823
7382
  */
6824
7383
  static register(name = "auro-button") {
6825
- AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroButton);
7384
+ AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroButton);
6826
7385
  }
6827
7386
 
6828
7387
  /**
@@ -6834,17 +7393,6 @@ class AuroButton extends LitElement {
6834
7393
  this.renderRoot.querySelector('button').focus();
6835
7394
  }
6836
7395
 
6837
- updated() {
6838
- // support the old `secondary` and `tertiary` attributes` that are deprecated
6839
- if (this.secondary) {
6840
- this.setAttribute('variant', 'secondary');
6841
- }
6842
-
6843
- if (this.tertiary) {
6844
- this.setAttribute('variant', 'tertiary');
6845
- }
6846
- }
6847
-
6848
7396
  /**
6849
7397
  * Submits the form that this button is associated with.
6850
7398
  * @private
@@ -6865,28 +7413,63 @@ class AuroButton extends LitElement {
6865
7413
  return this.internals ? this.internals.form : null;
6866
7414
  }
6867
7415
 
6868
- render() {
7416
+ /**
7417
+ * @private
7418
+ * @returns {Boolean}
7419
+ */
7420
+ get hideText() {
7421
+ return ICON_ONLY_SHAPES.includes(this.shape);
7422
+ }
7423
+
7424
+ /**
7425
+ * Returns the current value of the projected `aria-label` attribute or undefined if not set.
7426
+ * @returns {string | undefined}
7427
+ * @private
7428
+ */
7429
+ get currentAriaLabel() {
7430
+ if (!this.attributeWatcher) return undefined;
7431
+
7432
+ const ariaLabel = this.attributeWatcher.getObservedAttribute("aria-label");
7433
+ return ariaLabel || undefined;
7434
+ }
7435
+
7436
+ /**
7437
+ * Returns the current value of the projected `aria-labelledby` attribute or undefined if not set.
7438
+ * @returns {string | undefined}
7439
+ * @private
7440
+ */
7441
+ get currentAriaLabelledBy() {
7442
+ if (!this.attributeWatcher) return undefined;
7443
+
7444
+ const ariaLabelledBy = this.attributeWatcher.getObservedAttribute("aria-labelledby");
7445
+ return ariaLabelledBy || undefined;
7446
+ }
7447
+
7448
+ /**
7449
+ * Renders the default layout for the button.
7450
+ * @returns {TemplateResult}
7451
+ * @private
7452
+ */
7453
+ renderLayoutDefault() {
6869
7454
  const classes = {
6870
- 'util_insetLg--squish': true,
6871
- 'auro-button': true,
6872
- 'auroButton': true,
6873
- 'auro-button--rounded': this.rounded,
6874
- 'auro-button--slim': this.slim,
6875
- 'auro-button--iconOnly': this.iconOnly,
6876
- 'auro-button--iconOnlySlim': this.iconOnly && this.slim,
6877
- 'loading': this.loading
7455
+ "util_insetLg--squish": true,
7456
+ "auro-button": true,
7457
+ "icon-only": this.hideText,
7458
+ wrapper: true,
7459
+ loading: this.loading,
6878
7460
  };
6879
7461
 
7462
+ const tag = this.buttonHref ? literal`a` : literal`button`;
7463
+ const part = this.buttonHref ? 'link' : 'button';
7464
+
6880
7465
  return html$1`
6881
- <button
6882
- part="button"
6883
- aria-hidden="${ifDefined(this.ariahidden || undefined)}"
6884
- aria-label="${ifDefined(this.loading ? this.loadingText : this.arialabel || undefined)}"
6885
- aria-labelledby="${ifDefined(this.arialabelledby ? this.arialabelledby : undefined)}"
6886
- aria-expanded="${ifDefined(this.ariaexpanded)}"
6887
- tabIndex="${ifDefined(this.tIndex)}"
7466
+ <${tag}
7467
+ part="${part}"
7468
+ aria-label="${ifDefined(this.loading ? this.loadingText : this.currentAriaLabel || undefined)}"
7469
+ aria-labelledby="${ifDefined(this.loading ? undefined : this.currentAriaLabelledBy || undefined)}"
7470
+ tabindex="${ifDefined(this.tIndex || this.tabindex)}"
6888
7471
  ?autofocus="${this.autofocus}"
6889
- class="${classMap(classes)}"
7472
+ class=${classMap(classes)}
6890
7473
  ?disabled="${this.disabled || this.loading}"
6891
7474
  ?onDark="${this.onDark}"
6892
7475
  title="${ifDefined(this.title ? this.title : undefined)}"
@@ -6895,28 +7478,36 @@ class AuroButton extends LitElement {
6895
7478
  variant="${ifDefined(this.variant ? this.variant : undefined)}"
6896
7479
  .value="${ifDefined(this.value ? this.value : undefined)}"
6897
7480
  @click="${this.type === 'submit' ? this.surfaceSubmitEvent : undefined}"
7481
+ href="${ifDefined(this.buttonHref || undefined)}"
7482
+ target="${ifDefined(this.buttonTarget || undefined)}"
7483
+ rel="${ifDefined(this.buttonRel || undefined)}"
6898
7484
  >
6899
7485
  ${ifDefined(this.loading ? html$1`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
6900
7486
 
6901
7487
  <span class="contentWrapper">
6902
7488
  <span class="textSlot" part="text">
6903
- ${this.iconOnly ? undefined : html$1`<slot></slot>`}
6904
- </span>
6905
-
6906
- <span part="icon">
6907
- <slot name="icon"></slot>
7489
+ <slot></slot>
6908
7490
  </span>
6909
7491
  </span>
6910
- </button>
7492
+ </${tag}>
6911
7493
  `;
6912
7494
  }
7495
+
7496
+ /**
7497
+ * Renders the layout of the button.
7498
+ * @returns {TemplateResult}
7499
+ * @private
7500
+ */
7501
+ renderLayout() {
7502
+ return this.renderLayoutDefault();
7503
+ }
6913
7504
  }
6914
7505
 
6915
- var buttonVersion = '9.3.0';
7506
+ var buttonVersion = '11.0.0';
6916
7507
 
6917
- var colorCss = css`: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)}`;
7508
+ var colorCss = css`: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)}`;
6918
7509
 
6919
- var styleCss = css`.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}`;
7510
+ var styleCss = css`:host{position:relative;display:block}.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}`;
6920
7511
 
6921
7512
  var tokensCss = css`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
6922
7513
 
@@ -7180,6 +7771,7 @@ class AuroInput extends BaseInput {
7180
7771
  */
7181
7772
  get commonLabelClasses() {
7182
7773
  return {
7774
+ 'is-disabled': this.disabled,
7183
7775
  'withValue': this.value && this.value.length > 0,
7184
7776
  'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
7185
7777
  };
@@ -7192,30 +7784,30 @@ class AuroInput extends BaseInput {
7192
7784
  */
7193
7785
  get commonInputClasses() {
7194
7786
  return {
7195
- 'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
7787
+ 'util_displayHiddenVisually': (this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0) || ((!this.value || this.value.length === 0) && !this.hasFocus && (!this.placeholder || this.placeholder === '')),
7196
7788
  };
7197
7789
  }
7198
7790
 
7199
7791
  /**
7200
7792
  * Returns classmap configuration for html5 inputs in each layout.
7201
7793
  * @private
7202
- * @return {object} - Returns classmap.
7794
+ * @returns {object} - Returns classmap.
7203
7795
  */
7204
7796
  get legacyInputClasses() {
7205
7797
  return {
7206
- ...this.commonInputClasses,
7207
- 'util_displayHiddenVisually': !this.hasFocus && !this.value
7798
+ ...this.commonInputClasses
7208
7799
  };
7209
7800
  }
7210
7801
 
7211
7802
  /**
7212
7803
  * Returns classmap configuration for wrapper elements in each layout.
7213
7804
  * @private
7214
- * @return {object} - Returns classmap.
7805
+ * @returns {object} - Returns classmap.
7215
7806
  */
7216
7807
  get commonWrapperClasses() {
7217
7808
  return {
7218
7809
  'wrapper': true,
7810
+ 'simple': this.simple,
7219
7811
  'withValue': this.value && this.value.length > 0,
7220
7812
  'hasFocus': this.hasFocus
7221
7813
  };
@@ -7224,7 +7816,7 @@ class AuroInput extends BaseInput {
7224
7816
  /**
7225
7817
  * Returns classmap configuration for helpText elements in each layout.
7226
7818
  * @private
7227
- * @return {object} - Returns classmap.
7819
+ * @returns {object} - Returns classmap.
7228
7820
  */
7229
7821
  get helpTextClasses() {
7230
7822
  return {
@@ -7243,7 +7835,7 @@ class AuroInput extends BaseInput {
7243
7835
  *
7244
7836
  */
7245
7837
  static register(name = "auro-input") {
7246
- AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroInput);
7838
+ AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroInput);
7247
7839
  }
7248
7840
 
7249
7841
  /**
@@ -7265,7 +7857,12 @@ class AuroInput extends BaseInput {
7265
7857
  * @returns {void}
7266
7858
  */
7267
7859
  checkDisplayValueSlotChange() {
7268
- const nodes = this.shadowRoot.querySelector('slot[name="displayValue"]').assignedNodes();
7860
+ let nodes = this.shadowRoot.querySelector('slot[name="displayValue"]').assignedNodes();
7861
+
7862
+ // Handle when DisplayValue is multi-level slot content (e.g. combobox passing displayValue to input)
7863
+ if (nodes[0].tagName === 'SLOT') {
7864
+ nodes = nodes[0].assignedNodes();
7865
+ }
7269
7866
 
7270
7867
  let hasContent = false;
7271
7868
 
@@ -7316,28 +7913,34 @@ class AuroInput extends BaseInput {
7316
7913
  : this.commonInputClasses;
7317
7914
 
7318
7915
  return html$1`
7319
- <label for=${this.id} class="${classMap(this.commonLabelClasses)}" part="label">
7916
+ <label for=${this.inputId} class="${classMap(this.commonLabelClasses)}" part="label">
7320
7917
  <slot name="label">
7321
7918
  ${this.label}
7322
7919
  </slot>
7920
+ ${this.required ? undefined : html$1`<slot name="optionalLabel"> (optional)</slot>`}
7323
7921
  </label>
7922
+
7923
+ <!-- Attributes are grouped into: basic attributes, event handlers, ARIA attributes, and input-specific attributes -->
7324
7924
  <input
7325
7925
  @blur="${this.handleBlur}"
7326
7926
  @focusin="${this.handleFocusin}"
7327
7927
  @focusout="${this.handleFocusout}"
7328
7928
  @input="${this.handleInput}"
7929
+ .placeholder=${this.placeholderStr}
7930
+ .role=${this.a11yRole}
7329
7931
  ?activeLabel="${this.activeLabel}"
7330
7932
  ?disabled="${this.disabled}"
7331
7933
  ?required="${this.required}"
7332
- .placeholder=${this.placeholderStr}
7934
+ aria-controls=${ifDefined(this.a11yControls)}
7333
7935
  aria-describedby="${this.uniqueId}"
7936
+ aria-expanded=${ifDefined(this.a11yExpanded)}
7334
7937
  aria-invalid="${this.validity !== 'valid'}"
7335
- autocapitalize="${ifDefined(this.autocapitalize ? this.autocapitalize : undefined)}"
7336
7938
  autocomplete="${ifDefined(this.autocomplete ? this.autocomplete : undefined)}"
7939
+ autocapitalize="${ifDefined(this.autocapitalize ? this.autocapitalize : undefined)}"
7337
7940
  autocorrect="${ifDefined(this.autocorrect ? this.autocorrect : undefined)}"
7338
7941
  class="${classMap(inputOverrideClasses)}"
7339
7942
  id="${this.inputId}"
7340
- inputMode="${ifDefined(this.inputMode ? this.inputMode : undefined)}"
7943
+ inputmode="${ifDefined(this.inputmode ? this.inputmode : undefined)}"
7341
7944
  lang="${ifDefined(this.lang)}"
7342
7945
  maxlength="${ifDefined(this.maxLength ? this.maxLength : undefined)}"
7343
7946
  minlength="${ifDefined(this.minLength ? this.minLength : undefined)}"
@@ -7345,7 +7948,8 @@ class AuroInput extends BaseInput {
7345
7948
  part="input"
7346
7949
  pattern="${ifDefined(this.definePattern())}"
7347
7950
  spellcheck="${ifDefined(this.spellcheck ? this.spellcheck : undefined)}"
7348
- type="${this.type === 'password' && this.showPassword ? 'text' : this.getInputType(this.type)}" />
7951
+ type="${this.type === "password" && this.showPassword ? "text" : this.getInputType(this.type)}"
7952
+ />
7349
7953
  <div class="${classMap(displayValueClasses)}" aria-hidden="true" part="displayValue">
7350
7954
  <div class="displayValueWrapper">
7351
7955
  <slot name="displayValue" @slotchange=${this.checkDisplayValueSlotChange}></slot>
@@ -7367,11 +7971,12 @@ class AuroInput extends BaseInput {
7367
7971
  ?onDark="${this.onDark}"
7368
7972
  aria-label="${i18n(this.lang, 'clearInput')}"
7369
7973
  class="notificationBtn clearBtn"
7370
- tabindex="-1"
7371
- variant="flat">
7974
+ shape="circle"
7975
+ size="sm"
7976
+ variant="ghost">
7372
7977
  <${this.iconTag}
7978
+ ?customColor="${this.onDark}"
7373
7979
  category="interface"
7374
- customColor
7375
7980
  name="x-lg"
7376
7981
  >
7377
7982
  </${this.iconTag}>
@@ -7389,22 +7994,23 @@ class AuroInput extends BaseInput {
7389
7994
  return html$1`
7390
7995
  <div class="notification">
7391
7996
  <${this.buttonTag}
7392
- @click="${this.handleClickShowPassword}
7997
+ @click="${this.handleClickShowPassword}"
7393
7998
  ?onDark="${this.onDark}"
7394
- aria-hidden="true"
7395
7999
  class="notificationBtn passwordBtn"
7396
- tabindex="-1"
7397
- variant="flat">
8000
+ aria-label="${this.showPassword ? i18n(this.lang, "hidePassword") : i18n(this.lang, "showPassword")}"
8001
+ shape="circle"
8002
+ size="sm"
8003
+ variant="ghost">
7398
8004
  <${this.iconTag}
8005
+ ?customColor="${this.onDark}"
7399
8006
  ?hidden=${!this.showPassword}
7400
8007
  category="interface"
7401
- customColor
7402
8008
  name="hide-password-stroke">
7403
8009
  </${this.iconTag}>
7404
8010
  <${this.iconTag}
8011
+ ?customColor="${this.onDark}"
7405
8012
  ?hidden=${this.showPassword}
7406
8013
  category="interface"
7407
- customColor
7408
8014
  name="view-password-stroke">
7409
8015
  </${this.iconTag}>
7410
8016
  </${this.buttonTag}>
@@ -7463,7 +8069,7 @@ class AuroInput extends BaseInput {
7463
8069
  ? html$1`
7464
8070
  <${this.helpTextTag} ?onDark="${this.onDark}">
7465
8071
  <p id="${this.uniqueId}" part="helpText">
7466
- <slot name="helptext">${this.getHelpText()}</slot>
8072
+ <slot name="helpText">${this.getHelpText()}</slot>
7467
8073
  </p>
7468
8074
  </${this.helpTextTag}>
7469
8075
  `
@@ -7484,19 +8090,25 @@ class AuroInput extends BaseInput {
7484
8090
  * @returns {import("lit").TemplateResult} - Returns HTML for the classic layout.
7485
8091
  */
7486
8092
  renderLayoutClassic() {
8093
+ const classicClassMap = {
8094
+ ...this.commonWrapperClasses,
8095
+ 'thin': !this.simple
8096
+ };
8097
+
7487
8098
  return html$1`
7488
8099
  <div
7489
8100
  @click="${this.handleClick}"
7490
- class="${classMap(this.commonWrapperClasses)} thin"
8101
+ class="${classMap(classicClassMap)}"
7491
8102
  part="wrapper">
7492
- <div class="accents left">
8103
+ <div part="accent-left" class="accents left">
7493
8104
  ${this.renderHtmlTypeIcon()}
7494
8105
  </div>
7495
8106
  <div class="mainContent">
7496
8107
  ${this.renderHtmlInput(true)}
7497
8108
  </div>
7498
- <div class="accents right">
8109
+ <div part="accent-right" class="accents right">
7499
8110
  ${this.renderValidationErrorIconHtml()}
8111
+ ${this.hasValue && this.type === 'password' ? this.renderHtmlNotificationPassword() : undefined}
7500
8112
  ${this.hasValue ? html$1`
7501
8113
  ${!this.disabled && !this.readonly ? html$1`
7502
8114
  ${this.renderHtmlActionClear()}