@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
@@ -20,7 +20,7 @@
20
20
  | [chevron](#chevron) | `chevron` | | ` Boolean ` | | If declared, the dropdown displays a chevron on the right. |
21
21
  | [common](#common) | `common` | | ` Boolean ` | | If declared, the dropdown will be styled with the common theme. |
22
22
  | [commonLabelClasses](#commonLabelClasses) | | readonly | `object` | | |
23
- | [commonWrapperClasses](#commonWrapperClasses) | | readonly | `{ trigger: boolean; wrapper: boolean; hasFocus: boolean \| undefined; simple: boolean \| undefined; }` | | |
23
+ | [commonWrapperClasses](#commonWrapperClasses) | | readonly | `{ trigger: boolean; wrapper: boolean; hasFocus: boolean \| undefined; simple: boolean \| undefined; parentBorder: boolean; }` | | |
24
24
  | [disabled](#disabled) | `disabled` | | ` Boolean ` | | If declared, the dropdown is not interactive. |
25
25
  | [error](#error) | `error` | | ` Boolean ` | | If declared in combination with not using the `simple` property or `helpText` slot content, will apply red color to both. |
26
26
  | [errorMessage](#errorMessage) | `errorMessage` | | `string` | "" | Contains the help text message for the current validity error. |
@@ -31,7 +31,7 @@
31
31
  | [inset](#inset) | `inset` | | ` Boolean ` | | If declared, will apply padding around trigger slot content. |
32
32
  | [isBibFullscreen](#isBibFullscreen) | `isBibFullscreen` | | `boolean` | false | If true, the dropdown bib is taking the fullscreen when it's open. |
33
33
  | [isPopoverVisible](#isPopoverVisible) | `isPopoverVisible` | | ` Boolean ` | false | If true, the dropdown bib is displayed. |
34
- | [layout](#layout) | | | `string` | "default" | |
34
+ | [layout](#layout) | | | `string` | "classic" | |
35
35
  | [matchWidth](#matchWidth) | `matchWidth` | | ` Boolean ` | false | If declared, the popover and trigger will be set to the same width. |
36
36
  | [noFlip](#noFlip) | `noFlip` | | `boolean` | "false" | If declared, the bib will NOT flip to an alternate position<br />when there isn't enough space in the specified `placement`. |
37
37
  | [noHideOnThisFocusLoss](#noHideOnThisFocusLoss) | `noHideOnThisFocusLoss` | | ` Boolean ` | false | If declared, the dropdown will not hide when moving focus outside the element. |
@@ -76,7 +76,7 @@ const t=globalThis,e$1=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShad
76
76
 
77
77
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
78
78
 
79
- let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
79
+ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
80
80
 
81
81
  /* eslint-disable jsdoc/require-param */
82
82
 
@@ -659,10 +659,11 @@ const flip$1 = function (options) {
659
659
  const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
660
660
  const nextPlacement = placements[nextIndex];
661
661
  if (nextPlacement) {
662
- var _overflowsData$;
663
662
  const ignoreCrossAxisOverflow = checkCrossAxis === 'alignment' ? initialSideAxis !== getSideAxis(nextPlacement) : false;
664
- const hasInitialMainAxisOverflow = ((_overflowsData$ = overflowsData[0]) == null ? void 0 : _overflowsData$.overflows[0]) > 0;
665
- if (!ignoreCrossAxisOverflow || hasInitialMainAxisOverflow) {
663
+ if (!ignoreCrossAxisOverflow ||
664
+ // We leave the current main axis only if every placement on that axis
665
+ // overflows the main axis.
666
+ overflowsData.every(d => d.overflows[0] > 0 && getSideAxis(d.placement) === initialSideAxis)) {
666
667
  // Try next placement and re-run the lifecycle.
667
668
  return {
668
669
  data: {
@@ -1683,8 +1684,28 @@ class AuroFloatingUI {
1683
1684
  if (!AuroFloatingUI.isMousePressHandlerInitialized && window && window.addEventListener) {
1684
1685
  AuroFloatingUI.isMousePressHandlerInitialized = true;
1685
1686
 
1687
+ // Track timeout for isMousePressed reset to avoid race conditions
1688
+ if (!AuroFloatingUI._mousePressedTimeout) {
1689
+ AuroFloatingUI._mousePressedTimeout = null;
1690
+ }
1686
1691
  const mouseEventGlobalHandler = (event) => {
1687
- AuroFloatingUI.isMousePressed = event.type === 'mousedown';
1692
+ const isPressed = event.type === 'mousedown';
1693
+ if (isPressed) {
1694
+ // Clear any pending timeout to prevent race condition
1695
+ if (AuroFloatingUI._mousePressedTimeout !== null) {
1696
+ clearTimeout(AuroFloatingUI._mousePressedTimeout);
1697
+ AuroFloatingUI._mousePressedTimeout = null;
1698
+ }
1699
+ if (!AuroFloatingUI.isMousePressed) {
1700
+ AuroFloatingUI.isMousePressed = true;
1701
+ }
1702
+ } else if (AuroFloatingUI.isMousePressed && !isPressed) {
1703
+ // Schedule reset and track timeout ID
1704
+ AuroFloatingUI._mousePressedTimeout = setTimeout(() => {
1705
+ AuroFloatingUI.isMousePressed = false;
1706
+ AuroFloatingUI._mousePressedTimeout = null;
1707
+ }, 0);
1708
+ }
1688
1709
  };
1689
1710
 
1690
1711
  window.addEventListener('mousedown', mouseEventGlobalHandler);
@@ -1811,6 +1832,7 @@ class AuroFloatingUI {
1811
1832
 
1812
1833
  // Compute the position of the bib
1813
1834
  computePosition(this.element.trigger, this.element.bib, {
1835
+ strategy: this.element.floaterConfig?.strategy || 'fixed',
1814
1836
  placement: this.element.floaterConfig?.placement,
1815
1837
  middleware: middleware || []
1816
1838
  }).then(({ x, y }) => { // eslint-disable-line id-length
@@ -1945,8 +1967,9 @@ class AuroFloatingUI {
1945
1967
  if (this.element.contains(activeElement) || this.element.bib?.contains(activeElement)) {
1946
1968
  return;
1947
1969
  }
1948
- // if fullscreen bib is still open and the focus is missing, do not close
1949
- if (this.element.bib.hasAttribute('isfullscreen') && activeElement === document.body) {
1970
+
1971
+ // if fullscreen bib is in fullscreen mode, do not close
1972
+ if (this.element.bib.hasAttribute('isfullscreen')) {
1950
1973
  return;
1951
1974
  }
1952
1975
 
@@ -2247,8 +2270,6 @@ class AuroFloatingUI {
2247
2270
  this.element.hoverToggle = this.element.floaterConfig.hoverToggle;
2248
2271
  }
2249
2272
 
2250
- document.body.append(this.element.bib);
2251
-
2252
2273
  this.regenerateBibId();
2253
2274
  this.handleTriggerTabIndex();
2254
2275
 
@@ -2397,7 +2418,7 @@ const cacheFetch = (uri, options = {}) => {
2397
2418
  return _fetchMap.get(uri);
2398
2419
  };
2399
2420
 
2400
- var styleCss$3 = i$2`: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}`;
2421
+ var styleCss$2 = i$2`: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}`;
2401
2422
 
2402
2423
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
2403
2424
  // See LICENSE in the project root for license information.
@@ -2440,7 +2461,7 @@ class BaseIcon extends AuroElement$1 {
2440
2461
 
2441
2462
  static get styles() {
2442
2463
  return i$2`
2443
- ${styleCss$3}
2464
+ ${styleCss$2}
2444
2465
  `;
2445
2466
  }
2446
2467
 
@@ -2485,6 +2506,76 @@ var tokensCss$2 = i$2`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-d
2485
2506
 
2486
2507
  var colorCss$3 = i$2`: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)}`;
2487
2508
 
2509
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
2510
+ // See LICENSE in the project root for license information.
2511
+
2512
+ // ---------------------------------------------------------------------
2513
+
2514
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
2515
+
2516
+ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
2517
+
2518
+ /* eslint-disable jsdoc/require-param */
2519
+
2520
+ /**
2521
+ * This will register a new custom element with the browser.
2522
+ * @param {String} name - The name of the custom element.
2523
+ * @param {Object} componentClass - The class to register as a custom element.
2524
+ * @returns {void}
2525
+ */
2526
+ registerComponent(name, componentClass) {
2527
+ if (!customElements.get(name)) {
2528
+ customElements.define(name, class extends componentClass {});
2529
+ }
2530
+ }
2531
+
2532
+ /**
2533
+ * Finds and returns the closest HTML Element based on a selector.
2534
+ * @returns {void}
2535
+ */
2536
+ closestElement(
2537
+ selector, // selector like in .closest()
2538
+ base = this, // extra functionality to skip a parent
2539
+ __Closest = (el, found = el && el.closest(selector)) =>
2540
+ !el || el === document || el === window
2541
+ ? null // standard .closest() returns null for non-found selectors also
2542
+ : found
2543
+ ? found // found a selector INside this element
2544
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
2545
+ ) {
2546
+ return __Closest(base);
2547
+ }
2548
+ /* eslint-enable jsdoc/require-param */
2549
+
2550
+ /**
2551
+ * 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.
2552
+ * @param {Object} elem - The element to check.
2553
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
2554
+ * @returns {void}
2555
+ */
2556
+ handleComponentTagRename(elem, tagName) {
2557
+ const tag = tagName.toLowerCase();
2558
+ const elemTag = elem.tagName.toLowerCase();
2559
+
2560
+ if (elemTag !== tag) {
2561
+ elem.setAttribute(tag, true);
2562
+ }
2563
+ }
2564
+
2565
+ /**
2566
+ * Validates if an element is a specific Auro component.
2567
+ * @param {Object} elem - The element to validate.
2568
+ * @param {String} tagName - The name of the Auro component to check against.
2569
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
2570
+ */
2571
+ elementMatch(elem, tagName) {
2572
+ const tag = tagName.toLowerCase();
2573
+ const elemTag = elem.tagName.toLowerCase();
2574
+
2575
+ return elemTag === tag || elem.hasAttribute(tag);
2576
+ }
2577
+ };
2578
+
2488
2579
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
2489
2580
  // See LICENSE in the project root for license information.
2490
2581
 
@@ -2572,7 +2663,7 @@ class AuroIcon extends BaseIcon {
2572
2663
  return [
2573
2664
  super.styles,
2574
2665
  i$2`${tokensCss$2}`,
2575
- i$2`${styleCss$3}`,
2666
+ i$2`${styleCss$2}`,
2576
2667
  i$2`${colorCss$3}`
2577
2668
  ];
2578
2669
  }
@@ -2654,7 +2745,7 @@ class AuroIcon extends BaseIcon {
2654
2745
 
2655
2746
  var iconVersion = '6.1.2';
2656
2747
 
2657
- var styleCss$2 = i$2`: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}`;
2748
+ var styleCss$1 = i$2`: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}`;
2658
2749
 
2659
2750
  var colorCss$2 = i$2`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
2660
2751
 
@@ -2664,7 +2755,6 @@ var tokensCss$1 = i$2`:host(:not([ondark])){--ds-auro-dropdown-label-text-color:
2664
2755
  // See LICENSE in the project root for license information.
2665
2756
 
2666
2757
 
2667
-
2668
2758
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
2669
2759
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
2670
2760
  'xl',
@@ -2689,12 +2779,12 @@ class AuroDropdownBib extends i {
2689
2779
  */
2690
2780
  this._mobileBreakpointValue = undefined;
2691
2781
 
2692
- AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
2782
+ AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
2693
2783
  }
2694
2784
 
2695
2785
  static get styles() {
2696
2786
  return [
2697
- styleCss$2,
2787
+ styleCss$1,
2698
2788
  colorCss$2,
2699
2789
  tokensCss$1
2700
2790
  ];
@@ -2734,6 +2824,13 @@ class AuroDropdownBib extends i {
2734
2824
  type: Boolean,
2735
2825
  reflect: true
2736
2826
  },
2827
+
2828
+ /**
2829
+ * A reference to the associated bib template element.
2830
+ */
2831
+ bibTemplate: {
2832
+ type: Object
2833
+ }
2737
2834
  };
2738
2835
  }
2739
2836
 
@@ -2766,9 +2863,50 @@ class AuroDropdownBib extends i {
2766
2863
  }
2767
2864
  }
2768
2865
  });
2866
+
2867
+ if (this.bibTemplate) {
2868
+ // If the bib template is found, set the fullscreen attribute
2869
+ if (this.isFullscreen) {
2870
+ this.bibTemplate.setAttribute('isFullscreen', 'true');
2871
+ } else {
2872
+ this.bibTemplate.removeAttribute('isFullscreen');
2873
+ }
2874
+ }
2769
2875
  }
2770
2876
  }
2771
2877
 
2878
+ connectedCallback() {
2879
+ super.connectedCallback();
2880
+
2881
+ // Listen for the auro-bibtemplate-connected event to set the fullscreen attribute
2882
+ this.addEventListener('auro-bibtemplate-connected', (event) => {
2883
+ const bibTemplate = event.detail.element;
2884
+ this.bibTemplate = bibTemplate;
2885
+
2886
+ if (bibTemplate) {
2887
+ // If the bib template is found, set the fullscreen attribute
2888
+ if (this.isFullscreen) {
2889
+ bibTemplate.setAttribute('isFullscreen', 'true');
2890
+ } else {
2891
+ bibTemplate.removeAttribute('isFullscreen');
2892
+ }
2893
+ }
2894
+ });
2895
+ }
2896
+
2897
+ firstUpdated(changedProperties) {
2898
+ super.firstUpdated(changedProperties);
2899
+
2900
+ // Dispatch a custom event when the component is connected
2901
+ this.dispatchEvent(new CustomEvent('auro-dropdownbib-connected', {
2902
+ bubbles: true,
2903
+ composed: true,
2904
+ detail: {
2905
+ element: this
2906
+ }
2907
+ }));
2908
+ }
2909
+
2772
2910
  // function that renders the HTML and CSS into the scope of the component
2773
2911
  render() {
2774
2912
  return u$1`
@@ -2781,15 +2919,17 @@ class AuroDropdownBib extends i {
2781
2919
 
2782
2920
  var dropdownVersion = '3.0.0';
2783
2921
 
2784
- var shapeSizeCss = i$2`.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}`;
2785
-
2786
- var styleCss$1 = i$2`: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)}`;
2922
+ var shapeSizeCss = i$2`.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}`;
2787
2923
 
2788
2924
  var colorCss$1 = i$2`: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)}`;
2789
2925
 
2790
- var styleEmphasizedCss = i$2`: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)}`;
2926
+ var classicColorCss = i$2`: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))}`;
2927
+
2928
+ var classicLayoutCss = i$2`: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)}`;
2791
2929
 
2792
- var styleSnowflakeCss = i$2`: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)}`;
2930
+ var styleEmphasizedCss = i$2`: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)}`;
2931
+
2932
+ var styleSnowflakeCss = i$2`: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)}`;
2793
2933
 
2794
2934
  var colorCss = i$2`: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)}`;
2795
2935
 
@@ -3117,12 +3257,13 @@ class AuroDropdown extends AuroElement {
3117
3257
  this.matchWidth = false;
3118
3258
  this.noHideOnThisFocusLoss = false;
3119
3259
 
3120
- this.errorMessage = ''; // TODO!
3260
+ this.errorMessage = ''; // TODO - check with Doug if there is still more to do here
3121
3261
 
3122
3262
  // Layout Config
3123
- this.layout = 'default';
3263
+ this.layout = 'classic';
3124
3264
  this.shape = 'rounded';
3125
3265
  this.size = 'xl';
3266
+ this.parentBorder = false;
3126
3267
 
3127
3268
  this.privateDefaults();
3128
3269
  }
@@ -3138,7 +3279,8 @@ class AuroDropdown extends AuroElement {
3138
3279
  'trigger': true,
3139
3280
  'wrapper': true,
3140
3281
  'hasFocus': this.hasFocus,
3141
- 'simple': this.simple
3282
+ 'simple': this.simple,
3283
+ 'parentBorder': this.parentBorder
3142
3284
  };
3143
3285
  }
3144
3286
 
@@ -3190,7 +3332,7 @@ class AuroDropdown extends AuroElement {
3190
3332
  /**
3191
3333
  * @private
3192
3334
  */
3193
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
3335
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
3194
3336
 
3195
3337
  /**
3196
3338
  * @private
@@ -3405,6 +3547,15 @@ class AuroDropdown extends AuroElement {
3405
3547
  reflect: true
3406
3548
  },
3407
3549
 
3550
+ /**
3551
+ * Defines if the trigger should size based on the parent element providing the border UI.
3552
+ * @private
3553
+ */
3554
+ parentBorder: {
3555
+ type: Boolean,
3556
+ reflect: true
3557
+ },
3558
+
3408
3559
  /**
3409
3560
  * If declared, the popover and trigger will be set to the same width.
3410
3561
  */
@@ -3507,10 +3658,18 @@ class AuroDropdown extends AuroElement {
3507
3658
  static get styles() {
3508
3659
  return [
3509
3660
  colorCss$1,
3510
- styleCss$1,
3511
3661
  tokensCss$1,
3662
+
3663
+ // default layout
3664
+ classicColorCss,
3665
+ classicLayoutCss,
3666
+
3667
+ // emphasized layout
3512
3668
  styleEmphasizedCss,
3669
+
3670
+ // snowflake layout
3513
3671
  styleSnowflakeCss,
3672
+
3514
3673
  shapeSizeCss
3515
3674
  ];
3516
3675
  }
@@ -3524,7 +3683,7 @@ class AuroDropdown extends AuroElement {
3524
3683
  *
3525
3684
  */
3526
3685
  static register(name = "auro-dropdown") {
3527
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroDropdown);
3686
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroDropdown);
3528
3687
  }
3529
3688
 
3530
3689
  /**
@@ -3857,11 +4016,9 @@ class AuroDropdown extends AuroElement {
3857
4016
  *
3858
4017
  * @private
3859
4018
  * @method handleDefaultSlot
3860
- * @param {Event} event - The event object representing the slot change.
3861
4019
  * @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
3862
4020
  */
3863
- handleDefaultSlot(event) {
3864
- [...event.target.assignedNodes()].forEach((node) => this.bibContent.append(node));
4021
+ handleDefaultSlot() {
3865
4022
 
3866
4023
  if (this.onSlotChange) {
3867
4024
  this.onSlotChange();
@@ -3904,7 +4061,6 @@ class AuroDropdown extends AuroElement {
3904
4061
  id="trigger"
3905
4062
  class="${e$2(this.commonWrapperClasses)}" part="wrapper"
3906
4063
  tabindex="${this.tabIndex}"
3907
- ?showBorder="${this.showTriggerBorders}"
3908
4064
  role="${o(this.triggerContentFocusable ? undefined : this.a11yRole)}"
3909
4065
  aria-expanded="${o(this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
3910
4066
  aria-controls="${o(this.triggerContentFocusable ? undefined : this.dropdownId)}"
@@ -3924,6 +4080,7 @@ class AuroDropdown extends AuroElement {
3924
4080
  ${this.chevron || this.common ? u$1`
3925
4081
  <div
3926
4082
  id="showStateIcon"
4083
+ class="chevron"
3927
4084
  part="chevron">
3928
4085
  <${this.iconTag}
3929
4086
  category="interface"
@@ -3938,9 +4095,6 @@ class AuroDropdown extends AuroElement {
3938
4095
  <div class="${e$2(helpTextClasses)}">
3939
4096
  <slot name="helpText"></slot>
3940
4097
  </div>
3941
- <div class="slotContent">
3942
- <slot @slotchange="${this.handleDefaultSlot}"></slot>
3943
- </div>
3944
4098
  <div id="bibSizer" part="size"></div>
3945
4099
  <${this.dropdownBibTag}
3946
4100
  id="bib"
@@ -3949,6 +4103,9 @@ class AuroDropdown extends AuroElement {
3949
4103
  ?common="${this.common}"
3950
4104
  ?rounded="${this.common || this.rounded}"
3951
4105
  ?inset="${this.common || this.inset}">
4106
+ <div class="slotContent">
4107
+ <slot @slotchange="${this.handleDefaultSlot}"></slot>
4108
+ </div>
3952
4109
  </${this.dropdownBibTag}>
3953
4110
  </div>
3954
4111
  `;
@@ -3960,6 +4117,7 @@ class AuroDropdown extends AuroElement {
3960
4117
  * @returns {html} - Returns HTML for the classic layout.
3961
4118
  */
3962
4119
  renderLayoutClassic() {
4120
+
3963
4121
  return u$1`
3964
4122
  <div>
3965
4123
  <div
@@ -3997,9 +4155,10 @@ class AuroDropdown extends AuroElement {
3997
4155
  </div>
3998
4156
  ` : undefined }
3999
4157
  </div>
4000
- <div class="slotContent">
4001
- <slot @slotchange="${this.handleDefaultSlot}"></slot>
4002
- </div>
4158
+ <${this.helpTextTag} part="helpText" ?onDark=${this.onDark} ?error="${this.error}">
4159
+ <slot name="helpText"></slot>
4160
+ </${this.helpTextTag}>
4161
+
4003
4162
  <div id="bibSizer" part="size"></div>
4004
4163
  <${this.dropdownBibTag}
4005
4164
  id="bib"
@@ -4009,6 +4168,9 @@ class AuroDropdown extends AuroElement {
4009
4168
  ?rounded="${this.common || this.rounded}"
4010
4169
  ?inset="${this.common || this.inset}"
4011
4170
  >
4171
+ <div class="slotContent">
4172
+ <slot @slotchange="${this.handleDefaultSlot}"></slot>
4173
+ </div>
4012
4174
  </${this.dropdownBibTag}>
4013
4175
  </div>
4014
4176
  `;
@@ -36,6 +36,51 @@ To meet our accessibility requirement, all uses of `auro-dropdown` should have a
36
36
 
37
37
  Not including one of the above options will result in your UI being non-compliant with Alaska's accessibility policies.
38
38
 
39
+ ## Classic Layouts
40
+
41
+ This first common example uses the default `auro-dropdown` element with the attributes of `bordered` `rounded` `inset` `toggle` and `chevron`. Additionally the `aria-label` attribute is used to define a string value that labels an interactive element.
42
+
43
+ <div class="exampleWrapper">
44
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/common.html) -->
45
+ <!-- The below content is automatically added from ./../apiExamples/common.html -->
46
+ <auro-dropdown id="common" common aria-label="Label content for screen reader">
47
+ <div style="padding: var(--ds-size-150);">
48
+ Lorem ipsum solar
49
+ <br />
50
+ <auro-button onclick="document.querySelector('#common').hide()">
51
+ Dismiss Dropdown
52
+ </auro-button>
53
+ </div>
54
+ <span slot="helpText">
55
+ Help text
56
+ </span>
57
+ <div slot="trigger">
58
+ Trigger
59
+ </div>
60
+ </auro-dropdown>
61
+ <!-- AURO-GENERATED-CONTENT:END -->
62
+ </div>
63
+ <div class="exampleWrapper--ondark" aria-hidden>
64
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkCommon.html) -->
65
+ <!-- The below content is automatically added from ./../apiExamples/onDarkCommon.html -->
66
+ <auro-dropdown onDark common id="commonOnDark" aria-label="Label content for screen reader">
67
+ <div style="padding: var(--ds-size-150);">
68
+ Lorem ipsum solar
69
+ <br />
70
+ <auro-button onclick="document.querySelector('#commonOnDark').hide()">
71
+ Dismiss Dropdown
72
+ </auro-button>
73
+ </div>
74
+ <span slot="helpText">
75
+ Help text
76
+ </span>
77
+ <div slot="trigger">
78
+ Trigger
79
+ </div>
80
+ </auro-dropdown>
81
+ <!-- AURO-GENERATED-CONTENT:END -->
82
+ </div>
83
+
39
84
  ## Emphasized Layouts
40
85
 
41
86
  <div class="exampleWrapper--ondark">