@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.1 → 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 (75) 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 +598 -428
  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 +596 -426
  13. package/components/combobox/dist/auro-combobox.d.ts +13 -18
  14. package/components/combobox/dist/index.js +458 -273
  15. package/components/combobox/dist/registered.js +458 -273
  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 +847 -324
  22. package/components/datepicker/demo/index.md +13 -0
  23. package/components/datepicker/demo/index.min.js +847 -324
  24. package/components/datepicker/dist/auro-datepicker.d.ts +21 -2
  25. package/components/datepicker/dist/index.js +677 -154
  26. package/components/datepicker/dist/registered.js +677 -154
  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/demo/api.md +53 -49
  38. package/components/input/demo/api.min.js +121 -27
  39. package/components/input/demo/index.min.js +121 -27
  40. package/components/input/dist/auro-input.d.ts +22 -14
  41. package/components/input/dist/base-input.d.ts +1 -1
  42. package/components/input/dist/index.js +121 -27
  43. package/components/input/dist/registered.js +121 -27
  44. package/components/layoutElement/dist/index.d.ts +1 -0
  45. package/components/layoutElement/dist/index.js +95 -1
  46. package/components/menu/demo/api.md +11 -11
  47. package/components/menu/demo/api.min.js +115 -130
  48. package/components/menu/demo/index.min.js +115 -130
  49. package/components/menu/dist/auro-menu-utils.d.ts +0 -8
  50. package/components/menu/dist/auro-menu.d.ts +3 -8
  51. package/components/menu/dist/index.d.ts +1 -1
  52. package/components/menu/dist/index.js +116 -90
  53. package/components/menu/dist/registered.js +115 -130
  54. package/components/radio/demo/api.min.js +4 -3
  55. package/components/radio/demo/index.min.js +4 -3
  56. package/components/radio/dist/index.js +4 -3
  57. package/components/radio/dist/registered.js +4 -3
  58. package/components/select/demo/api.js +2 -0
  59. package/components/select/demo/api.md +108 -42
  60. package/components/select/demo/api.min.js +1264 -352
  61. package/components/select/demo/index.html +1 -0
  62. package/components/select/demo/index.md +298 -777
  63. package/components/select/demo/index.min.js +1251 -351
  64. package/components/select/dist/auro-select.d.ts +110 -18
  65. package/components/select/dist/helptextVersion.d.ts +2 -0
  66. package/components/select/dist/index.js +1105 -190
  67. package/components/select/dist/registered.js +1105 -190
  68. package/components/select/dist/styles/shapeSize-css.d.ts +2 -0
  69. package/components/select/dist/styles/tokens-css.d.ts +2 -0
  70. package/package.json +3 -3
  71. /package/components/{dropdown → datepicker}/dist/styles/default/color-css.d.ts +0 -0
  72. /package/components/{dropdown/dist/styles/default → datepicker/dist/styles/emphasized}/style-css.d.ts +0 -0
  73. /package/components/{dropdown/dist/styles/default/bibColors-css.d.ts → datepicker/dist/styles/shapeSize-css.d.ts} +0 -0
  74. /package/components/dropdown/dist/styles/{default/bibStyles-css.d.ts → classic/bibColors-css.d.ts} +0 -0
  75. /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,19 +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:0px;min-height:60px;max-height:60px;background-color:unset}.shape-snowflake-xl.thin,.shape-snowflake-lg.thin,.shape-snowflake-md.thin,.shape-snowflake-sm.thin,.shape-snowflake-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-box-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset}.shape-box-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-rounded-lg{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:6px}.shape-rounded-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset}.shape-rounded-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-pill-xl{min-height:72px;max-height:72px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset}.shape-pill-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-left-xl{min-height:72px;max-height:72px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset}.shape-pill-left-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-right-xl{min-height:72px;max-height:72px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset}.shape-pill-right-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-md{min-height:72px;max-height:72px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset}.shape-pill-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-left-md{min-height:72px;max-height:72px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset}.shape-pill-left-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-right-md{min-height:72px;max-height:72px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset}.shape-pill-right-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}`;
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)}`;
4901
5064
 
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)}`;
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}`;
4903
5066
 
