@aurodesignsystem-dev/auro-formkit 0.0.0-pr622.1 → 0.0.0-pr624.1

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 (109) hide show
  1. package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
  2. package/components/bibtemplate/dist/index.js +2 -2
  3. package/components/bibtemplate/dist/registered.js +2 -2
  4. package/components/checkbox/README.md +1 -1
  5. package/components/checkbox/demo/api.min.js +14 -3
  6. package/components/checkbox/demo/index.min.js +14 -3
  7. package/components/checkbox/demo/readme.md +1 -1
  8. package/components/checkbox/dist/auro-checkbox-group.d.ts +1 -1
  9. package/components/checkbox/dist/auro-checkbox.d.ts +5 -1
  10. package/components/checkbox/dist/index.js +14 -3
  11. package/components/checkbox/dist/registered.js +14 -3
  12. package/components/combobox/README.md +1 -1
  13. package/components/combobox/demo/api.md +3 -0
  14. package/components/combobox/demo/api.min.js +1479 -395
  15. package/components/combobox/demo/index.html +2 -0
  16. package/components/combobox/demo/index.md +75 -0
  17. package/components/combobox/demo/index.min.js +1479 -395
  18. package/components/combobox/demo/readme.md +1 -1
  19. package/components/combobox/dist/auro-combobox.d.ts +19 -9
  20. package/components/combobox/dist/index.js +1471 -387
  21. package/components/combobox/dist/registered.js +1471 -387
  22. package/components/counter/README.md +1 -1
  23. package/components/counter/demo/api.min.js +433 -104
  24. package/components/counter/demo/index.min.js +433 -104
  25. package/components/counter/demo/readme.md +1 -1
  26. package/components/counter/dist/iconVersion.d.ts +1 -1
  27. package/components/counter/dist/index.js +433 -104
  28. package/components/counter/dist/registered.js +433 -104
  29. package/components/datepicker/README.md +1 -1
  30. package/components/datepicker/demo/api.min.js +1157 -376
  31. package/components/datepicker/demo/index.min.js +1157 -376
  32. package/components/datepicker/demo/readme.md +1 -1
  33. package/components/datepicker/dist/index.js +1156 -375
  34. package/components/datepicker/dist/registered.js +1156 -375
  35. package/components/dropdown/README.md +1 -1
  36. package/components/dropdown/demo/api.md +59 -35
  37. package/components/dropdown/demo/api.min.js +361 -88
  38. package/components/dropdown/demo/index.md +52 -0
  39. package/components/dropdown/demo/index.min.js +361 -88
  40. package/components/dropdown/demo/readme.md +1 -1
  41. package/components/dropdown/dist/auro-dropdown.d.ts +70 -21
  42. package/components/dropdown/dist/index.js +331 -58
  43. package/components/dropdown/dist/registered.js +331 -58
  44. package/components/dropdown/dist/styles/default/style-css.d.ts +2 -0
  45. package/components/dropdown/dist/styles/emphasized/style-css.d.ts +2 -0
  46. package/components/dropdown/dist/styles/shapeSize-css.d.ts +2 -0
  47. package/components/dropdown/dist/styles/snowflake/style-css.d.ts +2 -0
  48. package/components/form/README.md +1 -1
  49. package/components/form/demo/readme.md +1 -1
  50. package/components/input/README.md +2 -2
  51. package/components/input/demo/api.md +76 -64
  52. package/components/input/demo/api.min.js +747 -295
  53. package/components/input/demo/index.html +1 -1
  54. package/components/input/demo/index.md +49 -4
  55. package/components/input/demo/index.min.js +747 -295
  56. package/components/input/demo/readme.md +2 -2
  57. package/components/input/dist/auro-input.d.ts +97 -3
  58. package/components/input/dist/base-input.d.ts +36 -18
  59. package/components/input/dist/index.js +681 -229
  60. package/components/input/dist/registered.js +681 -229
  61. package/components/input/dist/styles/classic/color-css.d.ts +2 -0
  62. package/components/input/dist/styles/classic/style-css.d.ts +2 -0
  63. package/components/input/dist/styles/default/borders-css.d.ts +2 -0
  64. package/components/input/dist/styles/default/color-css.d.ts +2 -0
  65. package/components/input/dist/styles/default/input-css.d.ts +2 -0
  66. package/components/input/dist/styles/default/label-css.d.ts +2 -0
  67. package/components/input/dist/styles/default/mixins-css.d.ts +2 -0
  68. package/components/input/dist/styles/default/notificationIcons-css.d.ts +2 -0
  69. package/components/input/dist/styles/default/style-css.d.ts +2 -0
  70. package/components/input/dist/styles/emphasized/color-css.d.ts +2 -0
  71. package/components/input/dist/styles/emphasized/style-css.d.ts +2 -0
  72. package/components/input/dist/styles/shapeSize-css.d.ts +2 -0
  73. package/components/input/dist/styles/snowflake/style-css.d.ts +2 -0
  74. package/components/layoutElement/dist/auroElement.d.ts +34 -0
  75. package/components/layoutElement/dist/index.d.ts +1 -0
  76. package/components/layoutElement/dist/index.js +1 -0
  77. package/components/layoutElement/dist/registered.js +1 -0
  78. package/components/menu/README.md +1 -1
  79. package/components/menu/demo/api.min.js +2 -2
  80. package/components/menu/demo/index.min.js +2 -2
  81. package/components/menu/demo/readme.md +1 -1
  82. package/components/menu/dist/iconVersion.d.ts +1 -1
  83. package/components/menu/dist/index.js +2 -2
  84. package/components/menu/dist/registered.js +2 -2
  85. package/components/radio/README.md +1 -1
  86. package/components/radio/demo/api.md +8 -0
  87. package/components/radio/demo/api.min.js +13 -5
  88. package/components/radio/demo/index.min.js +13 -5
  89. package/components/radio/demo/readme.md +1 -1
  90. package/components/radio/dist/auro-radio.d.ts +4 -0
  91. package/components/radio/dist/index.js +13 -5
  92. package/components/radio/dist/registered.js +13 -5
  93. package/components/select/README.md +1 -1
  94. package/components/select/demo/api.html +15 -0
  95. package/components/select/demo/api.md +178 -0
  96. package/components/select/demo/api.min.js +403 -62
  97. package/components/select/demo/index.html +15 -0
  98. package/components/select/demo/index.md +177 -0
  99. package/components/select/demo/index.min.js +403 -62
  100. package/components/select/demo/readme.md +1 -1
  101. package/components/select/dist/auro-select.d.ts +27 -0
  102. package/components/select/dist/index.js +400 -58
  103. package/components/select/dist/registered.js +400 -58
  104. package/package.json +2 -2
  105. /package/components/{dropdown/dist/styles/bibColors-css.d.ts → combobox/dist/styles/emphasized/style-css.d.ts} +0 -0
  106. /package/components/{dropdown/dist/styles/bibStyles-css.d.ts → combobox/dist/styles/snowflake/style-css.d.ts} +0 -0
  107. /package/components/{input/dist/styles/borders-css.d.ts → dropdown/dist/styles/default/bibColors-css.d.ts} +0 -0
  108. /package/components/{input/dist/styles/label-css.d.ts → dropdown/dist/styles/default/bibStyles-css.d.ts} +0 -0
  109. /package/components/{input/dist/styles/notificationIcons-css.d.ts → dropdown/dist/styles/default/color-css.d.ts} +0 -0
@@ -54,6 +54,19 @@ const t$2=globalThis,i$3=t$2.trustedTypes,s$3=i$3?i$3.createPolicy("lit-html",{c
54
54
  */
55
55
  const a=Symbol.for(""),o$1=t=>{if(t?.r===a)return t?._$litStatic$},s$1=t=>({_$litStatic$:t,r:a}),i$1=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a}),l=new Map,n=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&void 0!==(i=e[$],s=o$1(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");void 0===(r=l.get(t))&&(n.raw=n,l.set(t,r=n)),e=u;}return t(r,...e)},u$2=n(x);
56
56
 
57
+ /**
58
+ * @license
59
+ * Copyright 2017 Google LLC
60
+ * SPDX-License-Identifier: BSD-3-Clause
61
+ */
62
+ const t$1={ATTRIBUTE:1,CHILD:2},e$1=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
63
+
64
+ /**
65
+ * @license
66
+ * Copyright 2018 Google LLC
67
+ * SPDX-License-Identifier: BSD-3-Clause
68
+ */const e=e$1(class extends i{constructor(t){if(super(t),t.type!==t$1.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T}});
69
+
57
70
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
58
71
  // See LICENSE in the project root for license information.
59
72
 
@@ -938,19 +951,6 @@ let AuroFormValidation$1 = class AuroFormValidation {
938
951
  }
939
952
  };
940
953
 
941
- /**
942
- * @license
943
- * Copyright 2017 Google LLC
944
- * SPDX-License-Identifier: BSD-3-Clause
945
- */
946
- const t$1={ATTRIBUTE:1,CHILD:2},e$1=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
947
-
948
- /**
949
- * @license
950
- * Copyright 2018 Google LLC
951
- * SPDX-License-Identifier: BSD-3-Clause
952
- */const e=e$1(class extends i{constructor(t){if(super(t),t.type!==t$1.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T}});
953
-
954
954
  /**
955
955
  * @license
956
956
  * Copyright 2018 Google LLC
@@ -964,7 +964,7 @@ const t$1={ATTRIBUTE:1,CHILD:2},e$1=t=>(...e)=>({_$litDirective$:t,values:e});cl
964
964
 
965
965
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
966
966
 
967
- let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
967
+ let AuroLibraryRuntimeUtils$1$2 = class AuroLibraryRuntimeUtils {
968
968
 
969
969
  /* eslint-disable jsdoc/require-param */
970
970
 
@@ -1547,16 +1547,21 @@ const flip$1 = function (options) {
1547
1547
  const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
1548
1548
  const nextPlacement = placements[nextIndex];
1549
1549
  if (nextPlacement) {
1550
- // Try next placement and re-run the lifecycle.
1551
- return {
1552
- data: {
1553
- index: nextIndex,
1554
- overflows: overflowsData
1555
- },
1556
- reset: {
1557
- placement: nextPlacement
1558
- }
1559
- };
1550
+ var _overflowsData$;
1551
+ const ignoreCrossAxisOverflow = checkCrossAxis === 'alignment' ? initialSideAxis !== getSideAxis(nextPlacement) : false;
1552
+ const hasInitialMainAxisOverflow = ((_overflowsData$ = overflowsData[0]) == null ? void 0 : _overflowsData$.overflows[0]) > 0;
1553
+ if (!ignoreCrossAxisOverflow || hasInitialMainAxisOverflow) {
1554
+ // Try next placement and re-run the lifecycle.
1555
+ return {
1556
+ data: {
1557
+ index: nextIndex,
1558
+ overflows: overflowsData
1559
+ },
1560
+ reset: {
1561
+ placement: nextPlacement
1562
+ }
1563
+ };
1564
+ }
1560
1565
  }
1561
1566
 
1562
1567
  // First, find the candidates that fit on the mainAxis side of overflow,
@@ -2208,6 +2213,12 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
2208
2213
  scrollTop: 0
2209
2214
  };
2210
2215
  const offsets = createCoords(0);
2216
+
2217
+ // If the <body> scrollbar appears on the left (e.g. RTL systems). Use
2218
+ // Firefox with layout.scrollbar.side = 3 in about:config to test this.
2219
+ function setLeftRTLScrollbarOffset() {
2220
+ offsets.x = getWindowScrollBarX(documentElement);
2221
+ }
2211
2222
  if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
2212
2223
  if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
2213
2224
  scroll = getNodeScroll(offsetParent);
@@ -2217,11 +2228,12 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
2217
2228
  offsets.x = offsetRect.x + offsetParent.clientLeft;
2218
2229
  offsets.y = offsetRect.y + offsetParent.clientTop;
2219
2230
  } else if (documentElement) {
2220
- // If the <body> scrollbar appears on the left (e.g. RTL systems). Use
2221
- // Firefox with layout.scrollbar.side = 3 in about:config to test this.
2222
- offsets.x = getWindowScrollBarX(documentElement);
2231
+ setLeftRTLScrollbarOffset();
2223
2232
  }
2224
2233
  }
2234
+ if (isFixed && !isOffsetParentAnElement && documentElement) {
2235
+ setLeftRTLScrollbarOffset();
2236
+ }
2225
2237
  const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
2226
2238
  const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
2227
2239
  const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
@@ -2398,7 +2410,7 @@ function observeMove(element, onMove) {
2398
2410
  // Handle <iframe>s
2399
2411
  root: root.ownerDocument
2400
2412
  });
2401
- } catch (e) {
2413
+ } catch (_e) {
2402
2414
  io = new IntersectionObserver(handleObserve, options);
2403
2415
  }
2404
2416
  io.observe(element);
@@ -3211,7 +3223,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
3211
3223
  * @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
3212
3224
  */
3213
3225
 
