@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.0 → 0.0.0-pr624.10

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 (80) hide show
  1. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +1 -0
  2. package/components/bibtemplate/dist/index.js +88 -6
  3. package/components/bibtemplate/dist/registered.js +88 -6
  4. package/components/checkbox/demo/api.min.js +4 -3
  5. package/components/checkbox/demo/index.min.js +4 -3
  6. package/components/checkbox/dist/index.js +4 -3
  7. package/components/checkbox/dist/registered.js +4 -3
  8. package/components/combobox/demo/api.md +30 -29
  9. package/components/combobox/demo/api.min.js +609 -532
  10. package/components/combobox/demo/index.html +0 -1
  11. package/components/combobox/demo/index.md +43 -0
  12. package/components/combobox/demo/index.min.js +607 -530
  13. package/components/combobox/dist/auro-combobox.d.ts +13 -18
  14. package/components/combobox/dist/index.js +479 -387
  15. package/components/combobox/dist/registered.js +479 -387
  16. package/components/counter/demo/api.min.js +377 -62
  17. package/components/counter/demo/index.min.js +377 -62
  18. package/components/counter/dist/index.js +377 -62
  19. package/components/counter/dist/registered.js +377 -62
  20. package/components/datepicker/demo/api.md +13 -5
  21. package/components/datepicker/demo/api.min.js +868 -438
  22. package/components/datepicker/demo/index.md +13 -0
  23. package/components/datepicker/demo/index.min.js +868 -438
  24. package/components/datepicker/dist/auro-datepicker.d.ts +21 -2
  25. package/components/datepicker/dist/index.js +710 -280
  26. package/components/datepicker/dist/registered.js +710 -280
  27. package/components/dropdown/demo/api.md +2 -2
  28. package/components/dropdown/demo/api.min.js +199 -37
  29. package/components/dropdown/demo/index.md +45 -0
  30. package/components/dropdown/demo/index.min.js +199 -37
  31. package/components/dropdown/dist/auro-dropdown.d.ts +10 -1
  32. package/components/dropdown/dist/auro-dropdownBib.d.ts +8 -0
  33. package/components/dropdown/dist/index.js +199 -37
  34. package/components/dropdown/dist/registered.js +199 -37
  35. package/components/dropdown/dist/styles/classic/color-css.d.ts +2 -0
  36. package/components/dropdown/dist/styles/classic/style-css.d.ts +2 -0
  37. package/components/input/README.md +1 -1
  38. package/components/input/demo/api.md +57 -53
  39. package/components/input/demo/api.min.js +142 -141
  40. package/components/input/demo/index.md +4 -4
  41. package/components/input/demo/index.min.js +142 -141
  42. package/components/input/demo/readme.md +1 -1
  43. package/components/input/dist/auro-input.d.ts +22 -13
  44. package/components/input/dist/base-input.d.ts +1 -1
  45. package/components/input/dist/index.js +142 -141
  46. package/components/input/dist/registered.js +142 -141
  47. package/components/input/dist/styles/classic/color-css.d.ts +2 -0
  48. package/components/input/dist/styles/classic/style-css.d.ts +2 -0
  49. package/components/layoutElement/dist/index.d.ts +1 -0
  50. package/components/layoutElement/dist/index.js +95 -1
  51. package/components/menu/demo/api.md +11 -11
  52. package/components/menu/demo/api.min.js +115 -130
  53. package/components/menu/demo/index.min.js +115 -130
  54. package/components/menu/dist/auro-menu-utils.d.ts +0 -8
  55. package/components/menu/dist/auro-menu.d.ts +3 -8
  56. package/components/menu/dist/index.d.ts +1 -1
  57. package/components/menu/dist/index.js +116 -90
  58. package/components/menu/dist/registered.js +115 -130
  59. package/components/radio/demo/api.min.js +4 -3
  60. package/components/radio/demo/index.min.js +4 -3
  61. package/components/radio/dist/index.js +4 -3
  62. package/components/radio/dist/registered.js +4 -3
  63. package/components/select/demo/api.js +2 -0
  64. package/components/select/demo/api.md +108 -42
  65. package/components/select/demo/api.min.js +1264 -352
  66. package/components/select/demo/index.html +1 -0
  67. package/components/select/demo/index.md +298 -777
  68. package/components/select/demo/index.min.js +1251 -351
  69. package/components/select/dist/auro-select.d.ts +110 -18
  70. package/components/select/dist/helptextVersion.d.ts +2 -0
  71. package/components/select/dist/index.js +1105 -190
  72. package/components/select/dist/registered.js +1105 -190
  73. package/components/select/dist/styles/shapeSize-css.d.ts +2 -0
  74. package/components/select/dist/styles/tokens-css.d.ts +2 -0
  75. package/package.json +3 -3
  76. /package/components/{dropdown → datepicker}/dist/styles/default/color-css.d.ts +0 -0
  77. /package/components/{dropdown/dist/styles/default → datepicker/dist/styles/emphasized}/style-css.d.ts +0 -0
  78. /package/components/{dropdown/dist/styles/default/bibColors-css.d.ts → datepicker/dist/styles/shapeSize-css.d.ts} +0 -0
  79. /package/components/dropdown/dist/styles/{default/bibStyles-css.d.ts → classic/bibColors-css.d.ts} +0 -0
  80. /package/components/dropdown/dist/styles/{style-css.d.ts → classic/bibStyles-css.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
- import { html, css, LitElement } from 'lit';
2
1
  import { unsafeStatic, literal, html as html$1 } from 'lit/static-html.js';
2
+ import { html, css, LitElement } from 'lit';
3
3
  import { property } from 'lit/decorators.js';
4
4
  import { classMap } from 'lit/directives/class-map.js';
5
5
  import { ifDefined } from 'lit/directives/if-defined.js';
@@ -61,9 +61,10 @@ let DateFormatter$1 = class DateFormatter {
61
61
  /**
62
62
  * Convert a date object to string format.
63
63
  * @param {Object} date - Date to convert to string.
64
- * @returns {Object} Returns the date as a string.
64
+ * @param {String} locale - Optional locale to use for the date string. Defaults to user's locale.
65
+ * @returns {String} Returns the date as a string.
65
66
  */
66
- this.getDateAsString = (date) => date.toLocaleDateString(undefined, {
67
+ this.getDateAsString = (date, locale = undefined) => date.toLocaleDateString(locale, {
67
68
  year: "numeric",
68
69
  month: "2-digit",
69
70
  day: "2-digit",
@@ -255,7 +256,7 @@ let AuroDateUtilities$1 = class AuroDateUtilities extends AuroDateUtilitiesBase$
255
256
  const dateObj = new Date(this.getFourDigitYear(dateParts.year), dateParts.month - 1, dateParts.day || 1);
256
257
 
257
258
  // Get the date string of the date object we created from the string date
258
- const actualDateStr = dateFormatter$1.getDateAsString(dateObj);
259
+ const actualDateStr = dateFormatter$1.getDateAsString(dateObj, "en-US");
259
260
 
260
261
  // Guard Clause: Generated date matches date string input
261
262
  if (expectedDateStr !== actualDateStr) {
@@ -420,7 +421,7 @@ const {
420
421
 
421
422
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
422
423
 
423
- let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
424
+ let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
424
425
 
425
426
  /* eslint-disable jsdoc/require-param */
426
427
 
@@ -490,7 +491,7 @@ let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
490
491
  let AuroFormValidation$1 = class AuroFormValidation {
491
492
 
492
493
  constructor() {
493
- this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
494
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$5();
494
495
  }
495
496
 
496
497
  /**
@@ -1244,12 +1245,14 @@ class UtilitiesCalendarRender {
1244
1245
  }
1245
1246
  }
1246
1247
 
1247
- var styleCss$d = 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}[auro-input]::part(iconContainer){top:0;display:flex;height:100%;align-items:center}[auro-input]::part(accentIcon){transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1)}[auro-input]::part(helpText){display:none}[auro-input]::part(wrapper){--ds-auro-input-border-color: transparent;--ds-auro-input-container-color: transparent}[auro-input]::part(wrapper):focus-within:before{border-bottom-width:0 !important;box-shadow:unset !important;outline:unset !important}[auro-input]:not(:first-child)::part(wrapper)::after{position:absolute;left:50%;width:95%;height:1px;background-color:var(--ds-auro-datepicker-range-input-divider-color);content:"";transform:translateX(-50%)}.outerWrapper{position:relative;container:outerwrapper/inline-size}.dpTriggerContent{display:flex;flex-direction:column}.dpTriggerContent [auro-input]{flex:1}:host(:not([stacked])) .dpTriggerContent{flex-direction:row}:host(:not([stacked])) [auro-input]:first-of-type{margin-right:var(--ds-size-150, 0.75rem)}:host(:not([stacked])) [auro-input]:nth-child(2){margin-left:var(--ds-size-150, 0.75rem)}:host(:not([stacked])) [auro-input]:nth-child(2)::part(accentIcon){display:none}:host(:not([stacked])) [auro-input]:nth-child(2)::part(label){left:0;width:100%}:host(:not([stacked])) [auro-input]:nth-child(2)::part(input){padding-left:0}:host(:not([stacked])) [auro-input]:nth-child(2):before{position:absolute;top:13px;left:calc(var(--ds-size-150, 0.75rem)*-1);display:block;width:1px;height:2rem;content:""}:host(:not([stacked])) [auro-input]:not(:first-child)::part(wrapper):after{content:none}:host(:not([stacked])[range]) [auro-input]{max-width:50%}@media screen and (max-width: 576px){::part(popover){position:fixed !important;top:0 !important;left:0 !important;width:100vw !important;height:100vh !important;margin-bottom:var(--ds-size-200, 1rem);transform:unset !important}.calendarWrapper{display:flex;height:100dvh;flex-direction:row;justify-content:center}}`;
1248
+ var styleCss$d = 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([layout=classic]) [auro-input]::part(iconContainer){top:0;display:flex;height:100%;align-items:center}:host([layout=classic]) [auro-input]::part(accentIcon){transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1)}:host([layout=classic]) [auro-input]::part(helpText){display:none}:host([layout=classic]) [auro-input]::part(wrapper):focus-within:before{border-bottom-width:0 !important;box-shadow:unset !important;outline:unset !important}:host([layout=classic]) [auro-input]::part(wrapper) .dpTriggerContent{display:flex;flex-direction:column}:host([layout=classic]) [auro-input]::part(wrapper) .dpTriggerContent [auro-input]{flex:1}:host([layout=classic]) [auro-input]::part(wrapper) .dpTriggerContent{flex-direction:row}:host([layout=classic]) [auro-input]::part(wrapper) [auro-input]:first-of-type{margin-right:var(--ds-size-150, 0.75rem);--ds-auro-input-border-color: transparent;--ds-auro-input-container-color: transparent}:host([layout=classic]) [auro-input]::part(wrapper) [auro-input]:not(:first-child)::part(wrapper)::after{position:absolute;left:50%;width:95%;height:1px;background-color:var(--ds-auro-datepicker-range-input-divider-color);content:"";transform:translateX(-50%)}:host([layout=classic]) [auro-input]::part(wrapper) .outerWrapper{position:relative;container:outerwrapper/inline-size}:host([layout=classic]) [auro-input]::part(wrapper) .dpTriggerContent{display:flex;flex-direction:column}:host([layout=classic]) [auro-input]::part(wrapper) .dpTriggerContent [auro-input]{flex:1}:host([layout=classic]) [auro-input]::part(wrapper):not([stacked]) .dpTriggerContent{flex-direction:row}:host([layout=classic]) [auro-input]::part(wrapper):not([stacked]) [auro-input]:first-of-type{margin-right:var(--ds-size-150, 0.75rem)}:host([layout=classic]) [auro-input]::part(wrapper):not([stacked]) [auro-input]:nth-child(2){margin-left:var(--ds-size-150, 0.75rem)}:host([layout=classic]) [auro-input]::part(wrapper):not([stacked]) [auro-input]:nth-child(2)::part(accentIcon){display:none}:host([layout=classic]) [auro-input]::part(wrapper):not([stacked]) [auro-input]:nth-child(2)::part(label){left:0;width:100%}:host([layout=classic]) [auro-input]::part(wrapper):not([stacked]) [auro-input]:nth-child(2)::part(input){padding-left:0}:host([layout=classic]) [auro-input]::part(wrapper):not([stacked]) [auro-input]:nth-child(2):before{position:absolute;top:13px;left:calc(var(--ds-size-150, 0.75rem)*-1);display:block;width:1px;height:2rem;content:""}:host([layout=classic]) [auro-input]::part(wrapper):not([stacked]) [auro-input]:not(:first-child)::part(wrapper):after{content:none}:host([layout=classic]) [auro-input]::part(wrapper):not([stacked])[range] [auro-input]{max-width:50%}@media screen and (max-width: 576px){:host([layout=classic]) [auro-input]::part(wrapper) ::part(popover){position:fixed !important;top:0 !important;left:0 !important;width:100vw !important;height:100vh !important;margin-bottom:var(--ds-size-200, 1rem);transform:unset !important}:host([layout=classic]) [auro-input]::part(wrapper) .calendarWrapper{display:flex;height:100dvh;flex-direction:row;justify-content:center}}`;
1248
1249
 
1249
1250
  var colorCss$c = 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}[auro-input]::part(wrapper){--ds-auro-input-border-color: transparent;--ds-auro-input-container-color: transparent}.dpTriggerContent [auro-input]:nth-child(2):before{background-color:var(--ds-auro-datepicker-range-input-divider-color)}:host([onDark]){--ds-auro-datepicker-range-input-divider-color: var(--ds-basic-color-border-inverse, #ffffff)}`;
1250
1251
 
1251
1252
  var tokensCss$a = css`:host{--ds-auro-datepicker-placeholder-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-datepicker-range-input-divider-color: var(--ds-basic-color-border-bold, #585e67);--ds-auro-calendar-mobile-header-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-calendar-mobile-header-divider-color: var(--ds-basic-color-border-divider, rgba(0, 0, 0, 0.15));--ds-auro-calendar-mobile-header-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-calendar-nav-btn-border-color: transparent;--ds-auro-calendar-nav-btn-chevron-color: var(--ds-basic-color-brand-primary, #01426a);--ds-auro-calendar-nav-btn-container-color: transparent;--ds-auro-calendar-month-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-calendar-month-divider-color: var(--ds-basic-color-border-divider, rgba(0, 0, 0, 0.15));--ds-auro-calendar-month-header-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-calendar-cell-border-color: transparent;--ds-auro-calendar-cell-container-color: transparent;--ds-auro-calendar-cell-in-range-color: var(--ds-advanced-color-shared-background-muted, #f7f7f7);--ds-auro-calendar-cell-price-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-calendar-cell-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}`;
1252
1253
 
1254
+ var classicLayoutColor = css`:host [auro-dropdown]::part(wrapper){border:1px solid aqua;outline:2px solid crimson}`;
1255
+
1253
1256
  var styleCss$c = css`:host{--calendar-width: 336px;--mobile-footer-height: 150px;--mobile-header-height: 68px;height:100vh;height:100dvh}.calendars{display:flex;flex-direction:row}.calendarNavButtons{position:absolute;top:var(--ds-size-200, 1rem);right:var(--ds-size-50, 0.25rem);left:var(--ds-size-50, 0.25rem)}.calendarNavBtn{display:flex;width:var(--ds-size-500, 2.5rem);height:var(--ds-size-500, 2.5rem);align-items:center;justify-content:center;border-width:1px;border-style:solid;border-radius:50%;cursor:pointer}.prevMonth,.nextMonth{position:absolute;top:0}.prevMonth{left:0}.nextMonth{right:0}.headerActions{padding:0 var(--ds-size-200, 1rem)}.mobileHeader{width:100%;height:var(--mobile-header-height);z-index:1;align-items:center;flex-direction:row}.headerDateFrom{display:flex;height:var(--mobile-header-height);flex:1;flex-direction:column;justify-content:center;padding:0 var(--ds-size-150, 0.75rem) 0 var(--ds-size-200, 1rem)}.mobileDateLabel{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)}.headerDateTo{height:calc(var(--mobile-header-height) - var(--ds-size-300, 1.5rem));padding:var(--ds-size-300, 1.5rem) var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host(:not([noRange])) .headerDateTo{position:relative;display:flex;flex:1;flex-direction:column;justify-content:center}:host(:not([noRange])) .headerDateTo:after{position:absolute;top:calc(50% + 10px);left:0;display:block;width:1px;height:var(--ds-size-300, 1.5rem);content:"";transform:translateY(-50%)}.mobileFooter{display:none;width:100%;align-items:flex-end;flex-direction:column;justify-content:flex-end}.mobileFooterActions{position:relative;bottom:0;left:50%;display:none;width:calc(100% - var(--ds-size-200, 1rem)*2);align-items:flex-end;flex-direction:column;justify-content:flex-end;padding:var(--ds-size-150) calc(var(--ds-size-200, 1rem));transform:translateX(-50%)}.mobileFooterActions auro-button{width:100%}:host([isfullscreen]){width:100%;max-height:100dvh;overflow:hidden}:host([isfullscreen]) .prevMonth,:host([isfullscreen]) .nextMonth{display:none}:host([isfullscreen]) .mobileHeader,:host([isfullscreen]) .mobileFooter,:host([isfullscreen]) .mobileFooterActions{display:flex}:host([isfullscreen]) .calendarWrapper{display:flex;flex-direction:column}:host([isfullscreen]) .calendars{display:flex;flex-direction:column;flex:1;align-items:center;width:100%;overscroll-behavior:contain}:host([isfullscreen]) .calendars:after{display:block;width:100%;height:var(--mobile-footer-height);content:""}`;
1254
1257
 
1255
1258
  var colorCss$b = css`.calendarNavBtn{border-color:var(--ds-auro-calendar-nav-btn-border-color);background-color:var(--ds-auro-calendar-nav-btn-container-color);color:var(--ds-auro-calendar-nav-btn-chevron-color)}.calendarNavBtn:hover{--ds-auro-calendar-nav-btn-container-color: var(--ds-advanced-color-state-background-hover, #f2f2f2);--ds-auro-calendar-nav-btn-border-color: var(--ds-basic-color-brand-primary, #01426a)}.calendarNavBtn:focus{--ds-auro-calendar-nav-btn-border-color: var(--ds-basic-color-brand-primary, #01426a)}.calendarNavBtn:active{--ds-auro-calendar-nav-btn-border-color: var(--ds-basic-color-brand-primary, #01426a);box-shadow:inset 0 0 0 1px var(--ds-auro-calendar-nav-btn-border-color)}.mobileHeader{background-color:var(--ds-auro-calendar-mobile-header-container-color)}.mobileDateLabel{color:var(--ds-auro-calendar-mobile-header-text-color)}:host(:not([noRange])) .headerDateTo:after{background-color:var(--ds-auro-calendar-mobile-header-divider-color)}::slotted([slot="bib.fullscreen.fromStr"]),::slotted([slot=mobileDateToStr]){color:var(--ds-auro-datepicker-placeholder-color)}@media screen and (max-width: 576px){.calendarNavBtn{--ds-auro-calendar-nav-btn-border-color: var(--ds-basic-color-brand-primary, #01426a)}}`;
@@ -7242,7 +7245,7 @@ __decorate([property({ type: Array })], RangeDatepickerCell.prototype, "disabled
7242
7245
  __decorate([property({ type: String })], RangeDatepickerCell.prototype, "hoveredDate", void 0);
7243
7246
  __decorate([property({ type: Boolean })], RangeDatepickerCell.prototype, "isCurrentDate", void 0);
7244
7247
  __decorate([property({ type: Object })], RangeDatepickerCell.prototype, "locale", null);
7245
- AuroLibraryRuntimeUtils$4.prototype.registerComponent('wc-range-datepicker-cell', RangeDatepickerCell);
7248
+ AuroLibraryRuntimeUtils$5.prototype.registerComponent('wc-range-datepicker-cell', RangeDatepickerCell);
7246
7249
 
7247
7250
  class Day {
7248
7251
  constructor(date) {
@@ -7760,7 +7763,7 @@ __decorate([property({ type: Array })], RangeDatepickerCalendar.prototype, "year
7760
7763
  __decorate([property({ type: Array })], RangeDatepickerCalendar.prototype, "monthsList", void 0);
7761
7764
  __decorate([property({ type: Array })], RangeDatepickerCalendar.prototype, "dayNamesOfTheWeek", void 0);
7762
7765
  __decorate([property({ type: Array })], RangeDatepickerCalendar.prototype, "daysOfMonth", void 0);
7763
- AuroLibraryRuntimeUtils$4.prototype.registerComponent('wc-range-datepicker-calendar', RangeDatepickerCalendar);
7766
+ AuroLibraryRuntimeUtils$5.prototype.registerComponent('wc-range-datepicker-calendar', RangeDatepickerCalendar);
7764
7767
 
7765
7768
  var styleCss$a = css`@media screen and (max-width: 576px){:host{display:flex;justify-content:center}}.day{position:relative;width:var(--ds-size-500, 2.5rem);height:calc(var(--ds-size-700, 3.5rem) - 2px);padding:0;border-width:1px;border-style:solid;border-radius:var(--ds-size-300, 1.5rem);cursor:pointer;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);user-select:none}.day.disabled{cursor:default !important}.day.inRange::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%)}@media screen and (min-width: 576px){.day.inRange::before{width:var(--ds-size-600, 3rem)}}.day.rangeDepartDate::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%);width:7.1428571429vw;transform:translate(0%, -50%)}@media screen and (min-width: 576px){.day.rangeDepartDate::before{width:calc(var(--ds-size-600, 3rem)/2)}}.day.rangeReturnDate::before,.day.lastHoveredDate::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%);width:7.1428571429vw;transform:translate(-100%, -50%)}@media screen and (min-width: 576px){.day.rangeReturnDate::before,.day.lastHoveredDate::before{width:calc(var(--ds-size-600, 3rem)/2)}}.dateSlot{display:flex;flex-direction:column;font-size:var(--ds-basic-text-body-xxs-font-size, 10px);font-weight:var(--ds-basic-text-body-xxs-font-weight, 450);letter-spacing:var(--ds-basic-text-body-xxs-letter-spacing, 0);line-height:var(--ds-basic-text-body-xxs-line-height, 14px)}::slotted([slot^=date_]){position:absolute;top:80%;left:50%;width:80%;overflow:hidden;white-space:nowrap;transform:translate(-50%, -50%)}::slotted(auro-icon){max-height:24px;max-width:24px}:host([renderForDateSlot]) .buttonWrapper{position:relative;width:100%;top:5px}:host([renderForDateSlot]) .currentDayMarker{position:relative;padding-bottom:5px;top:-8px}@media screen and (min-width: 576px){.day{width:var(--ds-size-600, 3rem);height:var(--ds-size-800, 4rem);font-family:var(--ds-basic-text-body-lg-font-family, "AS Circular");font-size:var(--ds-basic-text-body-lg-font-size, 18px);font-weight:var(--ds-basic-text-body-lg-font-weight, 450);letter-spacing:var(--ds-basic-text-body-lg-letter-spacing, 0);line-height:var(--ds-basic-text-body-lg-line-height, 26px)}.day:hover{cursor:pointer}.dateSlot{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)}}`;
7766
7769
 
@@ -9661,7 +9664,7 @@ class AuroPopover extends LitElement {
9661
9664
  privateDefaults() {
9662
9665
  this.isPopoverVisible = false;
9663
9666
  this.id = `popover-${(Math.random() + 1).toString(36).substring(7)}`;
9664
- this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
9667
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$5();
9665
9668
  }
9666
9669
 
9667
9670
  // function to define props used within the scope of this component
@@ -9691,7 +9694,7 @@ class AuroPopover extends LitElement {
9691
9694
  *
9692
9695
  */
9693
9696
  static register(name = "auro-popover") {
9694
- AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroPopover);
9697
+ AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroPopover);
9695
9698
  }
9696
9699
 
9697
9700
  connectedCallback() {
@@ -9859,7 +9862,7 @@ class AuroCalendarCell extends LitElement {
9859
9862
  this.dateStr = null;
9860
9863
  this.renderForDateSlot = false; // When false, the numerical date will render vertically centered. When true, the date will render off-center to the top and leave room below for the slot content.
9861
9864
 
9862
- this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
9865
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$5();
9863
9866
 
9864
9867
  /**
9865
9868
  * Generate unique names for dependency components.
@@ -10770,7 +10773,7 @@ var tokenCss = css`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
10770
10773
 
10771
10774
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
10772
10775
 
10773
- let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
10776
+ let AuroLibraryRuntimeUtils$1$2 = class AuroLibraryRuntimeUtils {
10774
10777
 
10775
10778
  /* eslint-disable jsdoc/require-param */
10776
10779
 
@@ -10883,7 +10886,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
10883
10886
  * @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
10884
10887
  */
10885
10888
 
10886
- let AuroElement$3 = class AuroElement extends LitElement {
10889
+ let AuroElement$4 = class AuroElement extends LitElement {
10887
10890
 
10888
10891
  // function to define props used within the scope of this component
10889
10892
  static get properties() {
@@ -10951,7 +10954,7 @@ var styleCss$1$2 = css`:focus:not(:focus-visible){outline:3px solid transparent}
10951
10954
  */
10952
10955
 
10953
10956
  // build the component class
10954
- let BaseIcon$2 = class BaseIcon extends AuroElement$3 {
10957
+ let BaseIcon$2 = class BaseIcon extends AuroElement$4 {
10955
10958
  constructor() {
10956
10959
  super();
10957
10960
  this.onDark = false;
@@ -11027,6 +11030,76 @@ var tokensCss$8 = css`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-d
11027
11030
 
11028
11031
  var colorCss$7 = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]){--ds-auro-icon-color:var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]){--ds-auro-icon-color:var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]){--ds-auro-icon-color:var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]){--ds-auro-icon-color:var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]){--ds-auro-icon-color:var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]){--ds-auro-icon-color:var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]){--ds-auro-icon-color:var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]){--ds-auro-icon-color:var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][variant=statusError]){--ds-auro-icon-color:var(--ds-advanced-color-state-error-inverse, #f9a4a8)}`;
11029
11032
 
11033
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
11034
+ // See LICENSE in the project root for license information.
11035
+
11036
+ // ---------------------------------------------------------------------
11037
+
11038
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
11039
+
11040
+ let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
11041
+
11042
+ /* eslint-disable jsdoc/require-param */
11043
+
11044
+ /**
11045
+ * This will register a new custom element with the browser.
11046
+ * @param {String} name - The name of the custom element.
11047
+ * @param {Object} componentClass - The class to register as a custom element.
11048
+ * @returns {void}
11049
+ */
11050
+ registerComponent(name, componentClass) {
11051
+ if (!customElements.get(name)) {
11052
+ customElements.define(name, class extends componentClass {});
11053
+ }
11054
+ }
11055
+
11056
+ /**
11057
+ * Finds and returns the closest HTML Element based on a selector.
11058
+ * @returns {void}
11059
+ */
11060
+ closestElement(
11061
+ selector, // selector like in .closest()
11062
+ base = this, // extra functionality to skip a parent
11063
+ __Closest = (el, found = el && el.closest(selector)) =>
11064
+ !el || el === document || el === window
11065
+ ? null // standard .closest() returns null for non-found selectors also
11066
+ : found
11067
+ ? found // found a selector INside this element
11068
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
11069
+ ) {
11070
+ return __Closest(base);
11071
+ }
11072
+ /* eslint-enable jsdoc/require-param */
11073
+
11074
+ /**
11075
+ * 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.
11076
+ * @param {Object} elem - The element to check.
11077
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
11078
+ * @returns {void}
11079
+ */
11080
+ handleComponentTagRename(elem, tagName) {
11081
+ const tag = tagName.toLowerCase();
11082
+ const elemTag = elem.tagName.toLowerCase();
11083
+
11084
+ if (elemTag !== tag) {
11085
+ elem.setAttribute(tag, true);
11086
+ }
11087
+ }
11088
+
11089
+ /**
11090
+ * Validates if an element is a specific Auro component.
11091
+ * @param {Object} elem - The element to validate.
11092
+ * @param {String} tagName - The name of the Auro component to check against.
11093
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
11094
+ */
11095
+ elementMatch(elem, tagName) {
11096
+ const tag = tagName.toLowerCase();
11097
+ const elemTag = elem.tagName.toLowerCase();
11098
+
11099
+ return elemTag === tag || elem.hasAttribute(tag);
11100
+ }
11101
+ };
11102
+
11030
11103
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
11031
11104
  // See LICENSE in the project root for license information.
11032
11105
 
@@ -11046,7 +11119,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
11046
11119
  */
11047
11120
  privateDefaults() {
11048
11121
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
11049
- this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
11122
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
11050
11123
  }
11051
11124
 
11052
11125
  // function to define props used within the scope of this component
@@ -11128,7 +11201,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
11128
11201
  *
11129
11202
  */
11130
11203
  static register(name = "auro-icon") {
11131
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroIcon);
11204
+ AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroIcon);
11132
11205
  }
11133
11206
 
11134
11207
  connectedCallback() {
@@ -11225,7 +11298,7 @@ class AuroHeader extends LitElement {
11225
11298
  /**
11226
11299
  * @private
11227
11300
  */
11228
- this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
11301
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1$2();
11229
11302
  }
11230
11303
 
11231
11304
  // function to define props used within the scope of this component
@@ -11255,7 +11328,7 @@ class AuroHeader extends LitElement {
11255
11328
  *
11256
11329
  */
11257
11330
  static register(name = "auro-header") {
11258
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroHeader);
11331
+ AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroHeader);
11259
11332
  }
11260
11333
 
11261
11334
  firstUpdated() {
@@ -11351,7 +11424,7 @@ class AuroBibtemplate extends LitElement {
11351
11424
 
11352
11425
  this.large = false;
11353
11426
 
11354
- AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
11427
+ AuroLibraryRuntimeUtils$1$2.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
11355
11428
 
11356
11429
  const versioning = new AuroDependencyVersioning$2();
11357
11430
  this.iconTag = versioning.generateTag('auro-formkit-bibtemplate-icon', iconVersion$2, AuroIcon$2);
@@ -11390,7 +11463,7 @@ class AuroBibtemplate extends LitElement {
11390
11463
  *
11391
11464
  */
11392
11465
  static register(name = "auro-bibtemplate") {
11393
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroBibtemplate);
11466
+ AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroBibtemplate);
11394
11467
  }
11395
11468
 
11396
11469
  /**
@@ -11430,6 +11503,18 @@ class AuroBibtemplate extends LitElement {
11430
11503
  this.setAttribute('exportparts', 'bibtemplate:dropdownBibTemplate');
11431
11504
  }
11432
11505
 
11506
+ firstUpdated(changedProperties) {
11507
+ super.firstUpdated(changedProperties);
11508
+
11509
+ this.dispatchEvent(new CustomEvent("auro-bibtemplate-connected", {
11510
+ bubbles: true,
11511
+ composed: true,
11512
+ detail: {
11513
+ element: this
11514
+ }
11515
+ }));
11516
+ }
11517
+
11433
11518
  // function that renders the HTML and CSS into the scope of the component
11434
11519
  render() {
11435
11520
  return html$1`
@@ -11500,7 +11585,7 @@ let AuroLoader$1 = class AuroLoader extends LitElement {
11500
11585
  /**
11501
11586
  * @private
11502
11587
  */
11503
- this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
11588
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$5();
11504
11589
 
11505
11590
  this.orbit = false;
11506
11591
  this.ringworm = false;
@@ -11563,7 +11648,7 @@ let AuroLoader$1 = class AuroLoader extends LitElement {
11563
11648
  *
11564
11649
  */
11565
11650
  static register(name = "auro-loader") {
11566
- AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroLoader);
11651
+ AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroLoader);
11567
11652
  }
11568
11653
 
11569
11654
  firstUpdated() {
@@ -11867,7 +11952,7 @@ let AuroButton$1 = class AuroButton extends LitElement {
11867
11952
  *
11868
11953
  */
11869
11954
  static register(name = "auro-button") {
11870
- AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroButton);
11955
+ AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroButton);
11871
11956
  }
11872
11957
 
11873
11958
  /**
@@ -12322,7 +12407,7 @@ if (!customElements.get('auro-formkit-calendar')) {
12322
12407
 
12323
12408
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
12324
12409
 
12325
- let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
12410
+ let AuroLibraryRuntimeUtils$2$1 = class AuroLibraryRuntimeUtils {
12326
12411
 
12327
12412
  /* eslint-disable jsdoc/require-param */
12328
12413
 
@@ -12905,10 +12990,11 @@ const flip$1 = function (options) {
12905
12990
  const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
12906
12991
  const nextPlacement = placements[nextIndex];
12907
12992
  if (nextPlacement) {
12908
- var _overflowsData$;
12909
12993
  const ignoreCrossAxisOverflow = checkCrossAxis === 'alignment' ? initialSideAxis !== getSideAxis(nextPlacement) : false;
12910
- const hasInitialMainAxisOverflow = ((_overflowsData$ = overflowsData[0]) == null ? void 0 : _overflowsData$.overflows[0]) > 0;
12911
- if (!ignoreCrossAxisOverflow || hasInitialMainAxisOverflow) {
12994
+ if (!ignoreCrossAxisOverflow ||
12995
+ // We leave the current main axis only if every placement on that axis
12996
+ // overflows the main axis.
12997
+ overflowsData.every(d => d.overflows[0] > 0 && getSideAxis(d.placement) === initialSideAxis)) {
12912
12998
  // Try next placement and re-run the lifecycle.
12913
12999
  return {
12914
13000
  data: {
@@ -13929,8 +14015,28 @@ class AuroFloatingUI {
13929
14015
  if (!AuroFloatingUI.isMousePressHandlerInitialized && window && window.addEventListener) {
13930
14016
  AuroFloatingUI.isMousePressHandlerInitialized = true;
13931
14017
 
14018
+ // Track timeout for isMousePressed reset to avoid race conditions
14019
+ if (!AuroFloatingUI._mousePressedTimeout) {
14020
+ AuroFloatingUI._mousePressedTimeout = null;
14021
+ }
13932
14022
  const mouseEventGlobalHandler = (event) => {
13933
- AuroFloatingUI.isMousePressed = event.type === 'mousedown';
14023
+ const isPressed = event.type === 'mousedown';
14024
+ if (isPressed) {
14025
+ // Clear any pending timeout to prevent race condition
14026
+ if (AuroFloatingUI._mousePressedTimeout !== null) {
14027
+ clearTimeout(AuroFloatingUI._mousePressedTimeout);
14028
+ AuroFloatingUI._mousePressedTimeout = null;
14029
+ }
14030
+ if (!AuroFloatingUI.isMousePressed) {
14031
+ AuroFloatingUI.isMousePressed = true;
14032
+ }
14033
+ } else if (AuroFloatingUI.isMousePressed && !isPressed) {
14034
+ // Schedule reset and track timeout ID
14035
+ AuroFloatingUI._mousePressedTimeout = setTimeout(() => {
14036
+ AuroFloatingUI.isMousePressed = false;
14037
+ AuroFloatingUI._mousePressedTimeout = null;
14038
+ }, 0);
14039
+ }
13934
14040
  };
13935
14041
 
13936
14042
  window.addEventListener('mousedown', mouseEventGlobalHandler);
@@ -14057,6 +14163,7 @@ class AuroFloatingUI {
14057
14163
 
14058
14164
  // Compute the position of the bib
14059
14165
  computePosition(this.element.trigger, this.element.bib, {
14166
+ strategy: this.element.floaterConfig?.strategy || 'fixed',
14060
14167
  placement: this.element.floaterConfig?.placement,
14061
14168
  middleware: middleware || []
14062
14169
  }).then(({ x, y }) => { // eslint-disable-line id-length
@@ -14191,8 +14298,9 @@ class AuroFloatingUI {
14191
14298
  if (this.element.contains(activeElement) || this.element.bib?.contains(activeElement)) {
14192
14299
  return;
14193
14300
  }
14194
- // if fullscreen bib is still open and the focus is missing, do not close
14195
- if (this.element.bib.hasAttribute('isfullscreen') && activeElement === document.body) {
14301
+
14302
+ // if fullscreen bib is in fullscreen mode, do not close
14303
+ if (this.element.bib.hasAttribute('isfullscreen')) {
14196
14304
  return;
14197
14305
  }
14198
14306
 
@@ -14493,8 +14601,6 @@ class AuroFloatingUI {
14493
14601
  this.element.hoverToggle = this.element.floaterConfig.hoverToggle;
14494
14602
  }
14495
14603
 
14496
- document.body.append(this.element.bib);
14497
-
14498
14604
  this.regenerateBibId();
14499
14605
  this.handleTriggerTabIndex();
14500
14606
 
@@ -14637,7 +14743,7 @@ const cacheFetch$1 = (uri, options = {}) => {
14637
14743
  return _fetchMap$1.get(uri);
14638
14744
  };
14639
14745
 
14640
- var styleCss$3$1 = css`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.componentWrapper{display:flex}.svgWrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelWrapper{margin-left:var(--ds-size-50, 0.25rem);line-height:1.8}`;
14746
+ var styleCss$2$1 = css`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.componentWrapper{display:flex}.svgWrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelWrapper{margin-left:var(--ds-size-50, 0.25rem);line-height:1.8}`;
14641
14747
 
14642
14748
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
14643
14749
  // See LICENSE in the project root for license information.
@@ -14680,7 +14786,7 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1$1 {
14680
14786
 
14681
14787
  static get styles() {
14682
14788
  return css`
14683
- ${styleCss$3$1}
14789
+ ${styleCss$2$1}
14684
14790
  `;
14685
14791
  }
14686
14792
 
@@ -14725,6 +14831,76 @@ var tokensCss$2$1 = css`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon
14725
14831
 
14726
14832
  var colorCss$3$1 = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]){--ds-auro-icon-color:var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]){--ds-auro-icon-color:var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]){--ds-auro-icon-color:var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]){--ds-auro-icon-color:var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]){--ds-auro-icon-color:var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]){--ds-auro-icon-color:var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]){--ds-auro-icon-color:var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]){--ds-auro-icon-color:var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][variant=statusError]){--ds-auro-icon-color:var(--ds-advanced-color-state-error-inverse, #f9a4a8)}`;
14727
14833
 
14834
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
14835
+ // See LICENSE in the project root for license information.
14836
+
14837
+ // ---------------------------------------------------------------------
14838
+
14839
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
14840
+
14841
+ let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
14842
+
14843
+ /* eslint-disable jsdoc/require-param */
14844
+
14845
+ /**
14846
+ * This will register a new custom element with the browser.
14847
+ * @param {String} name - The name of the custom element.
14848
+ * @param {Object} componentClass - The class to register as a custom element.
14849
+ * @returns {void}
14850
+ */
14851
+ registerComponent(name, componentClass) {
14852
+ if (!customElements.get(name)) {
14853
+ customElements.define(name, class extends componentClass {});
14854
+ }
14855
+ }
14856
+
14857
+ /**
14858
+ * Finds and returns the closest HTML Element based on a selector.
14859
+ * @returns {void}
14860
+ */
14861
+ closestElement(
14862
+ selector, // selector like in .closest()
14863
+ base = this, // extra functionality to skip a parent
14864
+ __Closest = (el, found = el && el.closest(selector)) =>
14865
+ !el || el === document || el === window
14866
+ ? null // standard .closest() returns null for non-found selectors also
14867
+ : found
14868
+ ? found // found a selector INside this element
14869
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
14870
+ ) {
14871
+ return __Closest(base);
14872
+ }
14873
+ /* eslint-enable jsdoc/require-param */
14874
+
14875
+ /**
14876
+ * 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.
14877
+ * @param {Object} elem - The element to check.
14878
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
14879
+ * @returns {void}
14880
+ */
14881
+ handleComponentTagRename(elem, tagName) {
14882
+ const tag = tagName.toLowerCase();
14883
+ const elemTag = elem.tagName.toLowerCase();
14884
+
14885
+ if (elemTag !== tag) {
14886
+ elem.setAttribute(tag, true);
14887
+ }
14888
+ }
14889
+
14890
+ /**
14891
+ * Validates if an element is a specific Auro component.
14892
+ * @param {Object} elem - The element to validate.
14893
+ * @param {String} tagName - The name of the Auro component to check against.
14894
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
14895
+ */
14896
+ elementMatch(elem, tagName) {
14897
+ const tag = tagName.toLowerCase();
14898
+ const elemTag = elem.tagName.toLowerCase();
14899
+
14900
+ return elemTag === tag || elem.hasAttribute(tag);
14901
+ }
14902
+ };
14903
+
14728
14904
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
14729
14905
  // See LICENSE in the project root for license information.
14730
14906
 
@@ -14812,7 +14988,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
14812
14988
  return [
14813
14989
  super.styles,
14814
14990
  css`${tokensCss$2$1}`,
14815
- css`${styleCss$3$1}`,
14991
+ css`${styleCss$2$1}`,
14816
14992
  css`${colorCss$3$1}`
14817
14993
  ];
14818
14994
  }
@@ -14894,7 +15070,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
14894
15070
 
14895
15071
  var iconVersion$1 = '6.1.2';
14896
15072
 
14897
- var styleCss$2$1 = css`:host{position:absolute;z-index:var(--depth-tooltip, 400);display:none}.container{display:inline-block;overflow:auto;box-sizing:border-box;margin:var(--ds-size-50, 0.25rem) 0}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset;overscroll-behavior:contain}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}`;
15073
+ var styleCss$1$1 = css`:host{position:fixed;z-index:var(--depth-tooltip, 400);display:none;isolation:isolate}.container{display:inline-block;overflow:auto;box-sizing:border-box;margin:var(--ds-size-50, 0.25rem) 0}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset;overscroll-behavior:contain}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}`;
14898
15074
 
14899
15075
  var colorCss$2$1 = css`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
14900
15076
 
@@ -14904,7 +15080,6 @@ var tokensCss$1$1 = css`:host(:not([ondark])){--ds-auro-dropdown-label-text-colo
14904
15080
  // See LICENSE in the project root for license information.
14905
15081
 
14906
15082
 
14907
-
14908
15083
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
14909
15084
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
14910
15085
  'xl',
@@ -14929,12 +15104,12 @@ class AuroDropdownBib extends LitElement {
14929
15104
  */
14930
15105
  this._mobileBreakpointValue = undefined;
14931
15106
 
14932
- AuroLibraryRuntimeUtils$1$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
15107
+ AuroLibraryRuntimeUtils$2$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
14933
15108
  }
14934
15109
 
14935
15110
  static get styles() {
14936
15111
  return [
14937
- styleCss$2$1,
15112
+ styleCss$1$1,
14938
15113
  colorCss$2$1,
14939
15114
  tokensCss$1$1
14940
15115
  ];
@@ -14974,6 +15149,13 @@ class AuroDropdownBib extends LitElement {
14974
15149
  type: Boolean,
14975
15150
  reflect: true
14976
15151
  },
15152
+
15153
+ /**
15154
+ * A reference to the associated bib template element.
15155
+ */
15156
+ bibTemplate: {
15157
+ type: Object
15158
+ }
14977
15159
  };
14978
15160
  }
14979
15161
 
@@ -15006,9 +15188,50 @@ class AuroDropdownBib extends LitElement {
15006
15188
  }
15007
15189
  }
15008
15190
  });
15191
+
15192
+ if (this.bibTemplate) {
15193
+ // If the bib template is found, set the fullscreen attribute
15194
+ if (this.isFullscreen) {
15195
+ this.bibTemplate.setAttribute('isFullscreen', 'true');
15196
+ } else {
15197
+ this.bibTemplate.removeAttribute('isFullscreen');
15198
+ }
15199
+ }
15009
15200
  }
15010
15201
  }
15011
15202
 
15203
+ connectedCallback() {
15204
+ super.connectedCallback();
15205
+
15206
+ // Listen for the auro-bibtemplate-connected event to set the fullscreen attribute
15207
+ this.addEventListener('auro-bibtemplate-connected', (event) => {
15208
+ const bibTemplate = event.detail.element;
15209
+ this.bibTemplate = bibTemplate;
15210
+
15211
+ if (bibTemplate) {
15212
+ // If the bib template is found, set the fullscreen attribute
15213
+ if (this.isFullscreen) {
15214
+ bibTemplate.setAttribute('isFullscreen', 'true');
15215
+ } else {
15216
+ bibTemplate.removeAttribute('isFullscreen');
15217
+ }
15218
+ }
15219
+ });
15220
+ }
15221
+
15222
+ firstUpdated(changedProperties) {
15223
+ super.firstUpdated(changedProperties);
15224
+
15225
+ // Dispatch a custom event when the component is connected
15226
+ this.dispatchEvent(new CustomEvent('auro-dropdownbib-connected', {
15227
+ bubbles: true,
15228
+ composed: true,
15229
+ detail: {
15230
+ element: this
15231
+ }
15232
+ }));
15233
+ }
15234
+
15012
15235
  // function that renders the HTML and CSS into the scope of the component
15013
15236
  render() {
15014
15237
  return html$1`
@@ -15021,15 +15244,17 @@ class AuroDropdownBib extends LitElement {
15021
15244
 
15022
15245
  var dropdownVersion$1 = '3.0.0';
15023
15246
 
15024
- var shapeSizeCss$1 = css`.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:0;min-height:60px;max-height:60px;background-color:unset}.shape-box-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xl.simple{border-width:0;min-height:72px;max-height:72px;background-color:unset}.shape-rounded-lg{min-height:52px;max-height:52px;border-style:solid;border-width:2px;border-color:transparent;border-radius:6px}.shape-rounded-lg.simple{border-width:0;min-height:72px;max-height:72px;background-color:unset}.shape-pill-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:34px}.shape-pill-xl.simple{border-width:0;min-height:72px;max-height:72px;background-color:unset}.shape-pill-left-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:34px 0 0 34px}.shape-pill-left-xl.simple{border-width:0;min-height:72px;max-height:72px;background-color:unset}.shape-pill-right-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 34px 34px 0}.shape-pill-right-xl.simple{border-width:0;min-height:72px;max-height:72px;background-color:unset}.shape-pill-md{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:34px}.shape-pill-md.simple{border-width:0;min-height:72px;max-height:72px;background-color:unset}.shape-pill-left-md{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:34px 0 0 34px}.shape-pill-left-md.simple{border-width:0;min-height:72px;max-height:72px;background-color:unset}.shape-pill-right-md{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 34px 34px 0}.shape-pill-right-md.simple{border-width:0;min-height:72px;max-height:72px;background-color:unset}`;
15025
-
15026
- var styleCss$1$1 = css`:host([layout*=classic]){position:relative;display:inline-block;max-width:100%}:host([layout*=classic]) #bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}:host([layout*=classic]) .label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);transition:font-size .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:normal}:host([layout*=classic]) .label[hasTrigger=false]{font-size:var(--ds-text-body-size-default, 1rem)}:host([layout*=classic]) .trigger{position:relative;display:flex;align-items:center}:host([layout*=classic]) .trigger[showBorder]{border-width:1px;border-style:solid;cursor:pointer;outline-style:solid;outline-width:1px}@media(hover: hover){:host([layout*=classic]) .trigger:hover{cursor:pointer}}:host([layout*=classic]) .triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}:host([layout*=classic]) #showStateIcon{display:flex;overflow:hidden;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}:host([layout*=classic]) #showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}:host([layout*=classic]) #showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}:host([layout*=classic][fluid]){display:block}:host([layout*=classic][matchwidth]) #bibSizer{width:100%}:host([layout*=classic][disabled]){pointer-events:none}:host([layout*=classic][inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([layout*=classic][common]) .trigger,:host([layout*=classic][inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([layout*=classic][inset][bordered][labeled]) .trigger{padding:var(--ds-size-100, 0.5rem) var(--ds-size-150, 0.75rem)}:host([layout*=classic][common]) .trigger,:host([layout*=classic][rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
15247
+ var shapeSizeCss$1 = 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}`;
15027
15248
 
15028
15249
  var colorCss$1$1 = css`:host .wrapper{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-background-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host(:not([ondark])) .wrapper:focus,:host(:not([ondark])) .wrapper:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-brand, #00274a)}:host([ondark]) .wrapper:focus,:host([ondark]) .wrapper:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-inverse, #ffffff)}:host([error]:not([ondark])){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([error][ondark]){--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}.helpText{color:var(--ds-auro-dropdown-helptext-text-color)}`;
15029
15250
 
15030
- var styleEmphasizedCss = css`:host{display:block}.wrapper{display:flex;flex-direction:column}.trigger{flex:1;display:flex;align-items:center;justify-content:center;outline:none}.triggerContentWrapper{flex:1;display:flex;align-items:center;justify-content:center;width:100%}.triggerContent{overflow:hidden;flex:1;display:flex;align-items:center;justify-content:center;text-overflow:ellipsis;white-space:nowrap;width:100%}: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)}`;
15251
+ var classicColorCss$1 = css`:host([layout*=classic]) .label{color:var(--ds-auro-dropdown-label-text-color)}:host([layout*=classic]) .trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color);outline-color:var(--ds-auro-dropdown-trigger-outline-color)}:host([layout*=classic]) .trigger:focus-within,:host([layout*=classic]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused, #01426a)}:host([layout*=classic])[disabled]{--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([layout*=classic])[common],:host([layout*=classic])[bordered]{--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-bold, #585e67)}:host([layout*=classic])[common] .trigger:active,:host([layout*=classic])[common] .trigger:focus-within,:host([layout*=classic])[bordered] .trigger:active,:host([layout*=classic])[bordered] .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a)}:host([layout*=classic])[error]{--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([layout*=classic])[error] .trigger{outline:solid 1px var(--ds-auro-dropdown-trigger-border-color)}:host([layout*=classic])[error] .trigger:focus-within,:host([layout*=classic])[error] .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused, #01426a)}:host([layout*=classic])[disabled][common],:host([layout*=classic])[disabled][bordered]{--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host([layout*=classic])[onDark]{--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db);--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([layout*=classic])[onDark]:focus-within,:host([layout*=classic])[onDark]:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused-inverse, #ffffff)}:host([layout*=classic])[onDark][disabled]{--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([layout*=classic])[onDark][common],:host([layout*=classic])[onDark][bordered]{--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-inverse, #ffffff)}:host([layout*=classic])[onDark][common] .trigger:focus-within,:host([layout*=classic])[onDark][common] .trigger:active,:host([layout*=classic])[onDark][bordered] .trigger:focus-within,:host([layout*=classic])[onDark][bordered] .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused-inverse, #ffffff)}:host([layout*=classic])[onDark][error]{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}:host([layout*=classic])[onDark][error] .trigger{outline:solid 1px var(--ds-auro-dropdown-trigger-border-color)}:host([layout*=classic])[onDark][error] .trigger:focus-within,:host([layout*=classic])[onDark][error] .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused-inverse, #ffffff)}:host([layout*=classic])[onDark][disabled][common],:host([layout*=classic])[onDark][disabled][bordered]{--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse-disabled, rgba(255, 255, 255, 0.1))}`;
15031
15252
 
15032
- var styleSnowflakeCss = css`:host{display:block}.wrapper{display:flex;flex-direction:column}.trigger{flex:1;display:flex;align-items:center;justify-content:center;outline:none}.triggerContentWrapper{flex:1;display:flex;align-items:center;justify-content:center;width:100%}.triggerContent{overflow:hidden;flex:1;display:flex;align-items:center;justify-content:center;text-overflow:ellipsis;white-space:nowrap;width:100%}:host([layout*=snowflake]) .leftIndent{margin-left:24px;width:calc(100% - 48px)}:host([layout*=snowflake]) .rightIndent{margin-right:24px;width:calc(100% - 48px)}`;
15253
+ var classicLayoutCss = css`:host([layout*=classic]){position:relative;max-width:100%}:host([layout*=classic]) #bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}:host([layout*=classic]) .label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);transition:font-size .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:normal}:host([layout*=classic]) .label[hasTrigger=false]{font-size:var(--ds-text-body-size-default, 1rem)}:host([layout*=classic]) .trigger{display:flex;flex-direction:row}@media(hover: hover){:host([layout*=classic]) .trigger:hover{cursor:pointer}}:host([layout*=classic]) .triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}:host([layout*=classic]) #showStateIcon{display:flex;overflow:hidden;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}:host([layout*=classic]) #showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}:host([layout*=classic]) #showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}:host([layout*=classic][fluid]){display:block}:host([layout*=classic][matchwidth]) #bibSizer{width:100%}:host([layout*=classic][disabled]){pointer-events:none}:host([layout*=classic][inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([layout*=classic][common]) .trigger,:host([layout*=classic][inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([layout*=classic][inset][bordered][labeled]) .trigger{padding:var(--ds-size-100, 0.5rem) var(--ds-size-150, 0.75rem)}:host([layout*=classic][common]) .trigger,:host([layout*=classic][rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
15254
+
15255
+ var styleEmphasizedCss = css`:host{display:block}.layout-emphasized .chevron,.layout-emphasized-left .chevron,.layout-emphasized-right .chevron{margin-right:var(--ds-size-300, 1.5rem)}.wrapper{display:flex;flex-direction:row}.trigger{display:flex;flex:1;align-items:center;justify-content:center;outline:none}.triggerContentWrapper{display:flex;width:100%;flex:1;align-items:center;justify-content:center}.triggerContent{display:flex;overflow:hidden;width:100%;flex:1;align-items:center;justify-content:center;text-overflow:ellipsis;white-space:nowrap}:host([layout*=emphasized][shape*=pill]:not([layout*=right])) .leftIndent{width:calc(100% - var(--ds-size-300, 1.5rem));margin-left:var(--ds-size-300, 1.5rem)}:host([layout*=emphasized][shape*=pill]:not([layout*=left])) .rightIndent{width:calc(100% - var(--ds-size-300, 1.5rem));margin-right:var(--ds-size-300, 1.5rem)}:host([layout*=emphasized][shape*=pill]:not([layout*=left]):not([layout*=right])) .rightIndent{width:calc(100% - var(--ds-size-600, 3rem));margin-right:var(--ds-size-300, 1.5rem)}`;
15256
+
15257
+ var styleSnowflakeCss = css`:host{display:block}.wrapper{display:flex;flex-direction:row}.trigger{display:flex;flex:1;align-items:center;justify-content:center;outline:none}.triggerContentWrapper{display:flex;width:100%;flex:1;align-items:center;justify-content:center}.triggerContent{display:flex;overflow:hidden;width:100%;flex:1;align-items:center;justify-content:center;text-overflow:ellipsis;white-space:nowrap}:host([layout*=snowflake]) .leftIndent{width:calc(100% - var(--ds-size-600, 3rem));margin-left:var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .rightIndent{width:calc(100% - var(--ds-size-600, 3rem));margin-right:var(--ds-size-300, 1.5rem)}.layout-snowflake .chevron,.layout-snowflake-left .chevron,.layout-snowflake-right .chevron{margin-right:var(--ds-size-300, 1.5rem)}`;
15033
15258
 
15034
15259
  var colorCss$4 = 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)}`;
15035
15260
 
@@ -15044,7 +15269,7 @@ var tokensCss$5 = css`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
15044
15269
 
15045
15270
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
15046
15271
 
15047
- let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
15272
+ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
15048
15273
 
15049
15274
  /* eslint-disable jsdoc/require-param */
15050
15275
 
@@ -15125,7 +15350,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
15125
15350
  this.onDark = false;
15126
15351
  this.hasTextContent = false;
15127
15352
 
15128
- AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-helptext');
15353
+ AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-helptext');
15129
15354
  }
15130
15355
 
15131
15356
  static get styles() {
@@ -15181,7 +15406,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
15181
15406
  *
15182
15407
  */
15183
15408
  static register(name = "auro-helptext") {
15184
- AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHelpText);
15409
+ AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroHelpText);
15185
15410
  }
15186
15411
 
15187
15412
  updated() {
@@ -15239,7 +15464,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
15239
15464
 
15240
15465
  var helpTextVersion$1 = '1.0.0';
15241
15466
 
15242
- let AuroElement$2 = class AuroElement extends LitElement {
15467
+ let AuroElement$3 = class AuroElement extends LitElement {
15243
15468
  static get properties() {
15244
15469
  return {
15245
15470
 
@@ -15348,7 +15573,7 @@ let AuroElement$2 = class AuroElement extends LitElement {
15348
15573
  * @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
15349
15574
  * @event auroDropdown-idAdded - Notifies consumers that the unique ID for the dropdown bib has been generated.
15350
15575
  */
15351
- class AuroDropdown extends AuroElement$2 {
15576
+ class AuroDropdown extends AuroElement$3 {
15352
15577
  constructor() {
15353
15578
  super();
15354
15579
 
@@ -15357,12 +15582,13 @@ class AuroDropdown extends AuroElement$2 {
15357
15582
  this.matchWidth = false;
15358
15583
  this.noHideOnThisFocusLoss = false;
15359
15584
 
15360
- this.errorMessage = ''; // TODO!
15585
+ this.errorMessage = ''; // TODO - check with Doug if there is still more to do here
15361
15586
 
15362
15587
  // Layout Config
15363
- this.layout = 'default';
15588
+ this.layout = 'classic';
15364
15589
  this.shape = 'rounded';
15365
15590
  this.size = 'xl';
15591
+ this.parentBorder = false;
15366
15592
 
15367
15593
  this.privateDefaults();
15368
15594
  }
@@ -15378,7 +15604,8 @@ class AuroDropdown extends AuroElement$2 {
15378
15604
  'trigger': true,
15379
15605
  'wrapper': true,
15380
15606
  'hasFocus': this.hasFocus,
15381
- 'simple': this.simple
15607
+ 'simple': this.simple,
15608
+ 'parentBorder': this.parentBorder
15382
15609
  };
15383
15610
  }
15384
15611
 
@@ -15430,7 +15657,7 @@ class AuroDropdown extends AuroElement$2 {
15430
15657
  /**
15431
15658
  * @private
15432
15659
  */
15433
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
15660
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2$1();
15434
15661
 
15435
15662
  /**
15436
15663
  * @private
@@ -15645,6 +15872,15 @@ class AuroDropdown extends AuroElement$2 {
15645
15872
  reflect: true
15646
15873
  },
15647
15874
 
15875
+ /**
15876
+ * Defines if the trigger should size based on the parent element providing the border UI.
15877
+ * @private
15878
+ */
15879
+ parentBorder: {
15880
+ type: Boolean,
15881
+ reflect: true
15882
+ },
15883
+
15648
15884
  /**
15649
15885
  * If declared, the popover and trigger will be set to the same width.
15650
15886
  */
@@ -15747,10 +15983,18 @@ class AuroDropdown extends AuroElement$2 {
15747
15983
  static get styles() {
15748
15984
  return [
15749
15985
  colorCss$1$1,
15750
- styleCss$1$1,
15751
15986
  tokensCss$1$1,
15987
+
15988
+ // default layout
15989
+ classicColorCss$1,
15990
+ classicLayoutCss,
15991
+
15992
+ // emphasized layout
15752
15993
  styleEmphasizedCss,
15994
+
15995
+ // snowflake layout
15753
15996
  styleSnowflakeCss,
15997
+
15754
15998
  shapeSizeCss$1
15755
15999
  ];
15756
16000
  }
@@ -15764,7 +16008,7 @@ class AuroDropdown extends AuroElement$2 {
15764
16008
  *
15765
16009
  */
15766
16010
  static register(name = "auro-dropdown") {
15767
- AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
16011
+ AuroLibraryRuntimeUtils$2$1.prototype.registerComponent(name, AuroDropdown);
15768
16012
  }
15769
16013
 
15770
16014
  /**
@@ -16097,11 +16341,9 @@ class AuroDropdown extends AuroElement$2 {
16097
16341
  *
16098
16342
  * @private
16099
16343
  * @method handleDefaultSlot
16100
- * @param {Event} event - The event object representing the slot change.
16101
16344
  * @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
16102
16345
  */
16103
- handleDefaultSlot(event) {
16104
- [...event.target.assignedNodes()].forEach((node) => this.bibContent.append(node));
16346
+ handleDefaultSlot() {
16105
16347
 
16106
16348
  if (this.onSlotChange) {
16107
16349
  this.onSlotChange();
@@ -16144,7 +16386,6 @@ class AuroDropdown extends AuroElement$2 {
16144
16386
  id="trigger"
16145
16387
  class="${classMap(this.commonWrapperClasses)}" part="wrapper"
16146
16388
  tabindex="${this.tabIndex}"
16147
- ?showBorder="${this.showTriggerBorders}"
16148
16389
  role="${ifDefined(this.triggerContentFocusable ? undefined : this.a11yRole)}"
16149
16390
  aria-expanded="${ifDefined(this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
16150
16391
  aria-controls="${ifDefined(this.triggerContentFocusable ? undefined : this.dropdownId)}"
@@ -16164,6 +16405,7 @@ class AuroDropdown extends AuroElement$2 {
16164
16405
  ${this.chevron || this.common ? html$1`
16165
16406
  <div
16166
16407
  id="showStateIcon"
16408
+ class="chevron"
16167
16409
  part="chevron">
16168
16410
  <${this.iconTag}
16169
16411
  category="interface"
@@ -16178,9 +16420,6 @@ class AuroDropdown extends AuroElement$2 {
16178
16420
  <div class="${classMap(helpTextClasses)}">
16179
16421
  <slot name="helpText"></slot>
16180
16422
  </div>
16181
- <div class="slotContent">
16182
- <slot @slotchange="${this.handleDefaultSlot}"></slot>
16183
- </div>
16184
16423
  <div id="bibSizer" part="size"></div>
16185
16424
  <${this.dropdownBibTag}
16186
16425
  id="bib"
@@ -16189,6 +16428,9 @@ class AuroDropdown extends AuroElement$2 {
16189
16428
  ?common="${this.common}"
16190
16429
  ?rounded="${this.common || this.rounded}"
16191
16430
  ?inset="${this.common || this.inset}">
16431
+ <div class="slotContent">
16432
+ <slot @slotchange="${this.handleDefaultSlot}"></slot>
16433
+ </div>
16192
16434
  </${this.dropdownBibTag}>
16193
16435
  </div>
16194
16436
  `;
@@ -16200,6 +16442,7 @@ class AuroDropdown extends AuroElement$2 {
16200
16442
  * @returns {html} - Returns HTML for the classic layout.
16201
16443
  */
16202
16444
  renderLayoutClassic() {
16445
+
16203
16446
  return html$1`
16204
16447
  <div>
16205
16448
  <div
@@ -16237,9 +16480,10 @@ class AuroDropdown extends AuroElement$2 {
16237
16480
  </div>
16238
16481
  ` : undefined }
16239
16482
  </div>
16240
- <div class="slotContent">
16241
- <slot @slotchange="${this.handleDefaultSlot}"></slot>
16242
- </div>
16483
+ <${this.helpTextTag} part="helpText" ?onDark=${this.onDark} ?error="${this.error}">
16484
+ <slot name="helpText"></slot>
16485
+ </${this.helpTextTag}>
16486
+
16243
16487
  <div id="bibSizer" part="size"></div>
16244
16488
  <${this.dropdownBibTag}
16245
16489
  id="bib"
@@ -16249,6 +16493,9 @@ class AuroDropdown extends AuroElement$2 {
16249
16493
  ?rounded="${this.common || this.rounded}"
16250
16494
  ?inset="${this.common || this.inset}"
16251
16495
  >
16496
+ <div class="slotContent">
16497
+ <slot @slotchange="${this.handleDefaultSlot}"></slot>
16498
+ </div>
16252
16499
  </${this.dropdownBibTag}>
16253
16500
  </div>
16254
16501
  `;
@@ -16318,15 +16565,19 @@ class AuroDropdown extends AuroElement$2 {
16318
16565
 
16319
16566
  var dropdownVersion = '3.0.0';
16320
16567
 
16321
- var shapeSizeCss = css`.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:0;min-height:60px;max-height:60px;background-color:unset}.shape-box-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xl.simple{border-width:0;min-height:72px;max-height:72px;background-color:unset}.shape-rounded-lg{min-height:52px;max-height:52px;border-style:solid;border-width:2px;border-color:transparent;border-radius:6px}.shape-rounded-lg.simple{border-width:0;min-height:72px;max-height:72px;background-color:unset}.shape-pill-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:34px}.shape-pill-xl.simple{border-width:0;min-height:72px;max-height:72px;background-color:unset}.shape-pill-left-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:34px 0 0 34px}.shape-pill-left-xl.simple{border-width:0;min-height:72px;max-height:72px;background-color:unset}.shape-pill-right-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 34px 34px 0}.shape-pill-right-xl.simple{border-width:0;min-height:72px;max-height:72px;background-color:unset}.shape-pill-md{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:34px}.shape-pill-md.simple{border-width:0;min-height:72px;max-height:72px;background-color:unset}.shape-pill-left-md{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:34px 0 0 34px}.shape-pill-left-md.simple{border-width:0;min-height:72px;max-height:72px;background-color:unset}.shape-pill-right-md{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 34px 34px 0}.shape-pill-right-md.simple{border-width:0;min-height:72px;max-height:72px;background-color:unset}`;
16568
+ 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}`;
16322
16569
 
16323
16570
  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}`;
16324
16571
 
16325
16572
  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}`;
16326
16573
 
16327
- 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)}`;
16574
+ 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-advanced-color-state-error-inverse, #f9a4a8)}`;
16328
16575
 
16329
- 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)}: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)}`;
16576
+ 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}`;
16577
+
16578
+ 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}`;
16579
+
16580
+ 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)}`;
16330
16581
 
16331
16582
  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}`;
16332
16583
 
@@ -20353,9 +20604,10 @@ class DateFormatter {
20353
20604
  /**
20354
20605
  * Convert a date object to string format.
20355
20606
  * @param {Object} date - Date to convert to string.
20356
- * @returns {Object} Returns the date as a string.
20607
+ * @param {String} locale - Optional locale to use for the date string. Defaults to user's locale.
20608
+ * @returns {String} Returns the date as a string.
20357
20609
  */
20358
- this.getDateAsString = (date) => date.toLocaleDateString(undefined, {
20610
+ this.getDateAsString = (date, locale = undefined) => date.toLocaleDateString(locale, {
20359
20611
  year: "numeric",
20360
20612
  month: "2-digit",
20361
20613
  day: "2-digit",
@@ -20547,7 +20799,7 @@ class AuroDateUtilities extends AuroDateUtilitiesBase {
20547
20799
  const dateObj = new Date(this.getFourDigitYear(dateParts.year), dateParts.month - 1, dateParts.day || 1);
20548
20800
 
20549
20801
  // Get the date string of the date object we created from the string date
20550
- const actualDateStr = dateFormatter.getDateAsString(dateObj);
20802
+ const actualDateStr = dateFormatter.getDateAsString(dateObj, "en-US");
20551
20803
 
20552
20804
  // Guard Clause: Generated date matches date string input
20553
20805
  if (expectedDateStr !== actualDateStr) {
@@ -20712,7 +20964,7 @@ const {
20712
20964
 
20713
20965
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
20714
20966
 
20715
- let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
20967
+ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
20716
20968
 
20717
20969
  /* eslint-disable jsdoc/require-param */
20718
20970
 
@@ -20782,7 +21034,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
20782
21034
  class AuroFormValidation {
20783
21035
 
20784
21036
  constructor() {
20785
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
21037
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
20786
21038
  }
20787
21039
 
20788
21040
  /**
@@ -21272,9 +21524,9 @@ class BaseInput extends AuroElement$1 {
21272
21524
  this.required = false;
21273
21525
  this.setCustomValidityForType = undefined;
21274
21526
 
21275
- this.layout = 'default';
21276
- this.shape = 'rounded';
21277
- this.size = 'xl';
21527
+ this.layout = 'classic';
21528
+ this.shape = 'classic';
21529
+ this.size = 'lg';
21278
21530
  }
21279
21531
 
21280
21532
  /**
@@ -21662,8 +21914,8 @@ class BaseInput extends AuroElement$1 {
21662
21914
  },
21663
21915
 
21664
21916
  /**
21917
+ * The id for input node.
21665
21918
  * @private
21666
- * id for input node
21667
21919
  */
21668
21920
  inputId: {
21669
21921
  type: String,
@@ -22343,7 +22595,7 @@ class AuroDependencyVersioning {
22343
22595
  * @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
22344
22596
  */
22345
22597
 
22346
- class AuroElement extends LitElement {
22598
+ let AuroElement$2 = class AuroElement extends LitElement {
22347
22599
 
22348
22600
  // function to define props used within the scope of this component
22349
22601
  static get properties() {
@@ -22367,7 +22619,7 @@ class AuroElement extends LitElement {
22367
22619
 
22368
22620
  return 'false'
22369
22621
  }
22370
- }
22622
+ };
22371
22623
 
22372
22624
  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>"};
22373
22625
 
@@ -22411,7 +22663,7 @@ var styleCss$3 = css`:focus:not(:focus-visible){outline:3px solid transparent}.u
22411
22663
  */
22412
22664
 
22413
22665
  // build the component class
22414
- class BaseIcon extends AuroElement {
22666
+ class BaseIcon extends AuroElement$2 {
22415
22667
  constructor() {
22416
22668
  super();
22417
22669
  this.onDark = false;
@@ -22487,26 +22739,96 @@ var tokensCss$3 = css`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-d
22487
22739
 
22488
22740
  var colorCss$3 = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]){--ds-auro-icon-color:var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]){--ds-auro-icon-color:var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]){--ds-auro-icon-color:var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]){--ds-auro-icon-color:var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]){--ds-auro-icon-color:var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]){--ds-auro-icon-color:var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]){--ds-auro-icon-color:var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]){--ds-auro-icon-color:var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][variant=statusError]){--ds-auro-icon-color:var(--ds-advanced-color-state-error-inverse, #f9a4a8)}`;
22489
22741
 
22490
- // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
22742
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
22491
22743
  // See LICENSE in the project root for license information.
22492
22744
 
22745
+ // ---------------------------------------------------------------------
22493
22746
 
22494
- class AuroIcon extends BaseIcon {
22495
- constructor() {
22496
- super();
22747
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
22497
22748
 
22498
- this.variant = undefined;
22499
- this.privateDefaults();
22500
- }
22749
+ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
22750
+
22751
+ /* eslint-disable jsdoc/require-param */
22501
22752
 
22502
22753
  /**
22503
- * Internal Defaults.
22504
- * @private
22754
+ * This will register a new custom element with the browser.
22755
+ * @param {String} name - The name of the custom element.
22756
+ * @param {Object} componentClass - The class to register as a custom element.
22505
22757
  * @returns {void}
22506
22758
  */
22507
- privateDefaults() {
22508
- this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
22509
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
22759
+ registerComponent(name, componentClass) {
22760
+ if (!customElements.get(name)) {
22761
+ customElements.define(name, class extends componentClass {});
22762
+ }
22763
+ }
22764
+
22765
+ /**
22766
+ * Finds and returns the closest HTML Element based on a selector.
22767
+ * @returns {void}
22768
+ */
22769
+ closestElement(
22770
+ selector, // selector like in .closest()
22771
+ base = this, // extra functionality to skip a parent
22772
+ __Closest = (el, found = el && el.closest(selector)) =>
22773
+ !el || el === document || el === window
22774
+ ? null // standard .closest() returns null for non-found selectors also
22775
+ : found
22776
+ ? found // found a selector INside this element
22777
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
22778
+ ) {
22779
+ return __Closest(base);
22780
+ }
22781
+ /* eslint-enable jsdoc/require-param */
22782
+
22783
+ /**
22784
+ * 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.
22785
+ * @param {Object} elem - The element to check.
22786
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
22787
+ * @returns {void}
22788
+ */
22789
+ handleComponentTagRename(elem, tagName) {
22790
+ const tag = tagName.toLowerCase();
22791
+ const elemTag = elem.tagName.toLowerCase();
22792
+
22793
+ if (elemTag !== tag) {
22794
+ elem.setAttribute(tag, true);
22795
+ }
22796
+ }
22797
+
22798
+ /**
22799
+ * Validates if an element is a specific Auro component.
22800
+ * @param {Object} elem - The element to validate.
22801
+ * @param {String} tagName - The name of the Auro component to check against.
22802
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
22803
+ */
22804
+ elementMatch(elem, tagName) {
22805
+ const tag = tagName.toLowerCase();
22806
+ const elemTag = elem.tagName.toLowerCase();
22807
+
22808
+ return elemTag === tag || elem.hasAttribute(tag);
22809
+ }
22810
+ };
22811
+
22812
+ // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
22813
+ // See LICENSE in the project root for license information.
22814
+
22815
+
22816
+ class AuroIcon extends BaseIcon {
22817
+ constructor() {
22818
+ super();
22819
+
22820
+ this.variant = undefined;
22821
+ this.privateDefaults();
22822
+ }
22823
+
22824
+ /**
22825
+ * Internal Defaults.
22826
+ * @private
22827
+ * @returns {void}
22828
+ */
22829
+ privateDefaults() {
22830
+ this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
22831
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
22510
22832
  }
22511
22833
 
22512
22834
  // function to define props used within the scope of this component
@@ -22694,7 +23016,7 @@ class AuroLoader extends LitElement {
22694
23016
  /**
22695
23017
  * @private
22696
23018
  */
22697
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
23019
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
22698
23020
 
22699
23021
  this.orbit = false;
22700
23022
  this.ringworm = false;
@@ -22757,7 +23079,7 @@ class AuroLoader extends LitElement {
22757
23079
  *
22758
23080
  */
22759
23081
  static register(name = "auro-loader") {
22760
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroLoader);
23082
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroLoader);
22761
23083
  }
22762
23084
 
22763
23085
  firstUpdated() {
@@ -23061,7 +23383,7 @@ class AuroButton extends LitElement {
23061
23383
  *
23062
23384
  */
23063
23385
  static register(name = "auro-button") {
23064
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroButton);
23386
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroButton);
23065
23387
  }
23066
23388
 
23067
23389
  /**
@@ -23399,6 +23721,8 @@ class AuroInput extends BaseInput {
23399
23721
 
23400
23722
  static get styles() {
23401
23723
  return [
23724
+ css`${classicStyleCss}`,
23725
+ css`${classicColorCss}`,
23402
23726
  css`${shapeSizeCss}`,
23403
23727
  css`${colorBaseCss}`,
23404
23728
  css`${styleCss$4}`,
@@ -23425,7 +23749,7 @@ class AuroInput extends BaseInput {
23425
23749
  /**
23426
23750
  * Returns classmap configuration for html5 inputs in all layouts.
23427
23751
  * @private
23428
- * @returns {void}
23752
+ * @returns {object} - Returns classmap.
23429
23753
  */
23430
23754
  get commonInputClasses() {
23431
23755
  return {
@@ -23433,6 +23757,23 @@ class AuroInput extends BaseInput {
23433
23757
  };
23434
23758
  }
23435
23759
 
23760
+ /**
23761
+ * Returns classmap configuration for html5 inputs in each layout.
23762
+ * @private
23763
+ * @returns {object} - Returns classmap.
23764
+ */
23765
+ get legacyInputClasses() {
23766
+ return {
23767
+ ...this.commonInputClasses,
23768
+ 'util_displayHiddenVisually': !this.hasFocus && !this.value
23769
+ };
23770
+ }
23771
+
23772
+ /**
23773
+ * Returns classmap configuration for wrapper elements in each layout.
23774
+ * @private
23775
+ * @returns {object} - Returns classmap.
23776
+ */
23436
23777
  get commonWrapperClasses() {
23437
23778
  return {
23438
23779
  'wrapper': true,
@@ -23441,6 +23782,11 @@ class AuroInput extends BaseInput {
23441
23782
  };
23442
23783
  }
23443
23784
 
23785
+ /**
23786
+ * Returns classmap configuration for helpText elements in each layout.
23787
+ * @private
23788
+ * @returns {object} - Returns classmap.
23789
+ */
23444
23790
  get helpTextClasses() {
23445
23791
  return {
23446
23792
  'helpTextWrapper': true,
@@ -23458,7 +23804,7 @@ class AuroInput extends BaseInput {
23458
23804
  *
23459
23805
  */
23460
23806
  static register(name = "auro-input") {
23461
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroInput);
23807
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroInput);
23462
23808
  }
23463
23809
 
23464
23810
  /**
@@ -23514,16 +23860,22 @@ class AuroInput extends BaseInput {
23514
23860
  /**
23515
23861
  * Returns HTML for the HTML5 input element.
23516
23862
  * @private
23863
+ * @param {boolean} [useLegacyHiddenState=false] - If true, the input will be visually hidden when not focused and has no value.
23517
23864
  * @returns {html} - Returns HTML for the HTML5 input element.
23518
23865
  */
23519
- renderHtmlInput() {
23866
+ renderHtmlInput(useLegacyHiddenState = false) {
23520
23867
  const displayValueClasses = {
23521
23868
  'displayValue': true,
23522
23869
  'hasContent': this.hasDisplayValueContent,
23523
23870
  'hasFocus': this.hasFocus,
23524
- 'withValue': this.value && this.value.length > 0
23871
+ 'withValue': this.value && this.value.length > 0,
23525
23872
  };
23526
23873
 
23874
+ // Remove this when the classic layout is sunset.
23875
+ const inputOverrideClasses = useLegacyHiddenState
23876
+ ? this.legacyInputClasses
23877
+ : this.commonInputClasses;
23878
+
23527
23879
  return html$1`
23528
23880
  <label for=${this.id} class="${classMap(this.commonLabelClasses)}" part="label">
23529
23881
  <slot name="label">
@@ -23544,6 +23896,7 @@ class AuroInput extends BaseInput {
23544
23896
  autocapitalize="${ifDefined(this.autocapitalize ? this.autocapitalize : undefined)}"
23545
23897
  autocomplete="${ifDefined(this.autocomplete ? this.autocomplete : undefined)}"
23546
23898
  autocorrect="${ifDefined(this.autocorrect ? this.autocorrect : undefined)}"
23899
+ class="${classMap(inputOverrideClasses)}"
23547
23900
  id="${this.inputId}"
23548
23901
  inputMode="${ifDefined(this.inputMode ? this.inputMode : undefined)}"
23549
23902
  lang="${ifDefined(this.lang)}"
@@ -23687,139 +24040,34 @@ class AuroInput extends BaseInput {
23687
24040
  }
23688
24041
 
23689
24042
  /**
23690
- * Returns HTML for the default layout.
24043
+ * Returns HTML for the classic layout.
23691
24044
  * @private
23692
- * @returns {html} - Returns HTML for the default layout.
24045
+ * @returns {import("lit").TemplateResult} - Returns HTML for the classic layout.
23693
24046
  */
23694
24047
  renderLayoutClassic() {
23695
- const wrapperClasses = {
23696
- 'layoutDefault': true
23697
- };
23698
-
23699
- // is-disabled class - THIS IS ONLY HERE TO MAKE A TEST PASS AS FAR AS I CAN TELL
23700
- const labelClasses = {
23701
- 'is-disabled': this.disabled,
23702
- 'withIcon': this.hasTypeIcon(),
23703
- 'withValue': this.value && this.value.length > 0
23704
- };
23705
-
23706
24048
  return html$1`
23707
- <div class="${classMap(wrapperClasses)}" part="wrapper">
23708
- <div class="main">
23709
- <div class="typeIcon">
23710
- ${this.type === 'credit-card' ? this.processCreditCard() : undefined}
23711
-
23712
- <!-- The repeat() method is used below in order to force auro-icon to re-render when the name value is updated.
23713
- This should be cleaned up when auro-icon issue #31 is resolved. -->
23714
- ${this.inputIconName
23715
- ? repeat([this.inputIconName], (val) => val, (name) => html$1`
23716
- <${this.iconTag}
23717
- class="accentIcon"
23718
- category="payment"
23719
- name="${name}"
23720
- part="accentIcon"
23721
- ?onDark="${this.onDark}"
23722
- variant="${this.disabled ? 'disabled' : 'muted'}">
23723
- </${this.iconTag}>
23724
- `) : undefined
23725
- }
23726
-
23727
- ${this.type === 'date'
23728
- ? html$1`
23729
- <${this.iconTag}
23730
- class="accentIcon"
23731
- category="interface"
23732
- name="calendar"
23733
- part="accentIcon"
23734
- ?onDark="${this.onDark}"
23735
- variant="${this.disabled ? 'disabled' : 'muted'}">
23736
- </${this.iconTag}>`
23737
- : undefined
23738
- }
23739
- </div>
23740
- <label for=${this.id} class="${classMap(labelClasses)}" part="label">
23741
- <slot name="label">
23742
- ${this.label}
23743
- </slot>
23744
- ${this.required ? '' : ` (${i18n(this.lang, 'optional')})`}
23745
- </label>
23746
-
23747
- ${this.renderHtmlInput()}
24049
+ <div
24050
+ @click="${this.handleClick}"
24051
+ class="${classMap(this.commonWrapperClasses)} thin"
24052
+ part="wrapper">
24053
+ <div class="accents left">
24054
+ ${this.renderHtmlTypeIcon()}
23748
24055
  </div>
23749
- <div
23750
- class="notificationIcons"
23751
- part="notificationIcons"
23752
- ?hasValue="${this.hasValue}">
23753
- ${this.validity && this.validity !== 'valid' ? html$1`
23754
- <div class="notification alertNotification">
23755
- <${this.iconTag}
23756
- category="alert"
23757
- customColor
23758
- name="error-stroke"
23759
- </${this.iconTag}>
23760
- </div>
23761
- ` : undefined}
24056
+ <div class="mainContent">
24057
+ ${this.renderHtmlInput(true)}
24058
+ </div>
24059
+ <div class="accents right">
24060
+ ${this.renderValidationErrorIconHtml()}
23762
24061
  ${this.hasValue ? html$1`
23763
- ${this.type === 'password' ? html$1`
23764
- <div class="notification">
23765
- <${this.buttonTag}
23766
- @click="${this.handleClickShowPassword}"
23767
- ?onDark="${this.onDark}"
23768
- aria-hidden="true"
23769
- class="notificationBtn passwordBtn"
23770
- tabindex="-1"
23771
- variant="flat">
23772
- <${this.iconTag}
23773
- ?hidden=${!this.showPassword}
23774
- category="interface"
23775
- customColor
23776
- name="hide-password-stroke">
23777
- </${this.iconTag}>
23778
- <${this.iconTag}
23779
- ?hidden=${this.showPassword}
23780
- category="interface"
23781
- customColor
23782
- name="view-password-stroke">
23783
- </${this.iconTag}>
23784
- </${this.buttonTag}>
23785
- </div>
23786
- ` : undefined}
23787
24062
  ${!this.disabled && !this.readonly ? html$1`
23788
- <div class="notification">
23789
- <${this.buttonTag}
23790
- @click="${this.handleClickClear}"
23791
- ?onDark="${this.onDark}"
23792
- arialabel="${i18n(this.lang, 'clearInput')}"
23793
- class="notificationBtn clearBtn"
23794
- variant="flat">
23795
- <${this.iconTag}
23796
- category="interface"
23797
- customColor
23798
- name="x-lg">
23799
- </${this.iconTag}>
23800
- </${this.buttonTag}>
23801
- </div>
24063
+ ${this.renderHtmlActionClear()}
23802
24064
  ` : undefined}
23803
24065
  ` : undefined}
23804
24066
  </div>
23805
24067
  </div>
23806
- <!-- Help text and error message template -->
23807
- ${!this.validity || this.validity === undefined || this.validity === 'valid'
23808
- ? html$1`
23809
- <${this.helpTextTag} ?onDark="${this.onDark}">
23810
- <p id="${this.uniqueId}" part="helpText">
23811
- <slot name="helptext">${this.getHelpText()}</slot>
23812
- </p>
23813
- </${this.helpTextTag}>
23814
- `
23815
- : html$1`
23816
- <${this.helpTextTag} error ?onDark="${this.onDark}">
23817
- <p id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
23818
- ${this.errorMessage}
23819
- </p>
23820
- </${this.helpTextTag}>
23821
- `
23822
- }
24068
+ <div class="helpTextWrapper leftIndent rightIndent" part="inputHelpText">
24069
+ ${this.renderHtmlHelpText()}
24070
+ </div>
23823
24071
  `;
23824
24072
  }
23825
24073
 
@@ -23921,6 +24169,98 @@ class AuroInput extends BaseInput {
23921
24169
 
23922
24170
  var inputVersion = '4.2.0';
23923
24171
 
24172
+ class AuroElement extends LitElement {
24173
+ static get properties() {
24174
+ return {
24175
+
24176
+ /**
24177
+ * Defines the language of an element.
24178
+ * @default {'default'}
24179
+ */
24180
+ layout: {
24181
+ type: String,
24182
+ attribute: "layout",
24183
+ reflect: true
24184
+ },
24185
+
24186
+ shape: {
24187
+ type: String,
24188
+ attribute: "shape",
24189
+ reflect: true
24190
+ },
24191
+
24192
+ size: {
24193
+ type: String,
24194
+ attribute: "size",
24195
+ reflect: true
24196
+ },
24197
+
24198
+ onDark: {
24199
+ type: Boolean,
24200
+ attribute: "ondark",
24201
+ reflect: true
24202
+ }
24203
+ };
24204
+ }
24205
+
24206
+ resetShapeClasses() {
24207
+ if (this.shape && this.size) {
24208
+ const wrapper = this.shadowRoot.querySelector('.wrapper');
24209
+
24210
+ if (wrapper) {
24211
+ wrapper.classList.forEach((className) => {
24212
+ if (className.startsWith('shape-')) {
24213
+ wrapper.classList.remove(className);
24214
+ }
24215
+ });
24216
+
24217
+ wrapper.classList.add(`shape-${this.shape.toLowerCase()}-${this.size.toLowerCase()}`);
24218
+ }
24219
+ }
24220
+ }
24221
+
24222
+ resetLayoutClasses() {
24223
+ if (this.layout) {
24224
+ const wrapper = this.shadowRoot.querySelector('.wrapper');
24225
+
24226
+ if (wrapper) {
24227
+ wrapper.classList.forEach((className) => {
24228
+ if (className.startsWith('layout-')) {
24229
+ wrapper.classList.remove(className);
24230
+ }
24231
+ });
24232
+
24233
+ wrapper.classList.add(`layout-${this.layout.toLowerCase()}`);
24234
+ }
24235
+ }
24236
+ }
24237
+
24238
+ updateComponentArchitecture() {
24239
+ this.resetLayoutClasses();
24240
+ this.resetShapeClasses();
24241
+ }
24242
+
24243
+ updated(changedProperties) {
24244
+ if (changedProperties.has('layout') || changedProperties.has('shape') || changedProperties.has('size')) {
24245
+ this.updateComponentArchitecture();
24246
+ }
24247
+ }
24248
+
24249
+ // Try to render the defined `this.layout` layout. If that fails, fall back to the default layout.
24250
+ // This will catch if an invalid layout value is passed in and render the default layout if so.
24251
+ render() {
24252
+ try {
24253
+ return this.renderLayout();
24254
+ } catch (error) {
24255
+ // failed to get the defined layout
24256
+ console.error('Failed to get the defined layout - using the default layout', error); // eslint-disable-line no-console
24257
+
24258
+ // fallback to the default layout
24259
+ return this.getLayout('default');
24260
+ }
24261
+ }
24262
+ }
24263
+
23924
24264
  // Copyright (c) 2022 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
23925
24265
  // See LICENSE in the project root for license information.
23926
24266
 
@@ -23949,7 +24289,7 @@ var inputVersion = '4.2.0';
23949
24289
  */
23950
24290
 
23951
24291
  // build the component class
23952
- class AuroDatePicker extends LitElement {
24292
+ class AuroDatePicker extends AuroElement {
23953
24293
  constructor() {
23954
24294
  super();
23955
24295
 
@@ -24024,7 +24364,7 @@ class AuroDatePicker extends LitElement {
24024
24364
  /**
24025
24365
  * @private
24026
24366
  */
24027
- this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
24367
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$5();
24028
24368
 
24029
24369
  /**
24030
24370
  * @private
@@ -24050,6 +24390,11 @@ class AuroDatePicker extends LitElement {
24050
24390
  * @private
24051
24391
  */
24052
24392
  this.monthFirst = undefined;
24393
+
24394
+ // Layout Config
24395
+ this.layout = 'classic';
24396
+ this.shape = 'classic';
24397
+ this.size = 'lg';
24053
24398
  }
24054
24399
 
24055
24400
  // This function is to define props used within the scope of this component
@@ -24330,7 +24675,10 @@ class AuroDatePicker extends LitElement {
24330
24675
  return [
24331
24676
  styleCss$d,
24332
24677
  colorCss$c,
24333
- tokensCss$a
24678
+ tokensCss$a,
24679
+
24680
+ // layouts
24681
+ classicLayoutColor
24334
24682
  ];
24335
24683
  }
24336
24684
 
@@ -24343,7 +24691,7 @@ class AuroDatePicker extends LitElement {
24343
24691
  *
24344
24692
  */
24345
24693
  static register(name = "auro-datepicker") {
24346
- AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroDatePicker);
24694
+ AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroDatePicker);
24347
24695
  }
24348
24696
 
24349
24697
  /**
@@ -24515,7 +24863,7 @@ class AuroDatePicker extends LitElement {
24515
24863
  * @returns {void}
24516
24864
  */
24517
24865
  configureInput() {
24518
- this.triggerInput = this.dropdown.querySelector('[slot="trigger"');
24866
+ this.triggerInput = this.dropdown.querySelector('[slot="trigger"]');
24519
24867
 
24520
24868
  this.inputList = [...this.dropdown.querySelectorAll(this.inputTag._$litStatic$)];
24521
24869
 
@@ -24956,70 +25304,152 @@ class AuroDatePicker extends LitElement {
24956
25304
  this.monthFirst = this.format.indexOf('mm') < this.format.indexOf('yyyy');
24957
25305
  }
24958
25306
 
25307
+ // layout render methods
25308
+ // ------------------------------------
25309
+
25310
+ /**
25311
+ * Base wrapper for the datepicker layout - every layout follows this same structure
25312
+ * with minor variations in DOM structure.
25313
+ * @param {import("lit").TemplateResult} content - The content to be rendered inside the base layout.
25314
+ * @return {import("lit").TemplateResult}
25315
+ * @private
25316
+ */
25317
+ _renderBaseLayout(content) {
25318
+ return html$1`
25319
+ <div
25320
+ part="wrapper">
25321
+ <div class="accents left">
25322
+ calendar icon
25323
+ </div>
25324
+ <div class="mainContent">
25325
+ ${content}
25326
+ </div>
25327
+ <div class="accents right">
25328
+ error and/or close icon here :)
25329
+ </div>
25330
+ </div>
25331
+ <div class="helpTextWrapper leftIndent rightIndent" part="inputHelpText">
25332
+ help text here (see combobox for example)
25333
+ </div>
25334
+ `;
25335
+ }
25336
+
25337
+ /**
25338
+ * Renders the emphasized layout for the datepicker.
25339
+ * @private
25340
+ * @return {import("lit").TemplateResult}
25341
+ */
25342
+ renderEmphasizedLayout() {
25343
+ return html$1`
25344
+ <div
25345
+ part="wrapper">
25346
+ <div class="accents left">
25347
+ calendar icon
25348
+ </div>
25349
+ <div class="mainContent">
25350
+ ${this.renderTempInputs()}
25351
+ </div>
25352
+ <div class="accents right">
25353
+ error and/or close icon here :)
25354
+ </div>
25355
+ </div>
25356
+ <div class="helpTextWrapper leftIndent rightIndent" part="inputHelpText">
25357
+ help text here (see combobox for example)
25358
+ </div>
25359
+ `;
25360
+ }
25361
+
25362
+ renderLayoutFromAttributes() {
25363
+ switch (this.layout) {
25364
+ case 'emphasized':
25365
+ return this.renderEmphasizedLayout();
25366
+ default:
25367
+ // TODO: remove when all base layouts are implemented and instead return classic
25368
+ return html$1`
25369
+ <p>Please implement layout "${this.layout}" for datepicker</p>
25370
+ `;
25371
+ }
25372
+ }
25373
+
25374
+ renderTempInputs() {
25375
+ return html$1`
25376
+ <${this.inputTag}
25377
+ id="${this.generateRandomString(12)}"
25378
+ bordered
25379
+ class="dateFrom"
25380
+ ?onDark="${this.onDark}"
25381
+ ?required="${this.required}"
25382
+ noValidate
25383
+ type="date"
25384
+ .format="${this.format}"
25385
+ .max="${this.maxDate}"
25386
+ .min="${this.minDate}"
25387
+ setCustomValidity="${this.setCustomValidity}"
25388
+ setCustomValidityCustomError="${this.setCustomValidityCustomError}"
25389
+ setCustomValidityValueMissing="${this.setCustomValidityValueMissing}"
25390
+ setCustomValidityRangeOverflow="${this.setCustomValidityRangeOverflow}"
25391
+ setCustomValidityRangeUnderflow="${this.setCustomValidityRangeUnderflow}"
25392
+ ?disabled="${this.disabled}"
25393
+ inputmode="${ifDefined(this.inputmode)}"
25394
+ part="input">
25395
+ <span slot="label"><slot name="fromLabel"></slot></span>
25396
+ </${this.inputTag}>
25397
+ ${this.range ? html$1`
25398
+ <${this.inputTag}
25399
+ id="${this.generateRandomString(12)}"
25400
+ bordered
25401
+ class="dateTo"
25402
+ ?onDark="${this.onDark}"
25403
+ ?required="${this.required}"
25404
+ noValidate
25405
+ type="date"
25406
+ .format="${this.format}"
25407
+ .max="${this.maxDate}"
25408
+ .min="${this.minDate}"
25409
+ setCustomValidity="${this.setCustomValidity}"
25410
+ setCustomValidityCustomError="${this.setCustomValidityCustomError}"
25411
+ setCustomValidityValueMissing="${this.setCustomValidityValueMissing}"
25412
+ setCustomValidityRangeOverflow="${this.setCustomValidityRangeOverflow}"
25413
+ setCustomValidityRangeUnderflow="${this.setCustomValidityRangeUnderflow}"
25414
+ ?disabled="${this.disabled}"
25415
+ part="input">
25416
+ <span slot="label"><slot name="toLabel"></slot></span>
25417
+ </${this.inputTag}>
25418
+ ` : undefined}`;
25419
+ }
25420
+
25421
+ // ------------------------------------
25422
+ // end of layout render methods
25423
+
24959
25424
  // function that renders the HTML and CSS into the scope of the component
24960
25425
  render() {
25426
+ // Base HTML render() handles dropdown and calendar bib
24961
25427
  return html$1`
24962
- <div class="outerWrapper">
25428
+ <div>
24963
25429
  <${this.dropdownTag}
24964
- for="dropdownMenu"
24965
- fluid
24966
- bordered
24967
- rounded
25430
+ ?autoPlacement="${this.autoPlacement}"
24968
25431
  ?onDark="${this.onDark}"
24969
25432
  ?disabled="${this.disabled}"
24970
25433
  ?error="${this.validity !== undefined && this.validity !== 'valid'}"
24971
- disableEventShow
25434
+ ?noFlip="${this.noFlip}"
24972
25435
  .fullscreenBreakpoint="${this.fullscreenBreakpoint}"
24973
- .placement="${this.placement}"
25436
+ .layout="${this.layout}"
24974
25437
  .offset="${this.offset}"
24975
- ?autoPlacement="${this.autoPlacement}"
24976
- ?noFlip="${this.noFlip}"
24977
- part="dropdown">
25438
+ .placement="${this.placement}"
25439
+ .shape="${this.shape}"
25440
+ .size="${this.size}"
25441
+ bordered
25442
+ disableEventShow
25443
+ fluid
25444
+ for="dropdownMenu"
25445
+ part="dropdown"
25446
+ rounded
25447
+ simple
25448
+ >
24978
25449
  <div slot="trigger" class="dpTriggerContent" part="trigger">
24979
- <${this.inputTag}
24980
- id="${this.generateRandomString(12)}"
24981
- bordered
24982
- class="dateFrom"
24983
- ?onDark="${this.onDark}"
24984
- ?required="${this.required}"
24985
- noValidate
24986
- type="date"
24987
- .format="${this.format}"
24988
- .max="${this.maxDate}"
24989
- .min="${this.minDate}"
24990
- setCustomValidity="${this.setCustomValidity}"
24991
- setCustomValidityCustomError="${this.setCustomValidityCustomError}"
24992
- setCustomValidityValueMissing="${this.setCustomValidityValueMissing}"
24993
- setCustomValidityRangeOverflow="${this.setCustomValidityRangeOverflow}"
24994
- setCustomValidityRangeUnderflow="${this.setCustomValidityRangeUnderflow}"
24995
- ?disabled="${this.disabled}"
24996
- inputmode="${ifDefined(this.inputmode)}"
24997
- part="input">
24998
- <span slot="label"><slot name="fromLabel"></slot></span>
24999
- </${this.inputTag}>
25000
- ${this.range ? html$1`
25001
- <${this.inputTag}
25002
- id="${this.generateRandomString(12)}"
25003
- bordered
25004
- class="dateTo"
25005
- ?onDark="${this.onDark}"
25006
- ?required="${this.required}"
25007
- noValidate
25008
- type="date"
25009
- .format="${this.format}"
25010
- .max="${this.maxDate}"
25011
- .min="${this.minDate}"
25012
- setCustomValidity="${this.setCustomValidity}"
25013
- setCustomValidityCustomError="${this.setCustomValidityCustomError}"
25014
- setCustomValidityValueMissing="${this.setCustomValidityValueMissing}"
25015
- setCustomValidityRangeOverflow="${this.setCustomValidityRangeOverflow}"
25016
- setCustomValidityRangeUnderflow="${this.setCustomValidityRangeUnderflow}"
25017
- ?disabled="${this.disabled}"
25018
- part="input">
25019
- <span slot="label"><slot name="toLabel"></slot></span>
25020
- </${this.inputTag}>
25021
- ` : undefined}
25450
+ ${this.renderLayoutFromAttributes()}
25022
25451
  </div>
25452
+
25023
25453
  <div class="calendarWrapper" part="calendarWrapper">
25024
25454
  <auro-formkit-calendar
25025
25455
  ?largeFullscreenHeadline="${this.largeFullscreenHeadline}"