@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
@@ -51,7 +51,7 @@ let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
51
51
 
52
52
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
53
53
 
54
- let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
54
+ let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
55
55
 
56
56
  /* eslint-disable jsdoc/require-param */
57
57
 
@@ -170,9 +170,10 @@ let DateFormatter$1 = class DateFormatter {
170
170
  /**
171
171
  * Convert a date object to string format.
172
172
  * @param {Object} date - Date to convert to string.
173
- * @returns {Object} Returns the date as a string.
173
+ * @param {String} locale - Optional locale to use for the date string. Defaults to user's locale.
174
+ * @returns {String} Returns the date as a string.
174
175
  */
175
- this.getDateAsString = (date) => date.toLocaleDateString(undefined, {
176
+ this.getDateAsString = (date, locale = undefined) => date.toLocaleDateString(locale, {
176
177
  year: "numeric",
177
178
  month: "2-digit",
178
179
  day: "2-digit",
@@ -364,7 +365,7 @@ let AuroDateUtilities$1 = class AuroDateUtilities extends AuroDateUtilitiesBase$
364
365
  const dateObj = new Date(this.getFourDigitYear(dateParts.year), dateParts.month - 1, dateParts.day || 1);
365
366
 
366
367
  // Get the date string of the date object we created from the string date
367
- const actualDateStr = dateFormatter$1.getDateAsString(dateObj);
368
+ const actualDateStr = dateFormatter$1.getDateAsString(dateObj, "en-US");
368
369
 
369
370
  // Guard Clause: Generated date matches date string input
370
371
  if (expectedDateStr !== actualDateStr) {
@@ -529,7 +530,7 @@ const {
529
530
  let AuroFormValidation$1 = class AuroFormValidation {
530
531
 
531
532
  constructor() {
532
- this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
533
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$5();
533
534
  }
534
535
 
535
536
  /**
@@ -895,7 +896,7 @@ let AuroFormValidation$1 = class AuroFormValidation {
895
896
 
896
897
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
897
898
 
898
- let AuroLibraryRuntimeUtils$1$2 = class AuroLibraryRuntimeUtils {
899
+ let AuroLibraryRuntimeUtils$2$2 = class AuroLibraryRuntimeUtils {
899
900
 
900
901
  /* eslint-disable jsdoc/require-param */
901
902
 
@@ -1478,10 +1479,11 @@ const flip$1 = function (options) {
1478
1479
  const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
1479
1480
  const nextPlacement = placements[nextIndex];
1480
1481
  if (nextPlacement) {
1481
- var _overflowsData$;
1482
1482
  const ignoreCrossAxisOverflow = checkCrossAxis === 'alignment' ? initialSideAxis !== getSideAxis(nextPlacement) : false;
1483
- const hasInitialMainAxisOverflow = ((_overflowsData$ = overflowsData[0]) == null ? void 0 : _overflowsData$.overflows[0]) > 0;
1484
- if (!ignoreCrossAxisOverflow || hasInitialMainAxisOverflow) {
1483
+ if (!ignoreCrossAxisOverflow ||
1484
+ // We leave the current main axis only if every placement on that axis
1485
+ // overflows the main axis.
1486
+ overflowsData.every(d => d.overflows[0] > 0 && getSideAxis(d.placement) === initialSideAxis)) {
1485
1487
  // Try next placement and re-run the lifecycle.
1486
1488
  return {
1487
1489
  data: {
@@ -2502,8 +2504,28 @@ class AuroFloatingUI {
2502
2504
  if (!AuroFloatingUI.isMousePressHandlerInitialized && window && window.addEventListener) {
2503
2505
  AuroFloatingUI.isMousePressHandlerInitialized = true;
2504
2506
 
2507
+ // Track timeout for isMousePressed reset to avoid race conditions
2508
+ if (!AuroFloatingUI._mousePressedTimeout) {
2509
+ AuroFloatingUI._mousePressedTimeout = null;
2510
+ }
2505
2511
  const mouseEventGlobalHandler = (event) => {
2506
- AuroFloatingUI.isMousePressed = event.type === 'mousedown';
2512
+ const isPressed = event.type === 'mousedown';
2513
+ if (isPressed) {
2514
+ // Clear any pending timeout to prevent race condition
2515
+ if (AuroFloatingUI._mousePressedTimeout !== null) {
2516
+ clearTimeout(AuroFloatingUI._mousePressedTimeout);
2517
+ AuroFloatingUI._mousePressedTimeout = null;
2518
+ }
2519
+ if (!AuroFloatingUI.isMousePressed) {
2520
+ AuroFloatingUI.isMousePressed = true;
2521
+ }
2522
+ } else if (AuroFloatingUI.isMousePressed && !isPressed) {
2523
+ // Schedule reset and track timeout ID
2524
+ AuroFloatingUI._mousePressedTimeout = setTimeout(() => {
2525
+ AuroFloatingUI.isMousePressed = false;
2526
+ AuroFloatingUI._mousePressedTimeout = null;
2527
+ }, 0);
2528
+ }
2507
2529
  };
2508
2530
 
2509
2531
  window.addEventListener('mousedown', mouseEventGlobalHandler);
@@ -2630,6 +2652,7 @@ class AuroFloatingUI {
2630
2652
 
2631
2653
  // Compute the position of the bib
2632
2654
  computePosition(this.element.trigger, this.element.bib, {
2655
+ strategy: this.element.floaterConfig?.strategy || 'fixed',
2633
2656
  placement: this.element.floaterConfig?.placement,
2634
2657
  middleware: middleware || []
2635
2658
  }).then(({ x, y }) => { // eslint-disable-line id-length
@@ -2764,8 +2787,9 @@ class AuroFloatingUI {
2764
2787
  if (this.element.contains(activeElement) || this.element.bib?.contains(activeElement)) {
2765
2788
  return;
2766
2789
  }
2767
- // if fullscreen bib is still open and the focus is missing, do not close
2768
- if (this.element.bib.hasAttribute('isfullscreen') && activeElement === document.body) {
2790
+
2791
+ // if fullscreen bib is in fullscreen mode, do not close
2792
+ if (this.element.bib.hasAttribute('isfullscreen')) {
2769
2793
  return;
2770
2794
  }
2771
2795
 
@@ -3066,8 +3090,6 @@ class AuroFloatingUI {
3066
3090
  this.element.hoverToggle = this.element.floaterConfig.hoverToggle;
3067
3091
  }
3068
3092
 
3069
- document.body.append(this.element.bib);
3070
-
3071
3093
  this.regenerateBibId();
3072
3094
  this.handleTriggerTabIndex();
3073
3095
 
@@ -3210,7 +3232,7 @@ const cacheFetch$2 = (uri, options = {}) => {
3210
3232
  return _fetchMap$2.get(uri);
3211
3233
  };
3212
3234
 
3213
- var styleCss$3$2 = 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}`;
3235
+ var styleCss$2$2 = 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}`;
3214
3236
 
3215
3237
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
3216
3238
  // See LICENSE in the project root for license information.
@@ -3253,7 +3275,7 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$1$2 {
3253
3275
 
3254
3276
  static get styles() {
3255
3277
  return css`
3256
- ${styleCss$3$2}
3278
+ ${styleCss$2$2}
3257
3279
  `;
3258
3280
  }
3259
3281
 
@@ -3298,6 +3320,76 @@ var tokensCss$2$1 = css`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon
3298
3320
 
3299
3321
  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)}`;
3300
3322
 
3323
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
3324
+ // See LICENSE in the project root for license information.
3325
+
3326
+ // ---------------------------------------------------------------------
3327
+
3328
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
3329
+
3330
+ let AuroLibraryRuntimeUtils$1$2 = class AuroLibraryRuntimeUtils {
3331
+
3332
+ /* eslint-disable jsdoc/require-param */
3333
+
3334
+ /**
3335
+ * This will register a new custom element with the browser.
3336
+ * @param {String} name - The name of the custom element.
3337
+ * @param {Object} componentClass - The class to register as a custom element.
3338
+ * @returns {void}
3339
+ */
3340
+ registerComponent(name, componentClass) {
3341
+ if (!customElements.get(name)) {
3342
+ customElements.define(name, class extends componentClass {});
3343
+ }
3344
+ }
3345
+
3346
+ /**
3347
+ * Finds and returns the closest HTML Element based on a selector.
3348
+ * @returns {void}
3349
+ */
3350
+ closestElement(
3351
+ selector, // selector like in .closest()
3352
+ base = this, // extra functionality to skip a parent
3353
+ __Closest = (el, found = el && el.closest(selector)) =>
3354
+ !el || el === document || el === window
3355
+ ? null // standard .closest() returns null for non-found selectors also
3356
+ : found
3357
+ ? found // found a selector INside this element
3358
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
3359
+ ) {
3360
+ return __Closest(base);
3361
+ }
3362
+ /* eslint-enable jsdoc/require-param */
3363
+
3364
+ /**
3365
+ * 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.
3366
+ * @param {Object} elem - The element to check.
3367
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
3368
+ * @returns {void}
3369
+ */
3370
+ handleComponentTagRename(elem, tagName) {
3371
+ const tag = tagName.toLowerCase();
3372
+ const elemTag = elem.tagName.toLowerCase();
3373
+
3374
+ if (elemTag !== tag) {
3375
+ elem.setAttribute(tag, true);
3376
+ }
3377
+ }
3378
+
3379
+ /**
3380
+ * Validates if an element is a specific Auro component.
3381
+ * @param {Object} elem - The element to validate.
3382
+ * @param {String} tagName - The name of the Auro component to check against.
3383
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
3384
+ */
3385
+ elementMatch(elem, tagName) {
3386
+ const tag = tagName.toLowerCase();
3387
+ const elemTag = elem.tagName.toLowerCase();
3388
+
3389
+ return elemTag === tag || elem.hasAttribute(tag);
3390
+ }
3391
+ };
3392
+
3301
3393
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
3302
3394
  // See LICENSE in the project root for license information.
3303
3395
 
@@ -3385,7 +3477,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
3385
3477
  return [
3386
3478
  super.styles,
3387
3479
  css`${tokensCss$2$1}`,
3388
- css`${styleCss$3$2}`,
3480
+ css`${styleCss$2$2}`,
3389
3481
  css`${colorCss$3$1}`
3390
3482
  ];
3391
3483
  }
@@ -3467,7 +3559,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
3467
3559
 
3468
3560
  var iconVersion$2 = '6.1.2';
3469
3561
 
3470
- var styleCss$2$2 = 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}`;
3562
+ var styleCss$1$3 = 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}`;
3471
3563
 
3472
3564
  var colorCss$2$2 = 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)}`;
3473
3565
 
@@ -3477,7 +3569,6 @@ var tokensCss$1$2 = css`:host(:not([ondark])){--ds-auro-dropdown-label-text-colo
3477
3569
  // See LICENSE in the project root for license information.
3478
3570
 
3479
3571
 
3480
-
3481
3572
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
3482
3573
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
3483
3574
  'xl',
@@ -3502,12 +3593,12 @@ class AuroDropdownBib extends LitElement {
3502
3593
  */
3503
3594
  this._mobileBreakpointValue = undefined;
3504
3595
 
3505
- AuroLibraryRuntimeUtils$1$2.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
3596
+ AuroLibraryRuntimeUtils$2$2.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
3506
3597
  }
3507
3598
 
3508
3599
  static get styles() {
3509
3600
  return [
3510
- styleCss$2$2,
3601
+ styleCss$1$3,
3511
3602
  colorCss$2$2,
3512
3603
  tokensCss$1$2
3513
3604
  ];
@@ -3547,6 +3638,13 @@ class AuroDropdownBib extends LitElement {
3547
3638
  type: Boolean,
3548
3639
  reflect: true
3549
3640
  },
3641
+
3642
+ /**
3643
+ * A reference to the associated bib template element.
3644
+ */
3645
+ bibTemplate: {
3646
+ type: Object
3647
+ }
3550
3648
  };
3551
3649
  }
3552
3650
 
@@ -3579,9 +3677,50 @@ class AuroDropdownBib extends LitElement {
3579
3677
  }
3580
3678
  }
3581
3679
  });
3680
+
3681
+ if (this.bibTemplate) {
3682
+ // If the bib template is found, set the fullscreen attribute
3683
+ if (this.isFullscreen) {
3684
+ this.bibTemplate.setAttribute('isFullscreen', 'true');
3685
+ } else {
3686
+ this.bibTemplate.removeAttribute('isFullscreen');
3687
+ }
3688
+ }
3582
3689
  }
3583
3690
  }
3584
3691
 
3692
+ connectedCallback() {
3693
+ super.connectedCallback();
3694
+
3695
+ // Listen for the auro-bibtemplate-connected event to set the fullscreen attribute
3696
+ this.addEventListener('auro-bibtemplate-connected', (event) => {
3697
+ const bibTemplate = event.detail.element;
3698
+ this.bibTemplate = bibTemplate;
3699
+
3700
+ if (bibTemplate) {
3701
+ // If the bib template is found, set the fullscreen attribute
3702
+ if (this.isFullscreen) {
3703
+ bibTemplate.setAttribute('isFullscreen', 'true');
3704
+ } else {
3705
+ bibTemplate.removeAttribute('isFullscreen');
3706
+ }
3707
+ }
3708
+ });
3709
+ }
3710
+
3711
+ firstUpdated(changedProperties) {
3712
+ super.firstUpdated(changedProperties);
3713
+
3714
+ // Dispatch a custom event when the component is connected
3715
+ this.dispatchEvent(new CustomEvent('auro-dropdownbib-connected', {
3716
+ bubbles: true,
3717
+ composed: true,
3718
+ detail: {
3719
+ element: this
3720
+ }
3721
+ }));
3722
+ }
3723
+
3585
3724
  // function that renders the HTML and CSS into the scope of the component
3586
3725
  render() {
3587
3726
  return html`
@@ -3594,15 +3733,17 @@ class AuroDropdownBib extends LitElement {
3594
3733
 
3595
3734
  var dropdownVersion$1 = '3.0.0';
3596
3735
 
3597
- 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}`;
3598
-
3599
- var styleCss$1$3 = 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)}`;
3736
+ 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}`;
3600
3737
 
3601
3738
  var colorCss$1$2 = 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)}`;
3602
3739
 
3603
- var styleEmphasizedCss$1 = 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)}`;
3740
+ 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))}`;
3741
+
3742
+ 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)}`;
3604
3743
 
3605
- var styleSnowflakeCss$1 = 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)}`;
3744
+ var styleEmphasizedCss$1 = 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)}`;
3745
+
3746
+ var styleSnowflakeCss$1 = 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)}`;
3606
3747
 
3607
3748
  var colorCss$5 = 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)}`;
3608
3749
 
@@ -3617,7 +3758,7 @@ var tokensCss$6 = css`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
3617
3758
 
3618
3759
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
3619
3760
 
3620
- let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
3761
+ let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
3621
3762
 
3622
3763
  /* eslint-disable jsdoc/require-param */
3623
3764
 
@@ -3698,7 +3839,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
3698
3839
  this.onDark = false;
3699
3840
  this.hasTextContent = false;
3700
3841
 
3701
- AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-helptext');
3842
+ AuroLibraryRuntimeUtils$4.prototype.handleComponentTagRename(this, 'auro-helptext');
3702
3843
  }
3703
3844
 
3704
3845
  static get styles() {
@@ -3754,7 +3895,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
3754
3895
  *
3755
3896
  */
3756
3897
  static register(name = "auro-helptext") {
3757
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroHelpText);
3898
+ AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroHelpText);
3758
3899
  }
3759
3900
 
3760
3901
  updated() {
@@ -3930,12 +4071,13 @@ class AuroDropdown extends AuroElement$3 {
3930
4071
  this.matchWidth = false;
3931
4072
  this.noHideOnThisFocusLoss = false;
3932
4073
 
3933
- this.errorMessage = ''; // TODO!
4074
+ this.errorMessage = ''; // TODO - check with Doug if there is still more to do here
3934
4075
 
3935
4076
  // Layout Config
3936
- this.layout = 'default';
4077
+ this.layout = 'classic';
3937
4078
  this.shape = 'rounded';
3938
4079
  this.size = 'xl';
4080
+ this.parentBorder = false;
3939
4081
 
3940
4082
  this.privateDefaults();
3941
4083
  }
@@ -3951,7 +4093,8 @@ class AuroDropdown extends AuroElement$3 {
3951
4093
  'trigger': true,
3952
4094
  'wrapper': true,
3953
4095
  'hasFocus': this.hasFocus,
3954
- 'simple': this.simple
4096
+ 'simple': this.simple,
4097
+ 'parentBorder': this.parentBorder
3955
4098
  };
3956
4099
  }
3957
4100
 
@@ -4003,7 +4146,7 @@ class AuroDropdown extends AuroElement$3 {
4003
4146
  /**
4004
4147
  * @private
4005
4148
  */
4006
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1$2();
4149
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2$2();
4007
4150
 
4008
4151
  /**
4009
4152
  * @private
@@ -4218,6 +4361,15 @@ class AuroDropdown extends AuroElement$3 {
4218
4361
  reflect: true
4219
4362
  },
4220
4363
 
4364
+ /**
4365
+ * Defines if the trigger should size based on the parent element providing the border UI.
4366
+ * @private
4367
+ */
4368
+ parentBorder: {
4369
+ type: Boolean,
4370
+ reflect: true
4371
+ },
4372
+
4221
4373
  /**
4222
4374
  * If declared, the popover and trigger will be set to the same width.
4223
4375
  */
@@ -4320,10 +4472,18 @@ class AuroDropdown extends AuroElement$3 {
4320
4472
  static get styles() {
4321
4473
  return [
4322
4474
  colorCss$1$2,
4323
- styleCss$1$3,
4324
4475
  tokensCss$1$2,
4476
+
4477
+ // default layout
4478
+ classicColorCss$1,
4479
+ classicLayoutCss,
4480
+
4481
+ // emphasized layout
4325
4482
  styleEmphasizedCss$1,
4483
+
4484
+ // snowflake layout
4326
4485
  styleSnowflakeCss$1,
4486
+
4327
4487
  shapeSizeCss$1
4328
4488
  ];
4329
4489
  }
@@ -4337,7 +4497,7 @@ class AuroDropdown extends AuroElement$3 {
4337
4497
  *
4338
4498
  */
4339
4499
  static register(name = "auro-dropdown") {
4340
- AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroDropdown);
4500
+ AuroLibraryRuntimeUtils$2$2.prototype.registerComponent(name, AuroDropdown);
4341
4501
  }
4342
4502
 
4343
4503
  /**
@@ -4670,11 +4830,9 @@ class AuroDropdown extends AuroElement$3 {
4670
4830
  *
4671
4831
  * @private
4672
4832
  * @method handleDefaultSlot
4673
- * @param {Event} event - The event object representing the slot change.
4674
4833
  * @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
4675
4834
  */
4676
- handleDefaultSlot(event) {
4677
- [...event.target.assignedNodes()].forEach((node) => this.bibContent.append(node));
4835
+ handleDefaultSlot() {
4678
4836
 
4679
4837
  if (this.onSlotChange) {
4680
4838
  this.onSlotChange();
@@ -4717,7 +4875,6 @@ class AuroDropdown extends AuroElement$3 {
4717
4875
  id="trigger"
4718
4876
  class="${classMap(this.commonWrapperClasses)}" part="wrapper"
4719
4877
  tabindex="${this.tabIndex}"
4720
- ?showBorder="${this.showTriggerBorders}"
4721
4878
  role="${ifDefined(this.triggerContentFocusable ? undefined : this.a11yRole)}"
4722
4879
  aria-expanded="${ifDefined(this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
4723
4880
  aria-controls="${ifDefined(this.triggerContentFocusable ? undefined : this.dropdownId)}"
@@ -4737,6 +4894,7 @@ class AuroDropdown extends AuroElement$3 {
4737
4894
  ${this.chevron || this.common ? html`
4738
4895
  <div
4739
4896
  id="showStateIcon"
4897
+ class="chevron"
4740
4898
  part="chevron">
4741
4899
  <${this.iconTag}
4742
4900
  category="interface"
@@ -4751,9 +4909,6 @@ class AuroDropdown extends AuroElement$3 {
4751
4909
  <div class="${classMap(helpTextClasses)}">
4752
4910
  <slot name="helpText"></slot>
4753
4911
  </div>
4754
- <div class="slotContent">
4755
- <slot @slotchange="${this.handleDefaultSlot}"></slot>
4756
- </div>
4757
4912
  <div id="bibSizer" part="size"></div>
4758
4913
  <${this.dropdownBibTag}
4759
4914
  id="bib"
@@ -4762,6 +4917,9 @@ class AuroDropdown extends AuroElement$3 {
4762
4917
  ?common="${this.common}"
4763
4918
  ?rounded="${this.common || this.rounded}"
4764
4919
  ?inset="${this.common || this.inset}">
4920
+ <div class="slotContent">
4921
+ <slot @slotchange="${this.handleDefaultSlot}"></slot>
4922
+ </div>
4765
4923
  </${this.dropdownBibTag}>
4766
4924
  </div>
4767
4925
  `;
@@ -4773,6 +4931,7 @@ class AuroDropdown extends AuroElement$3 {
4773
4931
  * @returns {html} - Returns HTML for the classic layout.
4774
4932
  */
4775
4933
  renderLayoutClassic() {
4934
+
4776
4935
  return html`
4777
4936
  <div>
4778
4937
  <div
@@ -4810,9 +4969,10 @@ class AuroDropdown extends AuroElement$3 {
4810
4969
  </div>
4811
4970
  ` : undefined }
4812
4971
  </div>
4813
- <div class="slotContent">
4814
- <slot @slotchange="${this.handleDefaultSlot}"></slot>
4815
- </div>
4972
+ <${this.helpTextTag} part="helpText" ?onDark=${this.onDark} ?error="${this.error}">
4973
+ <slot name="helpText"></slot>
4974
+ </${this.helpTextTag}>
4975
+
4816
4976
  <div id="bibSizer" part="size"></div>
4817
4977
  <${this.dropdownBibTag}
4818
4978
  id="bib"
@@ -4822,6 +4982,9 @@ class AuroDropdown extends AuroElement$3 {
4822
4982
  ?rounded="${this.common || this.rounded}"
4823
4983
  ?inset="${this.common || this.inset}"
4824
4984
  >
4985
+ <div class="slotContent">
4986
+ <slot @slotchange="${this.handleDefaultSlot}"></slot>
4987
+ </div>
4825
4988
  </${this.dropdownBibTag}>
4826
4989
  </div>
4827
4990
  `;
@@ -4891,15 +5054,19 @@ class AuroDropdown extends AuroElement$3 {
4891
5054
 
4892
5055
  var dropdownVersion = '3.0.0';
4893
5056
 
4894
- 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}`;
5057
+ 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}`;
4895
5058
 
4896
5059
  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}`;
4897
5060
 
4898
5061
  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}`;
4899
5062
 
4900
- 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)}`;
5063
+ 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)}`;
5064
+
5065
+ 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}`;
4901
5066
 
4902
- 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)}`;
5067
+ 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}`;
5068
+
5069
+ 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)}`;
4903
5070
 