3214
- let AuroElement$3 = class AuroElement extends i$2 {
3226
+ let AuroElement$1$2 = class AuroElement extends i$2 {
3215
3227
 
3216
3228
  // function to define props used within the scope of this component
3217
3229
  static get properties() {
@@ -3279,7 +3291,7 @@ var styleCss$3$2 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}
3279
3291
  */
3280
3292
 
3281
3293
  // build the component class
3282
- let BaseIcon$3 = class BaseIcon extends AuroElement$3 {
3294
+ let BaseIcon$3 = class BaseIcon extends AuroElement$1$2 {
3283
3295
  constructor() {
3284
3296
  super();
3285
3297
  this.onDark = false;
@@ -3353,7 +3365,7 @@ let BaseIcon$3 = class BaseIcon extends AuroElement$3 {
3353
3365
 
3354
3366
  var tokensCss$2$2 = i$5`: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)}`;
3355
3367
 
3356
- var colorCss$3$2 = i$5`: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)}`;
3368
+ var colorCss$3$2 = i$5`: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)}`;
3357
3369
 
3358
3370
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
3359
3371
  // See LICENSE in the project root for license information.
@@ -3374,7 +3386,7 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
3374
3386
  */
3375
3387
  privateDefaults() {
3376
3388
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
3377
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
3389
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1$2();
3378
3390
  }
3379
3391
 
3380
3392
  // function to define props used within the scope of this component
@@ -3456,7 +3468,7 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
3456
3468
  *
3457
3469
  */
3458
3470
  static register(name = "auro-icon") {
3459
- AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroIcon);
3471
+ AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroIcon);
3460
3472
  }
3461
3473
 
3462
3474
  connectedCallback() {
@@ -3528,7 +3540,7 @@ var styleCss$2$3 = i$5`:host{position:absolute;z-index:var(--depth-tooltip, 400)
3528
3540
 
3529
3541
  var colorCss$2$2 = i$5`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
3530
3542
 
3531
- var tokensCss$1$2 = i$5`:host{--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-dropdown-trigger-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-outline-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}`;
3543
+ var tokensCss$1$2 = i$5`:host(:not([ondark])){--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-dropdown-trigger-background-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-dropdown-trigger-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-outline-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-background-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-dropdownbib-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host([ondark]){--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db);--ds-auro-dropdown-trigger-background-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-outline-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-background-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-dropdownbib-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}`;
3532
3544
 
3533
3545
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
3534
3546
  // See LICENSE in the project root for license information.
@@ -3559,7 +3571,7 @@ class AuroDropdownBib extends i$2 {
3559
3571
  */
3560
3572
  this._mobileBreakpointValue = undefined;
3561
3573
 
3562
- AuroLibraryRuntimeUtils$1$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
3574
+ AuroLibraryRuntimeUtils$1$2.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
3563
3575
  }
3564
3576
 
3565
3577
  static get styles() {
@@ -3651,13 +3663,19 @@ class AuroDropdownBib extends i$2 {
3651
3663
 
3652
3664
  var dropdownVersion$1 = '3.0.0';
3653
3665
 
3654
- var styleCss$1$3 = i$5`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{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);transition:font-size .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:normal}.label[hasTrigger=false]{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)}.trigger{position:relative;display:flex;align-items:center}.trigger[showBorder]{border-width:1px;border-style:solid;cursor:pointer;outline-style:solid;outline-width:1px}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;overflow:hidden;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([inset][bordered][labeled]) .trigger{padding:var(--ds-size-100, 0.5rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
3666
+ var shapeSizeCss$1 = i$5`.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}`;
3667
+
3668
+ var styleCss$1$3 = i$5`: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)}`;
3669
+
3670
+ var colorCss$1$3 = i$5`: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)}`;
3671
+
3672
+ var styleEmphasizedCss$1 = i$5`: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)}`;
3655
3673
 
3656
- var colorCss$1$3 = i$5`.label{color:var(--ds-auro-dropdown-label-text-color)}.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)}.trigger:focus-within,.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([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([common]),:host([bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-bold, #585e67)}:host([common]) .trigger:active,:host([common]) .trigger:focus-within,:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a)}:host([error]){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([error]) .trigger{outline:solid 1px var(--ds-auro-dropdown-trigger-border-color)}:host([error]) .trigger:focus-within,:host([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([disabled][common]),:host([disabled][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host([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([onDark]):focus-within,:host([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([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([onDark][common]),:host([onDark][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-inverse, #ffffff)}:host([onDark][common]) .trigger:focus-within,:host([onDark][common]) .trigger:active,:host([onDark][bordered]) .trigger:focus-within,:host([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([onDark][error]){--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}:host([onDark][error]) .trigger{outline:solid 1px var(--ds-auro-dropdown-trigger-border-color)}:host([onDark][error]) .trigger:focus-within,:host([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([onDark][disabled][common]),:host([onDark][disabled][bordered]){--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse-disabled, rgba(255, 255, 255, 0.1))}`;
3674
+ var styleSnowflakeCss$1 = i$5`: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)}`;
3657
3675
 
3658
3676
  var colorCss$6 = i$5`: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)}`;
3659
3677
 
3660
- var styleCss$6 = i$5`.helptext-wrapper{display:none;font-size:var(--ds-basic-text-body-xs-font-size, 12px);font-weight:var(--ds-basic-text-body-xs-font-weight, 450);letter-spacing:var(--ds-basic-text-body-xs-letter-spacing, 0);line-height:var(--ds-basic-text-body-xs-line-height, 16px)}:host([large]) .helptext-wrapper{font-size:var(--ds-basic-text-body-default-font-size, 16px);font-weight:var(--ds-basic-text-body-default-font-weight, 450);letter-spacing:var(--ds-basic-text-body-default-letter-spacing, 0);line-height:var(--ds-basic-text-body-default-line-height, 24px)}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
3678
+ var styleCss$7 = i$5`.helptext-wrapper{display:none;font-size:var(--ds-basic-text-body-xs-font-size, 12px);font-weight:var(--ds-basic-text-body-xs-font-weight, 450);letter-spacing:var(--ds-basic-text-body-xs-letter-spacing, 0);line-height:var(--ds-basic-text-body-xs-line-height, 16px)}:host([large]) .helptext-wrapper{font-size:var(--ds-basic-text-body-default-font-size, 16px);font-weight:var(--ds-basic-text-body-default-font-weight, 450);letter-spacing:var(--ds-basic-text-body-default-letter-spacing, 0);line-height:var(--ds-basic-text-body-default-line-height, 24px)}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
3661
3679
 
3662
3680
  var tokensCss$6 = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
3663
3681
 
@@ -3740,7 +3758,7 @@ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
3740
3758
  *
3741
3759
  * @attr { Boolean } large - If declared, make font-size to 1rem(16px).
3742
3760
  */
3743
- let AuroHelpText$1 = class AuroHelpText extends i$2 {
3761
+ let AuroHelpText$2 = class AuroHelpText extends i$2 {
3744
3762
 
3745
3763
  constructor() {
3746
3764
  super();
@@ -3755,7 +3773,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
3755
3773
  static get styles() {
3756
3774
  return [
3757
3775
  colorCss$6,
3758
- styleCss$6,
3776
+ styleCss$7,
3759
3777
  tokensCss$6
3760
3778
  ];
3761
3779
  }
@@ -3863,6 +3881,98 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
3863
3881
 
3864
3882
  var helpTextVersion$1 = '1.0.0';
3865
3883
 
3884
+ let AuroElement$4 = class AuroElement extends i$2 {
3885
+ static get properties() {
3886
+ return {
3887
+
3888
+ /**
3889
+ * Defines the language of an element.
3890
+ * @default {'default'}
3891
+ */
3892
+ layout: {
3893
+ type: String,
3894
+ attribute: "layout",
3895
+ reflect: true
3896
+ },
3897
+
3898
+ shape: {
3899
+ type: String,
3900
+ attribute: "shape",
3901
+ reflect: true
3902
+ },
3903
+
3904
+ size: {
3905
+ type: String,
3906
+ attribute: "size",
3907
+ reflect: true
3908
+ },
3909
+
3910
+ onDark: {
3911
+ type: Boolean,
3912
+ attribute: "ondark",
3913
+ reflect: true
3914
+ }
3915
+ };
3916
+ }
3917
+
3918
+ resetShapeClasses() {
3919
+ if (this.shape && this.size) {
3920
+ const wrapper = this.shadowRoot.querySelector('.wrapper');
3921
+
3922
+ if (wrapper) {
3923
+ wrapper.classList.forEach((className) => {
3924
+ if (className.startsWith('shape-')) {
3925
+ wrapper.classList.remove(className);
3926
+ }
3927
+ });
3928
+
3929
+ wrapper.classList.add(`shape-${this.shape.toLowerCase()}-${this.size.toLowerCase()}`);
3930
+ }
3931
+ }
3932
+ }
3933
+
3934
+ resetLayoutClasses() {
3935
+ if (this.layout) {
3936
+ const wrapper = this.shadowRoot.querySelector('.wrapper');
3937
+
3938
+ if (wrapper) {
3939
+ wrapper.classList.forEach((className) => {
3940
+ if (className.startsWith('layout-')) {
3941
+ wrapper.classList.remove(className);
3942
+ }
3943
+ });
3944
+
3945
+ wrapper.classList.add(`layout-${this.layout.toLowerCase()}`);
3946
+ }
3947
+ }
3948
+ }
3949
+
3950
+ updateComponentArchitecture() {
3951
+ this.resetLayoutClasses();
3952
+ this.resetShapeClasses();
3953
+ }
3954
+
3955
+ updated(changedProperties) {
3956
+ if (changedProperties.has('layout') || changedProperties.has('shape') || changedProperties.has('size')) {
3957
+ this.updateComponentArchitecture();
3958
+ }
3959
+ }
3960
+
3961
+ // Try to render the defined `this.layout` layout. If that fails, fall back to the default layout.
3962
+ // This will catch if an invalid layout value is passed in and render the default layout if so.
3963
+ render() {
3964
+ try {
3965
+ return this.renderLayout();
3966
+ } catch (error) {
3967
+ // failed to get the defined layout
3968
+ console.error('Failed to get the defined layout - using the default layout', error); // eslint-disable-line no-console
3969
+
3970
+ // fallback to the default layout
3971
+ return this.getLayout('default');
3972
+ }
3973
+ }
3974
+ };
3975
+
3866
3976
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
3867
3977
  // See LICENSE in the project root for license information.
3868
3978
 
@@ -3880,7 +3990,7 @@ var helpTextVersion$1 = '1.0.0';
3880
3990
  * @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
3881
3991
  * @event auroDropdown-idAdded - Notifies consumers that the unique ID for the dropdown bib has been generated.
3882
3992
  */
3883
- class AuroDropdown extends i$2 {
3993
+ class AuroDropdown extends AuroElement$4 {
3884
3994
  constructor() {
3885
3995
  super();
3886
3996
 
@@ -3889,26 +3999,29 @@ class AuroDropdown extends i$2 {
3889
3999
  this.matchWidth = false;
3890
4000
  this.noHideOnThisFocusLoss = false;
3891
4001
 
4002
+ this.errorMessage = ''; // TODO!
4003
+
4004
+ // Layout Config
4005
+ this.layout = 'default';
4006
+ this.shape = 'rounded';
4007
+ this.size = 'xl';
4008
+
3892
4009
  this.privateDefaults();
4010
+ }
3893
4011
 
3894
- /**
3895
- * @private
3896
- * @property {boolean} delegatesFocus - Whether the shadow root delegates focus.
3897
- */
3898
- this.constructor.shadowRootOptions = {
3899
- ...i$2.shadowRootOptions,
3900
- delegatesFocus: true,
4012
+ get commonLabelClasses() {
4013
+ return {
4014
+ // 'withValue': this.value && this.value.length > 0
3901
4015
  };
4016
+ }
3902
4017
 
3903
- /**
3904
- * @private
3905
- */
3906
- this.triggerContentFocusable = false;
3907
-
3908
- /**
3909
- * @private
3910
- */
3911
- this.showTriggerBorders = true;
4018
+ get commonWrapperClasses() {
4019
+ return {
4020
+ 'trigger': true,
4021
+ 'wrapper': true,
4022
+ 'hasFocus': this.hasFocus,
4023
+ 'simple': this.simple
4024
+ };
3912
4025
  }
3913
4026
 
3914
4027
  /**
@@ -3916,7 +4029,6 @@ class AuroDropdown extends i$2 {
3916
4029
  * @returns {void} Internal defaults.
3917
4030
  */
3918
4031
  privateDefaults() {
3919
- this.bordered = false;
3920
4032
  this.chevron = false;
3921
4033
  this.disabled = false;
3922
4034
  this.error = false;
@@ -3926,8 +4038,11 @@ class AuroDropdown extends i$2 {
3926
4038
  this.noToggle = false;
3927
4039
  this.a11yAutocomplete = 'none';
3928
4040
  this.labeled = true;
3929
- this.a11yRole = 'combobox';
4041
+ this.a11yRole = 'button';
3930
4042
  this.onDark = false;
4043
+ this.showTriggerBorders = true;
4044
+ this.triggerContentFocusable = false;
4045
+ this.simple = false;
3931
4046
 
3932
4047
  // floaterConfig
3933
4048
  this.placement = 'bottom-start';
@@ -3935,6 +4050,15 @@ class AuroDropdown extends i$2 {
3935
4050
  this.noFlip = false;
3936
4051
  this.autoPlacement = false;
3937
4052
 
4053
+ /**
4054
+ * @private
4055
+ * @property {boolean} delegatesFocus - Whether the shadow root delegates focus.
4056
+ */
4057
+ this.constructor.shadowRootOptions = {
4058
+ ...i$2.shadowRootOptions,
4059
+ delegatesFocus: true,
4060
+ };
4061
+
3938
4062
  /**
3939
4063
  * @private
3940
4064
  */
@@ -3948,7 +4072,7 @@ class AuroDropdown extends i$2 {
3948
4072
  /**
3949
4073
  * @private
3950
4074
  */
3951
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
4075
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1$2();
3952
4076
 
3953
4077
  /**
3954
4078
  * @private
@@ -3973,7 +4097,7 @@ class AuroDropdown extends i$2 {
3973
4097
  /**
3974
4098
  * @private
3975
4099
  */
3976
- this.helpTextTag = versioning.generateTag('auro-formkit-dropdown-helptext', helpTextVersion$1, AuroHelpText$1);
4100
+ this.helpTextTag = versioning.generateTag('auro-formkit-dropdown-helptext', helpTextVersion$1, AuroHelpText$2);
3977
4101
 
3978
4102
  /**
3979
4103
  * @private
@@ -4025,7 +4149,7 @@ class AuroDropdown extends i$2 {
4025
4149
  /**
4026
4150
  * If declared, applies a border around the trigger slot.
4027
4151
  */
4028
- bordered: {
4152
+ simple: {
4029
4153
  type: Boolean,
4030
4154
  reflect: true
4031
4155
  },
@@ -4073,13 +4197,20 @@ class AuroDropdown extends i$2 {
4073
4197
  },
4074
4198
 
4075
4199
  /**
4076
- * If declared in combination with `bordered` property or `helpText` slot content, will apply red color to both.
4200
+ * If declared in combination with not using the `simple` property or `helpText` slot content, will apply red color to both.
4077
4201
  */
4078
4202
  error: {
4079
4203
  type: Boolean,
4080
4204
  reflect: true
4081
4205
  },
4082
4206
 
4207
+ /**
4208
+ * Contains the help text message for the current validity error.
4209
+ */
4210
+ errorMessage: {
4211
+ type: String
4212
+ },
4213
+
4083
4214
  /**
4084
4215
  * If declared, the bib will display when focus is applied to the trigger.
4085
4216
  */
@@ -4214,11 +4345,6 @@ class AuroDropdown extends i$2 {
4214
4345
 
4215
4346
  /**
4216
4347
  * Position where the bib should appear relative to the trigger.
4217
- * Accepted values:
4218
- * "top" | "right" | "bottom" | "left" |
4219
- * "bottom-start" | "top-start" | "top-end" |
4220
- * "right-start" | "right-end" | "bottom-end" |
4221
- * "left-start" | "left-end"
4222
4348
  * @default bottom-start
4223
4349
  */
4224
4350
  placement: {
@@ -4264,7 +4390,10 @@ class AuroDropdown extends i$2 {
4264
4390
  return [
4265
4391
  colorCss$1$3,
4266
4392
  styleCss$1$3,
4267
- tokensCss$1$2
4393
+ tokensCss$1$2,
4394
+ styleEmphasizedCss$1,
4395
+ styleSnowflakeCss$1,
4396
+ shapeSizeCss$1
4268
4397
  ];
4269
4398
  }
4270
4399
 
@@ -4277,7 +4406,7 @@ class AuroDropdown extends i$2 {
4277
4406
  *
4278
4407
  */
4279
4408
  static register(name = "auro-dropdown") {
4280
- AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
4409
+ AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroDropdown);
4281
4410
  }
4282
4411
 
4283
4412
  /**
@@ -4300,6 +4429,7 @@ class AuroDropdown extends i$2 {
4300
4429
  }
4301
4430
 
4302
4431
  updated(changedProperties) {
4432
+ super.updated(changedProperties);
4303
4433
  this.floater.handleUpdate(changedProperties);
4304
4434
 
4305
4435
  // Note: `disabled` is not a breakpoint (it is not a screen size),
@@ -4309,7 +4439,7 @@ class AuroDropdown extends i$2 {
4309
4439
  }
4310
4440
 
4311
4441
  // when trigger's content is changed without any attribute or node change,
4312
- // `requestUpdate` needs to be called to update hasTriggerContnet
4442
+ // `requestUpdate` needs to be called to update hasTriggerContent
4313
4443
  if (changedProperties.size === 0 || changedProperties.has('isPopoverVisible')) {
4314
4444
  this.handleTriggerContentSlotChange();
4315
4445
  }
@@ -4370,6 +4500,24 @@ class AuroDropdown extends i$2 {
4370
4500
  return inCustomSlot;
4371
4501
  }
4372
4502
 
4503
+ /**
4504
+ * Function to support @focusin event.
4505
+ * @private
4506
+ * @return {void}
4507
+ */
4508
+ handleFocusin() {
4509
+ this.hasFocus = true;
4510
+ }
4511
+
4512
+ /**
4513
+ * Function to support @focusout event.
4514
+ * @private
4515
+ * @return {void}
4516
+ */
4517
+ handleFocusout() {
4518
+ this.hasFocus = false;
4519
+ }
4520
+
4373
4521
  /**
4374
4522
  * Determines if the element or any children are focusable.
4375
4523
  * @private
@@ -4429,8 +4577,8 @@ class AuroDropdown extends i$2 {
4429
4577
  }
4430
4578
 
4431
4579
  /**
4432
- * @private
4433
4580
  * Creates and dispatches a duplicate focus event on the trigger element.
4581
+ * @private
4434
4582
  * @param {Event} event - The original focus event.
4435
4583
  */
4436
4584
  bindFocusEventToTrigger(event) {
@@ -4443,9 +4591,9 @@ class AuroDropdown extends i$2 {
4443
4591
  }
4444
4592
 
4445
4593
  /**
4446
- * @private
4447
4594
  * Sets up event listeners to deliver focus and blur events from nested Auro components within the trigger slot to trigger.
4448
4595
  * This ensures that focus/blur events originating from within these components are propagated to the trigger element itself.
4596
+ * @private
4449
4597
  */
4450
4598
  setupTriggerFocusEventBinding() {
4451
4599
  if (!this.triggerContentSlot || this.triggerContentSlot.length === 0) {
@@ -4539,7 +4687,7 @@ class AuroDropdown extends i$2 {
4539
4687
  // If there are children
4540
4688
  if (triggerContentNodes) {
4541
4689
 
4542
- // See if any of them are focusable elemeents
4690
+ // See if any of them are focusable elements
4543
4691
  this.triggerContentFocusable = triggerContentNodes.some((node) => this.containsFocusableElement(node));
4544
4692
 
4545
4693
  // If any of them are focusable elements
@@ -4625,8 +4773,75 @@ class AuroDropdown extends i$2 {
4625
4773
  this.labeled = nodesArr.length > 0;
4626
4774
  }
4627
4775
 
4628
- // function that renders the HTML and CSS into the scope of the component
4629
- render() {
4776
+ /**
4777
+ * Returns HTML for the common portion of the layouts.
4778
+ * @private
4779
+ * @param {Object} helpTextClasses - Classes to apply to the help text container.
4780
+ * @returns {html} - Returns HTML.
4781
+ */
4782
+ renderBasicHtml(helpTextClasses) {
4783
+ return u$2`
4784
+ <div>
4785
+ <div
4786
+ id="trigger"
4787
+ class="${e(this.commonWrapperClasses)}" part="wrapper"
4788
+ tabindex="${this.tabIndex}"
4789
+ ?showBorder="${this.showTriggerBorders}"
4790
+ role="${o(this.triggerContentFocusable ? undefined : this.a11yRole)}"
4791
+ aria-expanded="${o(this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
4792
+ aria-controls="${o(this.triggerContentFocusable ? undefined : this.dropdownId)}"
4793
+ aria-labelledby="${o(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
4794
+ @focusin="${this.handleFocusin}"
4795
+ @blur="${this.handleFocusOut}">
4796
+ <div class="triggerContentWrapper">
4797
+ <label class="label" id="triggerLabel" hasTrigger=${this.hasTriggerContent}>
4798
+ <slot name="label" @slotchange="${this.handleLabelSlotChange}"></slot>
4799
+ </label>
4800
+ <div class="triggerContent">
4801
+ <slot
4802
+ name="trigger"
4803
+ @slotchange="${this.handleTriggerContentSlotChange}"></slot>
4804
+ </div>
4805
+ </div>
4806
+ ${this.chevron || this.common ? u$2`
4807
+ <div
4808
+ id="showStateIcon"
4809
+ part="chevron">
4810
+ <${this.iconTag}
4811
+ category="interface"
4812
+ name="chevron-down"
4813
+ ?onDark="${this.onDark}"
4814
+ variant="${this.disabled ? 'disabled' : 'muted'}">
4815
+ >
4816
+ </${this.iconTag}>
4817
+ </div>
4818
+ ` : undefined }
4819
+ </div>
4820
+ <div class="${e(helpTextClasses)}">
4821
+ <slot name="helpText"></slot>
4822
+ </div>
4823
+ <div class="slotContent">
4824
+ <slot @slotchange="${this.handleDefaultSlot}"></slot>
4825
+ </div>
4826
+ <div id="bibSizer" part="size"></div>
4827
+ <${this.dropdownBibTag}
4828
+ id="bib"
4829
+ ?data-show="${this.isPopoverVisible}"
4830
+ ?isfullscreen="${this.isBibFullscreen}"
4831
+ ?common="${this.common}"
4832
+ ?rounded="${this.common || this.rounded}"
4833
+ ?inset="${this.common || this.inset}">
4834
+ </${this.dropdownBibTag}>
4835
+ </div>
4836
+ `;
4837
+ }
4838
+
4839
+ /**
4840
+ * Returns HTML for the classic layout. Does not support type="*".
4841
+ * @private
4842
+ * @returns {html} - Returns HTML for the classic layout.
4843
+ */
4844
+ renderLayoutClassic() {
4630
4845
  return u$2`
4631
4846
  <div>
4632
4847
  <div
@@ -4664,9 +4879,6 @@ class AuroDropdown extends i$2 {
4664
4879
  </div>
4665
4880
  ` : undefined }
4666
4881
  </div>
4667
- <${this.helpTextTag} part="helpText" ?onDark=${this.onDark} ?error="${this.error}">
4668
- <slot name="helpText"></slot>
4669
- </${this.helpTextTag}>
4670
4882
  <div class="slotContent">
4671
4883
  <slot @slotchange="${this.handleDefaultSlot}"></slot>
4672
4884
  </div>
@@ -4683,6 +4895,67 @@ class AuroDropdown extends i$2 {
4683
4895
  </div>
4684
4896
  `;
4685
4897
  }
4898
+
4899
+ /**
4900
+ * Returns HTML for the snowflake layout. Does not support type="*".
4901
+ * @private
4902
+ * @returns {html} - Returns HTML for the snowflake layout.
4903
+ */
4904
+ renderLayoutSnowflake() {
4905
+ const helpTextClasses = {
4906
+ 'helpText': true,
4907
+ 'leftIndent': true,
4908
+ 'rightIndent': true
4909
+ };
4910
+
4911
+ return u$2`
4912
+ ${this.renderBasicHtml(helpTextClasses)}
4913
+ `;
4914
+ }
4915
+
4916
+ /**
4917
+ * Returns HTML for the emphasized layout. Does not support type="*".
4918
+ * @private
4919
+ * @returns {html} - Returns HTML for the emphasized layout.
4920
+ */
4921
+ renderLayoutEmphasized() {
4922
+ const helpTextClasses = {
4923
+ 'helpText': true,
4924
+ 'leftIndent': this.shape.toLowerCase().includes('pill') && !this.shape.toLowerCase().includes('right'),
4925
+ 'rightIndent': this.shape.toLowerCase().includes('pill') && !this.shape.toLowerCase().includes('left')
4926
+ };
4927
+
4928
+ return u$2`
4929
+ ${this.renderBasicHtml(helpTextClasses)}
4930
+ `;
4931
+ }
4932
+
4933
+ /**
4934
+ * Logic to determine the layout of the component.
4935
+ * @private
4936
+ * @param {string} [ForcedLayout] - Used to force a specific layout, pass in the layout name to use.
4937
+ * @returns {HTMLCollection} - Returns the HTML for the layout.
4938
+ */
4939
+ renderLayout(ForcedLayout) {
4940
+ const layout = ForcedLayout || this.layout;
4941
+
4942
+ switch (layout) {
4943
+ case 'emphasized':
4944
+ return this.renderLayoutEmphasized();
4945
+ case 'emphasized-left':
4946
+ return this.renderLayoutEmphasized();
4947
+ case 'emphasized-right':
4948
+ return this.renderLayoutEmphasized();
4949
+ case 'snowflake':
4950
+ return this.renderLayoutSnowflake();
4951
+ case 'snowflake-left':
4952
+ return this.renderLayoutSnowflake();
4953
+ case 'snowflake-right':
4954
+ return this.renderLayoutSnowflake();
4955
+ default:
4956
+ return this.renderLayoutClassic();
4957
+ }
4958
+ }
4686
4959
  }
4687
4960
 
4688
4961
  var dropdownVersion = '3.0.0';
@@ -4700,13 +4973,33 @@ var dropdownVersion = '3.0.0';
4700
4973
  */
4701
4974
  const u=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r},c=e$1(class extends i{constructor(e){if(super(e),e.type!==t$1.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,s,t){let r;void 0===t?t=s:void 0!==s&&(r=s);const l=[],o=[];let i=0;for(const s of e)l[i]=r?r(s,i):i,o[i]=t(s,i),i++;return {values:o,keys:l}}render(e,s,t){return this.dt(e,s,t).values}update(s,[t,r$1,c]){const d=p(s),{values:p$1,keys:a}=this.dt(t,r$1,c);if(!Array.isArray(d))return this.ut=a,p$1;const h=this.ut??=[],v$1=[];let m$1,y,x=0,j=d.length-1,k=0,w=p$1.length-1;for(;x<=j&&k<=w;)if(null===d[x])x++;else if(null===d[j])j--;else if(h[x]===a[k])v$1[k]=v(d[x],p$1[k]),x++,k++;else if(h[j]===a[w])v$1[w]=v(d[j],p$1[w]),j--,w--;else if(h[x]===a[w])v$1[w]=v(d[x],p$1[w]),r(s,v$1[w+1],d[x]),x++,w--;else if(h[j]===a[k])v$1[k]=v(d[j],p$1[k]),r(s,d[x],d[j]),j--,k++;else if(void 0===m$1&&(m$1=u(a,k,w),y=u(h,x,j)),m$1.has(h[x]))if(m$1.has(h[j])){const e=y.get(a[k]),t=void 0!==e?d[e]:null;if(null===t){const e=r(s,d[x]);v(e,p$1[k]),v$1[k]=e;}else v$1[k]=v(t,p$1[k]),r(s,d[x],t),d[e]=null;k++;}else M(d[j]),j--;else M(d[x]),x++;for(;k<=w;){const e=r(s,v$1[w+1]);v(e,p$1[k]),v$1[k++]=e;}for(;x<=j;){const e=d[x++];null!==e&&M(e);}return this.ut=a,m(s,v$1),T}});
4702
4975
 
4703
- const watchedItems = new Set();
4976
+ var shapeSizeCss = i$5`.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}`;
4704
4977
 
4978
+ var styleCss$4$1 = i$5`.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}`;
4705
4979
 
4706
- /**
4707
- * Function for setting the value of the lang attribute.
4708
- * @private
4709
- * @param {object} item - Individual DOM node from set of watchedItems.
4980
+ var styleDefaultCss = i$5`.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}`;
4981
+
4982
+ var colorBaseCss = i$5`.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)}`;
4983
+
4984
+ var tokensCss$4 = i$5`: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)}`;
4985
+
4986
+ var classicStyleCss = i$5`.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}`;
4987
+
4988
+ var classicColorCss = i$5`.layout-default label{color:var(--ds-auro-input-label-text-color)}`;
4989
+
4990
+ var emphasizedStyleCss = i$5`: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}`;
4991
+
4992
+ var emphasizedColorCss = i$5`.layout-emphasized:focus-within,.layout-emphasized.withValue,.layout-emphasized-left:focus-within,.layout-emphasized-left.withValue,.layout-emphasized-right:focus-within,.layout-emphasized-right.withValue{--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}.layout-emphasized:focus-within,.layout-emphasized-left:focus-within,.layout-emphasized-right:focus-within{--auro-input-border-color: var(--ds-auro-input-border-color)}`;
4993
+
4994
+ var snowflakeStyleCss = i$5`:host([layout*=snowflake]) .leftIndent{margin-left:24px;width:calc(100% - 48px)}:host([layout*=snowflake]) .rightIndent{margin-right:24px;width:calc(100% - 48px)}.layout-snowflake{display:flex;flex-direction:row;align-items:center;justify-content:center}.layout-snowflake label{font-size:var(--ds-text-body-size-xs);line-height:20px}.layout-snowflake input{text-align:center;font-size:18px;line-height:26px}.layout-snowflake .mainContent{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;flex:1}.layout-snowflake .displayValue{position:absolute;top:0;right:0;bottom:0;left:0;display:none}.layout-snowflake .displayValue.hasContent:is(.withValue):not(.hasFocus){display:block}.layout-snowflake .displayValueWrapper{transform:translateY(-50%)}.layout-snowflake .accents{display:flex;flex-direction:row;justify-content:center;align-items:center}.layout-snowflake.withValue{justify-content:flex-start}.layout-snowflake:not(:focus-within):not(:is([validity]:not([validity=valid]))){--ds-auro-input-border-color: transparent}.layout-snowflake:focus-within{justify-content:flex-start}.layout-snowflake:focus-within .alertNotification{display:none}.layout-snowflake .accents{width:24px}.layout-snowflake .accents.left{padding-left:24px}.layout-snowflake .accents.right{padding-right:24px}.helpTextWrapper{text-align:center}`;
4995
+
4996
+ const watchedItems = new Set();
4997
+
4998
+
4999
+ /**
5000
+ * Function for setting the value of the lang attribute.
5001
+ * @private
5002
+ * @param {object} item - Individual DOM node from set of watchedItems.
4710
5003
  * @param {string} lang - Current language set for the document.
4711
5004
  */
4712
5005
  function setLang(item, lang) {
@@ -4821,12 +5114,6 @@ function stopNotifyingOnLangChange(element) {
4821
5114
  watchedItems.delete(element);
4822
5115
  }
4823
5116
 
4824
- var styleCss$4$1 = i$5`: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}.typeIcon{display:flex;flex-direction:row;align-items:center}.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)}.notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([bordered]) .notificationIcons{align-items:center}.notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}.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))}.passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}.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}.notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}.notificationBtn [auro-icon][hidden]{display:none}:host(:not([bordered])) .typeIcon,:host(:not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}.clearBtn{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);overflow:hidden;width:0;opacity:0}:host .wrapper:hover .clearBtn,:host .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(:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}input{border:unset}.wrapper{position:relative;overflow:hidden;border-style:solid}:host(:not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host(: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([validity]:not([validity=valid])) .wrapper:before{border-bottom:0}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}:host(:not([bordered])) label{top:calc(100% - var(--ds-size-25, 0.125rem));transform:translateY(-100%)}:host(:not([bordered])) label.withIcon{left:var(--ds-size-400, 2rem)}:host([bordered]) label{top:50%;transform:translateY(-50%)}:host([bordered]) label.withIcon{left:var(--ds-size-500, 2.5rem)}:host([bordered]) label:not(label.withIcon){left:var(--ds-size-100, 0.5rem)}:host .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}:host 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([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}:host{position:relative;display:block}.wrapper{display:flex;flex-direction:row}.main{display:flex;flex-direction:row;position:relative;flex:1}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}input::-ms-reveal,input::-ms-clear{display:none}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}input[type=number]{-moz-appearance:textfield;appearance:textfield}input:disabled{background:none;pointer-events:none}:host([bordered]) input{padding:var(--ds-size-400, 2rem) 0 var(--ds-size-100, 0.5rem)}`;
4825
-
4826
- var colorCss$4 = i$5`.wrapper{border-color:transparent}input{background-color:transparent;caret-color:var(--ds-auro-input-caret-color);color:var(--ds-auro-input-text-color)}input::placeholder{color:transparent}input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}input:disabled{--ds-auro-input-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}label{color:var(--ds-auro-input-label-text-color)}.alertNotification{color:var(--ds-auro-input-error-icon-color)}:host(:not([bordered],[borderless])) .wrapper{border-bottom-color:var(--ds-auro-input-border-color)}:host([bordered]) .wrapper{border-color:var(--ds-auro-input-border-color);background-color:var(--ds-auro-input-container-color)}:host([bordered]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-advanced-color-state-focused, #01426a);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host([validity]:not([validity=valid])[bordered]) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error, #e31f26);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host([disabled]){--ds-auro-input-border-color: var(--ds-basic-color-border-subtle, #dddddd);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([onDark][bordered]){--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-muted, #ccd2db);--ds-auro-input-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-border-color: var(--ds-basic-color-border-inverse, #ffffff);--ds-auro-input-container-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-input-error-icon-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}:host([onDark][bordered]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host([onDark][validity]:not([validity=valid])[bordered]) .wrapper{--ds-auro-input-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host([onDark][disabled]){--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-input-container-color: var(--ds-advanced-color-shared-background-inverse-disabled, rgba(255, 255, 255, 0.1))}`;
4827
-
4828
- var tokensCss$4 = i$5`:host{--ds-auro-input-border-color: var(--ds-basic-color-border-bold, #585e67);--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)}`;
4829
-
4830
5117
  /** Checks if value is string */
4831
5118
  function isString(str) {
4832
5119
  return typeof str === 'string' || str instanceof String;
@@ -9084,7 +9371,7 @@ const {
9084
9371
 
9085
9372
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
9086
9373
 
9087
- let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
9374
+ let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
9088
9375
 
9089
9376
  /* eslint-disable jsdoc/require-param */
9090
9377
 
@@ -9154,7 +9441,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
9154
9441
  class AuroFormValidation {
9155
9442
 
9156
9443
  constructor() {
9157
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
9444
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
9158
9445
  }
9159
9446
 
9160
9447
  /**
@@ -9513,6 +9800,98 @@ class AuroFormValidation {
9513
9800
  }
9514
9801
  }
9515
9802
 
9803
+ let AuroElement$1$1 = class AuroElement extends i$2 {
9804
+ static get properties() {
9805
+ return {
9806
+
9807
+ /**
9808
+ * Defines the language of an element.
9809
+ * @default {'default'}
9810
+ */
9811
+ layout: {
9812
+ type: String,
9813
+ attribute: "layout",
9814
+ reflect: true
9815
+ },
9816
+
9817
+ shape: {
9818
+ type: String,
9819
+ attribute: "shape",
9820
+ reflect: true
9821
+ },
9822
+
9823
+ size: {
9824
+ type: String,
9825
+ attribute: "size",
9826
+ reflect: true
9827
+ },
9828
+
9829
+ onDark: {
9830
+ type: Boolean,
9831
+ attribute: "ondark",
9832
+ reflect: true
9833
+ }
9834
+ };
9835
+ }
9836
+
9837
+ resetShapeClasses() {
9838
+ if (this.shape && this.size) {
9839
+ const wrapper = this.shadowRoot.querySelector('.wrapper');
9840
+
9841
+ if (wrapper) {
9842
+ wrapper.classList.forEach((className) => {
9843
+ if (className.startsWith('shape-')) {
9844
+ wrapper.classList.remove(className);
9845
+ }
9846
+ });
9847
+
9848
+ wrapper.classList.add(`shape-${this.shape.toLowerCase()}-${this.size.toLowerCase()}`);
9849
+ }
9850
+ }
9851
+ }
9852
+
9853
+ resetLayoutClasses() {
9854
+ if (this.layout) {
9855
+ const wrapper = this.shadowRoot.querySelector('.wrapper');
9856
+
9857
+ if (wrapper) {
9858
+ wrapper.classList.forEach((className) => {
9859
+ if (className.startsWith('layout-')) {
9860
+ wrapper.classList.remove(className);
9861
+ }
9862
+ });
9863
+
9864
+ wrapper.classList.add(`layout-${this.layout.toLowerCase()}`);
9865
+ }
9866
+ }
9867
+ }
9868
+
9869
+ updateComponentArchitecture() {
9870
+ this.resetLayoutClasses();
9871
+ this.resetShapeClasses();
9872
+ }
9873
+
9874
+ updated(changedProperties) {
9875
+ if (changedProperties.has('layout') || changedProperties.has('shape') || changedProperties.has('size')) {
9876
+ this.updateComponentArchitecture();
9877
+ }
9878
+ }
9879
+
9880
+ // Try to render the defined `this.layout` layout. If that fails, fall back to the default layout.
9881
+ // This will catch if an invalid layout value is passed in and render the default layout if so.
9882
+ render() {
9883
+ try {
9884
+ return this.renderLayout();
9885
+ } catch (error) {
9886
+ // failed to get the defined layout
9887
+ console.error('Failed to get the defined layout - using the default layout', error); // eslint-disable-line no-console
9888
+
9889
+ // fallback to the default layout
9890
+ return this.getLayout('default');
9891
+ }
9892
+ }
9893
+ };
9894
+
9516
9895
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
9517
9896
  // See LICENSE in the project root for license information.
9518
9897
 
@@ -9520,9 +9899,6 @@ class AuroFormValidation {
9520
9899
  /**
9521
9900
  * Auro-input provides users a way to enter data into a text field.
9522
9901
  *
9523
- * @attr {Boolean} bordered - Applies bordered UI variant.
9524
- * @attr {Boolean} borderless - Applies borderless UI variant.
9525
- *
9526
9902
  * @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
9527
9903
  * @attr id
9528
9904
  *
@@ -9538,22 +9914,26 @@ class AuroFormValidation {
9538
9914
  * @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` value has changed.
9539
9915
  */
9540
9916
 
9541
- class BaseInput extends i$2 {
9917
+ class BaseInput extends AuroElement$1$1 {
9542
9918
 
9543
9919
  constructor() {
9544
9920
  super();
9545
9921
 
9922
+ this.activeLabel = false;
9546
9923
  this.icon = false;
9547
9924
  this.disabled = false;
9548
- this.required = false;
9549
- this.noValidate = false;
9550
9925
  this.max = undefined;
9551
- this.min = undefined;
9552
9926
  this.maxLength = undefined;
9927
+ this.min = undefined;
9553
9928
  this.minLength = undefined;
9929
+ this.noValidate = false;
9554
9930
  this.onDark = false;
9555
- this.activeLabel = false;
9931
+ this.required = false;
9556
9932
  this.setCustomValidityForType = undefined;
9933
+
9934
+ this.layout = 'classic';
9935
+ this.shape = 'rounded';
9936
+ this.size = 'lg';
9557
9937
  }
9558
9938
 
9559
9939
  /**
@@ -9570,6 +9950,7 @@ class BaseInput extends i$2 {
9570
9950
  this.validationCCLength = undefined;
9571
9951
  this.hasValue = false;
9572
9952
  this.label = 'Input label is undefined';
9953
+ this.placeholderStr = '';
9573
9954
 
9574
9955
  this.allowedInputTypes = [
9575
9956
  "text",
@@ -9616,9 +9997,10 @@ class BaseInput extends i$2 {
9616
9997
  .substring(idSubstrStart, idSubstrEnd);
9617
9998
  }
9618
9999
 
9619
- // function to define props used within the scope of this componentstatic
10000
+ // function to define props used within the scope of this component
9620
10001
  static get properties() {
9621
10002
  return {
10003
+ ...super.properties,
9622
10004
 
9623
10005
  /**
9624
10006
  * The value for the role attribute.
@@ -9950,15 +10332,6 @@ class BaseInput extends i$2 {
9950
10332
  };
9951
10333
  }
9952
10334
 
9953
-
9954
- static get styles() {
9955
- return [
9956
- i$5`${colorCss$4}`,
9957
- i$5`${styleCss$4$1}`,
9958
- i$5`${tokensCss$4}`
9959
- ];
9960
- }
9961
-
9962
10335
  connectedCallback() {
9963
10336
  super.connectedCallback();
9964
10337
 
@@ -9973,15 +10346,21 @@ class BaseInput extends i$2 {
9973
10346
  }
9974
10347
 
9975
10348
  firstUpdated() {
10349
+ // clicking anywhere in the main wrapper will focus the input. Clicking the helptext or label will not focus the input.
10350
+ this.wrapperElement = this.shadowRoot.querySelector('.wrapper');
10351
+ this.inputElement = this.renderRoot.querySelector('input');
10352
+ this.labelElement = this.shadowRoot.querySelector('label');
10353
+
10354
+ if (this.wrapperElement) {
10355
+ this.wrapperElement.addEventListener('click', this.handleClick);
10356
+ }
10357
+
9976
10358
  // add attribute for query selectors when auro-input is registered under a custom name
9977
10359
  if (this.tagName.toLowerCase() !== 'auro-input') {
9978
10360
  this.setAttribute('auro-input', true);
9979
10361
  }
9980
10362
  this.inputId = this.id ? `${this.id}-input` : window.crypto.randomUUID();
9981
10363
 
9982
- this.inputElement = this.renderRoot.querySelector('input');
9983
- this.labelElement = this.shadowRoot.querySelector('label');
9984
-
9985
10364
  if (this.format) {
9986
10365
  this.format = this.format.toLowerCase();
9987
10366
  }
@@ -9991,6 +10370,7 @@ class BaseInput extends i$2 {
9991
10370
  this.ValidityMessageOverride = this.setCustomValidity;
9992
10371
  }
9993
10372
 
10373
+ this.getPlaceholder();
9994
10374
  this.setCustomHelpTextMessage();
9995
10375
  this.configureAutoFormatting();
9996
10376
  }
@@ -10027,6 +10407,8 @@ class BaseInput extends i$2 {
10027
10407
  * @returns {void}
10028
10408
  */
10029
10409
  updated(changedProperties) {
10410
+ super.updated(changedProperties);
10411
+
10030
10412
  if (changedProperties.has('format')) {
10031
10413
  this.configureAutoFormatting();
10032
10414
  }
@@ -10147,15 +10529,6 @@ class BaseInput extends i$2 {
10147
10529
  return this.pattern;
10148
10530
  }
10149
10531
 
10150
- /**
10151
- * Function to set element focus.
10152
- * @private
10153
- * @return {void}
10154
- */
10155
- focus() {
10156
- this.inputElement.focus();
10157
- }
10158
-
10159
10532
  /**
10160
10533
  * Required to convert SVG icons from data to HTML string.
10161
10534
  * @private
@@ -10185,6 +10558,25 @@ class BaseInput extends i$2 {
10185
10558
  this.dispatchEvent(inputEvent);
10186
10559
  }
10187
10560
 
10561
+
10562
+ /**
10563
+ * Handles clicking on the auro-input anywhere outside of the HTML5 input and still moving focus in.
10564
+ * @private
10565
+ * @return {void}
10566
+ */
10567
+ handleClick() {
10568
+ this.focus();
10569
+ }
10570
+
10571
+ /**
10572
+ * Function to set element focus.
10573
+ * @private
10574
+ * @return {void}
10575
+ */
10576
+ focus() {
10577
+ this.inputElement.focus();
10578
+ }
10579
+
10188
10580
  /**
10189
10581
  * Handles event of clearing input content by clicking the X icon.
10190
10582
  * @private
@@ -10232,10 +10624,23 @@ class BaseInput extends i$2 {
10232
10624
  * @return {void}
10233
10625
  */
10234
10626
  handleFocusin() {
10627
+ this.hasFocus = true;
10628
+
10629
+ this.getPlaceholder();
10235
10630
 
10236
10631
  this.touched = true;
10237
10632
  }
10238
10633
 
10634
+ /**
10635
+ * Function to support @focusout event.
10636
+ * @private
10637
+ * @return {void}
10638
+ */
10639
+ handleFocusout() {
10640
+ this.hasFocus = false;
10641
+ this.getPlaceholder();
10642
+ }
10643
+
10239
10644
  /**
10240
10645
  * Function to support @blur event.
10241
10646
  * @private
@@ -10360,16 +10765,31 @@ class BaseInput extends i$2 {
10360
10765
  /**
10361
10766
  * Support placeholder text.
10362
10767
  * @private
10363
- * @returns {string}
10768
+ * @returns {void}
10364
10769
  */
10365
10770
  getPlaceholder() {
10366
- if (this.placeholder) {
10367
- return this.placeholder;
10368
- } else if (this.type === 'date') {
10369
- return this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
10771
+ const isFocused = this.inputElement === this.getActiveElement();
10772
+
10773
+ // console.warn('isFocused', isFocused);
10774
+ // console.warn(this.inputElement);
10775
+ // console.warn(this.getActiveElement());
10776
+
10777
+ if (!isFocused) {
10778
+ if (this.placeholder) {
10779
+ this.placeholderStr = this.placeholder;
10780
+ // return this.placeholder;
10781
+ } else if (this.type === 'date') {
10782
+ this.placeholderStr = this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
10783
+ // return this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
10784
+ }
10785
+ } else {
10786
+ this.placeholderStr = '';
10370
10787
  }
10371
10788
 
10372
- return '';
10789
+ this.requestUpdate();
10790
+
10791
+ // console.warn('this.placeholderStr', this.placeholderStr);
10792
+ // return this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
10373
10793
  }
10374
10794
 
10375
10795
  /**
@@ -10582,7 +11002,7 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
10582
11002
  * @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
10583
11003
  */
10584
11004
 
10585
- let AuroElement$2 = class AuroElement extends i$2 {
11005
+ let AuroElement$3 = class AuroElement extends i$2 {
10586
11006
 
10587
11007
  // function to define props used within the scope of this component
10588
11008
  static get properties() {
@@ -10650,7 +11070,7 @@ var styleCss$3$1 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}
10650
11070
  */
10651
11071
 
10652
11072
  // build the component class
10653
- let BaseIcon$2 = class BaseIcon extends AuroElement$2 {
11073
+ let BaseIcon$2 = class BaseIcon extends AuroElement$3 {
10654
11074
  constructor() {
10655
11075
  super();
10656
11076
  this.onDark = false;
@@ -10722,9 +11142,9 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$2 {
10722
11142
  }
10723
11143
  };
10724
11144
 
10725
- var tokensCss$3 = i$5`: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)}`;
11145
+ var tokensCss$3$1 = i$5`: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)}`;
10726
11146
 
10727
- var colorCss$3$1 = i$5`: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)}`;
11147
+ var colorCss$3$1 = i$5`: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)}`;
10728
11148
 
10729
11149
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
10730
11150
  // See LICENSE in the project root for license information.
@@ -10745,7 +11165,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
10745
11165
  */
10746
11166
  privateDefaults() {
10747
11167
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
10748
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
11168
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
10749
11169
  }
10750
11170
 
10751
11171
  // function to define props used within the scope of this component
@@ -10812,7 +11232,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
10812
11232
  static get styles() {
10813
11233
  return [
10814
11234
  super.styles,
10815
- i$5`${tokensCss$3}`,
11235
+ i$5`${tokensCss$3$1}`,
10816
11236
  i$5`${styleCss$3$1}`,
10817
11237
  i$5`${colorCss$3$1}`
10818
11238
  ];
@@ -10827,7 +11247,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
10827
11247
  *
10828
11248
  */
10829
11249
  static register(name = "auro-icon") {
10830
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
11250
+ AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroIcon);
10831
11251
  }
10832
11252
 
10833
11253
  connectedCallback() {
@@ -10895,7 +11315,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
10895
11315
 
10896
11316
  var iconVersion$2 = '8.0.1';
10897
11317
 
10898
- var styleCss$2$2 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}:host([fluid]) .auro-button,:host([fluid=true]) .auro-button{min-width:auto;width:100%}:host([variant=flat]){display:inline-block;height:var(--ds-size-300, 1.5rem);width:var(--ds-size-300, 1.5rem)}:host([variant=flat]) .auro-button{height:100%;width:100%}::slotted(svg){vertical-align:middle}slot{pointer-events:none}.auro-button{position:relative;padding:0 var(--ds-size-300, 1.5rem);cursor:pointer;border-width:1px;border-style:solid;border-radius:var(--ds-border-radius, 0.375rem);font-family:var(--ds-basic-text-body-default-font-family, AS Circular);font-size:var(--ds-basic-text-body-default-font-size, 16px);font-weight:var(--ds-basic-text-body-default-font-weight, Book);overflow:hidden;text-overflow:ellipsis;user-select:none;white-space:nowrap;min-height:var(--ds-size-600, 3rem);max-height:var(--ds-size-600, 3rem);display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--ds-size-100, 0.5rem);margin:0;-webkit-touch-callout:none;-webkit-user-select:none}.auro-button:active{transform:scale(0.95)}.auro-button:focus-visible{outline:none}.auro-button:focus-visible:not([variant=flat]){outline-style:solid;outline-width:var(--ds-size-50, 0.25rem);outline-offset:calc(var(--ds-size-50, 0.25rem)*-1)}.auro-button:focus-visible:not([variant=flat]):not([variant=secondary]):not([variant=tertiary]){outline-width:calc(var(--ds-size-50, 0.25rem) - 1px)}.auro-button.loading{cursor:not-allowed}.auro-button.loading *:not([auro-loader]){visibility:hidden}@media screen and (min-width: 576px){.auro-button{min-width:8.75rem;width:auto}}.auro-button:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=secondary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=flat]{height:unset;width:unset;min-height:unset;max-height:unset;min-width:unset;max-width:unset;border:0;border-radius:unset;gap:unset;padding:unset}.auro-button[onDark]:disabled{cursor:not-allowed;transform:unset}.auro-button[onDark][variant=secondary]:disabled{cursor:not-allowed;transform:unset}@media(hover: hover){.auro-button[onDark][variant=tertiary]:active,.auro-button[onDark][variant=tertiary]:hover{box-shadow:none}}.auro-button[onDark][variant=tertiary]:active{box-shadow:none}.auro-button[onDark][variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button--slim{padding:var(--ds-size-100, 0.5rem) var(--ds-size-200, 1rem);font-size:var(--ds-basic-text-body-sm-font-size, 14px);min-width:unset;min-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem));max-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem))}.auro-button--iconOnly{padding:0 var(--ds-size-100, 0.5rem);border-radius:100px;min-width:unset;height:var(--ds-size-600, 3rem);width:var(--ds-size-500, 2.5rem)}.auro-button--iconOnly ::slotted(auro-icon),.auro-button--iconOnly ::slotted([auro-icon]){--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}.auro-button--iconOnly:not(.auro-button--rounded):focus-visible:not([variant=secondary]):not([variant=tertiary]):not([variant=flat]){outline-width:1px;outline-offset:-2px}.auro-button--iconOnlySlim{padding:0 var(--ds-size-50, 0.25rem);height:calc(var(--ds-size-400, 2rem) + var(--ds-size-50, 0.25rem));width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-50, 0.25rem))}.auro-button--iconOnlySlim ::slotted(auro-icon),.auro-button--iconOnlySlim ::slotted([auro-icon]){--ds-auro-icon-size:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem))}.auro-button--rounded{border-radius:100px;box-shadow:var(--ds-elevation-300, 0px 0px 15px rgba(0, 0, 0, 0.2));height:var(--ds-size-500, 2.5rem);min-width:unset;transition:all 300ms ease-out,outline 0ms,outline-offset 0ms}.auro-button--rounded ::slotted(auro-icon),.auro-button--rounded ::slotted([auro-icon]){--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}.auro-button--rounded:focus-visible:not([variant=flat]):after{border-radius:100px}:host([rounded]) .textSlot{transition:opacity 300ms ease-in;opacity:1}:host([rounded][iconOnly]) .textSlot{opacity:0}:host([rounded][iconOnly]) .textWrapper{display:none}:host([rounded][iconOnly]) .auro-button{min-width:unset;padding:unset;width:var(--ds-size-600, 3rem)}[auro-loader]{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}`;
11318
+ var styleCss$2$2 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}:host([fluid]) .auro-button,:host([fluid=true]) .auro-button{min-width:auto;width:100%}:host([variant=flat]){display:inline-block;height:var(--ds-size-300, 1.5rem);width:var(--ds-size-300, 1.5rem)}:host([variant=flat]) .auro-button{height:100%;width:100%}::slotted(svg){vertical-align:middle}slot{pointer-events:none}.auro-button{position:relative;padding:0 var(--ds-size-300, 1.5rem);cursor:pointer;border-width:1px;border-style:solid;border-radius:var(--ds-border-radius, 0.375rem);font-family:var(--ds-basic-text-body-default-font-family, "AS Circular");font-size:var(--ds-basic-text-body-default-font-size, 16px);font-weight:var(--ds-basic-text-body-default-font-weight, 450);line-height:var(--ds-basic-text-body-default-line-height, 24px);letter-spacing:var(--ds-basic-text-body-default-letter-spacing, 0);overflow:hidden;text-overflow:ellipsis;user-select:none;white-space:nowrap;min-height:var(--ds-size-600, 3rem);max-height:var(--ds-size-600, 3rem);display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--ds-size-100, 0.5rem);margin:0;-webkit-touch-callout:none;-webkit-user-select:none}.auro-button:active{transform:scale(0.95)}.auro-button:focus-visible{outline:none}.auro-button:focus-visible:not([variant=flat]){outline-style:solid;outline-width:var(--ds-size-50, 0.25rem);outline-offset:calc(var(--ds-size-50, 0.25rem)*-1)}.auro-button:focus-visible:not([variant=flat]):not([variant=secondary]):not([variant=tertiary]){outline-width:calc(var(--ds-size-50, 0.25rem) - 1px)}.auro-button.loading{cursor:not-allowed}.auro-button.loading *:not([auro-loader]){visibility:hidden}@media screen and (min-width: 576px){.auro-button{min-width:8.75rem;width:auto}}.auro-button:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=secondary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=flat]{height:unset;width:unset;min-height:unset;max-height:unset;min-width:unset;max-width:unset;border:0;border-radius:unset;gap:unset;padding:unset}.auro-button[onDark]:disabled{cursor:not-allowed;transform:unset}.auro-button[onDark][variant=secondary]:disabled{cursor:not-allowed;transform:unset}@media(hover: hover){.auro-button[onDark][variant=tertiary]:active,.auro-button[onDark][variant=tertiary]:hover{box-shadow:none}}.auro-button[onDark][variant=tertiary]:active{box-shadow:none}.auro-button[onDark][variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button--slim{padding:var(--ds-size-100, 0.5rem) var(--ds-size-200, 1rem);font-family:var(--ds-basic-text-body-sm-font-family, "AS Circular");font-size:var(--ds-basic-text-body-sm-font-size, 14px);font-weight:var(--ds-basic-text-body-sm-font-weight, 450);line-height:var(--ds-basic-text-body-sm-line-height, 20px);letter-spacing:var(--ds-basic-text-body-sm-letter-spacing, 0);min-width:unset;min-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem));max-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem))}.auro-button--iconOnly{padding:0 var(--ds-size-100, 0.5rem);border-radius:100px;min-width:unset;height:var(--ds-size-600, 3rem);width:var(--ds-size-500, 2.5rem)}.auro-button--iconOnly ::slotted(auro-icon),.auro-button--iconOnly ::slotted([auro-icon]){--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}.auro-button--iconOnly:not(.auro-button--rounded):focus-visible:not([variant=secondary]):not([variant=tertiary]):not([variant=flat]){outline-width:1px;outline-offset:-2px}.auro-button--iconOnlySlim{padding:0 var(--ds-size-50, 0.25rem);height:calc(var(--ds-size-400, 2rem) + var(--ds-size-50, 0.25rem));width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-50, 0.25rem))}.auro-button--iconOnlySlim ::slotted(auro-icon),.auro-button--iconOnlySlim ::slotted([auro-icon]){--ds-auro-icon-size:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem))}.auro-button--rounded{border-radius:100px;box-shadow:var(--ds-elevation-300, 0px 0px 15px rgba(0, 0, 0, 0.2));height:var(--ds-size-500, 2.5rem);min-width:unset;transition:all 300ms ease-out,outline 0ms,outline-offset 0ms}.auro-button--rounded ::slotted(auro-icon),.auro-button--rounded ::slotted([auro-icon]){--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}.auro-button--rounded:focus-visible:not([variant=flat]):after{border-radius:100px}:host([rounded]) .textSlot{transition:opacity 300ms ease-in;opacity:1}:host([rounded][iconOnly]) .textSlot{opacity:0}:host([rounded][iconOnly]) .textWrapper{display:none}:host([rounded][iconOnly]) .auro-button{min-width:unset;padding:unset;width:var(--ds-size-600, 3rem)}[auro-loader]{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}`;
10899
11319
 
10900
11320
  var colorCss$2$1 = i$5`[auro-loader]{color:var(--ds-auro-button-loader-color)}.auro-button{-webkit-tap-highlight-color:var(--ds-auro-button-tap-color);color:var(--ds-auro-button-text-color);background-color:var(--ds-auro-button-container-color);background-image:linear-gradient(var(--ds-auro-button-container-image), var(--ds-auro-button-container-image));border-color:var(--ds-auro-button-border-color)}.auro-button:not([variant=secondary]):not([variant=tertiary]):focus-visible{outline-color:var(--ds-auro-button-border-inset-color)}.auro-button:not([ondark]):active:not(:disabled),.auro-button:not([ondark]):hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-hover, #00274a);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-hover, #00274a);--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-hover, #00274a)}.auro-button:not([ondark]):disabled{--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-disabled, #acc9e2);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-disabled, #acc9e2);--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-disabled, #acc9e2)}.auro-button:not([ondark])[variant=secondary]{--ds-auro-button-container-color:var(--ds-advanced-color-button-secondary-background, #ffffff);--ds-auro-button-container-image:var(--ds-advanced-color-button-secondary-background, #ffffff);--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border, #01426a);--ds-auro-button-text-color:var(--ds-advanced-color-button-secondary-text, #01426a);--ds-auro-button-loader-color:var(--ds-advanced-color-button-secondary-text, #01426a)}.auro-button:not([ondark])[variant=secondary]:active:not(:disabled),.auro-button:not([ondark])[variant=secondary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-secondary-background-hover, #f2f2f2);--ds-auro-button-container-image:var(--ds-advanced-color-button-secondary-background-hover, #f2f2f2);--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border-hover, #00274a);--ds-auro-button-text-color:var(--ds-advanced-color-button-secondary-text-hover, #00274a)}.auro-button:not([ondark])[variant=secondary]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused, #01426a)}.auro-button:not([ondark])[variant=secondary]:disabled{--ds-auro-button-container-color:var(--ds-advanced-color-button-secondary-background-disabled, #f7f7f7);--ds-auro-button-container-image:var(--ds-advanced-color-button-secondary-background-disabled, #f7f7f7);--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border-disabled, #cfe0ef);--ds-auro-button-text-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}.auro-button:not([ondark])[variant=tertiary]{--ds-auro-button-container-color:var(--ds-advanced-color-button-tertiary-background, rgba(0, 0, 0, 0.05));--ds-auro-button-container-image:var(--ds-advanced-color-button-tertiary-background, rgba(0, 0, 0, 0.05));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-advanced-color-button-tertiary-text, #01426a);--ds-auro-button-loader-color:var(--ds-advanced-color-button-tertiary-text, #01426a)}.auro-button:not([ondark])[variant=tertiary]:active:not(:disabled),.auro-button:not([ondark])[variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-tertiary-background-hover, rgba(0, 0, 0, 0.1));--ds-auro-button-container-image:var(--ds-advanced-color-button-tertiary-background-hover, rgba(0, 0, 0, 0.1));--ds-auro-button-border-color:transparent}.auro-button:not([ondark])[variant=tertiary]:focus-visible{--ds-auro-button-border-color:var(--ds-advanced-color-state-focused, #01426a);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused, #01426a)}.auro-button:not([ondark])[variant=tertiary]:disabled{--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}.auro-button:not([ondark])[variant=flat]{color:var(--ds-advanced-color-button-flat-text, #676767);background-color:transparent;background-image:none;border-color:transparent}.auro-button:not([ondark])[variant=flat]:active:not(:disabled),.auro-button:not([ondark])[variant=flat]:hover:not(:disabled){color:var(--ds-advanced-color-button-flat-text-hover, #525252);background-color:transparent;background-image:none;border-color:transparent}.auro-button:not([ondark])[variant=flat]:disabled{color:var(--ds-advanced-color-button-flat-text-disabled, #d0d0d0);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark]{--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-inverse, #ffffff);--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-inverse, #ffffff);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-inverse, #ffffff);--ds-auro-button-text-color:var(--ds-advanced-color-button-primary-text-inverse, #01426a);--ds-auro-button-loader-color:var(--ds-advanced-color-button-primary-text-inverse, #01426a)}.auro-button[ondark]:active:not(:disabled),.auro-button[ondark]:hover:not(:disabled){--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-inverse-hover, #ebf3f9);--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-inverse-hover, #ebf3f9);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-inverse-hover, #ebf3f9)}.auro-button[ondark]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused, #01426a)}.auro-button[ondark]:disabled{--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-button-text-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}.auro-button[ondark][variant=secondary]{--ds-auro-button-container-color:transparent;--ds-auro-button-container-image:transparent;--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border-inverse, #ffffff);--ds-auro-button-text-color:var(--ds-advanced-color-button-secondary-text-inverse, #ffffff);--ds-auro-button-loader-color:var(--ds-advanced-color-button-secondary-text-inverse, #ffffff)}.auro-button[ondark][variant=secondary]:active:not(:disabled),.auro-button[ondark][variant=secondary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-secondary-background-inverse-hover, rgba(255, 255, 255, 0.1));--ds-auro-button-container-image:var(--ds-advanced-color-button-secondary-background-inverse-hover, rgba(255, 255, 255, 0.1))}.auro-button[ondark][variant=secondary]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused-inverse, #ffffff)}.auro-button[ondark][variant=secondary]:disabled{--ds-auro-button-text-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border-inverse-disabled, #dddddd)}.auro-button[ondark][variant=tertiary]{--ds-auro-button-container-color:var(--ds-advanced-color-button-tertiary-background-inverse, rgba(255, 255, 255, 0.05));--ds-auro-button-container-image:var(--ds-advanced-color-button-tertiary-background-inverse, rgba(255, 255, 255, 0.05));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-advanced-color-button-tertiary-text-inverse, #ffffff);--ds-auro-button-loader-color:var(--ds-advanced-color-button-tertiary-text-inverse, #ffffff)}.auro-button[ondark][variant=tertiary]:active:not(:disabled),.auro-button[ondark][variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-tertiary-background-inverse-hover, rgba(255, 255, 255, 0.1));--ds-auro-button-container-image:var(--ds-advanced-color-button-tertiary-background-inverse-hover, rgba(255, 255, 255, 0.1))}.auro-button[ondark][variant=tertiary]:focus-visible{--ds-auro-button-border-color:var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused-inverse, #ffffff)}.auro-button[ondark][variant=tertiary]:disabled{--ds-auro-button-text-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}.auro-button[ondark][variant=flat]{color:var(--ds-advanced-color-button-flat-text-inverse, #ffffff);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark][variant=flat]:active:not(:disabled),.auro-button[ondark][variant=flat]:hover:not(:disabled){color:var(--ds-advanced-color-button-flat-text-inverse-hover, #adadad);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark][variant=flat]:disabled{color:var(--ds-advanced-color-button-flat-text-inverse-disabled, #7e8894);background-color:transparent;background-image:none;border-color:transparent}`;
10901
11321
 
@@ -10933,7 +11353,7 @@ class AuroLoader extends i$2 {
10933
11353
  /**
10934
11354
  * @private
10935
11355
  */
10936
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
11356
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
10937
11357
 
10938
11358
  this.orbit = false;
10939
11359
  this.ringworm = false;
@@ -10996,7 +11416,7 @@ class AuroLoader extends i$2 {
10996
11416
  *
10997
11417
  */
10998
11418
  static register(name = "auro-loader") {
10999
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroLoader);
11419
+ AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroLoader);
11000
11420
  }
11001
11421
 
11002
11422
  firstUpdated() {
@@ -11054,27 +11474,6 @@ var loaderVersion = '5.0.0';
11054
11474
 
11055
11475
 
11056
11476
  /**
11057
- * @attr {Boolean} autofocus - This Boolean attribute lets you specify that the button should have input focus when the page loads, unless overridden by the user
11058
- * @attr {Boolean} disabled - If set to true, button will become disabled and not allow for interactions
11059
- * @attr {Boolean} iconOnly - If set to true, the button will contain an icon with no additional content
11060
- * @attr {Boolean} loading - If set to true button text will be replaced with `auro-loader` and become disabled
11061
- * @attr {String} loadingText - Sets custom loading text for the `aria-label` on a button in loading state. If not set, the default value of "Loading..." will be used.
11062
- * @attr {Boolean} onDark - Set value for on-dark version of auro-button
11063
- * @attr {Boolean} rounded - If set to true, the button will have a rounded shape
11064
- * @attr {Boolean} slim - Set value for slim version of auro-button
11065
- * @attr {Boolean} fluid - Alters the shape of the button to be full width of its parent container
11066
- * @attr {String} arialabel - Populates the `aria-label` attribute that is used to define a string that labels the current element. Use it in cases where a text label is not visible on the screen. If there is visible text labeling the element, use `aria-labelledby` instead.
11067
- * @attr {String} arialabelledby - Populates the `aria-labelledby` attribute that establishes relationships between objects and their label(s), and its value should be one or more element IDs, which refer to elements that have the text needed for labeling. List multiple element IDs in a space delimited fashion.
11068
- * @attr {Boolean} ariaexpanded - Populates the `aria-expanded` attribute that indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. This is an optional attribute for buttons.
11069
- * @attr {String} id - Set the unique ID of an element.
11070
- * @attr {String} title - Sets title attribute. The information is most often shown as a tooltip text when the mouse moves over the element.
11071
- * @attr {String} type - The type of the button. Possible values are: `submit`, `reset`, `button`
11072
- * @attr {String} value - Defines the value associated with the button which is submitted with the form data.
11073
- * @attr {String} variant - Sets button variant option. Possible values are: `secondary`, `tertiary`
11074
- * @attr {Boolean} secondary - DEPRECATED
11075
- * @attr {Boolean} tertiary - DEPRECATED
11076
- * @prop {Boolean} ready - When false the component API should not be called.
11077
- * @event auroButton-ready - Notifies that the component has finished initializing.
11078
11477
  * @slot - Default slot for the text of the button.
11079
11478
  * @slot icon - Slot to provide auro-icon for the button.
11080
11479
  * @csspart button - Apply CSS to HTML5 button.
@@ -11098,13 +11497,11 @@ class AuroButton extends i$2 {
11098
11497
 
11099
11498
  constructor() {
11100
11499
  super();
11101
-
11102
11500
  this.autofocus = false;
11103
11501
  this.disabled = false;
11104
11502
  this.iconOnly = false;
11105
11503
  this.loading = false;
11106
11504
  this.onDark = false;
11107
- this.ready = false;
11108
11505
  this.secondary = false;
11109
11506
  this.tertiary = false;
11110
11507
  this.rounded = false;
@@ -11143,73 +11540,169 @@ class AuroButton extends i$2 {
11143
11540
 
11144
11541
  static get properties() {
11145
11542
  return {
11543
+
11544
+ /**
11545
+ * This Boolean attribute lets you specify that the button should have input focus when the page loads, unless overridden by the user.
11546
+ */
11146
11547
  autofocus: {
11147
11548
  type: Boolean,
11148
11549
  reflect: true
11149
11550
  },
11551
+
11552
+ /**
11553
+ * If set to true, button will become disabled and not allow for interactions.
11554
+ */
11150
11555
  disabled: {
11151
11556
  type: Boolean,
11152
11557
  reflect: true
11153
11558
  },
11559
+
11560
+ /**
11561
+ * DEPRECATED.
11562
+ * @deprecated
11563
+ */
11154
11564
  secondary: {
11155
11565
  type: Boolean,
11156
11566
  reflect: true
11157
11567
  },
11568
+
11569
+ /**
11570
+ * DEPRECATED.
11571
+ * @deprecated
11572
+ */
11158
11573
  tertiary: {
11159
11574
  type: Boolean,
11160
11575
  reflect: true
11161
11576
  },
11577
+
11578
+ /**
11579
+ * Alters the shape of the button to be full width of its parent container.
11580
+ */
11162
11581
  fluid: {
11163
11582
  type: Boolean,
11164
11583
  reflect: true
11165
11584
  },
11585
+
11586
+ /**
11587
+ * If set to true, the button will contain an icon with no additional content.
11588
+ */
11166
11589
  iconOnly: {
11167
11590
  type: Boolean,
11168
11591
  reflect: true
11169
11592
  },
11593
+
11594
+ /**
11595
+ * If set to true button text will be replaced with `auro-loader` and become disabled.
11596
+ */
11170
11597
  loading: {
11171
11598
  type: Boolean,
11172
11599
  reflect: true
11173
11600
  },
11601
+
11602
+ /**
11603
+ * Sets custom loading text for the `aria-label` on a button in loading state. If not set, the default value of "Loading..." will be used.
11604
+ */
11174
11605
  loadingText: {
11175
11606
  type: String
11176
11607
  },
11608
+
11609
+ /**
11610
+ * Set value for on-dark version of auro-button.
11611
+ */
11177
11612
  onDark: {
11178
11613
  type: Boolean,
11179
11614
  reflect: true
11180
11615
  },
11616
+
11617
+ /**
11618
+ * If set to true, the button will have a rounded shape.
11619
+ */
11181
11620
  rounded: {
11182
11621
  type: Boolean,
11183
11622
  reflect: true
11184
11623
  },
11624
+
11625
+ /**
11626
+ * Set value for slim version of auro-button.
11627
+ */
11185
11628
  slim: {
11186
11629
  type: Boolean,
11187
11630
  reflect: true
11188
11631
  },
11632
+
11633
+ /**
11634
+ * Populates `tabIndex` to define the focusable sequence in keyboard navigation.
11635
+ */
11636
+ tIndex: {
11637
+ type: String,
11638
+ reflect: true
11639
+ },
11640
+
11641
+ /**
11642
+ * Populates the `aria-hidden` attribute to hide the button from a11y API.
11643
+ */
11644
+ ariahidden: {
11645
+ type: String,
11646
+ reflect: true,
11647
+ },
11648
+
11649
+ /**
11650
+ * Populates the `aria-label` attribute that is used to define a string that labels the current element.
11651
+ * Use it in cases where a text label is not visible on the screen.
11652
+ * If there is visible text labeling the element, use `aria-labelledby` instead.
11653
+ */
11189
11654
  arialabel: {
11190
11655
  type: String,
11191
11656
  reflect: true
11192
11657
  },
11658
+
11659
+ /**
11660
+ * Populates the `aria-labelledby` attribute that establishes relationships between objects and their label(s),
11661
+ * and its value should be one or more element IDs, which refer to elements that have the text needed for labeling.
11662
+ * List multiple element IDs in a space delimited fashion.
11663
+ */
11193
11664
  arialabelledby: {
11194
11665
  type: String,
11195
11666
  reflect: true
11196
11667
  },
11668
+
11669
+ /**
11670
+ * Populates the `aria-expanded` attribute that indicates whether the element,
11671
+ * or another grouping element it controls, is currently expanded or collapsed.
11672
+ * This is an optional attribute for buttons.
11673
+ */
11197
11674
  ariaexpanded: {
11198
11675
  type: Boolean,
11199
11676
  reflect: true
11200
11677
  },
11678
+
11679
+ /**
11680
+ * Sets title attribute. The information is most often shown as a tooltip text when the mouse moves over the element.
11681
+ */
11201
11682
  title: {
11202
11683
  type: String,
11203
11684
  reflect: true
11204
11685
  },
11686
+
11687
+ /**
11688
+ * The type of the button. Possible values are: `submit`, `reset`, `button`.
11689
+ */
11205
11690
  type: {
11206
11691
  type: String,
11207
11692
  reflect: true
11208
11693
  },
11694
+
11695
+ /**
11696
+ * Defines the value associated with the button which is submitted with the form data.
11697
+ */
11209
11698
  value: {
11210
11699
  type: String,
11211
11700
  reflect: true
11212
11701
  },
11702
+
11703
+ /**
11704
+ * Sets button variant option. Possible values are: `secondary`, `tertiary`.
11705
+ */
11213
11706
  variant: {
11214
11707
  type: String,
11215
11708
  reflect: true
@@ -11227,7 +11720,7 @@ class AuroButton extends i$2 {
11227
11720
  *
11228
11721
  */
11229
11722
  static register(name = "auro-button") {
11230
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroButton);
11723
+ AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroButton);
11231
11724
  }
11232
11725
 
11233
11726
  /**
@@ -11239,21 +11732,6 @@ class AuroButton extends i$2 {
11239
11732
  this.renderRoot.querySelector('button').focus();
11240
11733
  }
11241
11734
 
11242
- /**
11243
- * Marks the component as ready and sends event.
11244
- * @private
11245
- * @returns {void}
11246
- */
11247
- notifyReady() {
11248
- this.ready = true;
11249
-
11250
- this.dispatchEvent(new CustomEvent('auroButton-ready', {
11251
- bubbles: true,
11252
- cancelable: false,
11253
- composed: true,
11254
- }));
11255
- }
11256
-
11257
11735
  updated() {
11258
11736
  // support the old `secondary` and `tertiary` attributes` that are deprecated
11259
11737
  if (this.secondary) {
@@ -11265,10 +11743,6 @@ class AuroButton extends i$2 {
11265
11743
  }
11266
11744
  }
11267
11745
 
11268
- firstUpdated() {
11269
- this.notifyReady();
11270
- }
11271
-
11272
11746
  /**
11273
11747
  * Submits the form that this button is associated with.
11274
11748
  * @private
@@ -11283,7 +11757,7 @@ class AuroButton extends i$2 {
11283
11757
  /**
11284
11758
  * Returns the form element that this button is associated with.
11285
11759
  * @private
11286
- * @returns {HTMLFormElement|null}
11760
+ * @returns {HTMLFormElement | null}
11287
11761
  */
11288
11762
  get form() {
11289
11763
  return this.internals ? this.internals.form : null;
@@ -11304,9 +11778,11 @@ class AuroButton extends i$2 {
11304
11778
  return u$2`
11305
11779
  <button
11306
11780
  part="button"
11781
+ aria-hidden="${o(this.ariahidden || undefined)}"
11307
11782
  aria-label="${o(this.loading ? this.loadingText : this.arialabel || undefined)}"
11308
11783
  aria-labelledby="${o(this.arialabelledby ? this.arialabelledby : undefined)}"
11309
11784
  aria-expanded="${o(this.ariaexpanded)}"
11785
+ tabIndex="${o(this.tIndex)}"
11310
11786
  ?autofocus="${this.autofocus}"
11311
11787
  class="${e(classes)}"
11312
11788
  ?disabled="${this.disabled || this.loading}"
@@ -11338,7 +11814,7 @@ var buttonVersion = '9.3.0';
11338
11814
 
11339
11815
  var colorCss$5 = i$5`: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)}`;
11340
11816
 
11341
- var styleCss$5 = i$5`.helptext-wrapper{display:none;font-size:var(--ds-basic-text-body-xs-font-size, 12px);font-weight:var(--ds-basic-text-body-xs-font-weight, 450);letter-spacing:var(--ds-basic-text-body-xs-letter-spacing, 0);line-height:var(--ds-basic-text-body-xs-line-height, 16px)}:host([large]) .helptext-wrapper{font-size:var(--ds-basic-text-body-default-font-size, 16px);font-weight:var(--ds-basic-text-body-default-font-weight, 450);letter-spacing:var(--ds-basic-text-body-default-letter-spacing, 0);line-height:var(--ds-basic-text-body-default-line-height, 24px)}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
11817
+ var styleCss$6 = i$5`.helptext-wrapper{display:none;font-size:var(--ds-basic-text-body-xs-font-size, 12px);font-weight:var(--ds-basic-text-body-xs-font-weight, 450);letter-spacing:var(--ds-basic-text-body-xs-letter-spacing, 0);line-height:var(--ds-basic-text-body-xs-line-height, 16px)}:host([large]) .helptext-wrapper{font-size:var(--ds-basic-text-body-default-font-size, 16px);font-weight:var(--ds-basic-text-body-default-font-weight, 450);letter-spacing:var(--ds-basic-text-body-default-letter-spacing, 0);line-height:var(--ds-basic-text-body-default-line-height, 24px)}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
11342
11818
 
11343
11819
  var tokensCss$5 = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
11344
11820
 
@@ -11421,7 +11897,7 @@ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
11421
11897
  *
11422
11898
  * @attr { Boolean } large - If declared, make font-size to 1rem(16px).
11423
11899
  */
11424
- class AuroHelpText extends i$2 {
11900
+ let AuroHelpText$1 = class AuroHelpText extends i$2 {
11425
11901
 
11426
11902
  constructor() {
11427
11903
  super();
@@ -11436,7 +11912,7 @@ class AuroHelpText extends i$2 {
11436
11912
  static get styles() {
11437
11913
  return [
11438
11914
  colorCss$5,
11439
- styleCss$5,
11915
+ styleCss$6,
11440
11916
  tokensCss$5
11441
11917
  ];
11442
11918
  }
@@ -11540,7 +12016,7 @@ class AuroHelpText extends i$2 {
11540
12016
  </div>
11541
12017
  `;
11542
12018
  }
11543
- }
12019
+ };
11544
12020
 
11545
12021
  var helpTextVersion = '1.0.0';
11546
12022
 
@@ -11562,29 +12038,88 @@ class AuroInput extends BaseInput {
11562
12038
  /**
11563
12039
  * @private
11564
12040
  */
11565
- this.iconTag = versioning.generateTag('auro-formkit-input-icon', iconVersion$2, AuroIcon$2);
12041
+ this.buttonTag = versioning.generateTag('auro-formkit-input-button', buttonVersion, AuroButton);
11566
12042
 
11567
12043
  /**
11568
12044
  * @private
11569
12045
  */
11570
- this.buttonTag = versioning.generateTag('auro-formkit-input-button', buttonVersion, AuroButton);
12046
+ this.hasDisplayValueContent = false;
12047
+
12048
+ /**
12049
+ * @private
12050
+ */
12051
+ this.helpTextTag = versioning.generateTag('auro-formkit-input-helptext', helpTextVersion, AuroHelpText$1);
11571
12052
 
11572
12053
  /**
11573
12054
  * @private
11574
12055
  */
11575
- this.helpTextTag = versioning.generateTag('auro-formkit-input-helptext', helpTextVersion, AuroHelpText);
12056
+ this.iconTag = versioning.generateTag('auro-formkit-input-icon', iconVersion$2, AuroIcon$2);
11576
12057
  }
11577
12058
 
11578
- /**
11579
- * This will register this element with the browser.
11580
- * @param {string} [name="auro-input"] - The name of element that you want to register to.
11581
- *
12059
+ static get styles() {
12060
+ return [
12061
+ i$5`${shapeSizeCss}`,
12062
+ i$5`${colorBaseCss}`,
12063
+ i$5`${styleCss$4$1}`,
12064
+ i$5`${styleDefaultCss}`,
12065
+ i$5`${tokensCss$4}`,
12066
+ i$5`${classicStyleCss}`,
12067
+ i$5`${classicColorCss}`,
12068
+ i$5`${emphasizedStyleCss}`,
12069
+ i$5`${emphasizedColorCss}`,
12070
+ i$5`${snowflakeStyleCss}`
12071
+ ];
12072
+ }
12073
+
12074
+ /**
12075
+ * Returns classmap configuration for html5 input labels in all layouts.
12076
+ * @private
12077
+ * @returns {void}
12078
+ */
12079
+ get commonLabelClasses() {
12080
+ return {
12081
+ 'withValue': this.value && this.value.length > 0,
12082
+ 'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
12083
+ };
12084
+ }
12085
+
12086
+ /**
12087
+ * Returns classmap configuration for html5 inputs in all layouts.
12088
+ * @private
12089
+ * @returns {void}
12090
+ */
12091
+ get commonInputClasses() {
12092
+ return {
12093
+ 'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
12094
+ };
12095
+ }
12096
+
12097
+ get commonWrapperClasses() {
12098
+ return {
12099
+ 'wrapper': true,
12100
+ 'withValue': this.value && this.value.length > 0,
12101
+ 'hasFocus': this.hasFocus
12102
+ };
12103
+ }
12104
+
12105
+ get helpTextClasses() {
12106
+ return {
12107
+ 'helpTextWrapper': true,
12108
+ 'leftIndent': this.shape.toLowerCase().includes('pill') && !this.shape.toLowerCase().includes('right'),
12109
+ 'rightIndent': this.shape.toLowerCase().includes('pill') && !this.shape.toLowerCase().includes('left')
12110
+ };
12111
+ };
12112
+
12113
+ /**
12114
+ * This will register this element with the browser.
12115
+ * @param {string} [name="auro-input"] - The name of element that you want to register to.
12116
+ *
11582
12117
  * @example
11583
12118
  * AuroInput.register("custom-input") // this will register this element to <custom-input/>
11584
12119
  *
11585
12120
  */
11586
12121
  static register(name = "auro-input") {
11587
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroInput);
12122
+ AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroInput);
11588
12123
  }
11589
12124
 
11590
12125
  /**
@@ -11600,160 +12135,350 @@ class AuroInput extends BaseInput {
11600
12135
  return false;
11601
12136
  }
11602
12137
 
11603
- // function that renders the HTML and CSS into the scope of the component
11604
- render() {
11605
- // is-disabled class - THIS IS ONLY HERE TO MAKE A TEST PASS AS FAR AS I CAN TELL
11606
- const labelClasses = {
11607
- 'is-disabled': this.disabled,
11608
- 'withIcon': this.hasTypeIcon(),
11609
- 'withValue': this.value && this.value.length > 0
12138
+ /**
12139
+ * Function to determine if there is any displayValue content to render.
12140
+ * @private
12141
+ * @returns {void}
12142
+ */
12143
+ checkDisplayValueSlotChange() {
12144
+ const nodes = this.shadowRoot.querySelector('slot[name="displayValue"]').assignedNodes();
12145
+
12146
+ let hasContent = false;
12147
+
12148
+ if (nodes.length > 0) {
12149
+ hasContent = true;
12150
+ }
12151
+
12152
+ this.hasDisplayValueContent = hasContent;
12153
+ }
12154
+
12155
+ /**
12156
+ * Returns HTML for the validation error icon.
12157
+ * @private
12158
+ * @returns {html} - Returns HTML for the validation error icon.
12159
+ */
12160
+ renderValidationErrorIconHtml() {
12161
+ return u$2`
12162
+ ${this.validity && this.validity !== 'valid' ? u$2`
12163
+ <div class="notification alertNotification">
12164
+ <${this.iconTag}
12165
+ category="alert"
12166
+ name="error-stroke"
12167
+ variant="statusError"
12168
+ ?ondark="${this.onDark}">
12169
+ </${this.iconTag}>
12170
+ </div>
12171
+ ` : undefined}
12172
+ `;
12173
+ }
12174
+
12175
+ /**
12176
+ * Returns HTML for the HTML5 input element.
12177
+ * @private
12178
+ * @param {boolean} [hideInputWhenBlurred=false] - If true, the input will be visually hidden when not focused and has no value.
12179
+ * @returns {html} - Returns HTML for the HTML5 input element.
12180
+ */
12181
+ renderHtmlInput(hideInputWhenBlurred = false) {
12182
+ const displayValueClasses = {
12183
+ 'displayValue': true,
12184
+ 'hasContent': this.hasDisplayValueContent,
12185
+ 'hasFocus': this.hasFocus,
12186
+ 'withValue': this.value && this.value.length > 0,
12187
+ };
12188
+
12189
+ const inputClasses = {
12190
+ 'util_displayHiddenVisually': hideInputWhenBlurred && !this.hasFocus && !this.value
11610
12191
  };
11611
12192
 
11612
12193
  return u$2`
11613
- <div class="wrapper" part="wrapper">
11614
- <div class="main">
11615
- <div class="typeIcon">
11616
- ${this.type === 'credit-card' ? this.processCreditCard() : undefined}
11617
-
11618
- <!-- The repeat() method is used below in order to force auro-icon to re-render when the name value is updated.
11619
- This should be cleaned up when auro-icon issue #31 is resolved. -->
11620
- ${this.inputIconName
11621
- ? c([this.inputIconName], (val) => val, (name) => u$2`
11622
- <${this.iconTag}
11623
- class="accentIcon"
11624
- category="payment"
11625
- name="${name}"
11626
- part="accentIcon"
11627
- ?onDark="${this.onDark}"
11628
- variant="${this.disabled ? 'disabled' : 'muted'}">
11629
- </${this.iconTag}>
11630
- `) : undefined
11631
- }
12194
+ <label for=${this.id} class="${e(this.commonLabelClasses)}" part="label">
12195
+ <slot name="label">
12196
+ ${this.label}
12197
+ </slot>
12198
+ </label>
12199
+ <input
12200
+ @blur="${this.handleBlur}"
12201
+ @focusin="${this.handleFocusin}"
12202
+ @focusout="${this.handleFocusout}"
12203
+ @input="${this.handleInput}"
12204
+ ?activeLabel="${this.activeLabel}"
12205
+ ?disabled="${this.disabled}"
12206
+ ?required="${this.required}"
12207
+ .placeholder=${this.placeholderStr}
12208
+ aria-describedby="${this.uniqueId}"
12209
+ aria-invalid="${this.validity !== 'valid'}"
12210
+ autocapitalize="${o(this.autocapitalize ? this.autocapitalize : undefined)}"
12211
+ autocomplete="${o(this.autocomplete ? this.autocomplete : undefined)}"
12212
+ autocorrect="${o(this.autocorrect ? this.autocorrect : undefined)}"
12213
+ class="${e(inputClasses)}"
12214
+ id="${this.inputId}"
12215
+ inputMode="${o(this.inputMode ? this.inputMode : undefined)}"
12216
+ lang="${o(this.lang)}"
12217
+ maxlength="${o(this.maxLength ? this.maxLength : undefined)}"
12218
+ minlength="${o(this.minLength ? this.minLength : undefined)}"
12219
+ name="${o(this.name)}"
12220
+ part="input"
12221
+ pattern="${o(this.definePattern())}"
12222
+ spellcheck="${o(this.spellcheck ? this.spellcheck : undefined)}"
12223
+ type="${this.type === 'password' && this.showPassword ? 'text' : this.getInputType(this.type)}" />
12224
+ <div class="${e(displayValueClasses)}" aria-hidden="true" part="displayValue">
12225
+ <div class="displayValueWrapper">
12226
+ <slot name="displayValue" @slotchange=${this.checkDisplayValueSlotChange}></slot>
12227
+ </div>
12228
+ </div>
12229
+ `;
12230
+ }
11632
12231
 
11633
- ${this.type === 'date'
11634
- ? u$2`
11635
- <${this.iconTag}
11636
- class="accentIcon"
11637
- category="interface"
11638
- name="calendar"
11639
- part="accentIcon"
11640
- ?onDark="${this.onDark}"
11641
- variant="${this.disabled ? 'disabled' : 'muted'}">
11642
- </${this.iconTag}>`
11643
- : undefined
11644
- }
11645
- </div>
11646
- <label for=${this.inputId} class="${e(labelClasses)}" part="label">
11647
- <slot name="label">
11648
- ${this.label}
11649
- </slot>
11650
- ${this.required ? '' : ` (${i18n(this.lang, 'optional')})`}
11651
- </label>
11652
- <input
11653
- @input="${this.handleInput}"
11654
- @focusin="${this.handleFocusin}"
11655
- @blur="${this.handleBlur}"
11656
- id="${this.inputId}"
11657
- name="${o(this.name)}"
11658
- type="${this.type === 'password' && this.showPassword ? 'text' : this.getInputType(this.type)}"
11659
- pattern="${o(this.definePattern())}"
11660
- maxlength="${o(this.maxLength ? this.maxLength : undefined)}"
11661
- minlength="${o(this.minLength ? this.minLength : undefined)}"
11662
- inputMode="${o(this.inputmode ? this.inputmode : undefined)}"
11663
- ?required="${this.required}"
11664
- ?disabled="${this.disabled}"
11665
- aria-describedby="${this.uniqueId}"
11666
- ?aria-invalid="${this.validity !== 'valid'}"
11667
- placeholder=${this.getPlaceholder()}
11668
- lang="${o(this.lang)}"
11669
- ?activeLabel="${this.activeLabel}"
11670
- spellcheck="${o(this.spellcheck ? this.spellcheck : undefined)}"
11671
- autocorrect="${o(this.autocorrect ? this.autocorrect : undefined)}"
11672
- autocapitalize="${o(this.autocapitalize ? this.autocapitalize : undefined)}"
11673
- autocomplete="${o(this.autocomplete ? this.autocomplete : undefined)}"
11674
- part="input"
11675
- role="${o(this.a11yRole)}"
11676
- aria-expanded="${o(this.a11yExpanded)}"
11677
- aria-controls="${o(this.a11yControls)}"
11678
- />
12232
+ /**
12233
+ * Returns HTML for the clear action button.
12234
+ * @private
12235
+ * @returns {html} - Returns HTML for the clear action button.
12236
+ */
12237
+ renderHtmlActionClear() {
12238
+ return u$2`
12239
+ <div class="notification clear">
12240
+ <${this.buttonTag}
12241
+ @click="${this.handleClickClear}"
12242
+ ?onDark="${this.onDark}"
12243
+ aria-label="${i18n(this.lang, 'clearInput')}"
12244
+ class="notificationBtn clearBtn"
12245
+ tabindex="-1"
12246
+ variant="flat">
12247
+ <${this.iconTag}
12248
+ category="interface"
12249
+ customColor
12250
+ name="x-lg"
12251
+ >
12252
+ </${this.iconTag}>
12253
+ </${this.buttonTag}>
12254
+ </div>
12255
+ `;
12256
+ }
12257
+
12258
+ /**
12259
+ * Returns HTML for the show password button.
12260
+ * @private
12261
+ * @returns {html} - Returns HTML for the show password button.
12262
+ */
12263
+ renderHtmlNotificationPassword() {
12264
+ return u$2`
12265
+ <div class="notification">
12266
+ <${this.buttonTag}
12267
+ @click="${this.handleClickShowPassword}
12268
+ ?onDark="${this.onDark}"
12269
+ aria-hidden="true"
12270
+ class="notificationBtn passwordBtn"
12271
+ tabindex="-1"
12272
+ variant="flat">
12273
+ <${this.iconTag}
12274
+ ?hidden=${!this.showPassword}
12275
+ category="interface"
12276
+ customColor
12277
+ name="hide-password-stroke">
12278
+ </${this.iconTag}>
12279
+ <${this.iconTag}
12280
+ ?hidden=${this.showPassword}
12281
+ category="interface"
12282
+ customColor
12283
+ name="view-password-stroke">
12284
+ </${this.iconTag}>
12285
+ </${this.buttonTag}>
12286
+ </div>
12287
+ `;
12288
+ }
12289
+
12290
+ /**
12291
+ * Returns HTML for the input type icon.
12292
+ * @private
12293
+ * @returns {html} - Returns HTML for the input type icon.
12294
+ */
12295
+ renderHtmlTypeIcon() {
12296
+ return u$2`
12297
+ <div class="typeIcon">
12298
+ ${this.type === 'credit-card' ? this.processCreditCard() : undefined}
12299
+
12300
+ <!-- The repeat() method is used below in order to force auro-icon to re-render when the name value is updated.
12301
+ This should be cleaned up when auro-icon issue #31 is resolved. -->
12302
+ ${this.inputIconName
12303
+ ? c([this.inputIconName], (val) => val, (name) => u$2`
12304
+ <${this.iconTag}
12305
+ ?onDark="${this.onDark}"
12306
+ category="payment"
12307
+ class="accentIcon"
12308
+ name="${name}"
12309
+ part="accentIcon"
12310
+ variant="${this.disabled ? 'disabled' : 'muted'}">
12311
+ </${this.iconTag}>
12312
+ `) : undefined
12313
+ }
12314
+ ${this.type === 'date'
12315
+ ? u$2`
12316
+ <${this.iconTag}
12317
+ ?onDark="${this.onDark}"
12318
+ category="interface"
12319
+ class="accentIcon"
12320
+ name="calendar"
12321
+ part="accentIcon"
12322
+ variant="${this.disabled ? 'disabled' : 'muted'}">
12323
+ </${this.iconTag}>`
12324
+ : undefined
12325
+ }
12326
+ </div>
12327
+ `;
12328
+ }
12329
+
12330
+ /**
12331
+ * Returns HTML for the help text and error message.
12332
+ * @private
12333
+ * @returns {html} - Returns HTML for the help text and error message.
12334
+ */
12335
+ renderHtmlHelpText() {
12336
+ return u$2`
12337
+ ${!this.validity || this.validity === undefined || this.validity === 'valid'
12338
+ ? u$2`
12339
+ <${this.helpTextTag} ?onDark="${this.onDark}">
12340
+ <p id="${this.uniqueId}" part="helpText">
12341
+ <slot name="helptext">${this.getHelpText()}</slot>
12342
+ </p>
12343
+ </${this.helpTextTag}>
12344
+ `
12345
+ : u$2`
12346
+ <${this.helpTextTag} error ?onDark="${this.onDark}">
12347
+ <p id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
12348
+ ${this.errorMessage}
12349
+ </p>
12350
+ </${this.helpTextTag}>
12351
+ `
12352
+ }
12353
+ `;
12354
+ }
12355
+
12356
+ /**
12357
+ * Returns HTML for the default layout.
12358
+ * @private
12359
+ * @returns {import("lit").TemplateResult} - Returns HTML for the default layout.
12360
+ */
12361
+ renderLayoutClassic() {
12362
+ return u$2`
12363
+ <div
12364
+ @click="${this.handleClick}"
12365
+ class="${e(this.commonWrapperClasses)} thin"
12366
+ part="wrapper">
12367
+ <div class="accents left">
12368
+ ${this.renderHtmlTypeIcon()}
11679
12369
  </div>
11680
- <div
11681
- class="notificationIcons"
11682
- part="notificationIcons"
11683
- ?hasValue="${this.hasValue}">
11684
- ${this.validity && this.validity !== 'valid' ? u$2`
11685
- <div class="notification alertNotification">
11686
- <${this.iconTag}
11687
- category="alert"
11688
- name="error-stroke"
11689
- customColor
11690
- </${this.iconTag}>
11691
- </div>
12370
+ <div class="mainContent">
12371
+ ${this.renderHtmlInput(true)}
12372
+ </div>
12373
+ <div class="accents right">
12374
+ ${this.renderValidationErrorIconHtml()}
12375
+ ${this.hasValue ? u$2`
12376
+ ${!this.disabled && !this.readonly ? u$2`
12377
+ ${this.renderHtmlActionClear()}
12378
+ ` : undefined}
12379
+ ` : undefined}
12380
+ </div>
12381
+ </div>
12382
+ <div class="helpTextWrapper leftIndent rightIndent" part="inputHelpText">
12383
+ ${this.renderHtmlHelpText()}
12384
+ </div>
12385
+ `;
12386
+ }
12387
+
12388
+ /**
12389
+ * Returns HTML for the emphasized layout. Does not support type="*".
12390
+ * @private
12391
+ * @returns {html} - Returns HTML for the emphasized layout.
12392
+ */
12393
+ renderLayoutEmphasized() {
12394
+ return u$2`
12395
+ <div
12396
+ @click="${this.handleClick}"
12397
+ class="${e(this.commonWrapperClasses)}"
12398
+ part="wrapper">
12399
+ <div class="accents left">
12400
+ ${this.layout.includes('left') ? u$2`
12401
+ ${this.renderValidationErrorIconHtml()}
12402
+ ` : undefined}
12403
+ </div>
12404
+ <div class="mainContent">
12405
+ ${this.renderHtmlInput()}
12406
+ </div>
12407
+ <div class="accents right">
12408
+ ${this.layout.includes('right') || this.layout === "emphasized" ? u$2`
12409
+ ${this.renderValidationErrorIconHtml()}
11692
12410
  ` : undefined}
11693
12411
  ${this.hasValue ? u$2`
11694
- ${this.type === 'password' ? u$2`
11695
- <div class="notification">
11696
- <${this.buttonTag}
11697
- variant="flat"
11698
- ?onDark="${this.onDark}"
11699
- aria-hidden="true"
11700
- tabindex="-1"
11701
- @click="${this.handleClickShowPassword}"
11702
- class="notificationBtn passwordBtn">
11703
- <${this.iconTag}
11704
- category="interface"
11705
- name="hide-password-stroke"
11706
- customColor
11707
- ?hidden=${!this.showPassword}>
11708
- </${this.iconTag}>
11709
- <${this.iconTag}
11710
- category="interface"
11711
- name="view-password-stroke"
11712
- customColor
11713
- ?hidden=${this.showPassword}>
11714
- </${this.iconTag}>
11715
- </${this.buttonTag}>
11716
- </div>
12412
+ ${!this.disabled && !this.readonly ? u$2`
12413
+ ${this.renderHtmlActionClear()}
11717
12414
  ` : undefined}
12415
+ ` : undefined}
12416
+ </div>
12417
+ </div>
12418
+ <div class="${e(this.helpTextClasses)}" part="inputHelpText">
12419
+ ${this.renderHtmlHelpText()}
12420
+ </div>
12421
+ `;
12422
+ }
12423
+
12424
+ /**
12425
+ * Returns HTML for the emphasized layout. Does not support type="*".
12426
+ * @private
12427
+ * @returns {html} - Returns HTML for the emphasized layout.
12428
+ */
12429
+ renderLayoutSnowflake() {
12430
+ return u$2`
12431
+ <div
12432
+ @click="${this.handleClick}"
12433
+ class="${e(this.commonWrapperClasses)}"
12434
+ part="wrapper">
12435
+ <div class="accents left">
12436
+ ${this.renderHtmlTypeIcon()}
12437
+ </div>
12438
+ <div class="mainContent">
12439
+ ${this.renderHtmlInput()}
12440
+ </div>
12441
+ <div class="accents right">
12442
+ ${this.renderValidationErrorIconHtml()}
12443
+ ${this.hasValue ? u$2`
11718
12444
  ${!this.disabled && !this.readonly ? u$2`
11719
- <div class="notification">
11720
- <${this.buttonTag}
11721
- variant="flat"
11722
- ?onDark="${this.onDark}"
11723
- class="notificationBtn clearBtn"
11724
- arialabel="${i18n(this.lang, 'clearInput')}"
11725
- @click="${this.handleClickClear}">
11726
- <${this.iconTag}
11727
- customColor
11728
- category="interface"
11729
- name="x-lg"
11730
- >
11731
- </${this.iconTag}>
11732
- </${this.buttonTag}>
11733
- </div>
12445
+ ${this.renderHtmlActionClear()}
11734
12446
  ` : undefined}
11735
12447
  ` : undefined}
11736
12448
  </div>
11737
12449
  </div>
11738
- <!-- Help text and error message template -->
11739
- ${!this.validity || this.validity === undefined || this.validity === 'valid'
11740
- ? u$2`
11741
- <${this.helpTextTag} ?onDark="${this.onDark}">
11742
- <p id="${this.uniqueId}" part="helpText">
11743
- <slot name="helptext">${this.getHelpText()}</slot>
11744
- </p>
11745
- </${this.helpTextTag}>
11746
- `
11747
- : u$2`
11748
- <${this.helpTextTag} error ?onDark="${this.onDark}">
11749
- <p id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
11750
- ${this.errorMessage}
11751
- </p>
11752
- </${this.helpTextTag}>
11753
- `
11754
- }
12450
+ <div class="helpTextWrapper leftIndent rightIndent" part="inputHelpText">
12451
+ ${this.renderHtmlHelpText()}
12452
+ </div>
11755
12453
  `;
11756
12454
  }
12455
+
12456
+ /**
12457
+ * Logic to determine the layout of the component.
12458
+ * @private
12459
+ * @param {string} [ForcedLayout] - Used to force a specific layout, pass in the layout name to use.
12460
+ * @returns {void}
12461
+ */
12462
+ renderLayout(ForcedLayout) {
12463
+ const layout = ForcedLayout || this.layout;
12464
+
12465
+ switch (layout) {
12466
+ case 'emphasized':
12467
+ return this.renderLayoutEmphasized();
12468
+ case 'emphasized-left':
12469
+ return this.renderLayoutEmphasized();
12470
+ case 'emphasized-right':
12471
+ return this.renderLayoutEmphasized();
12472
+ case 'snowflake':
12473
+ return this.renderLayoutSnowflake();
12474
+ case 'snowflake-left':
12475
+ return this.renderLayoutSnowflake();
12476
+ case 'snowflake-right':
12477
+ return this.renderLayoutSnowflake();
12478
+ default:
12479
+ return this.renderLayoutClassic();
12480
+ }
12481
+ }
11757
12482
  }
11758
12483
 
11759
12484
  var inputVersion = '4.2.0';
@@ -11771,7 +12496,7 @@ var tokenCss = i$5`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
11771
12496
 
11772
12497
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
11773
12498
 
11774
- class AuroLibraryRuntimeUtils {
12499
+ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
11775
12500
 
11776
12501
  /* eslint-disable jsdoc/require-param */
11777
12502
 
@@ -11832,7 +12557,7 @@ class AuroLibraryRuntimeUtils {
11832
12557
 
11833
12558
  return elemTag === tag || elem.hasAttribute(tag);
11834
12559
  }
11835
- }
12560
+ };
11836
12561
 
11837
12562
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
11838
12563
  // See LICENSE in the project root for license information.
@@ -11884,7 +12609,7 @@ class AuroDependencyVersioning {
11884
12609
  * @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
11885
12610
  */
11886
12611
 
11887
- let AuroElement$1 = class AuroElement extends i$2 {
12612
+ let AuroElement$2 = class AuroElement extends i$2 {
11888
12613
 
11889
12614
  // function to define props used within the scope of this component
11890
12615
  static get properties() {
@@ -11952,7 +12677,7 @@ var styleCss$1$1 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}
11952
12677
  */
11953
12678
 
11954
12679
  // build the component class
11955
- let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
12680
+ let BaseIcon$1 = class BaseIcon extends AuroElement$2 {
11956
12681
  constructor() {
11957
12682
  super();
11958
12683
  this.onDark = false;
@@ -12024,9 +12749,9 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
12024
12749
  }
12025
12750
  };
12026
12751
 
12027
- var tokensCss$2 = i$5`: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)}`;
12752
+ var tokensCss$3 = i$5`: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)}`;
12028
12753
 
12029
- var colorCss$3 = i$5`: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)}`;
12754
+ var colorCss$4 = i$5`: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)}`;
12030
12755
 
12031
12756
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12032
12757
  // See LICENSE in the project root for license information.
@@ -12047,7 +12772,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
12047
12772
  */
12048
12773
  privateDefaults() {
12049
12774
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
12050
- this.runtimeUtils = new AuroLibraryRuntimeUtils();
12775
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
12051
12776
  }
12052
12777
 
12053
12778
  // function to define props used within the scope of this component
@@ -12114,9 +12839,9 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
12114
12839
  static get styles() {
12115
12840
  return [
12116
12841
  super.styles,
12117
- i$5`${tokensCss$2}`,
12842
+ i$5`${tokensCss$3}`,
12118
12843
  i$5`${styleCss$1$1}`,
12119
- i$5`${colorCss$3}`
12844
+ i$5`${colorCss$4}`
12120
12845
  ];
12121
12846
  }
12122
12847
 
@@ -12129,7 +12854,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
12129
12854
  *
12130
12855
  */
12131
12856
  static register(name = "auro-icon") {
12132
- AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
12857
+ AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
12133
12858
  }
12134
12859
 
12135
12860
  connectedCallback() {
@@ -12195,9 +12920,9 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
12195
12920
  }
12196
12921
  };
12197
12922
 
12198
- var iconVersion$1 = '8.0.2';
12923
+ var iconVersion$1 = '8.0.3';
12199
12924
 
12200
- var styleCss$4 = i$5`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-heading-default-spacing, -0.2px);font-weight:var(--ds-text-heading-default-weight, 500)}.heading--display{margin-top:0;font-size:var(--ds-text-heading-display-size-breakpoint-sm, 2.75rem);font-weight:var(--ds-text-heading-display-weight, 100);line-height:var(--ds-text-heading-display-height-breakpoint-sm, 3.375rem)}@media screen and (min-width: 768px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-md, 3rem);line-height:var(--ds-text-heading-display-height-breakpoint-md, 3.75rem)}}@media screen and (min-width: 1024px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-lg, 3.5rem);line-height:var(--ds-text-heading-display-height-breakpoint-lg, 4.25rem)}}.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-sm, 2rem);font-weight:var(--ds-text-heading-800-weight, 500);line-height:var(--ds-text-heading-800-height-breakpoint-sm, 2.375rem)}@media screen and (min-width: 768px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-md, 2.25rem);line-height:var(--ds-text-heading-800-height-breakpoint-md, 2.625rem)}}@media screen and (min-width: 1024px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-lg, 2.5rem);line-height:var(--ds-text-heading-800-height-breakpoint-lg, 3rem)}}.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-sm, 1.75rem);font-weight:var(--ds-text-heading-700-weight, 500);line-height:var(--ds-text-heading-700-height-breakpoint-sm, 2.125rem)}@media screen and (min-width: 768px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-md, 2rem);line-height:var(--ds-text-heading-700-height-breakpoint-md, 2.375rem)}}@media screen and (min-width: 1024px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-lg, 2.25rem);line-height:var(--ds-text-heading-700-height-breakpoint-lg, 2.75rem)}}.heading--600{margin:1rem 0;font-size:var(--ds-text-heading-600-size-breakpoint-sm, 1.625rem);font-weight:var(--ds-text-heading-600-weight, 300);line-height:var(--ds-text-heading-600-height-breakpoint-sm, 1.875rem)}@media screen and (min-width: 768px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-md, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-md, 2.125rem)}}@media screen and (min-width: 1024px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-lg, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-lg, 2.25rem)}}.heading--500{margin:1rem 0;font-size:var(--ds-text-heading-500-size-breakpoint-sm, 1.375rem);font-weight:var(--ds-text-heading-500-weight, 300);line-height:var(--ds-text-heading-500-height-breakpoint-sm, 1.625rem)}@media screen and (min-width: 768px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-md, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-md, 1.875rem)}}@media screen and (min-width: 1024px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-lg, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-lg, 2rem)}}.heading--400{margin:.75rem 0;font-size:var(--ds-text-heading-400-size, 1.25rem);font-weight:var(--ds-text-heading-400-weight, 300);line-height:var(--ds-text-heading-400-height, 1.625rem)}.heading--300{margin:.75rem 0;font-size:var(--ds-text-heading-300-size, 1.125rem);font-weight:var(--ds-text-heading-300-weight, 300);line-height:var(--ds-text-heading-300-height, 1.625rem)}:host([no-margin-block]) .heading{margin-block:0}.util_stackMarginnone--bottom{margin-bottom:0}.util_stackMargin25--bottom{margin-bottom:var(--ds-size-25, 0.125rem)}.util_stackMargin50--bottom{margin-bottom:var(--ds-size-50, 0.25rem)}.util_stackMargin100--bottom{margin-bottom:var(--ds-size-100, 0.5rem)}.util_stackMargin150--bottom{margin-bottom:var(--ds-size-150, 0.75rem)}.util_stackMargin200--bottom{margin-bottom:var(--ds-size-200, 1rem)}.util_stackMargin300--bottom{margin-bottom:var(--ds-size-300, 1.5rem)}.util_stackMargin400--bottom{margin-bottom:var(--ds-size-400, 2rem)}.util_stackMargin600--bottom{margin-bottom:var(--ds-size-600, 3rem)}.util_stackMargin800--bottom{margin-bottom:var(--ds-size-800, 4rem)}.util_stackMarginnone--top{margin-top:0}.util_stackMargin25--top{margin-top:var(--ds-size-25, 0.125rem)}.util_stackMargin50--top{margin-top:var(--ds-size-50, 0.25rem)}.util_stackMargin100--top{margin-top:var(--ds-size-100, 0.5rem)}.util_stackMargin150--top{margin-top:var(--ds-size-150, 0.75rem)}.util_stackMargin200--top{margin-top:var(--ds-size-200, 1rem)}.util_stackMargin300--top{margin-top:var(--ds-size-300, 1.5rem)}.util_stackMargin400--top{margin-top:var(--ds-size-400, 2rem)}.util_stackMargin600--top{margin-top:var(--ds-size-600, 3rem)}.util_stackMargin800--top{margin-top:var(--ds-size-800, 4rem)}`;
12925
+ var styleCss$5 = i$5`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-heading-default-spacing, -0.2px);font-weight:var(--ds-text-heading-default-weight, 500)}.heading--display{margin-top:0;font-size:var(--ds-text-heading-display-size-breakpoint-sm, 2.75rem);font-weight:var(--ds-text-heading-display-weight, 100);line-height:var(--ds-text-heading-display-height-breakpoint-sm, 3.375rem)}@media screen and (min-width: 768px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-md, 3rem);line-height:var(--ds-text-heading-display-height-breakpoint-md, 3.75rem)}}@media screen and (min-width: 1024px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-lg, 3.5rem);line-height:var(--ds-text-heading-display-height-breakpoint-lg, 4.25rem)}}.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-sm, 2rem);font-weight:var(--ds-text-heading-800-weight, 500);line-height:var(--ds-text-heading-800-height-breakpoint-sm, 2.375rem)}@media screen and (min-width: 768px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-md, 2.25rem);line-height:var(--ds-text-heading-800-height-breakpoint-md, 2.625rem)}}@media screen and (min-width: 1024px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-lg, 2.5rem);line-height:var(--ds-text-heading-800-height-breakpoint-lg, 3rem)}}.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-sm, 1.75rem);font-weight:var(--ds-text-heading-700-weight, 500);line-height:var(--ds-text-heading-700-height-breakpoint-sm, 2.125rem)}@media screen and (min-width: 768px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-md, 2rem);line-height:var(--ds-text-heading-700-height-breakpoint-md, 2.375rem)}}@media screen and (min-width: 1024px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-lg, 2.25rem);line-height:var(--ds-text-heading-700-height-breakpoint-lg, 2.75rem)}}.heading--600{margin:1rem 0;font-size:var(--ds-text-heading-600-size-breakpoint-sm, 1.625rem);font-weight:var(--ds-text-heading-600-weight, 300);line-height:var(--ds-text-heading-600-height-breakpoint-sm, 1.875rem)}@media screen and (min-width: 768px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-md, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-md, 2.125rem)}}@media screen and (min-width: 1024px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-lg, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-lg, 2.25rem)}}.heading--500{margin:1rem 0;font-size:var(--ds-text-heading-500-size-breakpoint-sm, 1.375rem);font-weight:var(--ds-text-heading-500-weight, 300);line-height:var(--ds-text-heading-500-height-breakpoint-sm, 1.625rem)}@media screen and (min-width: 768px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-md, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-md, 1.875rem)}}@media screen and (min-width: 1024px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-lg, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-lg, 2rem)}}.heading--400{margin:.75rem 0;font-size:var(--ds-text-heading-400-size, 1.25rem);font-weight:var(--ds-text-heading-400-weight, 300);line-height:var(--ds-text-heading-400-height, 1.625rem)}.heading--300{margin:.75rem 0;font-size:var(--ds-text-heading-300-size, 1.125rem);font-weight:var(--ds-text-heading-300-weight, 300);line-height:var(--ds-text-heading-300-height, 1.625rem)}:host([no-margin-block]) .heading{margin-block:0}.util_stackMarginnone--bottom{margin-bottom:0}.util_stackMargin25--bottom{margin-bottom:var(--ds-size-25, 0.125rem)}.util_stackMargin50--bottom{margin-bottom:var(--ds-size-50, 0.25rem)}.util_stackMargin100--bottom{margin-bottom:var(--ds-size-100, 0.5rem)}.util_stackMargin150--bottom{margin-bottom:var(--ds-size-150, 0.75rem)}.util_stackMargin200--bottom{margin-bottom:var(--ds-size-200, 1rem)}.util_stackMargin300--bottom{margin-bottom:var(--ds-size-300, 1.5rem)}.util_stackMargin400--bottom{margin-bottom:var(--ds-size-400, 2rem)}.util_stackMargin600--bottom{margin-bottom:var(--ds-size-600, 3rem)}.util_stackMargin800--bottom{margin-bottom:var(--ds-size-800, 4rem)}.util_stackMarginnone--top{margin-top:0}.util_stackMargin25--top{margin-top:var(--ds-size-25, 0.125rem)}.util_stackMargin50--top{margin-top:var(--ds-size-50, 0.25rem)}.util_stackMargin100--top{margin-top:var(--ds-size-100, 0.5rem)}.util_stackMargin150--top{margin-top:var(--ds-size-150, 0.75rem)}.util_stackMargin200--top{margin-top:var(--ds-size-200, 1rem)}.util_stackMargin300--top{margin-top:var(--ds-size-300, 1.5rem)}.util_stackMargin400--top{margin-top:var(--ds-size-400, 2rem)}.util_stackMargin600--top{margin-top:var(--ds-size-600, 3rem)}.util_stackMargin800--top{margin-top:var(--ds-size-800, 4rem)}`;
12201
12926
 
12202
12927
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12203
12928
  // See LICENSE in the project root for license information.
@@ -12226,7 +12951,7 @@ class AuroHeader extends i$2 {
12226
12951
  /**
12227
12952
  * @private
12228
12953
  */
12229
- this.runtimeUtils = new AuroLibraryRuntimeUtils();
12954
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
12230
12955
  }
12231
12956
 
12232
12957
  // function to define props used within the scope of this component
@@ -12244,7 +12969,7 @@ class AuroHeader extends i$2 {
12244
12969
  }
12245
12970
 
12246
12971
  static get styles() {
12247
- return [styleCss$4];
12972
+ return [styleCss$5];
12248
12973
  }
12249
12974
 
12250
12975
  /**
@@ -12256,7 +12981,7 @@ class AuroHeader extends i$2 {
12256
12981
  *
12257
12982
  */
12258
12983
  static register(name = "auro-header") {
12259
- AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHeader);
12984
+ AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroHeader);
12260
12985
  }
12261
12986
 
12262
12987
  firstUpdated() {
@@ -12352,7 +13077,7 @@ class AuroBibtemplate extends i$2 {
12352
13077
 
12353
13078
  this.large = false;
12354
13079
 
12355
- AuroLibraryRuntimeUtils.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
13080
+ AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
12356
13081
 
12357
13082
  const versioning = new AuroDependencyVersioning();
12358
13083
  this.iconTag = versioning.generateTag('auro-formkit-bibtemplate-icon', iconVersion$1, AuroIcon$1);
@@ -12391,7 +13116,7 @@ class AuroBibtemplate extends i$2 {
12391
13116
  *
12392
13117
  */
12393
13118
  static register(name = "auro-bibtemplate") {
12394
- AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroBibtemplate);
13119
+ AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroBibtemplate);
12395
13120
  }
12396
13121
 
12397
13122
  /**
@@ -12577,9 +13302,311 @@ i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline
12577
13302
 
12578
13303
  i$5`: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)}`;
12579
13304
 
12580
- i$5`: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)}`;
13305
+ i$5`: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)}`;
13306
+
13307
+ var styleCss$4 = i$5`.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}`;
13308
+
13309
+ var styleEmphasizedCss = i$5`:host([layout*=emphasized][shape*=pill]) [auro-input]{width:100%}:host([layout*=emphasized][shape*=pill]) [auro-input]::part(inputHelpText){display:none}`;
12581
13310
 
12582
- var styleCss$3 = i$5`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}[auro-input]{min-height:var(--ds-size-700, 3.5rem);max-height:var(--ds-size-700, 3.5rem)}[auro-input]::part(iconContainer){top:0;display:flex;height:100%;align-items:center}[auro-input]::part(accentIcon){transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1)}[auro-input]::part(helpText){display:none}[auro-input]::part(wrapper){--ds-auro-input-border-color: transparent;--ds-auro-input-container-color: transparent}[auro-input]::part(wrapper):focus-within{border-bottom-width:0 !important;box-shadow:unset !important;outline:unset !important}#slotHolder{display:none}`;
13311
+ var styleSnowflakeCss = i$5`:host([layout*=snowflake][shape*=snowflake]) [auro-input]{width:100%}:host([layout*=snowflake][shape*=snowflake]) [auro-input]::part(inputHelpText){display:none}`;
13312
+
13313
+ let AuroElement$1 = class AuroElement extends i$2 {
13314
+ static get properties() {
13315
+ return {
13316
+
13317
+ /**
13318
+ * Defines the language of an element.
13319
+ * @default {'default'}
13320
+ */
13321
+ layout: {
13322
+ type: String,
13323
+ attribute: "layout",
13324
+ reflect: true
13325
+ },
13326
+
13327
+ shape: {
13328
+ type: String,
13329
+ attribute: "shape",
13330
+ reflect: true
13331
+ },
13332
+
13333
+ size: {
13334
+ type: String,
13335
+ attribute: "size",
13336
+ reflect: true
13337
+ },
13338
+
13339
+ onDark: {
13340
+ type: Boolean,
13341
+ attribute: "ondark",
13342
+ reflect: true
13343
+ }
13344
+ };
13345
+ }
13346
+
13347
+ resetShapeClasses() {
13348
+ if (this.shape && this.size) {
13349
+ const wrapper = this.shadowRoot.querySelector('.wrapper');
13350
+
13351
+ if (wrapper) {
13352
+ wrapper.classList.forEach((className) => {
13353
+ if (className.startsWith('shape-')) {
13354
+ wrapper.classList.remove(className);
13355
+ }
13356
+ });
13357
+
13358
+ wrapper.classList.add(`shape-${this.shape.toLowerCase()}-${this.size.toLowerCase()}`);
13359
+ }
13360
+ }
13361
+ }
13362
+
13363
+ resetLayoutClasses() {
13364
+ if (this.layout) {
13365
+ const wrapper = this.shadowRoot.querySelector('.wrapper');
13366
+
13367
+ if (wrapper) {
13368
+ wrapper.classList.forEach((className) => {
13369
+ if (className.startsWith('layout-')) {
13370
+ wrapper.classList.remove(className);
13371
+ }
13372
+ });
13373
+
13374
+ wrapper.classList.add(`layout-${this.layout.toLowerCase()}`);
13375
+ }
13376
+ }
13377
+ }
13378
+
13379
+ updateComponentArchitecture() {
13380
+ this.resetLayoutClasses();
13381
+ this.resetShapeClasses();
13382
+ }
13383
+
13384
+ updated(changedProperties) {
13385
+ if (changedProperties.has('layout') || changedProperties.has('shape') || changedProperties.has('size')) {
13386
+ this.updateComponentArchitecture();
13387
+ }
13388
+ }
13389
+
13390
+ // Try to render the defined `this.layout` layout. If that fails, fall back to the default layout.
13391
+ // This will catch if an invalid layout value is passed in and render the default layout if so.
13392
+ render() {
13393
+ try {
13394
+ return this.renderLayout();
13395
+ } catch (error) {
13396
+ // failed to get the defined layout
13397
+ console.error('Failed to get the defined layout - using the default layout', error); // eslint-disable-line no-console
13398
+
13399
+ // fallback to the default layout
13400
+ return this.getLayout('default');
13401
+ }
13402
+ }
13403
+ };
13404
+
13405
+ var colorCss$3 = i$5`: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)}`;
13406
+
13407
+ var styleCss$3 = i$5`.helptext-wrapper{display:none;font-size:var(--ds-basic-text-body-xs-font-size, 12px);font-weight:var(--ds-basic-text-body-xs-font-weight, 450);letter-spacing:var(--ds-basic-text-body-xs-letter-spacing, 0);line-height:var(--ds-basic-text-body-xs-line-height, 16px)}:host([large]) .helptext-wrapper{font-size:var(--ds-basic-text-body-default-font-size, 16px);font-weight:var(--ds-basic-text-body-default-font-weight, 450);letter-spacing:var(--ds-basic-text-body-default-letter-spacing, 0);line-height:var(--ds-basic-text-body-default-line-height, 24px)}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
13408
+
13409
+ var tokensCss$2 = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
13410
+
13411
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
13412
+ // See LICENSE in the project root for license information.
13413
+
13414
+ // ---------------------------------------------------------------------
13415
+
13416
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
13417
+
13418
+ class AuroLibraryRuntimeUtils {
13419
+
13420
+ /* eslint-disable jsdoc/require-param */
13421
+
13422
+ /**
13423
+ * This will register a new custom element with the browser.
13424
+ * @param {String} name - The name of the custom element.
13425
+ * @param {Object} componentClass - The class to register as a custom element.
13426
+ * @returns {void}
13427
+ */
13428
+ registerComponent(name, componentClass) {
13429
+ if (!customElements.get(name)) {
13430
+ customElements.define(name, class extends componentClass {});
13431
+ }
13432
+ }
13433
+
13434
+ /**
13435
+ * Finds and returns the closest HTML Element based on a selector.
13436
+ * @returns {void}
13437
+ */
13438
+ closestElement(
13439
+ selector, // selector like in .closest()
13440
+ base = this, // extra functionality to skip a parent
13441
+ __Closest = (el, found = el && el.closest(selector)) =>
13442
+ !el || el === document || el === window
13443
+ ? null // standard .closest() returns null for non-found selectors also
13444
+ : found
13445
+ ? found // found a selector INside this element
13446
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
13447
+ ) {
13448
+ return __Closest(base);
13449
+ }
13450
+ /* eslint-enable jsdoc/require-param */
13451
+
13452
+ /**
13453
+ * 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.
13454
+ * @param {Object} elem - The element to check.
13455
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
13456
+ * @returns {void}
13457
+ */
13458
+ handleComponentTagRename(elem, tagName) {
13459
+ const tag = tagName.toLowerCase();
13460
+ const elemTag = elem.tagName.toLowerCase();
13461
+
13462
+ if (elemTag !== tag) {
13463
+ elem.setAttribute(tag, true);
13464
+ }
13465
+ }
13466
+
13467
+ /**
13468
+ * Validates if an element is a specific Auro component.
13469
+ * @param {Object} elem - The element to validate.
13470
+ * @param {String} tagName - The name of the Auro component to check against.
13471
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
13472
+ */
13473
+ elementMatch(elem, tagName) {
13474
+ const tag = tagName.toLowerCase();
13475
+ const elemTag = elem.tagName.toLowerCase();
13476
+
13477
+ return elemTag === tag || elem.hasAttribute(tag);
13478
+ }
13479
+ }
13480
+
13481
+ // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
13482
+ // See LICENSE in the project root for license information.
13483
+
13484
+
13485
+ /**
13486
+ * Displays help text or error messages within form elements - Internal Use Only.
13487
+ *
13488
+ * @attr { Boolean } large - If declared, make font-size to 1rem(16px).
13489
+ */
13490
+ class AuroHelpText extends i$2 {
13491
+
13492
+ constructor() {
13493
+ super();
13494
+
13495
+ this.error = false;
13496
+ this.onDark = false;
13497
+ this.hasTextContent = false;
13498
+
13499
+ AuroLibraryRuntimeUtils.prototype.handleComponentTagRename(this, 'auro-helptext');
13500
+ }
13501
+
13502
+ static get styles() {
13503
+ return [
13504
+ colorCss$3,
13505
+ styleCss$3,
13506
+ tokensCss$2
13507
+ ];
13508
+ }
13509
+
13510
+ // function to define props used within the scope of this component
13511
+ static get properties() {
13512
+ return {
13513
+
13514
+ /**
13515
+ * @private
13516
+ */
13517
+ slotNodes: {
13518
+ type: Boolean,
13519
+ },
13520
+
13521
+ /**
13522
+ * @private
13523
+ */
13524
+ hasTextContent: {
13525
+ type: Boolean,
13526
+ },
13527
+
13528
+ /**
13529
+ * If declared, make font color red.
13530
+ */
13531
+ error: {
13532
+ type: Boolean,
13533
+ reflect: true,
13534
+ },
13535
+
13536
+ /**
13537
+ * If declared, will apply onDark styles.
13538
+ */
13539
+ onDark: {
13540
+ type: Boolean,
13541
+ reflect: true
13542
+ }
13543
+ };
13544
+ }
13545
+
13546
+ /**
13547
+ * This will register this element with the browser.
13548
+ * @param {string} [name="auro-helptext"] - The name of element that you want to register to.
13549
+ *
13550
+ * @example
13551
+ * AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
13552
+ *
13553
+ */
13554
+ static register(name = "auro-helptext") {
13555
+ AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHelpText);
13556
+ }
13557
+
13558
+ updated() {
13559
+ this.handleSlotChange();
13560
+ }
13561
+
13562
+ handleSlotChange(event) {
13563
+ if (event) {
13564
+ this.slotNodes = event.target.assignedNodes();
13565
+ }
13566
+
13567
+ this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
13568
+ }
13569
+
13570
+ /**
13571
+ * Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
13572
+ *
13573
+ * @param {NodeList|Array} nodes - The list of nodes to check for content.
13574
+ * @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
13575
+ * @private
13576
+ */
13577
+ checkSlotsForContent(nodes) {
13578
+ if (!nodes) {
13579
+ return false;
13580
+ }
13581
+
13582
+ return nodes.some((node) => {
13583
+ if (node.textContent.trim()) {
13584
+ return true;
13585
+ }
13586
+
13587
+ if (!node.querySelector) {
13588
+ return false;
13589
+ }
13590
+
13591
+ const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
13592
+ if (!nestedSlot) {
13593
+ return false;
13594
+ }
13595
+
13596
+ const nestedSlotNodes = nestedSlot.assignedNodes();
13597
+ return this.checkSlotsForContent(nestedSlotNodes);
13598
+ });
13599
+ }
13600
+
13601
+ // function that renders the HTML and CSS into the scope of the component
13602
+ render() {
13603
+ return x`
13604
+ <div class="helptext-wrapper" ?visible="${this.hasTextContent}">
13605
+ <slot @slotchange=${this.handleSlotChange}></slot>
13606
+ </div>
13607
+ `;
13608
+ }
13609
+ }
12583
13610
 
12584
13611
  // Copyright (c) 2022 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12585
13612
  // See LICENSE in the project root for license information.
@@ -12596,7 +13623,7 @@ var styleCss$3 = i$5`.util_displayInline{display:inline}.util_displayInlineBlock
12596
13623
  */