4904
- var classicStyleCss = css`.layout-classic{display:flex;flex-direction:row}.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{box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color);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}`;
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}`;
4905
5068
 
4906
- var classicColorCss = css`.layout-default label{color:var(--ds-auro-input-label-text-color)}`;
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)}`;
4907
5070
 
4908
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}`;
4909
5072
 
@@ -8930,9 +9093,10 @@ class DateFormatter {
8930
9093
  /**
8931
9094
  * Convert a date object to string format.
8932
9095
  * @param {Object} date - Date to convert to string.
8933
- * @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.
8934
9098
  */
8935
- this.getDateAsString = (date) => date.toLocaleDateString(undefined, {
9099
+ this.getDateAsString = (date, locale = undefined) => date.toLocaleDateString(locale, {
8936
9100
  year: "numeric",
8937
9101
  month: "2-digit",
8938
9102
  day: "2-digit",
@@ -9124,7 +9288,7 @@ class AuroDateUtilities extends AuroDateUtilitiesBase {
9124
9288
  const dateObj = new Date(this.getFourDigitYear(dateParts.year), dateParts.month - 1, dateParts.day || 1);
9125
9289
 
9126
9290
  // Get the date string of the date object we created from the string date
9127
- const actualDateStr = dateFormatter.getDateAsString(dateObj);
9291
+ const actualDateStr = dateFormatter.getDateAsString(dateObj, "en-US");
9128
9292
 
9129
9293
  // Guard Clause: Generated date matches date string input
9130
9294
  if (expectedDateStr !== actualDateStr) {
@@ -9289,7 +9453,7 @@ const {
9289
9453
 
9290
9454
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
9291
9455
 
9292
- let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
9456
+ let AuroLibraryRuntimeUtils$2$1 = class AuroLibraryRuntimeUtils {
9293
9457
 
9294
9458
  /* eslint-disable jsdoc/require-param */
9295
9459
 
@@ -9359,7 +9523,7 @@ let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
9359
9523
  class AuroFormValidation {
9360
9524
 
9361
9525
  constructor() {
9362
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
9526
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2$1();
9363
9527
  }
9364
9528
 
9365
9529
  /**
@@ -9850,7 +10014,7 @@ class BaseInput extends AuroElement$1$1 {
9850
10014
  this.setCustomValidityForType = undefined;
9851
10015
 
9852
10016
  this.layout = 'classic';
9853
- this.shape = 'rounded';
10017
+ this.shape = 'classic';
9854
10018
  this.size = 'lg';
9855
10019
  }
9856
10020
 
@@ -10239,8 +10403,8 @@ class BaseInput extends AuroElement$1$1 {
10239
10403
  },
10240
10404
 
10241
10405
  /**
10406
+ * The id for input node.
10242
10407
  * @private
10243
- * id for input node
10244
10408
  */
10245
10409
  inputId: {
10246
10410
  type: String,
@@ -11064,6 +11228,76 @@ var tokensCss$3 = css`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-d
11064
11228
 
11065
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)}`;
11066
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
+
11067
11301
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
11068
11302
  // See LICENSE in the project root for license information.
11069
11303
 
@@ -11271,7 +11505,7 @@ class AuroLoader extends LitElement {
11271
11505
  /**
11272
11506
  * @private
11273
11507
  */
11274
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
11508
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2$1();
11275
11509
 
11276
11510
  this.orbit = false;
11277
11511
  this.ringworm = false;
@@ -11334,7 +11568,7 @@ class AuroLoader extends LitElement {
11334
11568
  *
11335
11569
  */
11336
11570
  static register(name = "auro-loader") {
11337
- AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroLoader);
11571
+ AuroLibraryRuntimeUtils$2$1.prototype.registerComponent(name, AuroLoader);
11338
11572
  }
11339
11573
 
11340
11574
  firstUpdated() {
@@ -11638,7 +11872,7 @@ class AuroButton extends LitElement {
11638
11872
  *
11639
11873
  */
11640
11874
  static register(name = "auro-button") {
11641
- AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroButton);
11875
+ AuroLibraryRuntimeUtils$2$1.prototype.registerComponent(name, AuroButton);
11642
11876
  }
11643
11877
 
11644
11878
  /**
@@ -11743,7 +11977,7 @@ var tokensCss$5 = css`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
11743
11977
 