4904
5071
  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}`;
4905
5072
 
@@ -8926,9 +9093,10 @@ class DateFormatter {
8926
9093
  /**
8927
9094
  * Convert a date object to string format.
8928
9095
  * @param {Object} date - Date to convert to string.
8929
- * @returns {Object} Returns the date as a string.
9096
+ * @param {String} locale - Optional locale to use for the date string. Defaults to user's locale.
9097
+ * @returns {String} Returns the date as a string.
8930
9098
  */
8931
- this.getDateAsString = (date) => date.toLocaleDateString(undefined, {
9099
+ this.getDateAsString = (date, locale = undefined) => date.toLocaleDateString(locale, {
8932
9100
  year: "numeric",
8933
9101
  month: "2-digit",
8934
9102
  day: "2-digit",
@@ -9120,7 +9288,7 @@ class AuroDateUtilities extends AuroDateUtilitiesBase {
9120
9288
  const dateObj = new Date(this.getFourDigitYear(dateParts.year), dateParts.month - 1, dateParts.day || 1);
9121
9289
 
9122
9290
  // Get the date string of the date object we created from the string date
9123
- const actualDateStr = dateFormatter.getDateAsString(dateObj);
9291
+ const actualDateStr = dateFormatter.getDateAsString(dateObj, "en-US");
9124
9292
 
9125
9293
  // Guard Clause: Generated date matches date string input
9126
9294
  if (expectedDateStr !== actualDateStr) {
@@ -9285,7 +9453,7 @@ const {
9285
9453
 
9286
9454
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
9287
9455
 
9288
- let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
9456
+ let AuroLibraryRuntimeUtils$2$1 = class AuroLibraryRuntimeUtils {
9289
9457
 
9290
9458
  /* eslint-disable jsdoc/require-param */
9291
9459
 
@@ -9355,7 +9523,7 @@ let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
9355
9523
  class AuroFormValidation {
9356
9524
 
9357
9525
  constructor() {
9358
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
9526
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2$1();
9359
9527
  }
9360
9528
 
9361
9529
  /**
@@ -9845,9 +10013,9 @@ class BaseInput extends AuroElement$1$1 {
9845
10013
  this.required = false;
9846
10014
  this.setCustomValidityForType = undefined;
9847
10015
 
9848
- this.layout = 'default';
9849
- this.shape = 'rounded';
9850
- this.size = 'xl';
10016
+ this.layout = 'classic';
10017
+ this.shape = 'classic';
10018
+ this.size = 'lg';
9851
10019
  }
9852
10020
 
9853
10021
  /**
@@ -10235,8 +10403,8 @@ class BaseInput extends AuroElement$1$1 {
10235
10403
  },
10236
10404
 
10237
10405
  /**
10406
+ * The id for input node.
10238
10407
  * @private
10239
- * id for input node
10240
10408
  */
10241
10409
  inputId: {
10242
10410
  type: String,
@@ -11060,6 +11228,76 @@ var tokensCss$3 = css`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-d
11060
11228
 