12597
13624
 
12598
13625
  // build the component class
12599
- class AuroCombobox extends i$2 {
13626
+ class AuroCombobox extends AuroElement$1 {
12600
13627
 
12601
13628
  constructor() {
12602
13629
  super();
@@ -12637,6 +13664,14 @@ class AuroCombobox extends i$2 {
12637
13664
 
12638
13665
  this.isHiddenWhileLoading = false;
12639
13666
 
13667
+ // Error message
13668
+ this.errorMessage = null;
13669
+
13670
+ // Layout Config
13671
+ this.layout = 'classic';
13672
+ this.shape = 'rounded';
13673
+ this.size = 'xl';
13674
+
12640
13675
  // floaterConfig
12641
13676
  this.placement = 'bottom-start';
12642
13677
  this.offset = 0;
@@ -12648,6 +13683,7 @@ class AuroCombobox extends i$2 {
12648
13683
  this.dropdownTag = versioning.generateTag('auro-formkit-combobox-dropdown', dropdownVersion, AuroDropdown);
12649
13684
  this.bibtemplateTag = versioning.generateTag('auro-formkit-combobox-bibtemplate', bibTemplateVersion, AuroBibtemplate);
12650
13685
  this.inputTag = versioning.generateTag('auro-formkit-combobox-input', inputVersion, AuroInput);
13686
+ this.helpTextTag = versioning.generateTag('auro-formkit-input-helptext', '1.0.0', AuroHelpText);
12651
13687
  }
12652
13688
 
12653
13689
  // This function is to define props used within the scope of this component
@@ -12691,7 +13727,7 @@ class AuroCombobox extends i$2 {
12691
13727
  },
12692
13728
 
12693
13729
  /**
12694
- * ID for the dropdown
13730
+ * ID for the dropdown.
12695
13731
  * @private
12696
13732
  */
12697
13733
  dropdownId: {
@@ -12701,7 +13737,7 @@ class AuroCombobox extends i$2 {
12701
13737
  },
12702
13738
 
12703
13739
  /**
12704
- * Whether or not the dropdown is open
13740
+ * Whether or not the dropdown is open.
12705
13741
  * @private
12706
13742
  */
12707
13743
  dropdownOpen: {
@@ -12777,6 +13813,7 @@ class AuroCombobox extends i$2 {
12777
13813
  hasChanged: arrayOrUndefinedHasChanged$1
12778
13814
  },
12779
13815
 
13816
+ /* eslint-disable jsdoc/require-description-complete-sentence */
12780
13817
  /**
12781
13818
  * Position where the bib should appear relative to the trigger.
12782
13819
  * Accepted values:
@@ -12790,6 +13827,15 @@ class AuroCombobox extends i$2 {
12790
13827
  type: String,
12791
13828
  reflect: true
12792
13829
  },
13830
+ /* eslint-enable jsdoc/require-description-complete-sentence */
13831
+
13832
+ /**
13833
+ * Define custom placeholder text, only supported by date input formats.
13834
+ */
13835
+ placeholder: {
13836
+ type: String,
13837
+ reflect: true
13838
+ },
12793
13839
 
12794
13840
  /**
12795
13841
  * Populates the `required` attribute on the input. Used for client-side validation.
@@ -12853,6 +13899,7 @@ class AuroCombobox extends i$2 {
12853
13899
  hasChanged: arrayOrUndefinedHasChanged$1
12854
13900
  },
12855
13901
 
13902
+ /* eslint-disable jsdoc/require-description-complete-sentence */
12856
13903
  /**
12857
13904
  * If declared, make bib.fullscreen.headline in HeadingDisplay.
12858
13905
  * Otherwise, Heading 600
@@ -12861,6 +13908,7 @@ class AuroCombobox extends i$2 {
12861
13908
  type: Boolean,
12862
13909
  reflect: true
12863
13910
  },
13911
+ /* eslint-enable jsdoc/require-description-complete-sentence */
12864
13912
 
12865
13913
  /**
12866
13914
  * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
@@ -12876,8 +13924,8 @@ class AuroCombobox extends i$2 {
12876
13924
  },
12877
13925
 
12878
13926
  /**
13927
+ * Specifies the currently active option.
12879
13928
  * @private
12880
- * specifies the currently active option
12881
13929
  */
12882
13930
  optionActive: {
12883
13931
  type: Object,
@@ -12888,7 +13936,21 @@ class AuroCombobox extends i$2 {
12888
13936
  }
12889
13937
 
12890
13938
  static get styles() {
12891
- return [styleCss$3];
13939
+ return [
13940
+ i$5`${styleCss$4}`,
13941
+ i$5`${styleEmphasizedCss}`,
13942
+ i$5`${styleSnowflakeCss}`
13943
+ ];
13944
+ }
13945
+
13946
+ isValid() {
13947
+ let valid = true;
13948
+
13949
+ if (this.validity !== undefined && this.validity !== 'valid') {
13950
+ valid = false;
13951
+ }
13952
+
13953
+ return valid;
12892
13954
  }
12893
13955
 
12894
13956
  /**
@@ -13171,10 +14233,10 @@ class AuroCombobox extends i$2 {
13171
14233
  }
13172
14234
 
13173
14235
  /**
13174
- * @private
13175
14236
  * Dispatches input's keyboard events from host
13176
14237
  * This allows key events from the input to be handled by the parent.
13177
- * @param {Event} event - The keyboard event.
14238
+ * @private
14239
+ * @param {KeyboardEvent} event - The keyboard event.
13178
14240
  */
13179
14241
  bubbleUpInputEvent(event) {
13180
14242
  // Do not need to bubble events if the input is not in bib.
@@ -13258,7 +14320,6 @@ class AuroCombobox extends i$2 {
13258
14320
  }
13259
14321
 
13260
14322
  /**
13261
- * @private
13262
14323
  * When the dropdown is visible in fullscreen mode, the input is moved to the subheader slot of bibtemplate.
13263
14324
  * Otherwise, it's moved back to the trigger slot.
13264
14325
  * @private
@@ -13269,7 +14330,7 @@ class AuroCombobox extends i$2 {
13269
14330
  return;
13270
14331
  }
13271
14332
 
13272
- const inputHelpText = this.input.shadowRoot.querySelector('auro-helptext, [auro-helptext');
14333
+ const inputHelpText = this.input.shadowRoot.querySelector('auro-helptext, [auro-helptext]');
13273
14334
  const inputAlertIcon = this.input.shadowRoot.querySelector(".alertNotification");
13274
14335
 
13275
14336
  if (this.dropdown.isPopoverVisible && this.dropdown.isBibFullscreen) {
@@ -13283,7 +14344,7 @@ class AuroCombobox extends i$2 {
13283
14344
  this.input.setAttribute('borderless', true);
13284
14345
  this.input.setAttribute('slot', 'subheader');
13285
14346
 
13286
- // set disply of helpText and alert icon programatically
14347
+ // set display of helpText and alert icon programmatically
13287
14348
  // because ::slotted and ::part do not work together
13288
14349
  inputHelpText.style.display = 'none';
13289
14350
  if (inputAlertIcon) {
@@ -13548,8 +14609,8 @@ class AuroCombobox extends i$2 {
13548
14609
  this.handleMenuOptions();
13549
14610
  break;
13550
14611
  case 'label':
13551
- // Programatically inject as the slot cannot be carried over to bibtemplate.
13552
- // It's because the bib is/will be seperated from dropdown to body.
14612
+ // Programmatically inject as the slot cannot be carried over to bibtemplate.
14613
+ // It's because the bib is/will be separated from dropdown to body.
13553
14614
  this.transportAssignedNodes(event.target, this.input, 'label');
13554
14615
  break;
13555
14616
  case 'bib.fullscreen.headline':
@@ -13560,6 +14621,16 @@ class AuroCombobox extends i$2 {
13560
14621
 
13561
14622
  // function that renders the HTML and CSS into the scope of the component
13562
14623
  render() {
14624
+ const helpTextContentClasses = {
14625
+ 'util_displayHidden': this.validity !== undefined && this.validity !== 'valid',
14626
+ 'helpTextMessage': true,
14627
+ };
14628
+
14629
+ const errorTextContentClasses = {
14630
+ 'util_displayHidden': this.validity === undefined || this.validity === 'valid',
14631
+ 'errorMessage': true,
14632
+ };
14633
+
13563
14634
  return u$2`
13564
14635
  <div>
13565
14636
  <div aria-live="polite" class="util_displayHiddenVisually">
@@ -13570,45 +14641,51 @@ class AuroCombobox extends i$2 {
13570
14641
  : undefined
13571
14642
  }
13572
14643
  </div>
13573
- <div id="slotHolder" aria-hidden="true">
14644
+ <div class="util_displayHiddenVisually" aria-hidden="true">
13574
14645
  <slot name="label" @slotchange="${this.handleSlotChange}"></slot>
13575
14646
  <slot name="bib.fullscreen.headline" @slotchange="${this.handleSlotChange}"></slot>
13576
14647
  </div>
13577
14648
  <${this.dropdownTag}
13578
- for="dropdownMenu"
14649
+ ?autoPlacement="${this.autoPlacement}"
14650
+ ?disabled="${this.disabled}"
14651
+ ?error="${this.validity !== undefined && this.validity !== 'valid'}"
14652
+ ?noFlip="${this.noFlip}"
13579
14653
  ?onDark="${this.onDark}"
14654
+ .fullscreenBreakpoint="${this.fullscreenBreakpoint}"
14655
+ .offset="${this.offset}"
14656
+ .placement="${this.placement}"
14657
+ simple
14658
+ disableEventShow
13580
14659
  fluid
13581
- bordered
13582
- rounded
14660
+ for="dropdownMenu"
14661
+ layout="${this.layout}"
13583
14662
  matchWidth
13584
14663
  nocheckmark
13585
- .fullscreenBreakpoint="${this.fullscreenBreakpoint}"
13586
- ?disabled="${this.disabled}"
13587
- ?error="${this.validity !== undefined && this.validity !== 'valid'}"
13588
- .placement="${this.placement}"
13589
- .offset="${this.offset}"
13590
- ?autoPlacement="${this.autoPlacement}"
13591
- ?noFlip="${this.noFlip}"
13592
- disableEventShow>
14664
+ rounded
14665
+ shape="${this.shape}"
14666
+ size="${this.size}">
13593
14667
  <${this.inputTag}
13594
- .a11yRole="${"combobox"}"
14668
+ @input="${this.handleInputValueChange}"
13595
14669
  .a11yExpanded="${this.dropdownOpen}"
13596
14670
  .a11yControls="${this.dropdownId}"
13597
- id="${this.id || 'auro-combobox-input'}"
13598
- slot="trigger"
13599
- bordered
14671
+ .autocomplete="${this.autocomplete}"
14672
+ .inputmode="${this.inputmode}"
14673
+ .placeholder="${this.placeholder}"
14674
+ .type="${this.type}"
13600
14675
  ?onDark="${this.onDark}"
13601
14676
  ?required="${this.required}"
13602
14677
  ?noValidate="${this.noValidate}"
13603
14678
  ?disabled="${this.disabled}"
13604
14679
  ?icon="${this.triggerIcon}"
14680
+ a11yRole="combobox"
14681
+ id="${this.id}"
14682
+ layout="${this.layout}"
13605
14683
  setCustomValidity="${this.setCustomValidity}"
13606
14684
  setCustomValidityValueMissing="${this.setCustomValidityValueMissing}"
13607
14685
  setCustomValidityCustomError="${this.setCustomValidityCustomError}"
13608
- .autocomplete="${this.autocomplete}"
13609
- .type="${this.type}"
13610
- inputmode="${o(this.inputmode)}"
13611
- @input="${this.handleInputValueChange}">
14686
+ shape="${this.shape}"
14687
+ size="${this.size}"
14688
+ slot="trigger">
13612
14689
  </${this.inputTag}>
13613
14690
 
13614
14691
  <div class="menuWrapper"></div>
@@ -13616,17 +14693,24 @@ class AuroCombobox extends i$2 {
13616
14693
  <${this.bibtemplateTag} ?large="${this.largeFullscreenHeadline}">
13617
14694
  </${this.bibtemplateTag}>
13618
14695
 
13619
- <p slot="helpText">
13620
- <!-- Help text and error message template -->
13621
- ${!this.validity || this.validity === undefined || this.validity === 'valid'
14696
+ <span slot="helpText">
14697
+ ${!this.validity || this.validity === 'valid'
13622
14698
  ? u$2`
13623
- <slot name="helpText"></slot>
13624
- ` : u$2`
13625
- <span role="alert" aria-live="assertive" part="helpText">
13626
- ${this.errorMessage}
13627
- </span>`
14699
+ <${this.helpTextTag} class="${e(helpTextContentClasses)}" ?onDark="${this.onDark}">
14700
+ <p id="${this.uniqueId}" part="helpText">
14701
+ <slot name="helpText"></slot>
14702
+ </p>
14703
+ </${this.helpTextTag}>
14704
+ `
14705
+ : u$2`
14706
+ <${this.helpTextTag} class="${e(errorTextContentClasses)}" error ?onDark="${this.onDark}">
14707
+ <p id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
14708
+ ${this.errorMessage}
14709
+ </p>
14710
+ </${this.helpTextTag}>
14711
+ `
13628
14712
  }
13629
- </p>
14713
+ </span>
13630
14714
  </${this.dropdownTag}>
13631
14715
  </div>
13632
14716
  `;
@@ -14639,7 +15723,7 @@ class BaseIcon extends AuroElement {
14639
15723
 
14640
15724
  var tokensCss = i$5`: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)}`;
14641
15725
 
14642
- var colorCss = i$5`: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)}`;
15726
+ var colorCss = i$5`: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)}`;
14643
15727
 
14644
15728
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
14645
15729
  // See LICENSE in the project root for license information.
@@ -14808,7 +15892,7 @@ class AuroIcon extends BaseIcon {
14808
15892
  }
14809
15893
  }
14810
15894
 
14811
- var iconVersion = '8.0.2';
15895
+ var iconVersion = '8.0.3';
14812
15896
 
14813
15897
  var checkmarkIcon = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"checkmark-sm__desc\" class=\"ico_squareLarge\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"checkmark-sm__desc\">a small check mark.</desc><path d=\"M8.461 11.84a.625.625 0 1 0-.922.844l2.504 2.738c.247.27.674.27.922 0l5.496-6a.625.625 0 1 0-.922-.844l-5.035 5.496z\"/></svg>"};
14814
15898