11744
11978
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
11745
11979
 
11746
- let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
11980
+ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
11747
11981
 
11748
11982
  /* eslint-disable jsdoc/require-param */
11749
11983
 
@@ -11824,7 +12058,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
11824
12058
  this.onDark = false;
11825
12059
  this.hasTextContent = false;
11826
12060
 
11827
- AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-helptext');
12061
+ AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-helptext');
11828
12062
  }
11829
12063
 
11830
12064
  static get styles() {
@@ -11880,7 +12114,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
11880
12114
  *
11881
12115
  */
11882
12116
  static register(name = "auro-helptext") {
11883
- AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHelpText);
12117
+ AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroHelpText);
11884
12118
  }
11885
12119
 
11886
12120
  updated() {
@@ -11976,13 +12210,13 @@ class AuroInput extends BaseInput {
11976
12210
 
11977
12211
  static get styles() {
11978
12212
  return [
12213
+ css`${classicStyleCss}`,
12214
+ css`${classicColorCss}`,
11979
12215
  css`${shapeSizeCss}`,
11980
12216
  css`${colorBaseCss}`,
11981
12217
  css`${styleCss$4}`,
11982
12218
  css`${styleDefaultCss}`,
11983
12219
  css`${tokensCss$4}`,
11984
- css`${classicStyleCss}`,
11985
- css`${classicColorCss}`,
11986
12220
  css`${emphasizedStyleCss}`,
11987
12221
  css`${emphasizedColorCss}`,
11988
12222
  css`${snowflakeStyleCss}`
@@ -12004,7 +12238,7 @@ class AuroInput extends BaseInput {
12004
12238
  /**
12005
12239
  * Returns classmap configuration for html5 inputs in all layouts.
12006
12240
  * @private
12007
- * @returns {void}
12241
+ * @returns {object} - Returns classmap.
12008
12242
  */
12009
12243
  get commonInputClasses() {
12010
12244
  return {
@@ -12012,6 +12246,23 @@ class AuroInput extends BaseInput {
12012
12246
  };
12013
12247
  }
12014
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
+ */
12015
12266
  get commonWrapperClasses() {
12016
12267
  return {
12017
12268
  'wrapper': true,
@@ -12020,6 +12271,11 @@ class AuroInput extends BaseInput {
12020
12271
  };
12021
12272
  }
12022
12273
 
12274
+ /**
12275
+ * Returns classmap configuration for helpText elements in each layout.
12276
+ * @private
12277
+ * @returns {object} - Returns classmap.
12278
+ */
12023
12279
  get helpTextClasses() {
12024
12280
  return {
12025
12281
  'helpTextWrapper': true,
@@ -12037,7 +12293,7 @@ class AuroInput extends BaseInput {
12037
12293
  *
12038
12294
  */
12039
12295
  static register(name = "auro-input") {
12040
- AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroInput);
12296
+ AuroLibraryRuntimeUtils$2$1.prototype.registerComponent(name, AuroInput);
12041
12297
  }
12042
12298
 
12043
12299
  /**
@@ -12093,10 +12349,10 @@ class AuroInput extends BaseInput {
12093
12349
  /**
12094
12350
  * Returns HTML for the HTML5 input element.
12095
12351
  * @private
12096
- * @param {boolean} [hideInputWhenBlurred=false] - If true, the input will be visually hidden when not focused and has no value.
12352
+ * @param {boolean} [useLegacyHiddenState=false] - If true, the input will be visually hidden when not focused and has no value.
12097
12353
  * @returns {html} - Returns HTML for the HTML5 input element.
12098
12354
  */
12099
- renderHtmlInput(hideInputWhenBlurred = false) {
12355
+ renderHtmlInput(useLegacyHiddenState = false) {
12100
12356
  const displayValueClasses = {
12101
12357
  'displayValue': true,
12102
12358
  'hasContent': this.hasDisplayValueContent,
@@ -12104,9 +12360,10 @@ class AuroInput extends BaseInput {
12104
12360
  'withValue': this.value && this.value.length > 0,
12105
12361
  };
12106
12362
 
12107
- const inputClasses = {
12108
- 'util_displayHiddenVisually': hideInputWhenBlurred && !this.hasFocus && !this.value
12109
- };
12363
+ // Remove this when the classic layout is sunset.
12364
+ const inputOverrideClasses = useLegacyHiddenState
12365
+ ? this.legacyInputClasses
12366
+ : this.commonInputClasses;
12110
12367
 
12111
12368
  return html`
12112
12369
  <label for=${this.id} class="${classMap(this.commonLabelClasses)}" part="label">
@@ -12128,7 +12385,7 @@ class AuroInput extends BaseInput {
12128
12385
  autocapitalize="${ifDefined(this.autocapitalize ? this.autocapitalize : undefined)}"
12129
12386
  autocomplete="${ifDefined(this.autocomplete ? this.autocomplete : undefined)}"
12130
12387
  autocorrect="${ifDefined(this.autocorrect ? this.autocorrect : undefined)}"
12131
- class="${classMap(inputClasses)}"
12388
+ class="${classMap(inputOverrideClasses)}"
12132
12389
  id="${this.inputId}"
12133
12390
  inputMode="${ifDefined(this.inputMode ? this.inputMode : undefined)}"
12134
12391
  lang="${ifDefined(this.lang)}"
@@ -12272,9 +12529,9 @@ class AuroInput extends BaseInput {
12272
12529
  }
12273
12530
 
12274
12531
  /**
12275
- * Returns HTML for the default layout.
12532
+ * Returns HTML for the classic layout.
12276
12533
  * @private
12277
- * @returns {import("lit").TemplateResult} - Returns HTML for the default layout.
12534
+ * @returns {import("lit").TemplateResult} - Returns HTML for the classic layout.
12278
12535
  */
12279
12536
  renderLayoutClassic() {
12280
12537
  return html`
@@ -12671,6 +12928,76 @@ var tokensCss$1 = css`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-d
12671
12928
 
12672
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)}`;
12673
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
+
12674
13001
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12675
13002
  // See LICENSE in the project root for license information.
12676
13003
 
@@ -12690,7 +13017,7 @@ class AuroIcon extends BaseIcon {
12690
13017
  */
12691
13018
  privateDefaults() {
12692
13019
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
12693
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
13020
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
12694
13021
  }
12695
13022
 
12696
13023
  // function to define props used within the scope of this component
@@ -12772,7 +13099,7 @@ class AuroIcon extends BaseIcon {
12772
13099
  *
12773
13100
  */
12774
13101
  static register(name = "auro-icon") {
12775
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
13102
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroIcon);
12776
13103
  }
12777
13104
 
12778
13105
  connectedCallback() {
@@ -13074,6 +13401,18 @@ class AuroBibtemplate extends LitElement {
13074
13401
  this.setAttribute('exportparts', 'bibtemplate:dropdownBibTemplate');
13075
13402
  }
13076
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
+
13077
13416
  // function that renders the HTML and CSS into the scope of the component
13078
13417
  render() {
13079
13418
  return html`
@@ -13106,123 +13445,7 @@ class AuroBibtemplate extends LitElement {
13106
13445
 
13107
13446
  var bibTemplateVersion = '1.0.0';
13108
13447
 
13109
- 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)}`;
13110
-
13111
- 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)}`;
13112
-
13113
- 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)}`;
13114
-
13115
- // Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
13116
- // See LICENSE in the project root for license information.
13117
-
13118
- // ---------------------------------------------------------------------
13119
-
13120
- /**
13121
- * Converts value to an array.
13122
- * If the value is a JSON string representing an array, it will be parsed.
13123
- * If the value is already an array, it is returned.
13124
- * If the value is undefined, it returns undefined.
13125
- * @private
13126
- * @param {any} value - The value to be converted. Can be a string, array, or undefined.
13127
- * @returns {Array|undefined} - The converted array or undefined.
13128
- * @throws {Error} - Throws an error if the value is not an array, undefined,
13129
- * or if the value cannot be parsed into an array from a JSON string.
13130
- */
13131
- function arrayConverter(value) {
13132
- // Allow undefined
13133
- if (value === undefined) {
13134
- return undefined;
13135
- }
13136
-
13137
- // Return the value if it is already an array
13138
- if (Array.isArray(value)) {
13139
- return value;
13140
- }
13141
-
13142
- try {
13143
- // If value is a JSON string, parse it
13144
- const parsed = typeof value === 'string' ? JSON.parse(value) : value;
13145
-
13146
- // Check if the parsed value is an array
13147
- if (Array.isArray(parsed)) {
13148
- return parsed;
13149
- }
13150
- } catch (error) {
13151
- // If JSON parsing fails, continue to throw an error below
13152
- /* eslint-disable no-console */
13153
- console.error('JSON parsing failed:', error);
13154
- }
13155
-
13156
- // Throw error if the input is not an array or undefined
13157
- throw new Error('Invalid value: Input must be an array or undefined');
13158
- }
13159
-
13160
- /**
13161
- * Compare two arrays for equality.
13162
- * @private
13163
- * @param {Array} arr1 - First array to compare.
13164
- * @param {Array} arr2 - Second array to compare.
13165
- * @returns {boolean} True if arrays are equal.
13166
- */
13167
- function arraysAreEqual(arr1, arr2) {
13168
- // If both arrays undefined, they are equal (true)
13169
- if (arr1 === undefined || arr2 === undefined) {
13170
- return arr1 === arr2;
13171
- }
13172
-
13173
- // If arrays have different lengths, they are not equal
13174
- if (arr1.length !== arr2.length) {
13175
- return false;
13176
- }
13177
-
13178
- // If every item at each index is the same, return true
13179
- for (let index = 0; index < arr1.length; index += 1) {
13180
- if (arr1[index] !== arr2[index]) {
13181
- return false;
13182
- }
13183
- }
13184
- return true;
13185
- }
13186
-
13187
- /**
13188
- * Compares array for changes.
13189
- * @private
13190
- * @param {Array|any} newVal - New value to compare.
13191
- * @param {Array|any} oldVal - Old value to compare.
13192
- * @returns {boolean} True if arrays have changed.
13193
- */
13194
- function arrayOrUndefinedHasChanged(newVal, oldVal) {
13195
- try {
13196
- // Check if values are undefined or arrays
13197
- const isArrayOrUndefined = (val) => val === undefined || Array.isArray(val);
13198
-
13199
- // If non-array or non-undefined, throw error
13200
- if (!isArrayOrUndefined(newVal) || !isArrayOrUndefined(oldVal)) {
13201
- const invalidValue = isArrayOrUndefined(newVal) ? oldVal : newVal;
13202
- throw new Error(`Value must be an array or undefined, received ${typeof invalidValue}`);
13203
- }
13204
-
13205
- // Return true if arrays have changed, false if they are the same
13206
- return !arraysAreEqual(newVal, oldVal);
13207
- } catch (error) {
13208
- /* eslint-disable no-console */
13209
- console.error(error);
13210
- // If validation fails, it has changed
13211
- return true;
13212
- }
13213
- }
13214
-
13215
- 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}`;
13216
-
13217
- 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)}`;
13218
-
13219
- 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}`;
13220
-
13221
- 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)}`;
13222
-
13223
- 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)}`;
13224
-
13225
- 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}`;
13226
13449
 
13227
13450
  var styleEmphasizedCss = css`:host([layout*=emphasized][shape*=pill]) [auro-input]{width:100%}:host([layout*=emphasized][shape*=pill]) [auro-input]::part(inputHelpText){display:none}`;
13228
13451
 
@@ -13546,6 +13769,8 @@ class AuroCombobox extends AuroElement {
13546
13769
  constructor() {
13547
13770
  super();
13548
13771
 
13772
+ this.matchWidth = true;
13773
+
13549
13774
  this.privateDefaults();
13550
13775
  }
13551
13776
 
@@ -13578,7 +13803,7 @@ class AuroCombobox extends AuroElement {
13578
13803
 
13579
13804
  this.validation = new AuroFormValidation$1();
13580
13805
 
13581
- this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
13806
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$5();
13582
13807
 
13583
13808
  this.isHiddenWhileLoading = false;
13584
13809
 
@@ -13587,7 +13812,7 @@ class AuroCombobox extends AuroElement {
13587
13812
 
13588
13813
  // Layout Config
13589
13814
  this.layout = 'classic';
13590
- this.shape = 'rounded';
13815
+ this.shape = 'classic';
13591
13816
  this.size = 'xl';
13592
13817
 
13593
13818
  // floaterConfig
@@ -13679,6 +13904,14 @@ class AuroCombobox extends AuroElement {
13679
13904
  reflect: true
13680
13905
  },
13681
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
+
13682
13915
  /**
13683
13916
  * If set, combobox will not filter menuoptions based in input.
13684
13917
  */
@@ -13724,11 +13957,10 @@ class AuroCombobox extends AuroElement {
13724
13957
 
13725
13958
  /**
13726
13959
  * Specifies the current selected option.
13960
+ * @type {HTMLElement}
13727
13961
  */
13728
13962
  optionSelected: {
13729
- type: Object,
13730
- converter: arrayConverter,
13731
- hasChanged: arrayOrUndefinedHasChanged
13963
+ type: Object
13732
13964
  },
13733
13965
 
13734
13966
  /* eslint-disable jsdoc/require-description-complete-sentence */
@@ -13810,11 +14042,10 @@ class AuroCombobox extends AuroElement {
13810
14042
 
13811
14043
  /**
13812
14044
  * Value selected for the dropdown menu.
13813
- * @type {Array|String<Array>}
14045
+ * @type {string}
13814
14046
  */
13815
14047
  value: {
13816
- converter: arrayConverter,
13817
- hasChanged: arrayOrUndefinedHasChanged
14048
+ type: Object
13818
14049
  },
13819
14050
 
13820
14051
  /* eslint-disable jsdoc/require-description-complete-sentence */
@@ -13880,7 +14111,7 @@ class AuroCombobox extends AuroElement {
13880
14111
  *
13881
14112
  */
13882
14113
  static register(name = 'auro-combobox') {
13883
- AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroCombobox);
14114
+ AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroCombobox);
13884
14115
  }
13885
14116
 
13886
14117
  /**
@@ -13902,17 +14133,15 @@ class AuroCombobox extends AuroElement {
13902
14133
 
13903
14134
  if (this.menu.optionSelected) {
13904
14135
  // Get first option since combobox is single-select
13905
- const [selected] = this.menu.optionSelected;
14136
+ const selected = this.menu.optionSelected;
13906
14137
 
13907
- if (!this.optionSelected || this.optionSelected[0] !== selected) {
13908
- // Store as array
13909
- this.optionSelected = [selected];
14138
+ if (!this.optionSelected || this.optionSelected !== selected) {
14139
+ this.optionSelected = selected;
13910
14140
  }
13911
14141
 
13912
- if (!this.value || this.value[0] !== selected.value) {
13913
- // Store as array
13914
- this.value = [selected.value];
13915
- // Menu already expects array
14142
+ if (!this.value || this.value !== selected.value) {
14143
+ this.value = selected.value;
14144
+
13916
14145
  this.menu.value = this.value;
13917
14146
  }
13918
14147
 
@@ -14039,15 +14268,8 @@ class AuroCombobox extends AuroElement {
14039
14268
  this.showBib();
14040
14269
  });
14041
14270
 
14042
- // this.dropdown.addEventListener('auroDropdown-show', () => {
14043
- this.menuWrapper = this.dropdown.querySelector('.menuWrapper');
14044
- if (this.menu) {
14045
- this.menuWrapper.append(this.menu);
14046
- }
14047
-
14048
14271
  // setting up bibtemplate
14049
14272
  this.bibtemplate = this.dropdown.querySelector(this.bibtemplateTag._$litStatic$); // eslint-disable-line no-underscore-dangle
14050
- this.bibtemplate.append(this.menuWrapper);
14051
14273
 
14052
14274
  // Exposes the CSS parts from the bibtemplate for styling
14053
14275
  this.bibtemplate.exposeCssParts();
@@ -14072,10 +14294,9 @@ class AuroCombobox extends AuroElement {
14072
14294
  this.menu = this.querySelector('auro-menu, [auro-menu]');
14073
14295
 
14074
14296
  // a racing condition on custom-combobox with custom-menu
14075
- if (!this.menu) {
14297
+ if (!this.menu || this.menuShadowRoot === null) {
14076
14298
  setTimeout(() => {
14077
14299
  this.configureMenu();
14078
- this.menuWrapper.append(this.menu);
14079
14300
  }, 0);
14080
14301
  return;
14081
14302
  }
@@ -14092,14 +14313,14 @@ class AuroCombobox extends AuroElement {
14092
14313
  // handle the menu event for an option selection
14093
14314
  this.menu.addEventListener('auroMenu-selectedOption', () => {
14094
14315
  if (this.menu.optionSelected) {
14095
- const [selected] = this.menu.optionSelected;
14316
+ const selected = this.menu.optionSelected;
14096
14317
 
14097
- if (!this.optionSelected || this.optionSelected[0] !== selected) {
14098
- this.optionSelected = [selected];
14318
+ if (!this.optionSelected || this.optionSelected !== selected) {
14319
+ this.optionSelected = selected;
14099
14320
  }
14100
14321
 
14101
- if (!this.value || this.value[0] !== this.optionSelected[0].value) {
14102
- this.value = [this.optionSelected[0].value];
14322
+ if (!this.value || this.value !== this.optionSelected.value) {
14323
+ this.value = this.optionSelected.value;
14103
14324
  this.menu.value = this.value;
14104
14325
  }
14105
14326
 
@@ -14150,41 +14371,12 @@ class AuroCombobox extends AuroElement {
14150
14371
  });
14151
14372
  }
14152
14373
 
14153
- /**
14154
- * Dispatches input's keyboard events from host
14155
- * This allows key events from the input to be handled by the parent.
14156
- * @private
14157
- * @param {KeyboardEvent} event - The keyboard event.
14158
- */
14159
- bubbleUpInputEvent(event) {
14160
- // Do not need to bubble events if the input is not in bib.
14161
- if (event.currentTarget.parentNode !== this.dropdown) {
14162
- // prevents browsers to move cursor in input element.
14163
- if (event.key === 'ArrowUp' || event.key === 'ArrowDown') {
14164
- event.preventDefault();
14165
- }
14166
- const dupEvent = new event.constructor(event.type, event);
14167
- this.dispatchEvent(dupEvent);
14168
- }
14169
- }
14170
-
14171
14374
  /**
14172
14375
  * Binds all behavior needed to the input after rendering.
14173
14376
  * @private
14174
14377
  * @returns {void}
14175
14378
  */
14176
14379
  configureInput() {
14177
- // When input is in bibtemplate, make the event to be fired at combobox element
14178
- this.bubbleUpInputEvent = this.bubbleUpInputEvent.bind(this);
14179
-
14180
- const events = [
14181
- 'input',
14182
- 'keydown',
14183
- 'keyup'
14184
- ];
14185
- events.forEach((eventType) => {
14186
- this.input.addEventListener(eventType, this.bubbleUpInputEvent);
14187
- });
14188
14380
 
14189
14381
  this.addEventListener('keyup', (evt) => {
14190
14382
  if (evt.key.length === 1 || evt.key === 'Backspace' || evt.key === 'Delete') {
@@ -14201,11 +14393,6 @@ class AuroCombobox extends AuroElement {
14201
14393
  if (document.activeElement !== this) {
14202
14394
  this.validate();
14203
14395
  }
14204
-
14205
- // Set to undefined if empty
14206
- if (this.value && this.value.length === 0) {
14207
- this.value = undefined;
14208
- }
14209
14396
  });
14210
14397
 
14211
14398
  // Handle validation messages from auroFormElement-validated event
@@ -14252,6 +14439,7 @@ class AuroCombobox extends AuroElement {
14252
14439
  const inputAlertIcon = this.input.shadowRoot.querySelector(".alertNotification");
14253
14440
 
14254
14441
  if (this.dropdown.isPopoverVisible && this.dropdown.isBibFullscreen) {
14442
+
14255
14443
  if (this.input.parentNode === this.dropdown) {
14256
14444
  // keep the trigger size the same even after input gets removed
14257
14445
  const parentSize = window.getComputedStyle(this.dropdown.trigger);
@@ -14269,7 +14457,7 @@ class AuroCombobox extends AuroElement {
14269
14457
  inputAlertIcon.style.display = 'none';
14270
14458
  }
14271
14459
 
14272
- this.bibtemplate.append(this.input);
14460
+ this.bibtemplate.prepend(this.input);
14273
14461
  this.input.focus();
14274
14462
  }
14275
14463
  } else if (this.input.parentNode !== this.dropdown) {
@@ -14283,7 +14471,7 @@ class AuroCombobox extends AuroElement {
14283
14471
  inputAlertIcon.style.display = '';
14284
14472
  }
14285
14473
 
14286
- this.dropdown.append(this.input);
14474
+ this.dropdown.prepend(this.input);
14287
14475
  this.input.focus();
14288
14476
  }
14289
14477
  }
@@ -14299,10 +14487,8 @@ class AuroCombobox extends AuroElement {
14299
14487
 
14300
14488
  let hasChange = false;
14301
14489
 
14302
- // Store value as array or undefined
14303
- if (!this.value || this.value[0] !== this.input.value) {
14304
- // Menu expects an array
14305
- 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;
14306
14492
  this.value = this.menu.value;
14307
14493
  hasChange = true;
14308
14494
  this.dispatchEvent(new CustomEvent('auroCombobox-valueSet', {
@@ -14312,7 +14498,7 @@ class AuroCombobox extends AuroElement {
14312
14498
  }));
14313
14499
  }
14314
14500
 
14315
- if (this.optionSelected && this.optionSelected[0] && this.input.value !== this.optionSelected[0].textContent) {
14501
+ if (this.optionSelected && this.input.value !== this.optionSelected.textContent) {
14316
14502
  this.optionSelected = undefined;
14317
14503
  hasChange = true;
14318
14504
  }
@@ -14455,15 +14641,15 @@ class AuroCombobox extends AuroElement {
14455
14641
  // After the component is ready, send direct value changes to auro-menu.
14456
14642
  if (changedProperties.has('value')) {
14457
14643
  if (this.value) {
14458
- if (this.optionSelected && this.optionSelected[0] && this.optionSelected[0].value === this.value[0]) {
14644
+ if (this.optionSelected && this.optionSelected.value === this.value) {
14459
14645
  // If value updates and the previously selected option already matches the new value
14460
14646
  // just update the input value to use the textContent of the optionSelected
14461
- this.input.value = this.optionSelected[0].textContent;
14647
+ this.input.value = this.optionSelected.textContent;
14462
14648
  } else {
14463
14649
  // Otherwise just enter the value into the input
14464
14650
  this.optionSelected = undefined;
14465
- // Use first value since combobox is single-select
14466
- const [inputValue] = this.value;
14651
+
14652
+ const inputValue = this.value;
14467
14653
  this.input.value = inputValue;
14468
14654
 
14469
14655
  // Update the menu value and matchWord
@@ -14577,7 +14763,7 @@ class AuroCombobox extends AuroElement {
14577
14763
  fluid
14578
14764
  for="dropdownMenu"
14579
14765
  layout="${this.layout}"
14580
- matchWidth
14766
+ matchWidth="${ifDefined(this.matchWidth)}"
14581
14767
  nocheckmark
14582
14768
  rounded
14583
14769
  shape="${this.shape}"
@@ -14606,9 +14792,8 @@ class AuroCombobox extends AuroElement {
14606
14792
  slot="trigger">
14607
14793
  </${this.inputTag}>
14608
14794
 
14609
- <div class="menuWrapper"></div>
14610
-
14611
14795
  <${this.bibtemplateTag} ?large="${this.largeFullscreenHeadline}">
14796
+ <slot></slot>
14612
14797
  </${this.bibtemplateTag}>
14613
14798
 
14614
14799
  <span slot="helpText">