11061
11229
  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)}`;
11062
11230
 
11231
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
11232
+ // See LICENSE in the project root for license information.
11233
+
11234
+ // ---------------------------------------------------------------------
11235
+
11236
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
11237
+
11238
+ let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
11239
+
11240
+ /* eslint-disable jsdoc/require-param */
11241
+
11242
+ /**
11243
+ * This will register a new custom element with the browser.
11244
+ * @param {String} name - The name of the custom element.
11245
+ * @param {Object} componentClass - The class to register as a custom element.
11246
+ * @returns {void}
11247
+ */
11248
+ registerComponent(name, componentClass) {
11249
+ if (!customElements.get(name)) {
11250
+ customElements.define(name, class extends componentClass {});
11251
+ }
11252
+ }
11253
+
11254
+ /**
11255
+ * Finds and returns the closest HTML Element based on a selector.
11256
+ * @returns {void}
11257
+ */
11258
+ closestElement(
11259
+ selector, // selector like in .closest()
11260
+ base = this, // extra functionality to skip a parent
11261
+ __Closest = (el, found = el && el.closest(selector)) =>
11262
+ !el || el === document || el === window
11263
+ ? null // standard .closest() returns null for non-found selectors also
11264
+ : found
11265
+ ? found // found a selector INside this element
11266
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
11267
+ ) {
11268
+ return __Closest(base);
11269
+ }
11270
+ /* eslint-enable jsdoc/require-param */
11271
+
11272
+ /**
11273
+ * 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.
11274
+ * @param {Object} elem - The element to check.
11275
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
11276
+ * @returns {void}
11277
+ */
11278
+ handleComponentTagRename(elem, tagName) {
11279
+ const tag = tagName.toLowerCase();
11280
+ const elemTag = elem.tagName.toLowerCase();
11281
+
11282
+ if (elemTag !== tag) {
11283
+ elem.setAttribute(tag, true);
11284
+ }
11285
+ }
11286
+
11287
+ /**
11288
+ * Validates if an element is a specific Auro component.
11289
+ * @param {Object} elem - The element to validate.
11290
+ * @param {String} tagName - The name of the Auro component to check against.
11291
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
11292
+ */
11293
+ elementMatch(elem, tagName) {
11294
+ const tag = tagName.toLowerCase();
11295
+ const elemTag = elem.tagName.toLowerCase();
11296
+
11297
+ return elemTag === tag || elem.hasAttribute(tag);
11298
+ }
11299
+ };
11300
+
11063
11301
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
11064
11302
  // See LICENSE in the project root for license information.
11065
11303
 
@@ -11267,7 +11505,7 @@ class AuroLoader extends LitElement {
11267
11505
  /**
11268
11506
  * @private
11269
11507
  */
11270
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
11508
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2$1();
11271
11509
 
11272
11510
  this.orbit = false;
11273
11511
  this.ringworm = false;
@@ -11330,7 +11568,7 @@ class AuroLoader extends LitElement {
11330
11568
  *
11331
11569
  */
11332
11570
  static register(name = "auro-loader") {
11333
- AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroLoader);
11571
+ AuroLibraryRuntimeUtils$2$1.prototype.registerComponent(name, AuroLoader);
11334
11572
  }
11335
11573
 
11336
11574
  firstUpdated() {
@@ -11634,7 +11872,7 @@ class AuroButton extends LitElement {
11634
11872
  *
11635
11873
  */
11636
11874
  static register(name = "auro-button") {
11637
- AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroButton);
11875
+ AuroLibraryRuntimeUtils$2$1.prototype.registerComponent(name, AuroButton);
11638
11876
  }
11639
11877
 
11640
11878
  /**
@@ -11739,7 +11977,7 @@ var tokensCss$5 = css`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
11739
11977
 
11740
11978
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
11741
11979
 
11742
- let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
11980
+ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
11743
11981
 
11744
11982
  /* eslint-disable jsdoc/require-param */
11745
11983
 
@@ -11820,7 +12058,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
11820
12058
  this.onDark = false;
11821
12059
  this.hasTextContent = false;
11822
12060
 
11823
- AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-helptext');
12061
+ AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-helptext');
11824
12062
  }
11825
12063
 
11826
12064
  static get styles() {
@@ -11876,7 +12114,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
11876
12114
  *
11877
12115
  */
11878
12116
  static register(name = "auro-helptext") {
11879
- AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHelpText);
12117
+ AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroHelpText);
11880
12118
  }
11881
12119
 
11882
12120
  updated() {
@@ -11972,6 +12210,8 @@ class AuroInput extends BaseInput {
11972
12210
 
11973
12211
  static get styles() {
11974
12212
  return [
12213
+ css`${classicStyleCss}`,
12214
+ css`${classicColorCss}`,
11975
12215
  css`${shapeSizeCss}`,
11976
12216
  css`${colorBaseCss}`,
11977
12217
  css`${styleCss$4}`,
@@ -11998,7 +12238,7 @@ class AuroInput extends BaseInput {
11998
12238
  /**
11999
12239
  * Returns classmap configuration for html5 inputs in all layouts.
12000
12240
  * @private
12001
- * @returns {void}
12241
+ * @returns {object} - Returns classmap.
12002
12242
  */
12003
12243
  get commonInputClasses() {
12004
12244
  return {
@@ -12006,6 +12246,23 @@ class AuroInput extends BaseInput {
12006
12246
  };
12007
12247
  }
12008
12248
 
12249
+ /**
12250
+ * Returns classmap configuration for html5 inputs in each layout.
12251
+ * @private
12252
+ * @returns {object} - Returns classmap.
12253
+ */
12254
+ get legacyInputClasses() {
12255
+ return {
12256
+ ...this.commonInputClasses,
12257
+ 'util_displayHiddenVisually': !this.hasFocus && !this.value
12258
+ };
12259
+ }
12260
+
12261
+ /**
12262
+ * Returns classmap configuration for wrapper elements in each layout.
12263
+ * @private
12264
+ * @returns {object} - Returns classmap.
12265
+ */
12009
12266
  get commonWrapperClasses() {
12010
12267
  return {
12011
12268
  'wrapper': true,
@@ -12014,6 +12271,11 @@ class AuroInput extends BaseInput {
12014
12271
  };
12015
12272
  }
12016
12273
 
12274
+ /**
12275
+ * Returns classmap configuration for helpText elements in each layout.
12276
+ * @private
12277
+ * @returns {object} - Returns classmap.
12278
+ */
12017
12279
  get helpTextClasses() {
12018
12280
  return {
12019
12281
  'helpTextWrapper': true,
@@ -12031,7 +12293,7 @@ class AuroInput extends BaseInput {
12031
12293
  *
12032
12294
  */
12033
12295
  static register(name = "auro-input") {
12034
- AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroInput);
12296
+ AuroLibraryRuntimeUtils$2$1.prototype.registerComponent(name, AuroInput);
12035
12297
  }
12036
12298
 
12037
12299
  /**
@@ -12087,16 +12349,22 @@ class AuroInput extends BaseInput {
12087
12349
  /**
12088
12350
  * Returns HTML for the HTML5 input element.
12089
12351
  * @private
12352
+ * @param {boolean} [useLegacyHiddenState=false] - If true, the input will be visually hidden when not focused and has no value.
12090
12353
  * @returns {html} - Returns HTML for the HTML5 input element.
12091
12354
  */
12092
- renderHtmlInput() {
12355
+ renderHtmlInput(useLegacyHiddenState = false) {
12093
12356
  const displayValueClasses = {
12094
12357
  'displayValue': true,
12095
12358
  'hasContent': this.hasDisplayValueContent,
12096
12359
  'hasFocus': this.hasFocus,
12097
- 'withValue': this.value && this.value.length > 0
12360
+ 'withValue': this.value && this.value.length > 0,
12098
12361
  };
12099
12362
 
12363
+ // Remove this when the classic layout is sunset.
12364
+ const inputOverrideClasses = useLegacyHiddenState
12365
+ ? this.legacyInputClasses
12366
+ : this.commonInputClasses;
12367
+
12100
12368
  return html`
12101
12369
  <label for=${this.id} class="${classMap(this.commonLabelClasses)}" part="label">
12102
12370
  <slot name="label">
@@ -12117,6 +12385,7 @@ class AuroInput extends BaseInput {
12117
12385
  autocapitalize="${ifDefined(this.autocapitalize ? this.autocapitalize : undefined)}"
12118
12386
  autocomplete="${ifDefined(this.autocomplete ? this.autocomplete : undefined)}"
12119
12387
  autocorrect="${ifDefined(this.autocorrect ? this.autocorrect : undefined)}"
12388
+ class="${classMap(inputOverrideClasses)}"
12120
12389
  id="${this.inputId}"
12121
12390
  inputMode="${ifDefined(this.inputMode ? this.inputMode : undefined)}"
12122
12391
  lang="${ifDefined(this.lang)}"
@@ -12260,139 +12529,34 @@ class AuroInput extends BaseInput {
12260
12529
  }
12261
12530
 
12262
12531
  /**
12263
- * Returns HTML for the default layout.
12532
+ * Returns HTML for the classic layout.
12264
12533
  * @private
12265
- * @returns {html} - Returns HTML for the default layout.
12534
+ * @returns {import("lit").TemplateResult} - Returns HTML for the classic layout.
12266
12535
  */
12267
12536
  renderLayoutClassic() {
12268
- const wrapperClasses = {
12269
- 'layoutDefault': true
12270
- };
12271
-
12272
- // is-disabled class - THIS IS ONLY HERE TO MAKE A TEST PASS AS FAR AS I CAN TELL
12273
- const labelClasses = {
12274
- 'is-disabled': this.disabled,
12275
- 'withIcon': this.hasTypeIcon(),
12276
- 'withValue': this.value && this.value.length > 0
12277
- };
12278
-
12279
12537
  return html`
12280
- <div class="${classMap(wrapperClasses)}" part="wrapper">
12281
- <div class="main">
12282
- <div class="typeIcon">
12283
- ${this.type === 'credit-card' ? this.processCreditCard() : undefined}
12284
-
12285
- <!-- The repeat() method is used below in order to force auro-icon to re-render when the name value is updated.
12286
- This should be cleaned up when auro-icon issue #31 is resolved. -->
12287
- ${this.inputIconName
12288
- ? repeat([this.inputIconName], (val) => val, (name) => html`
12289
- <${this.iconTag}
12290
- class="accentIcon"
12291
- category="payment"
12292
- name="${name}"
12293
- part="accentIcon"
12294
- ?onDark="${this.onDark}"
12295
- variant="${this.disabled ? 'disabled' : 'muted'}">
12296
- </${this.iconTag}>
12297
- `) : undefined
12298
- }
12299
-
12300
- ${this.type === 'date'
12301
- ? html`
12302
- <${this.iconTag}
12303
- class="accentIcon"
12304
- category="interface"
12305
- name="calendar"
12306
- part="accentIcon"
12307
- ?onDark="${this.onDark}"
12308
- variant="${this.disabled ? 'disabled' : 'muted'}">
12309
- </${this.iconTag}>`
12310
- : undefined
12311
- }
12312
- </div>
12313
- <label for=${this.id} class="${classMap(labelClasses)}" part="label">
12314
- <slot name="label">
12315
- ${this.label}
12316
- </slot>
12317
- ${this.required ? '' : ` (${i18n(this.lang, 'optional')})`}
12318
- </label>
12319
-
12320
- ${this.renderHtmlInput()}
12538
+ <div
12539
+ @click="${this.handleClick}"
12540
+ class="${classMap(this.commonWrapperClasses)} thin"
12541
+ part="wrapper">
12542
+ <div class="accents left">
12543
+ ${this.renderHtmlTypeIcon()}
12321
12544
  </div>
12322
- <div
12323
- class="notificationIcons"
12324
- part="notificationIcons"
12325
- ?hasValue="${this.hasValue}">
12326
- ${this.validity && this.validity !== 'valid' ? html`
12327
- <div class="notification alertNotification">
12328
- <${this.iconTag}
12329
- category="alert"
12330
- customColor
12331
- name="error-stroke"
12332
- </${this.iconTag}>
12333
- </div>
12334
- ` : undefined}
12545
+ <div class="mainContent">
12546
+ ${this.renderHtmlInput(true)}
12547
+ </div>
12548
+ <div class="accents right">
12549
+ ${this.renderValidationErrorIconHtml()}
12335
12550
  ${this.hasValue ? html`
12336
- ${this.type === 'password' ? html`
12337
- <div class="notification">
12338
- <${this.buttonTag}
12339
- @click="${this.handleClickShowPassword}"
12340
- ?onDark="${this.onDark}"
12341
- aria-hidden="true"
12342
- class="notificationBtn passwordBtn"
12343
- tabindex="-1"
12344
- variant="flat">
12345
- <${this.iconTag}
12346
- ?hidden=${!this.showPassword}
12347
- category="interface"
12348
- customColor
12349
- name="hide-password-stroke">
12350
- </${this.iconTag}>
12351
- <${this.iconTag}
12352
- ?hidden=${this.showPassword}
12353
- category="interface"
12354
- customColor
12355
- name="view-password-stroke">
12356
- </${this.iconTag}>
12357
- </${this.buttonTag}>
12358
- </div>
12359
- ` : undefined}
12360
12551
  ${!this.disabled && !this.readonly ? html`
12361
- <div class="notification">
12362
- <${this.buttonTag}
12363
- @click="${this.handleClickClear}"
12364
- ?onDark="${this.onDark}"
12365
- arialabel="${i18n(this.lang, 'clearInput')}"
12366
- class="notificationBtn clearBtn"
12367
- variant="flat">
12368
- <${this.iconTag}
12369
- category="interface"
12370
- customColor
12371
- name="x-lg">
12372
- </${this.iconTag}>
12373
- </${this.buttonTag}>
12374
- </div>
12552
+ ${this.renderHtmlActionClear()}
12375
12553
  ` : undefined}
12376
12554
  ` : undefined}
12377
12555
  </div>
12378
12556
  </div>
12379
- <!-- Help text and error message template -->
12380
- ${!this.validity || this.validity === undefined || this.validity === 'valid'
12381
- ? html`
12382
- <${this.helpTextTag} ?onDark="${this.onDark}">
12383
- <p id="${this.uniqueId}" part="helpText">
12384
- <slot name="helptext">${this.getHelpText()}</slot>
12385
- </p>
12386
- </${this.helpTextTag}>
12387
- `
12388
- : html`
12389
- <${this.helpTextTag} error ?onDark="${this.onDark}">
12390
- <p id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
12391
- ${this.errorMessage}
12392
- </p>
12393
- </${this.helpTextTag}>
12394
- `
12395
- }
12557
+ <div class="helpTextWrapper leftIndent rightIndent" part="inputHelpText">
12558
+ ${this.renderHtmlHelpText()}
12559
+ </div>
12396
12560
  `;
12397
12561
  }
12398
12562
 
@@ -12764,6 +12928,76 @@ var tokensCss$1 = css`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-d
12764
12928
 
12765
12929
  var colorCss$2 = 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)}`;
12766
12930
 
12931
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
12932
+ // See LICENSE in the project root for license information.
12933
+
12934
+ // ---------------------------------------------------------------------
12935
+
12936
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
12937
+
12938
+ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
12939
+
12940
+ /* eslint-disable jsdoc/require-param */
12941
+
12942
+ /**
12943
+ * This will register a new custom element with the browser.
12944
+ * @param {String} name - The name of the custom element.
12945
+ * @param {Object} componentClass - The class to register as a custom element.
12946
+ * @returns {void}
12947
+ */
12948
+ registerComponent(name, componentClass) {
12949
+ if (!customElements.get(name)) {
12950
+ customElements.define(name, class extends componentClass {});
12951
+ }
12952
+ }
12953
+
12954
+ /**
12955
+ * Finds and returns the closest HTML Element based on a selector.
12956
+ * @returns {void}
12957
+ */
12958
+ closestElement(
12959
+ selector, // selector like in .closest()
12960
+ base = this, // extra functionality to skip a parent
12961
+ __Closest = (el, found = el && el.closest(selector)) =>
12962
+ !el || el === document || el === window
12963
+ ? null // standard .closest() returns null for non-found selectors also
12964
+ : found
12965
+ ? found // found a selector INside this element
12966
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
12967
+ ) {
12968
+ return __Closest(base);
12969
+ }
12970
+ /* eslint-enable jsdoc/require-param */
12971
+
12972
+ /**
12973
+ * 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.
12974
+ * @param {Object} elem - The element to check.
12975
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
12976
+ * @returns {void}
12977
+ */
12978
+ handleComponentTagRename(elem, tagName) {
12979
+ const tag = tagName.toLowerCase();
12980
+ const elemTag = elem.tagName.toLowerCase();
12981
+
12982
+ if (elemTag !== tag) {
12983
+ elem.setAttribute(tag, true);
12984
+ }
12985
+ }
12986
+
12987
+ /**
12988
+ * Validates if an element is a specific Auro component.
12989
+ * @param {Object} elem - The element to validate.
12990
+ * @param {String} tagName - The name of the Auro component to check against.
12991
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
12992
+ */
12993
+ elementMatch(elem, tagName) {
12994
+ const tag = tagName.toLowerCase();
12995
+ const elemTag = elem.tagName.toLowerCase();
12996
+
12997
+ return elemTag === tag || elem.hasAttribute(tag);
12998
+ }
12999
+ };
13000
+
12767
13001
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12768
13002
  // See LICENSE in the project root for license information.
12769
13003
 
@@ -12783,7 +13017,7 @@ class AuroIcon extends BaseIcon {
12783
13017
  */
12784
13018
  privateDefaults() {
12785
13019
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
12786
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
13020
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
12787
13021
  }
12788
13022
 
12789
13023
  // function to define props used within the scope of this component
@@ -12865,7 +13099,7 @@ class AuroIcon extends BaseIcon {
12865
13099
  *
12866
13100
  */
12867
13101
  static register(name = "auro-icon") {
12868
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
13102
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroIcon);
12869
13103
  }
12870
13104
 
12871
13105
  connectedCallback() {
@@ -13167,6 +13401,18 @@ class AuroBibtemplate extends LitElement {
13167
13401
  this.setAttribute('exportparts', 'bibtemplate:dropdownBibTemplate');
13168
13402
  }
13169
13403
 
13404
+ firstUpdated(changedProperties) {
13405
+ super.firstUpdated(changedProperties);
13406
+
13407
+ this.dispatchEvent(new CustomEvent("auro-bibtemplate-connected", {
13408
+ bubbles: true,
13409
+ composed: true,
13410
+ detail: {
13411
+ element: this
13412
+ }
13413
+ }));
13414
+ }
13415
+
13170
13416
  // function that renders the HTML and CSS into the scope of the component
13171
13417
  render() {
13172
13418
  return html`
@@ -13199,123 +13445,7 @@ class AuroBibtemplate extends LitElement {
13199
13445
 
13200
13446
  var bibTemplateVersion = '1.0.0';
13201
13447
 
13202
- css`:focus:not(:focus-visible){outline:3px solid transparent}:host{display:inline-block;width:100%;margin:0;padding:0;vertical-align:middle}:host ::slotted(auro-menuoption),:host ::slotted([auro-menuoption]),:host auro-menuoption[loadingplaceholder]{padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem))}:host ::slotted([selected]){padding-left:0}:host ::slotted(hr){box-sizing:content-box !important;height:0 !important;overflow:visible !important;margin:var(--ds-size-100, 0.5rem) 0 !important;border-width:0 !important;border-top-width:1px !important;border-top-style:solid !important}:host([nocheckmark]) ::slotted(auro-menuoption),:host([nocheckmark]) auro-menuoption[loadingplaceholder]{padding-left:var(--ds-size-200, 1rem)}:host([root]){overflow-y:auto}[loadingplaceholder].empty{opacity:0;position:absolute}[loadingplaceholder] slot[name=loadingIcon]{vertical-align:middle;line-height:1;display:inline-block}[loadingplaceholder] slot[name=loadingIcon]::slotted(*){margin-right:var(--ds-size-150, 0.75rem)}`;
13203
-
13204
- css`:host ::slotted(hr){border-top-color:var(--ds-auro-menu-divider-color)}[loadingplaceholder] slot[name=loadingIcon]{color:var(--ds-auro-menu-loader-color)}[loadingplaceholder] slot[name=loadingText]{color:var(--ds-auro-menu-loader-text-color)}`;
13205
-
13206
- css`:host{--ds-auro-menu-divider-color: var(--ds-basic-color-border-divider, rgba(0, 0, 0, 0.15));--ds-auro-menu-loader-color: var(--ds-basic-color-brand-primary, #01426a);--ds-auro-menu-loader-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-menuoption-container-color: transparent;--ds-auro-menuoption-icon-color: transparent;--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}`;
13207
-
13208
- // Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
13209
- // See LICENSE in the project root for license information.
13210
-
13211
- // ---------------------------------------------------------------------
13212
-
13213
- /**
13214
- * Converts value to an array.
13215
- * If the value is a JSON string representing an array, it will be parsed.
13216
- * If the value is already an array, it is returned.
13217
- * If the value is undefined, it returns undefined.
13218
- * @private
13219
- * @param {any} value - The value to be converted. Can be a string, array, or undefined.
13220
- * @returns {Array|undefined} - The converted array or undefined.
13221
- * @throws {Error} - Throws an error if the value is not an array, undefined,
13222
- * or if the value cannot be parsed into an array from a JSON string.
13223
- */
13224
- function arrayConverter(value) {
13225
- // Allow undefined
13226
- if (value === undefined) {
13227
- return undefined;
13228
- }
13229
-
13230
- // Return the value if it is already an array
13231
- if (Array.isArray(value)) {
13232
- return value;
13233
- }
13234
-
13235
- try {
13236
- // If value is a JSON string, parse it
13237
- const parsed = typeof value === 'string' ? JSON.parse(value) : value;
13238
-
13239
- // Check if the parsed value is an array
13240
- if (Array.isArray(parsed)) {
13241
- return parsed;
13242
- }
13243
- } catch (error) {
13244
- // If JSON parsing fails, continue to throw an error below
13245
- /* eslint-disable no-console */
13246
- console.error('JSON parsing failed:', error);
13247
- }
13248
-
13249
- // Throw error if the input is not an array or undefined
13250
- throw new Error('Invalid value: Input must be an array or undefined');
13251
- }
13252
-
13253
- /**
13254
- * Compare two arrays for equality.
13255
- * @private
13256
- * @param {Array} arr1 - First array to compare.
13257
- * @param {Array} arr2 - Second array to compare.
13258
- * @returns {boolean} True if arrays are equal.
13259
- */
13260
- function arraysAreEqual(arr1, arr2) {
13261
- // If both arrays undefined, they are equal (true)
13262
- if (arr1 === undefined || arr2 === undefined) {
13263
- return arr1 === arr2;
13264
- }
13265
-
13266
- // If arrays have different lengths, they are not equal
13267
- if (arr1.length !== arr2.length) {
13268
- return false;
13269
- }
13270
-
13271
- // If every item at each index is the same, return true
13272
- for (let index = 0; index < arr1.length; index += 1) {
13273
- if (arr1[index] !== arr2[index]) {
13274
- return false;
13275
- }
13276
- }
13277
- return true;
13278
- }
13279
-
13280
- /**
13281
- * Compares array for changes.
13282
- * @private
13283
- * @param {Array|any} newVal - New value to compare.
13284
- * @param {Array|any} oldVal - Old value to compare.
13285
- * @returns {boolean} True if arrays have changed.
13286
- */
13287
- function arrayOrUndefinedHasChanged(newVal, oldVal) {
13288
- try {
13289
- // Check if values are undefined or arrays
13290
- const isArrayOrUndefined = (val) => val === undefined || Array.isArray(val);
13291
-
13292
- // If non-array or non-undefined, throw error
13293
- if (!isArrayOrUndefined(newVal) || !isArrayOrUndefined(oldVal)) {
13294
- const invalidValue = isArrayOrUndefined(newVal) ? oldVal : newVal;
13295
- throw new Error(`Value must be an array or undefined, received ${typeof invalidValue}`);
13296
- }
13297
-
13298
- // Return true if arrays have changed, false if they are the same
13299
- return !arraysAreEqual(newVal, oldVal);
13300
- } catch (error) {
13301
- /* eslint-disable no-console */
13302
- console.error(error);
13303
- // If validation fails, it has changed
13304
- return true;
13305
- }
13306
- }
13307
-
13308
- css`:host{display:flex;align-items:center;padding:var(--ds-size-50, 0.25rem) var(--ds-size-200, 1rem) var(--ds-size-50, 0.25rem) 0;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent}:host slot{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-150, 0.75rem);margin-left:var(--ds-size-100, 0.5rem)}:host ::slotted(.nestingSpacer){display:inline-block;width:var(--ds-size-300, 1.5rem)}:host ::slotted(strong){font-weight:700}:host([hidden]){display:none}:host([static]){pointer-events:none}:host([disabled]:hover){cursor:auto}:host([disabled]){user-select:none;pointer-events:none}`;
13309
-
13310
- css`:host{background-color:var(--ds-auro-menuoption-container-color);color:var(--ds-auro-menuoption-text-color)}:host svg{fill:var(--ds-auro-menuoption-icon-color)}:host([disabled]){--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:hover),:host(.active){--ds-auro-menuoption-container-color: var(--ds-basic-color-surface-neutral-subtle, #f7f7f7)}:host([selected]){--ds-auro-menuoption-container-color: var(--ds-advanced-color-state-selected, #01426a);--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-menuoption-icon-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([selected]):host(:hover),:host([selected]):host(.active){--ds-auro-menuoption-container-color: var(--ds-advanced-color-state-selected-hover, #00274a)}`;
13311
-
13312
- 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}`;
13313
-
13314
- css`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-alaska-color:#02426D;--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
13315
-
13316
- 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)}`;
13317
-
13318
- var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block}:host([layout*=classic]) [auro-input]{min-height:var(--ds-size-700, 3.5rem);max-height:var(--ds-size-700, 3.5rem)}: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){--ds-auro-input-border-color: transparent;--ds-auro-input-container-color: transparent}:host([layout*=classic]) [auro-input]::part(wrapper):focus-within{border-bottom-width:0 !important;box-shadow:unset !important;outline:unset !important}:host([layout*=classic]) #slotHolder{display:none}`;
13448
+ var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
13319
13449
 
13320
13450
  var styleEmphasizedCss = css`:host([layout*=emphasized][shape*=pill]) [auro-input]{width:100%}:host([layout*=emphasized][shape*=pill]) [auro-input]::part(inputHelpText){display:none}`;
13321
13451
 
@@ -13639,6 +13769,8 @@ class AuroCombobox extends AuroElement {
13639
13769
  constructor() {
13640
13770
  super();
13641
13771
 
13772
+ this.matchWidth = true;
13773
+
13642
13774
  this.privateDefaults();
13643
13775
  }
13644
13776
 
@@ -13671,7 +13803,7 @@ class AuroCombobox extends AuroElement {
13671
13803
 
13672
13804
  this.validation = new AuroFormValidation$1();
13673
13805
 
13674
- this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
13806
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$5();
13675
13807
 
13676
13808
  this.isHiddenWhileLoading = false;
13677
13809
 
@@ -13680,7 +13812,7 @@ class AuroCombobox extends AuroElement {
13680
13812
 
13681
13813
  // Layout Config
13682
13814
  this.layout = 'classic';
13683
- this.shape = 'rounded';
13815
+ this.shape = 'classic';
13684
13816
  this.size = 'xl';
13685
13817
 
13686
13818
  // floaterConfig
@@ -13772,6 +13904,14 @@ class AuroCombobox extends AuroElement {
13772
13904
  reflect: true
13773
13905
  },
13774
13906
 
13907
+ /**
13908
+ * If declared, the popover and trigger will be set to the same width.
13909
+ */
13910
+ matchWidth: {
13911
+ type: Boolean,
13912
+ reflect: true
13913
+ },
13914
+
13775
13915
  /**
13776
13916
  * If set, combobox will not filter menuoptions based in input.
13777
13917
  */
@@ -13817,11 +13957,10 @@ class AuroCombobox extends AuroElement {
13817
13957
 
13818
13958
  /**
13819
13959
  * Specifies the current selected option.
13960
+ * @type {HTMLElement}
13820
13961
  */
13821
13962
  optionSelected: {
13822
- type: Object,
13823
- converter: arrayConverter,
13824
- hasChanged: arrayOrUndefinedHasChanged
13963
+ type: Object
13825
13964
  },
13826
13965
 
13827
13966
  /* eslint-disable jsdoc/require-description-complete-sentence */
@@ -13903,11 +14042,10 @@ class AuroCombobox extends AuroElement {
13903
14042
 
13904
14043
  /**
13905
14044
  * Value selected for the dropdown menu.
13906
- * @type {Array|String<Array>}
14045
+ * @type {string}
13907
14046
  */
13908
14047
  value: {
13909
- converter: arrayConverter,
13910
- hasChanged: arrayOrUndefinedHasChanged
14048
+ type: Object
13911
14049
  },
13912
14050
 
13913
14051
  /* eslint-disable jsdoc/require-description-complete-sentence */
@@ -13973,7 +14111,7 @@ class AuroCombobox extends AuroElement {
13973
14111
  *
13974
14112
  */
13975
14113
  static register(name = 'auro-combobox') {
13976
- AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroCombobox);
14114
+ AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroCombobox);
13977
14115
  }
13978
14116
 
13979
14117
  /**
@@ -13995,17 +14133,15 @@ class AuroCombobox extends AuroElement {
13995
14133
 
13996
14134
  if (this.menu.optionSelected) {
13997
14135
  // Get first option since combobox is single-select
13998
- const [selected] = this.menu.optionSelected;
14136
+ const selected = this.menu.optionSelected;
13999
14137
 
14000
- if (!this.optionSelected || this.optionSelected[0] !== selected) {
14001
- // Store as array
14002
- this.optionSelected = [selected];
14138
+ if (!this.optionSelected || this.optionSelected !== selected) {
14139
+ this.optionSelected = selected;
14003
14140
  }
14004
14141
 
14005
- if (!this.value || this.value[0] !== selected.value) {
14006
- // Store as array
14007
- this.value = [selected.value];
14008
- // Menu already expects array
14142
+ if (!this.value || this.value !== selected.value) {
14143
+ this.value = selected.value;
14144
+
14009
14145
  this.menu.value = this.value;
14010
14146
  }
14011
14147
 
@@ -14132,15 +14268,8 @@ class AuroCombobox extends AuroElement {
14132
14268
  this.showBib();
14133
14269
  });
14134
14270
 
14135
- // this.dropdown.addEventListener('auroDropdown-show', () => {
14136
- this.menuWrapper = this.dropdown.querySelector('.menuWrapper');
14137
- if (this.menu) {
14138
- this.menuWrapper.append(this.menu);
14139
- }
14140
-
14141
14271
  // setting up bibtemplate
14142
14272
  this.bibtemplate = this.dropdown.querySelector(this.bibtemplateTag._$litStatic$); // eslint-disable-line no-underscore-dangle
14143
- this.bibtemplate.append(this.menuWrapper);
14144
14273
 
14145
14274
  // Exposes the CSS parts from the bibtemplate for styling
14146
14275
  this.bibtemplate.exposeCssParts();
@@ -14165,10 +14294,9 @@ class AuroCombobox extends AuroElement {
14165
14294
  this.menu = this.querySelector('auro-menu, [auro-menu]');
14166
14295
 
14167
14296
  // a racing condition on custom-combobox with custom-menu
14168
- if (!this.menu) {
14297
+ if (!this.menu || this.menuShadowRoot === null) {
14169
14298
  setTimeout(() => {
14170
14299
  this.configureMenu();
14171
- this.menuWrapper.append(this.menu);
14172
14300
  }, 0);
14173
14301
  return;
14174
14302
  }
@@ -14185,14 +14313,14 @@ class AuroCombobox extends AuroElement {
14185
14313
  // handle the menu event for an option selection
14186
14314
  this.menu.addEventListener('auroMenu-selectedOption', () => {
14187
14315
  if (this.menu.optionSelected) {
14188
- const [selected] = this.menu.optionSelected;
14316
+ const selected = this.menu.optionSelected;
14189
14317
 
14190
- if (!this.optionSelected || this.optionSelected[0] !== selected) {
14191
- this.optionSelected = [selected];
14318
+ if (!this.optionSelected || this.optionSelected !== selected) {
14319
+ this.optionSelected = selected;
14192
14320
  }
14193
14321
 
14194
- if (!this.value || this.value[0] !== this.optionSelected[0].value) {
14195
- this.value = [this.optionSelected[0].value];
14322
+ if (!this.value || this.value !== this.optionSelected.value) {
14323
+ this.value = this.optionSelected.value;
14196
14324
  this.menu.value = this.value;
14197
14325
  }
14198
14326
 
@@ -14243,41 +14371,12 @@ class AuroCombobox extends AuroElement {
14243
14371
  });
14244
14372
  }
14245
14373
 
14246
- /**
14247
- * Dispatches input's keyboard events from host
14248
- * This allows key events from the input to be handled by the parent.
14249
- * @private
14250
- * @param {KeyboardEvent} event - The keyboard event.
14251
- */
14252
- bubbleUpInputEvent(event) {
14253
- // Do not need to bubble events if the input is not in bib.
14254
- if (event.currentTarget.parentNode !== this.dropdown) {
14255
- // prevents browsers to move cursor in input element.
14256
- if (event.key === 'ArrowUp' || event.key === 'ArrowDown') {
14257
- event.preventDefault();
14258
- }
14259
- const dupEvent = new event.constructor(event.type, event);
14260
- this.dispatchEvent(dupEvent);
14261
- }
14262
- }
14263
-
14264
14374
  /**
14265
14375
  * Binds all behavior needed to the input after rendering.
14266
14376
  * @private
14267
14377
  * @returns {void}
14268
14378
  */
14269
14379
  configureInput() {
14270
- // When input is in bibtemplate, make the event to be fired at combobox element
14271
- this.bubbleUpInputEvent = this.bubbleUpInputEvent.bind(this);
14272
-
14273
- const events = [
14274
- 'input',
14275
- 'keydown',
14276
- 'keyup'
14277
- ];
14278
- events.forEach((eventType) => {
14279
- this.input.addEventListener(eventType, this.bubbleUpInputEvent);
14280
- });
14281
14380
 
14282
14381
  this.addEventListener('keyup', (evt) => {
14283
14382
  if (evt.key.length === 1 || evt.key === 'Backspace' || evt.key === 'Delete') {
@@ -14294,11 +14393,6 @@ class AuroCombobox extends AuroElement {
14294
14393
  if (document.activeElement !== this) {
14295
14394
  this.validate();
14296
14395
  }
14297
-
14298
- // Set to undefined if empty
14299
- if (this.value && this.value.length === 0) {
14300
- this.value = undefined;
14301
- }
14302
14396
  });
14303
14397
 
14304
14398
  // Handle validation messages from auroFormElement-validated event
@@ -14345,6 +14439,7 @@ class AuroCombobox extends AuroElement {
14345
14439
  const inputAlertIcon = this.input.shadowRoot.querySelector(".alertNotification");
14346
14440
 
14347
14441
  if (this.dropdown.isPopoverVisible && this.dropdown.isBibFullscreen) {
14442
+
14348
14443
  if (this.input.parentNode === this.dropdown) {
14349
14444
  // keep the trigger size the same even after input gets removed
14350
14445
  const parentSize = window.getComputedStyle(this.dropdown.trigger);
@@ -14362,7 +14457,7 @@ class AuroCombobox extends AuroElement {
14362
14457
  inputAlertIcon.style.display = 'none';
14363
14458
  }
14364
14459
 
14365
- this.bibtemplate.append(this.input);
14460
+ this.bibtemplate.prepend(this.input);
14366
14461
  this.input.focus();
14367
14462
  }
14368
14463
  } else if (this.input.parentNode !== this.dropdown) {
@@ -14376,7 +14471,7 @@ class AuroCombobox extends AuroElement {
14376
14471
  inputAlertIcon.style.display = '';
14377
14472
  }
14378
14473
 
14379
- this.dropdown.append(this.input);
14474
+ this.dropdown.prepend(this.input);
14380
14475
  this.input.focus();
14381
14476
  }
14382
14477
  }
@@ -14392,10 +14487,8 @@ class AuroCombobox extends AuroElement {
14392
14487
 
14393
14488
  let hasChange = false;
14394
14489
 
14395
- // Store value as array or undefined
14396
- if (!this.value || this.value[0] !== this.input.value) {
14397
- // Menu expects an array
14398
- this.menu.value = this.input.value ? [this.input.value] : undefined;
14490
+ if (!this.value || this.value !== this.input.value) {
14491
+ this.menu.value = this.input.value;
14399
14492
  this.value = this.menu.value;
14400
14493
  hasChange = true;
14401
14494
  this.dispatchEvent(new CustomEvent('auroCombobox-valueSet', {
@@ -14405,7 +14498,7 @@ class AuroCombobox extends AuroElement {
14405
14498
  }));
14406
14499
  }
14407
14500
 
14408
- if (this.optionSelected && this.optionSelected[0] && this.input.value !== this.optionSelected[0].textContent) {
14501
+ if (this.optionSelected && this.input.value !== this.optionSelected.textContent) {
14409
14502
  this.optionSelected = undefined;
14410
14503
  hasChange = true;
14411
14504
  }
@@ -14548,15 +14641,15 @@ class AuroCombobox extends AuroElement {
14548
14641
  // After the component is ready, send direct value changes to auro-menu.
14549
14642
  if (changedProperties.has('value')) {
14550
14643
  if (this.value) {
14551
- if (this.optionSelected && this.optionSelected[0] && this.optionSelected[0].value === this.value[0]) {
14644
+ if (this.optionSelected && this.optionSelected.value === this.value) {
14552
14645
  // If value updates and the previously selected option already matches the new value
14553
14646
  // just update the input value to use the textContent of the optionSelected
14554
- this.input.value = this.optionSelected[0].textContent;
14647
+ this.input.value = this.optionSelected.textContent;
14555
14648
  } else {
14556
14649
  // Otherwise just enter the value into the input
14557
14650
  this.optionSelected = undefined;
14558
- // Use first value since combobox is single-select
14559
- const [inputValue] = this.value;
14651
+
14652
+ const inputValue = this.value;
14560
14653
  this.input.value = inputValue;
14561
14654
 
14562
14655
  // Update the menu value and matchWord
@@ -14670,7 +14763,7 @@ class AuroCombobox extends AuroElement {
14670
14763
  fluid
14671
14764
  for="dropdownMenu"
14672
14765
  layout="${this.layout}"
14673
- matchWidth
14766
+ matchWidth="${ifDefined(this.matchWidth)}"
14674
14767
  nocheckmark
14675
14768
  rounded
14676
14769
  shape="${this.shape}"
@@ -14699,9 +14792,8 @@ class AuroCombobox extends AuroElement {
14699
14792
  slot="trigger">
14700
14793
  </${this.inputTag}>
14701
14794
 
14702
- <div class="menuWrapper"></div>
14703
-
14704
14795
  <${this.bibtemplateTag} ?large="${this.largeFullscreenHeadline}">
14796
+ <slot></slot>
14705
14797
  </${this.bibtemplateTag}>
14706
14798
 
14707
14799
  <span slot="helpText">