@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.17 → 0.0.0-pr624.19

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 (40) hide show
  1. package/components/bibtemplate/dist/buttonVersion.d.ts +1 -1
  2. package/components/bibtemplate/dist/index.js +61 -10
  3. package/components/bibtemplate/dist/registered.js +61 -10
  4. package/components/combobox/demo/api.min.js +164 -33
  5. package/components/combobox/demo/index.min.js +164 -33
  6. package/components/combobox/dist/index.js +152 -33
  7. package/components/combobox/dist/registered.js +152 -33
  8. package/components/counter/demo/api.min.js +159 -33
  9. package/components/counter/demo/index.min.js +159 -33
  10. package/components/counter/dist/auro-counter.d.ts +6 -0
  11. package/components/counter/dist/index.js +159 -33
  12. package/components/counter/dist/registered.js +159 -33
  13. package/components/datepicker/demo/api.md +9 -1
  14. package/components/datepicker/demo/api.min.js +791 -339
  15. package/components/datepicker/demo/index.md +68 -6
  16. package/components/datepicker/demo/index.min.js +791 -339
  17. package/components/datepicker/dist/auro-datepicker.d.ts +50 -11
  18. package/components/datepicker/dist/buttonVersion.d.ts +1 -1
  19. package/components/datepicker/dist/index.js +628 -176
  20. package/components/datepicker/dist/popoverVersion.d.ts +1 -1
  21. package/components/datepicker/dist/registered.js +628 -176
  22. package/components/datepicker/dist/styles/snowflake/style-css.d.ts +2 -0
  23. package/components/input/demo/api.md +1 -0
  24. package/components/input/demo/api.min.js +90 -22
  25. package/components/input/demo/index.min.js +90 -22
  26. package/components/input/dist/auro-input.d.ts +174 -0
  27. package/components/input/dist/index.js +90 -22
  28. package/components/input/dist/registered.js +90 -22
  29. package/components/menu/demo/api.min.js +12 -0
  30. package/components/menu/demo/index.min.js +12 -0
  31. package/components/menu/dist/auro-menu.d.ts +6 -0
  32. package/components/menu/dist/index.js +12 -0
  33. package/components/menu/dist/registered.js +12 -0
  34. package/components/select/demo/api.min.js +94 -17
  35. package/components/select/demo/index.min.js +94 -17
  36. package/components/select/dist/auro-select.d.ts +7 -0
  37. package/components/select/dist/index.js +82 -17
  38. package/components/select/dist/registered.js +82 -17
  39. package/package.json +3 -3
  40. /package/components/datepicker/dist/styles/{emphasized/style-css.d.ts → snowflake/color-css.d.ts} +0 -0
@@ -1,7 +1,7 @@
1
1
  import { unsafeStatic, literal, html as html$1 } from 'lit/static-html.js';
2
+ import { classMap } from 'lit/directives/class-map.js';
2
3
  import { html, css, LitElement } from 'lit';
3
4
  import { property } from 'lit/decorators.js';
4
- import { classMap } from 'lit/directives/class-map.js';
5
5
  import { ifDefined } from 'lit/directives/if-defined.js';
6
6
  import { repeat } from 'lit/directives/repeat.js';
7
7
 
@@ -1257,7 +1257,9 @@ var shapeSizeCss$2 = css`.wrapper{overflow:hidden}.shape-classic-xl,.shape-class
1257
1257
 
1258
1258
  var classicLayoutColor = css``;
1259
1259
 
1260
- var emphasizedStyle = css`.accents{flex-grow:0;display:flex;align-items:center;justify-content:center}.accents.left{padding-right:8px}.accents.right{padding-left:8px}.mainContent{height:100%;max-height:100%;flex-grow:1;display:flex;flex-direction:column;justify-content:center;align-items:center}:host([layout*=snowflake]) [auro-input]{flex:1}:host([layout*=snowflake]) [auro-input]::part(label),:host([layout*=snowflake]) [auro-input]::part(accent-left),:host([layout*=snowflake]) [auro-input]::part(accent-right){display:none}:host([layout*=snowflake]) [auro-input]::part(input){padding-bottom:unset}:host([layout*=snowflake]) [auro-input]::part(wrapper){min-height:unset;max-height:unset;box-shadow:unset}:host([layout*=snowflake]) [auro-input]::part(wrapper) .mainContent{padding-bottom:unset}:host([layout*=snowflake]) [auro-input]::part(inputHelpText){display:none}:host([layout*=snowflake]) [auro-dropdown]::part(trigger){width:100%}:host([layout*=snowflake]) [auro-dropdown]::slotted(div){display:none}:host([layout*=snowflake]) .dpTriggerContent{width:100%}:host([layout*=snowflake]) .wrapper{height:60px;width:calc(100% - 48px);display:flex;flex-direction:row;justify-content:space-between;padding-left:24px;padding-right:24px}:host([layout*=snowflake]) label{font-size:18px;font-weight:450;letter-spacing:0;line-height:26px}:host([layout*=snowflake]) label.hasFocus,:host([layout*=snowflake]) label.hasValue{font-size:12px;line-height:16px}:host([layout*=snowflake]) .inputWrapper{display:flex;flex-direction:row;align-items:center}:host([layout*=snowflake]) .inputDivider{background-color:var(--ds-basic-color-texticon-inverse-muted);height:18px;margin:4px 12px;width:2px}`;
1260
+ var snowflakeStyle = css`.accents{flex-grow:0;flex-shrink:0;display:flex;align-items:center;justify-content:center}.accents.left{padding-right:var(--ds-size-100, 0.5rem)}.accents.right{width:var(--ds-size-400, 2rem)}.mainContent{height:100%;max-height:100%;flex-grow:1;display:flex;flex-direction:column;justify-content:center;align-items:center}.inputSection{display:flex;flex-direction:row;align-items:center}.inputSection:not(:is(.disabled,.hasFocus,.hasValue)) .inputDivider{display:none}.inputContainer{display:flex;flex-direction:row;align-items:center;width:100%}.inputContainer:first-of-type{justify-content:flex-end}.inputContainer:last-of-type{justify-content:flex-start}:host([disabled]) .inputSection{display:none}:host([layout*=snowflake]) [auro-input]{flex:1;text-align:center}:host([layout*=snowflake]) [auro-input]::part(label),:host([layout*=snowflake]) [auro-input]::part(accent-left),:host([layout*=snowflake]) [auro-input]::part(accent-right){display:none}:host([layout*=snowflake]) [auro-input]::part(input){padding-bottom:unset;text-align:center;font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);transition:unset}:host([layout*=snowflake]) [auro-input]::part(wrapper){min-height:unset;max-height:unset;box-shadow:unset}:host([layout*=snowflake]) [auro-input]::part(wrapper) .mainContent{padding-bottom:unset}:host([layout*=snowflake]) [auro-input]::part(inputHelpText){display:none}:host([layout*=snowflake]) [auro-dropdown]::part(trigger){width:100%}:host([layout*=snowflake]) .dpTriggerContent{width:100%}:host([layout*=snowflake]) .wrapper{height:60px;width:calc(100% - 48px);display:flex;flex-direction:row;justify-content:space-between;padding-left:24px;padding-right:24px}:host([layout*=snowflake]) label{font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);font-weight:450;letter-spacing:0}:host([layout*=snowflake]) label.hasFocus,:host([layout*=snowflake]) label.hasValue{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-height-xs, 1rem)}:host([layout*=snowflake]) .inputDivider{height:18px;margin:4px 12px;width:2px}`;
1261
+
1262
+ var snowflakeColors = css`:host([layout=snowflake])[disabled] .mainContent label ::slotted(*){color:var(--ds-auro-icon-color)}:host([layout=snowflake]) label{color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([layout=snowflake]) .inputDivider{background-color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([layout=snowflake]) .error{color:var(--ds-advanced-color-state-error-inverse, #f9a4a8)}:host([layout=snowflake]) [auro-input]::part(input)::placeholder{color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([layout=snowflake]) [auro-dropdown]:not(:is([error],.hasFocus))::part(wrapper){--ds-auro-dropdown-trigger-border-color: transparent}`;
1261
1263
 
1262
1264
  var styleCss$d = css`:host{--calendar-width: 336px;--mobile-footer-height: 150px;--mobile-header-height: 68px;height:100vh;height:100dvh}.calendars{display:flex;flex-direction:row}.calendarNavButtons{position:absolute;top:var(--ds-size-200, 1rem);right:var(--ds-size-50, 0.25rem);left:var(--ds-size-50, 0.25rem)}.calendarNavBtn{display:flex;width:var(--ds-size-500, 2.5rem);height:var(--ds-size-500, 2.5rem);align-items:center;justify-content:center;border-width:1px;border-style:solid;border-radius:50%;cursor:pointer}.prevMonth,.nextMonth{position:absolute;top:0}.prevMonth{left:0}.nextMonth{right:0}.headerActions{padding:0 var(--ds-size-200, 1rem)}.mobileHeader{width:100%;height:var(--mobile-header-height);z-index:1;align-items:center;flex-direction:row}.headerDateFrom{display:flex;height:var(--mobile-header-height);flex:1;flex-direction:column;justify-content:center;padding:0 var(--ds-size-150, 0.75rem) 0 var(--ds-size-200, 1rem)}.mobileDateLabel{font-size:12px;font-weight:450;letter-spacing:0;line-height:16px}.headerDateTo{height:calc(var(--mobile-header-height) - var(--ds-size-300, 1.5rem));padding:var(--ds-size-300, 1.5rem) var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host(:not([noRange])) .headerDateTo{position:relative;display:flex;flex:1;flex-direction:column;justify-content:center}:host(:not([noRange])) .headerDateTo:after{position:absolute;top:calc(50% + 10px);left:0;display:block;width:1px;height:var(--ds-size-300, 1.5rem);content:"";transform:translateY(-50%)}.mobileFooter{display:none;width:100%;align-items:flex-end;flex-direction:column;justify-content:flex-end}.mobileFooterActions{position:relative;bottom:0;left:50%;display:none;width:calc(100% - var(--ds-size-200, 1rem)*2);align-items:flex-end;flex-direction:column;justify-content:flex-end;padding:var(--ds-size-150) calc(var(--ds-size-200, 1rem));transform:translateX(-50%)}.mobileFooterActions auro-button{width:100%}:host([isfullscreen]){width:100%;max-height:100dvh;overflow:hidden}:host([isfullscreen]) .prevMonth,:host([isfullscreen]) .nextMonth{display:none}:host([isfullscreen]) .mobileHeader,:host([isfullscreen]) .mobileFooter,:host([isfullscreen]) .mobileFooterActions{display:flex}:host([isfullscreen]) .calendarWrapper{display:flex;flex-direction:column}:host([isfullscreen]) .calendars{display:flex;flex-direction:column;flex:1;align-items:center;width:100%;overscroll-behavior:contain}:host([isfullscreen]) .calendars:after{display:block;width:100%;height:var(--mobile-footer-height);content:""}`;
1263
1265
 
@@ -9914,7 +9916,7 @@ class AuroPopover extends LitElement {
9914
9916
  }
9915
9917
  }
9916
9918
 
9917
- var popoverVersion = '4.1.3';
9919
+ var popoverVersion = '5.0.2';
9918
9920
 
9919
9921
  /* eslint-disable max-lines, no-underscore-dangle, no-magic-numbers, no-underscore-dangle, max-params, no-void, init-declarations, no-extra-parens, arrow-parens, max-lines, line-comment-position, no-inline-comments, lit/binding-positions, lit/no-invalid-html */
9920
9922
 
@@ -11334,7 +11336,6 @@ let AuroElement$1$3 = class AuroElement extends LitElement {
11334
11336
  * @private
11335
11337
  */
11336
11338
  wrapper: {
11337
- type: HTMLElement,
11338
11339
  attribute: false,
11339
11340
  reflect: false
11340
11341
  }
@@ -11498,9 +11499,9 @@ let AuroLibraryRuntimeUtils$2$2 = class AuroLibraryRuntimeUtils {
11498
11499
 
11499
11500
  var styleCss$2$2 = css`:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin:0.375rem;--margin-xs:0.2rem;--margin-sm:0.5rem;--margin-md:0.75rem;--margin-lg:1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin)*6);height:1.5rem}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(2.55rem + var(--margin-xs)*6);height:1.55rem}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm)*6);height:2.5rem}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md)*6);height:3.5rem}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg)*6);height:5.5rem}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-400ms}:host([pulse])>span:nth-child(2){animation-delay:-200ms}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,100%{opacity:.1;transform:scale(0.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}100%{left:110%}}:host>.no-animation{display:none}@media(prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center;font-size:1rem}:host>span{opacity:1}:host>.loader{display:none}:host>.no-animation{display:block}}`;
11500
11501
 
11501
- var colorCss$1$2 = css`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]){--ds-auro-loader-color:var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]){--ds-auro-loader-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color:transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color:currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color:currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}`;
11502
+ var colorCss$1$3 = css`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]){--ds-auro-loader-color:var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]){--ds-auro-loader-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color:transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color:currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color:currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}`;
11502
11503
 
11503
- var tokensCss$1$2 = css`:host{--ds-auro-loader-background-color:currentcolor;--ds-auro-loader-border-color:currentcolor;--ds-auro-loader-color:currentcolor}`;
11504
+ var tokensCss$1$3 = css`:host{--ds-auro-loader-background-color:currentcolor;--ds-auro-loader-border-color:currentcolor;--ds-auro-loader-color:currentcolor}`;
11504
11505
 
11505
11506
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
11506
11507
  // See LICENSE in the project root for license information.
@@ -11577,8 +11578,8 @@ let AuroLoader$2 = class AuroLoader extends LitElement {
11577
11578
  static get styles() {
11578
11579
  return [
11579
11580
  css`${styleCss$2$2}`,
11580
- css`${colorCss$1$2}`,
11581
- css`${tokensCss$1$2}`
11581
+ css`${colorCss$1$3}`,
11582
+ css`${tokensCss$1$3}`
11582
11583
  ];
11583
11584
  }
11584
11585
 
@@ -11643,7 +11644,7 @@ let AuroLoader$2 = class AuroLoader extends LitElement {
11643
11644
 
11644
11645
  var loaderVersion$2 = '5.0.0';
11645
11646
 
11646
- /* eslint-disable max-lines, curly */
11647
+ /* eslint-disable max-lines, curly, jsdoc/no-undefined-types */
11647
11648
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
11648
11649
  // See LICENSE in the project root for license information.
11649
11650
 
@@ -11710,6 +11711,21 @@ let AuroButton$2 = class AuroButton extends AuroElement$1$3 {
11710
11711
  * @private
11711
11712
  */
11712
11713
  this.loaderTag = versioning.generateTag('auro-loader', loaderVersion$2, AuroLoader$2);
11714
+
11715
+ /**
11716
+ * @private
11717
+ */
11718
+ this.buttonHref = undefined;
11719
+
11720
+ /**
11721
+ * @private
11722
+ */
11723
+ this.buttonTarget = undefined;
11724
+
11725
+ /**
11726
+ * @private
11727
+ */
11728
+ this.buttonRel = undefined;
11713
11729
  }
11714
11730
 
11715
11731
  static get styles() {
@@ -11776,13 +11792,23 @@ let AuroButton$2 = class AuroButton extends AuroElement$1$3 {
11776
11792
  },
11777
11793
 
11778
11794
  /**
11779
- * Populates `tabIndex` to define the focusable sequence in keyboard navigation.
11795
+ * Populates `tabindex` to define the focusable sequence in keyboard navigation.
11780
11796
  */
11781
11797
  tIndex: {
11782
11798
  type: String,
11783
11799
  reflect: true
11784
11800
  },
11785
11801
 
11802
+ /**
11803
+ * Populates `tabindex` to define the focusable sequence in keyboard navigation.
11804
+ * Must be used with "." to ensure the host element does not retain a reference to the `tabindex` attribute.
11805
+ * Example: `<auro-button .tabindex="${this.disabled ? '-1' : '0'}"></auro-button>`
11806
+ */
11807
+ tabindex: {
11808
+ type: String,
11809
+ reflect: false
11810
+ },
11811
+
11786
11812
  /**
11787
11813
  * Sets title attribute. The information is most often shown as a tooltip text when the mouse moves over the element.
11788
11814
  */
@@ -11815,6 +11841,27 @@ let AuroButton$2 = class AuroButton extends AuroElement$1$3 {
11815
11841
  type: String,
11816
11842
  reflect: true
11817
11843
  },
11844
+
11845
+ /**
11846
+ * @private
11847
+ */
11848
+ buttonHref: {
11849
+ type: String,
11850
+ },
11851
+
11852
+ /**
11853
+ * @private
11854
+ */
11855
+ buttonTarget: {
11856
+ type: String,
11857
+ },
11858
+
11859
+ /**
11860
+ * @private
11861
+ */
11862
+ buttonRel: {
11863
+ type: String,
11864
+ },
11818
11865
  };
11819
11866
  }
11820
11867
 
@@ -11905,14 +11952,17 @@ let AuroButton$2 = class AuroButton extends AuroElement$1$3 {
11905
11952
  loading: this.loading,
11906
11953
  };
11907
11954
 
11955
+ const tag = this.buttonHref ? literal`a` : literal`button`;
11956
+ const part = this.buttonHref ? 'link' : 'button';
11957
+
11908
11958
  return html$1`
11909
- <button
11910
- part="button"
11959
+ <${tag}
11960
+ part="${part}"
11911
11961
  aria-label="${ifDefined(this.loading ? this.loadingText : this.currentAriaLabel || undefined)}"
11912
11962
  aria-labelledby="${ifDefined(this.loading ? undefined : this.currentAriaLabelledBy || undefined)}"
11913
- tabIndex="${ifDefined(this.tIndex)}"
11963
+ tabindex="${ifDefined(this.tIndex || this.tabindex)}"
11914
11964
  ?autofocus="${this.autofocus}"
11915
- class="${classMap(classes)}"
11965
+ class=${classMap(classes)}
11916
11966
  ?disabled="${this.disabled || this.loading}"
11917
11967
  ?onDark="${this.onDark}"
11918
11968
  title="${ifDefined(this.title ? this.title : undefined)}"
@@ -11921,6 +11971,9 @@ let AuroButton$2 = class AuroButton extends AuroElement$1$3 {
11921
11971
  variant="${ifDefined(this.variant ? this.variant : undefined)}"
11922
11972
  .value="${ifDefined(this.value ? this.value : undefined)}"
11923
11973
  @click="${this.type === 'submit' ? this.surfaceSubmitEvent : undefined}"
11974
+ href="${ifDefined(this.buttonHref || undefined)}"
11975
+ target="${ifDefined(this.buttonTarget || undefined)}"
11976
+ rel="${ifDefined(this.buttonRel || undefined)}"
11924
11977
  >
11925
11978
  ${ifDefined(this.loading ? html$1`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
11926
11979
 
@@ -11929,12 +11982,12 @@ let AuroButton$2 = class AuroButton extends AuroElement$1$3 {
11929
11982
  <slot></slot>
11930
11983
  </span>
11931
11984
  </span>
11932
- </button>
11985
+ </${tag}>
11933
11986
  `;
11934
11987
  }
11935
11988
 
11936
11989
  /**
11937
- * Renders the layout of the button
11990
+ * Renders the layout of the button.
11938
11991
  * @returns {TemplateResult}
11939
11992
  * @private
11940
11993
  */
@@ -11943,7 +11996,7 @@ let AuroButton$2 = class AuroButton extends AuroElement$1$3 {
11943
11996
  }
11944
11997
  };
11945
11998
 
11946
- var buttonVersion$2 = '11.0.0';
11999
+ var buttonVersion$2 = '11.2.1';
11947
12000
 
11948
12001
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
11949
12002
  // See LICENSE in the project root for license information.
@@ -12011,7 +12064,7 @@ const cacheFetch$3 = (uri, options = {}) => {
12011
12064
  return _fetchMap$3.get(uri);
12012
12065
  };
12013
12066
 
12014
- var styleCss$1$2 = css`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.componentWrapper{display:flex}.svgWrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelWrapper{margin-left:var(--ds-size-50, 0.25rem);line-height:1.8}`;
12067
+ var styleCss$1$3 = css`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.componentWrapper{display:flex}.svgWrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelWrapper{margin-left:var(--ds-size-50, 0.25rem);line-height:1.8}`;
12015
12068
 
12016
12069
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12017
12070
  // See LICENSE in the project root for license information.
@@ -12054,7 +12107,7 @@ let BaseIcon$3 = class BaseIcon extends AuroElement$6 {
12054
12107
 
12055
12108
  static get styles() {
12056
12109
  return css`
12057
- ${styleCss$1$2}
12110
+ ${styleCss$1$3}
12058
12111
  `;
12059
12112
  }
12060
12113
 
@@ -12106,7 +12159,7 @@ var colorCss$8 = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){
12106
12159
 
12107
12160
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
12108
12161
 
12109
- let AuroLibraryRuntimeUtils$1$2 = class AuroLibraryRuntimeUtils {
12162
+ let AuroLibraryRuntimeUtils$1$3 = class AuroLibraryRuntimeUtils {
12110
12163
 
12111
12164
  /* eslint-disable jsdoc/require-param */
12112
12165
 
@@ -12188,7 +12241,7 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
12188
12241
  */
12189
12242
  privateDefaults() {
12190
12243
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
12191
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1$2();
12244
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1$3();
12192
12245
  }
12193
12246
 
12194
12247
  // function to define props used within the scope of this component
@@ -12256,7 +12309,7 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
12256
12309
  return [
12257
12310
  super.styles,
12258
12311
  css`${tokensCss$9}`,
12259
- css`${styleCss$1$2}`,
12312
+ css`${styleCss$1$3}`,
12260
12313
  css`${colorCss$8}`
12261
12314
  ];
12262
12315
  }
@@ -12270,7 +12323,7 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
12270
12323
  *
12271
12324
  */
12272
12325
  static register(name = "auro-icon") {
12273
- AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroIcon);
12326
+ AuroLibraryRuntimeUtils$1$3.prototype.registerComponent(name, AuroIcon);
12274
12327
  }
12275
12328
 
12276
12329
  connectedCallback() {
@@ -13169,7 +13222,7 @@ let AuroElement$5 = class AuroElement extends LitElement {
13169
13222
  }
13170
13223
  };
13171
13224
 
13172
- var styleCss$8 = css`: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}::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);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;transition:padding 300ms ease-out}.auro-button:active{transform:scale(0.95)}.auro-button:focus-visible,.auro-button:focus{outline:none;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=secondary]):not([variant=tertiary]),.auro-button:focus: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=ghost]:disabled{cursor:not-allowed;transform: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.icon-only ::slotted(:not(auro-icon):not([auro-icon])){display:none}.auro-button--slim{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]),.auro-button--iconOnly:not(.auro-button--rounded):focus: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:padding 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,.auro-button--rounded:focus:not([variant=flat]):after{border-radius:100px}:host([size=xs]) .wrapper:focus-visible,:host([size=xs]) .wrapper:focus{outline-width:1px;outline-offset:-2px}: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}`;
13225
+ var styleCss$8 = css`: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}::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);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;transition:padding 300ms ease-out}.auro-button:active{transform:scale(0.95)}.auro-button:focus-visible,.auro-button:focus{outline:none;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=secondary]):not([variant=tertiary]),.auro-button:focus: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=ghost]:disabled{cursor:not-allowed;transform: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{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]),.auro-button--iconOnly:not(.auro-button--rounded):focus: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:padding 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,.auro-button--rounded:focus:not([variant=flat]):after{border-radius:100px}:host([size=xs]) .wrapper:focus-visible,:host([size=xs]) .wrapper:focus{outline-width:1px;outline-offset:-2px}: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}`;
13173
13226
 
13174
13227
  var colorCss$7 = css`[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=ghost]{--ds-auro-button-container-color:transparent;--ds-auro-button-container-image:transparent;--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-advanced-color-button-ghost-text, #01426a);--ds-auro-button-loader-color:var(--ds-advanced-color-button-ghost-text, #01426a)}.auro-button:not([ondark])[variant=ghost]:active:not(:disabled),.auro-button:not([ondark])[variant=ghost]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-ghost-background-hover, rgba(0, 0, 0, 0.05));--ds-auro-button-container-image:var(--ds-advanced-color-button-ghost-background-hover, rgba(0, 0, 0, 0.05));--ds-auro-button-border-color:transparent}.auro-button:not([ondark])[variant=ghost]: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=ghost]: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:not([ondark])[variant=flat]: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[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=ghost]{--ds-auro-button-container-color:transparent;--ds-auro-button-container-image:transparent;--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-advanced-color-button-ghost-text-inverse, #ffffff);--ds-auro-button-loader-color:var(--ds-advanced-color-button-ghost-text-inverse, #ffffff)}.auro-button[ondark][variant=ghost]:active:not(:disabled),.auro-button[ondark][variant=ghost]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-ghost-background-inverse-hover, rgba(255, 255, 255, 0.05));--ds-auro-button-container-image:var(--ds-advanced-color-button-ghost-background-inverse-hover, rgba(255, 255, 255, 0.05))}.auro-button[ondark][variant=ghost]: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=ghost]: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}.auro-button[ondark][variant=flat]: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)}`;
13175
13228
 
@@ -13401,6 +13454,7 @@ var loaderVersion$1 = '5.0.0';
13401
13454
 
13402
13455
  /**
13403
13456
  * @slot - Default slot for the text of the button.
13457
+ * @slot icon - Slot to provide auro-icon for the button.
13404
13458
  * @csspart button - Apply CSS to HTML5 button.
13405
13459
  * @csspart loader - Apply CSS to auro-loader.
13406
13460
  * @csspart text - Apply CSS to text slot.
@@ -13651,7 +13705,6 @@ let AuroButton$1 = class AuroButton extends AuroElement$5 {
13651
13705
  const classes = {
13652
13706
  "util_insetLg--squish": true,
13653
13707
  "auro-button": true,
13654
- "icon-only": this.hideText,
13655
13708
  wrapper: true,
13656
13709
  loading: this.loading,
13657
13710
  };
@@ -13677,7 +13730,11 @@ let AuroButton$1 = class AuroButton extends AuroElement$5 {
13677
13730
 
13678
13731
  <span class="contentWrapper">
13679
13732
  <span class="textSlot" part="text">
13680
- <slot></slot>
13733
+ ${this.hideText ? undefined : html$1`<slot></slot>`}
13734
+ </span>
13735
+
13736
+ <span part="icon">
13737
+ <slot name="icon"></slot>
13681
13738
  </span>
13682
13739
  </span>
13683
13740
  </button>
@@ -13694,7 +13751,7 @@ let AuroButton$1 = class AuroButton extends AuroElement$5 {
13694
13751
  }
13695
13752
  };
13696
13753
 
13697
- var buttonVersion$1 = '9.0.0';
13754
+ var buttonVersion$1 = '10.0.0';
13698
13755
 
13699
13756
  // See https://git.io/JJ6SJ for "How to document your components using JSDoc"
13700
13757
  /**
@@ -16490,7 +16547,7 @@ var colorCss$3$1 = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]
16490
16547
 
16491
16548
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
16492
16549
 
16493
- let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
16550
+ let AuroLibraryRuntimeUtils$1$2 = class AuroLibraryRuntimeUtils {
16494
16551
 
16495
16552
  /* eslint-disable jsdoc/require-param */
16496
16553
 
@@ -16572,7 +16629,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
16572
16629
  */
16573
16630
  privateDefaults() {
16574
16631
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
16575
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
16632
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1$2();
16576
16633
  }
16577
16634
 
16578
16635
  // function to define props used within the scope of this component
@@ -16654,7 +16711,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
16654
16711
  *
16655
16712
  */
16656
16713
  static register(name = "auro-icon") {
16657
- AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroIcon);
16714
+ AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroIcon);
16658
16715
  }
16659
16716
 
16660
16717
  connectedCallback() {
@@ -16726,11 +16783,11 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
16726
16783
 
16727
16784
  var iconVersion$2 = '6.1.2';
16728
16785
 
16729
- var styleCss$1$1 = css`:host{position:fixed;z-index:var(--depth-tooltip, 400);display:none;isolation:isolate}:host(:not([matchWidth])) .container{min-width:fit-content}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset;overscroll-behavior:contain}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}:host(:not([isfullscreen])) .container.shape-box{border-radius:unset}:host(:not([isfullscreen])) .container[class*=shape-pill],:host(:not([isfullscreen])) .container[class*=shape-snowflake]{border-radius:30px}.container{display:inline-block;overflow:auto;box-sizing:border-box;border-radius:var(--ds-border-radius, 0.375rem);margin:var(--ds-size-50, 0.25rem) 0}`;
16786
+ var styleCss$1$2 = css`:host{position:fixed;z-index:var(--depth-tooltip, 400);display:none;isolation:isolate}:host(:not([matchWidth])) .container{min-width:fit-content}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset;overscroll-behavior:contain}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}:host(:not([isfullscreen])) .container.shape-box{border-radius:unset}:host(:not([isfullscreen])) .container[class*=shape-pill],:host(:not([isfullscreen])) .container[class*=shape-snowflake]{border-radius:30px}.container{display:inline-block;overflow:auto;box-sizing:border-box;border-radius:var(--ds-border-radius, 0.375rem);margin:var(--ds-size-50, 0.25rem) 0}`;
16730
16787
 
16731
16788
  var colorCss$2$1 = css`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
16732
16789
 
16733
- var tokensCss$1$1 = css`: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: var(--ds-basic-color-border-bold, #585e67);--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: var(--ds-basic-color-border-inverse, #ffffff);--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)}`;
16790
+ var tokensCss$1$2 = css`: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: var(--ds-basic-color-border-bold, #585e67);--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: var(--ds-basic-color-border-inverse, #ffffff);--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)}`;
16734
16791
 
16735
16792
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
16736
16793
  // See LICENSE in the project root for license information.
@@ -16768,9 +16825,9 @@ class AuroDropdownBib extends LitElement {
16768
16825
 
16769
16826
  static get styles() {
16770
16827
  return [
16771
- styleCss$1$1,
16828
+ styleCss$1$2,
16772
16829
  colorCss$2$1,
16773
- tokensCss$1$1
16830
+ tokensCss$1$2
16774
16831
  ];
16775
16832
  }
16776
16833
 
@@ -16927,7 +16984,7 @@ var dropdownVersion$1 = '3.0.0';
16927
16984
 
16928
16985
  var shapeSizeCss$1 = css`.wrapper{overflow:hidden}.shape-classic-xl,.shape-classic-lg,.shape-classic-md,.shape-classic-sm,.shape-classic-xs{min-height:58px;max-height:58px;border-style:solid;border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}.shape-classic-xl.simple,.shape-classic-lg.simple,.shape-classic-md.simple,.shape-classic-sm.simple,.shape-classic-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset;box-shadow:none}.shape-classic-xl.thin,.shape-classic-lg.thin,.shape-classic-md.thin,.shape-classic-sm.thin,.shape-classic-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-classic-xl.parentBorder,.shape-classic-lg.parentBorder,.shape-classic-md.parentBorder,.shape-classic-sm.parentBorder,.shape-classic-xs.parentBorder{border:0;box-shadow:unset;min-height:56px;max-height:56px}.shape-snowflake-xl,.shape-snowflake-lg,.shape-snowflake-md,.shape-snowflake-sm,.shape-snowflake-xs{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:30px}.shape-snowflake-xl.simple,.shape-snowflake-lg.simple,.shape-snowflake-md.simple,.shape-snowflake-sm.simple,.shape-snowflake-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset;box-shadow:none}.shape-snowflake-xl.thin,.shape-snowflake-lg.thin,.shape-snowflake-md.thin,.shape-snowflake-sm.thin,.shape-snowflake-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-snowflake-xl.parentBorder,.shape-snowflake-lg.parentBorder,.shape-snowflake-md.parentBorder,.shape-snowflake-sm.parentBorder,.shape-snowflake-xs.parentBorder{border:0;box-shadow:unset;min-height:56px;max-height:56px}.shape-box-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-box-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-box-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-rounded-lg{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:6px}.shape-rounded-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset;box-shadow:none}.shape-rounded-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-rounded-lg.parentBorder{border:0;box-shadow:unset;min-height:52px;max-height:52px}.shape-pill-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-left-xl{min-height:68px;max-height:68px;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;box-shadow:none}.shape-pill-left-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-left-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-right-xl{min-height:68px;max-height:68px;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;box-shadow:none}.shape-pill-right-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-right-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-md{min-height:44px;max-height:44px;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;box-shadow:none}.shape-pill-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-left-md{min-height:44px;max-height:44px;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;box-shadow:none}.shape-pill-left-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-left-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-right-md{min-height:44px;max-height:44px;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;box-shadow:none}.shape-pill-right-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-right-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}`;
16929
16986
 
16930
- var colorCss$1$1 = css`:host .wrapper{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-background-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host(:not([ondark])) .wrapper:focus,:host(:not([ondark])) .wrapper:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-brand, #00274a)}:host([ondark]) .wrapper:focus,:host([ondark]) .wrapper:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-inverse, #ffffff)}:host([error]:not([ondark])){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([error][ondark]){--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}.helpText{color:var(--ds-auro-dropdown-helptext-text-color)}`;
16987
+ var colorCss$1$2 = css`:host .wrapper{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-background-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host(:not([ondark])) .wrapper:focus,:host(:not([ondark])) .wrapper:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-brand, #00274a)}:host([ondark]) .wrapper:focus,:host([ondark]) .wrapper:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-inverse, #ffffff)}:host([error]:not([ondark])){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([error][ondark]){--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}.helpText{color:var(--ds-auro-dropdown-helptext-text-color)}`;
16931
16988
 
16932
16989
  var classicColorCss$1 = css`:host([layout*=classic]:not([onDark])) .label{color:var(--ds-auro-dropdown-label-text-color)}:host([layout*=classic]:not([onDark])) .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)}:host([layout*=classic]:not([onDark])) .trigger:focus-within,:host([layout*=classic]:not([onDark])) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused, #01426a)}:host([layout*=classic][disabled]:not([onDark])){--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);--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host([layout*=classic][error]:not([onDark])){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([layout*=classic][error]:not([onDark])) .trigger:focus-within,:host([layout*=classic][error]:not([onDark])) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused, #01426a)}:host([layout*=classic][onDark]) .label{color:var(--ds-auro-dropdown-label-text-color)}:host([layout*=classic][onDark]) .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)}:host([layout*=classic][onDark]) .trigger:focus-within,:host([layout*=classic][onDark]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused-inverse, #ffffff)}:host([layout*=classic][onDark][disabled]){--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);--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse-disabled, rgba(255, 255, 255, 0.1))}:host([layout*=classic][onDark][error]){--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}:host([layout*=classic][onDark][error]) .trigger:focus-within,:host([layout*=classic][onDark][error]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused-inverse, #ffffff)}`;
16933
16990
 
@@ -17022,7 +17079,7 @@ let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
17022
17079
  *
17023
17080
  * @attr { Boolean } large - If declared, make font-size to 1rem(16px).
17024
17081
  */
17025
- let AuroHelpText$1 = class AuroHelpText extends LitElement {
17082
+ let AuroHelpText$2 = class AuroHelpText extends LitElement {
17026
17083
 
17027
17084
  constructor() {
17028
17085
  super();
@@ -17143,7 +17200,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
17143
17200
  }
17144
17201
  };
17145
17202
 
17146
- var helpTextVersion$1 = '1.0.0';
17203
+ var helpTextVersion$2 = '1.0.0';
17147
17204
 
17148
17205
  let AuroElement$4 = class AuroElement extends LitElement {
17149
17206
  static get properties() {
@@ -17361,7 +17418,7 @@ class AuroDropdown extends AuroElement$4 {
17361
17418
  /**
17362
17419
  * @private
17363
17420
  */
17364
- this.helpTextTag = versioning.generateTag('auro-formkit-dropdown-helptext', helpTextVersion$1, AuroHelpText$1);
17421
+ this.helpTextTag = versioning.generateTag('auro-formkit-dropdown-helptext', helpTextVersion$2, AuroHelpText$2);
17365
17422
 
17366
17423
  /**
17367
17424
  * @private
@@ -17661,8 +17718,8 @@ class AuroDropdown extends AuroElement$4 {
17661
17718
 
17662
17719
  static get styles() {
17663
17720
  return [
17664
- colorCss$1$1,
17665
- tokensCss$1$1,
17721
+ colorCss$1$2,
17722
+ tokensCss$1$2,
17666
17723
 
17667
17724
  // default layout
17668
17725
  classicColorCss$1,
@@ -23997,22 +24054,17 @@ class BaseInput extends AuroElement$2 {
23997
24054
  * @returns {void}
23998
24055
  */
23999
24056
  getPlaceholder() {
24000
- const isFocused = this.inputElement === this.getActiveElement();
24057
+ this.inputElement === this.getActiveElement();
24001
24058
 
24002
24059
  // console.warn('isFocused', isFocused);
24003
24060
  // console.warn(this.inputElement);
24004
24061
  // console.warn(this.getActiveElement());
24005
24062
 
24006
- if (!isFocused) {
24007
- if (this.placeholder) {
24008
- this.placeholderStr = this.placeholder;
24009
- // return this.placeholder;
24010
- } else if (this.type === 'date') {
24011
- this.placeholderStr = this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
24012
- // return this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
24013
- }
24014
- } else {
24015
- this.placeholderStr = '';
24063
+ // if (!isFocused) {
24064
+ if (this.placeholder) {
24065
+ this.placeholderStr = this.placeholder;
24066
+ } else if (this.type === 'date') {
24067
+ this.placeholderStr = this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
24016
24068
  }
24017
24069
 
24018
24070
  this.requestUpdate();
@@ -24999,7 +25051,6 @@ let AuroElement$3 = class AuroElement extends LitElement {
24999
25051
  * @private
25000
25052
  */
25001
25053
  wrapper: {
25002
- type: HTMLElement,
25003
25054
  attribute: false,
25004
25055
  reflect: false
25005
25056
  }
@@ -25098,7 +25149,7 @@ var shapeSize = css`.shape-rounded-xl{min-height:68px;max-height:68px;border-sty
25098
25149
 
25099
25150
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
25100
25151
 
25101
- let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
25152
+ let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
25102
25153
 
25103
25154
  /* eslint-disable jsdoc/require-param */
25104
25155
 
@@ -25161,11 +25212,11 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
25161
25212
  }
25162
25213
  };
25163
25214
 
25164
- var styleCss$1 = css`:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin:0.375rem;--margin-xs:0.2rem;--margin-sm:0.5rem;--margin-md:0.75rem;--margin-lg:1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin)*6);height:1.5rem}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(2.55rem + var(--margin-xs)*6);height:1.55rem}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm)*6);height:2.5rem}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md)*6);height:3.5rem}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg)*6);height:5.5rem}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-400ms}:host([pulse])>span:nth-child(2){animation-delay:-200ms}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,100%{opacity:.1;transform:scale(0.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}100%{left:110%}}:host>.no-animation{display:none}@media(prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center;font-size:1rem}:host>span{opacity:1}:host>.loader{display:none}:host>.no-animation{display:block}}`;
25215
+ var styleCss$1$1 = css`:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin:0.375rem;--margin-xs:0.2rem;--margin-sm:0.5rem;--margin-md:0.75rem;--margin-lg:1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin)*6);height:1.5rem}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(2.55rem + var(--margin-xs)*6);height:1.55rem}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm)*6);height:2.5rem}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md)*6);height:3.5rem}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg)*6);height:5.5rem}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-400ms}:host([pulse])>span:nth-child(2){animation-delay:-200ms}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,100%{opacity:.1;transform:scale(0.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}100%{left:110%}}:host>.no-animation{display:none}@media(prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center;font-size:1rem}:host>span{opacity:1}:host>.loader{display:none}:host>.no-animation{display:block}}`;
25165
25216
 
25166
- var colorCss$1 = css`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]){--ds-auro-loader-color:var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]){--ds-auro-loader-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color:transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color:currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color:currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}`;
25217
+ var colorCss$1$1 = css`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]){--ds-auro-loader-color:var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]){--ds-auro-loader-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color:transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color:currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color:currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}`;
25167
25218
 
25168
- var tokensCss$1 = css`:host{--ds-auro-loader-background-color:currentcolor;--ds-auro-loader-border-color:currentcolor;--ds-auro-loader-color:currentcolor}`;
25219
+ var tokensCss$1$1 = css`:host{--ds-auro-loader-background-color:currentcolor;--ds-auro-loader-border-color:currentcolor;--ds-auro-loader-color:currentcolor}`;
25169
25220
 
25170
25221
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
25171
25222
  // See LICENSE in the project root for license information.
@@ -25193,7 +25244,7 @@ class AuroLoader extends LitElement {
25193
25244
  /**
25194
25245
  * @private
25195
25246
  */
25196
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
25247
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
25197
25248
 
25198
25249
  this.orbit = false;
25199
25250
  this.ringworm = false;
@@ -25241,9 +25292,9 @@ class AuroLoader extends LitElement {
25241
25292
 
25242
25293
  static get styles() {
25243
25294
  return [
25244
- css`${styleCss$1}`,
25245
- css`${colorCss$1}`,
25246
- css`${tokensCss$1}`
25295
+ css`${styleCss$1$1}`,
25296
+ css`${colorCss$1$1}`,
25297
+ css`${tokensCss$1$1}`
25247
25298
  ];
25248
25299
  }
25249
25300
 
@@ -25256,7 +25307,7 @@ class AuroLoader extends LitElement {
25256
25307
  *
25257
25308
  */
25258
25309
  static register(name = "auro-loader") {
25259
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroLoader);
25310
+ AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroLoader);
25260
25311
  }
25261
25312
 
25262
25313
  firstUpdated() {
@@ -25308,7 +25359,7 @@ class AuroLoader extends LitElement {
25308
25359
 
25309
25360
  var loaderVersion = '5.0.0';
25310
25361
 
25311
- /* eslint-disable max-lines, curly */
25362
+ /* eslint-disable max-lines, curly, jsdoc/no-undefined-types */
25312
25363
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
25313
25364
  // See LICENSE in the project root for license information.
25314
25365
 
@@ -25375,6 +25426,21 @@ class AuroButton extends AuroElement$3 {
25375
25426
  * @private
25376
25427
  */
25377
25428
  this.loaderTag = versioning.generateTag('auro-loader', loaderVersion, AuroLoader);
25429
+
25430
+ /**
25431
+ * @private
25432
+ */
25433
+ this.buttonHref = undefined;
25434
+
25435
+ /**
25436
+ * @private
25437
+ */
25438
+ this.buttonTarget = undefined;
25439
+
25440
+ /**
25441
+ * @private
25442
+ */
25443
+ this.buttonRel = undefined;
25378
25444
  }
25379
25445
 
25380
25446
  static get styles() {
@@ -25441,13 +25507,23 @@ class AuroButton extends AuroElement$3 {
25441
25507
  },
25442
25508
 
25443
25509
  /**
25444
- * Populates `tabIndex` to define the focusable sequence in keyboard navigation.
25510
+ * Populates `tabindex` to define the focusable sequence in keyboard navigation.
25445
25511
  */
25446
25512
  tIndex: {
25447
25513
  type: String,
25448
25514
  reflect: true
25449
25515
  },
25450
25516
 
25517
+ /**
25518
+ * Populates `tabindex` to define the focusable sequence in keyboard navigation.
25519
+ * Must be used with "." to ensure the host element does not retain a reference to the `tabindex` attribute.
25520
+ * Example: `<auro-button .tabindex="${this.disabled ? '-1' : '0'}"></auro-button>`
25521
+ */
25522
+ tabindex: {
25523
+ type: String,
25524
+ reflect: false
25525
+ },
25526
+
25451
25527
  /**
25452
25528
  * Sets title attribute. The information is most often shown as a tooltip text when the mouse moves over the element.
25453
25529
  */
@@ -25480,6 +25556,27 @@ class AuroButton extends AuroElement$3 {
25480
25556
  type: String,
25481
25557
  reflect: true
25482
25558
  },
25559
+
25560
+ /**
25561
+ * @private
25562
+ */
25563
+ buttonHref: {
25564
+ type: String,
25565
+ },
25566
+
25567
+ /**
25568
+ * @private
25569
+ */
25570
+ buttonTarget: {
25571
+ type: String,
25572
+ },
25573
+
25574
+ /**
25575
+ * @private
25576
+ */
25577
+ buttonRel: {
25578
+ type: String,
25579
+ },
25483
25580
  };
25484
25581
  }
25485
25582
 
@@ -25570,14 +25667,17 @@ class AuroButton extends AuroElement$3 {
25570
25667
  loading: this.loading,
25571
25668
  };
25572
25669
 
25670
+ const tag = this.buttonHref ? literal`a` : literal`button`;
25671
+ const part = this.buttonHref ? 'link' : 'button';
25672
+
25573
25673
  return html$1`
25574
- <button
25575
- part="button"
25674
+ <${tag}
25675
+ part="${part}"
25576
25676
  aria-label="${ifDefined(this.loading ? this.loadingText : this.currentAriaLabel || undefined)}"
25577
25677
  aria-labelledby="${ifDefined(this.loading ? undefined : this.currentAriaLabelledBy || undefined)}"
25578
- tabIndex="${ifDefined(this.tIndex)}"
25678
+ tabindex="${ifDefined(this.tIndex || this.tabindex)}"
25579
25679
  ?autofocus="${this.autofocus}"
25580
- class="${classMap(classes)}"
25680
+ class=${classMap(classes)}
25581
25681
  ?disabled="${this.disabled || this.loading}"
25582
25682
  ?onDark="${this.onDark}"
25583
25683
  title="${ifDefined(this.title ? this.title : undefined)}"
@@ -25586,6 +25686,9 @@ class AuroButton extends AuroElement$3 {
25586
25686
  variant="${ifDefined(this.variant ? this.variant : undefined)}"
25587
25687
  .value="${ifDefined(this.value ? this.value : undefined)}"
25588
25688
  @click="${this.type === 'submit' ? this.surfaceSubmitEvent : undefined}"
25689
+ href="${ifDefined(this.buttonHref || undefined)}"
25690
+ target="${ifDefined(this.buttonTarget || undefined)}"
25691
+ rel="${ifDefined(this.buttonRel || undefined)}"
25589
25692
  >
25590
25693
  ${ifDefined(this.loading ? html$1`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
25591
25694
 
@@ -25594,12 +25697,12 @@ class AuroButton extends AuroElement$3 {
25594
25697
  <slot></slot>
25595
25698
  </span>
25596
25699
  </span>
25597
- </button>
25700
+ </${tag}>
25598
25701
  `;
25599
25702
  }
25600
25703
 
25601
25704
  /**
25602
- * Renders the layout of the button
25705
+ * Renders the layout of the button.
25603
25706
  * @returns {TemplateResult}
25604
25707
  * @private
25605
25708
  */
@@ -25695,7 +25798,7 @@ let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
25695
25798
  *
25696
25799
  * @attr { Boolean } large - If declared, make font-size to 1rem(16px).
25697
25800
  */
25698
- class AuroHelpText extends LitElement {
25801
+ let AuroHelpText$1 = class AuroHelpText extends LitElement {
25699
25802
 
25700
25803
  constructor() {
25701
25804
  super();
@@ -25814,9 +25917,9 @@ class AuroHelpText extends LitElement {
25814
25917
  </div>
25815
25918
  `;
25816
25919
  }
25817
- }
25920
+ };
25818
25921
 
25819
- var helpTextVersion = '1.0.0';
25922
+ var helpTextVersion$1 = '1.0.0';
25820
25923
 
25821
25924
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
25822
25925
  // See LICENSE in the project root for license information.
@@ -25846,7 +25949,7 @@ class AuroInput extends BaseInput {
25846
25949
  /**
25847
25950
  * @private
25848
25951
  */
25849
- this.helpTextTag = versioning.generateTag('auro-formkit-input-helptext', helpTextVersion, AuroHelpText);
25952
+ this.helpTextTag = versioning.generateTag('auro-formkit-input-helptext', helpTextVersion$1, AuroHelpText$1);
25850
25953
 
25851
25954
  /**
25852
25955
  * @private
@@ -25854,6 +25957,20 @@ class AuroInput extends BaseInput {
25854
25957
  this.iconTag = versioning.generateTag('auro-formkit-input-icon', iconVersion$1, AuroIcon$1);
25855
25958
  }
25856
25959
 
25960
+ static get properties() {
25961
+ return {
25962
+ ...super.properties,
25963
+
25964
+ /**
25965
+ * @type {boolean}
25966
+ */
25967
+ hideInputVisually: {
25968
+ type: Boolean,
25969
+ reflect: true,
25970
+ }
25971
+ };
25972
+ }
25973
+
25857
25974
  static get styles() {
25858
25975
  return [
25859
25976
  css`${classicStyleCss}`,
@@ -25888,8 +26005,13 @@ class AuroInput extends BaseInput {
25888
26005
  * @returns {object} - Returns classmap.
25889
26006
  */
25890
26007
  get commonInputClasses() {
26008
+ console.log(`hideInputVisually: ${JSON.stringify(this.hideInputVisually)}`);
25891
26009
  return {
25892
- 'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
26010
+ 'util_displayHiddenVisually': this.hideInputVisually !== undefined
26011
+ ? this.hideInputVisually
26012
+ // eslint-disable-next-line no-warning-comments
26013
+ // TODO: refactor this to use a less brittle/forced solution.
26014
+ : this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
25893
26015
  };
25894
26016
  }
25895
26017
 
@@ -25901,7 +26023,10 @@ class AuroInput extends BaseInput {
25901
26023
  get legacyInputClasses() {
25902
26024
  return {
25903
26025
  ...this.commonInputClasses,
25904
- 'util_displayHiddenVisually': !this.hasFocus && !this.value
26026
+ 'util_displayHiddenVisually':
26027
+ this.hideInputVisually !== undefined
26028
+ ? this.hideInputVisually
26029
+ : !this.hasFocus && !this.value
25905
26030
  };
25906
26031
  }
25907
26032
 
@@ -26331,6 +26456,214 @@ class AuroInput extends BaseInput {
26331
26456
 
26332
26457
  var inputVersion = '4.2.0';
26333
26458
 
26459
+ var colorCss$1 = css`:host([error]){--ds-auro-helptext-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]){--ds-auro-helptext-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][error]){--ds-auro-helptext-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
26460
+
26461
+ var styleCss$1 = css`.helptext-wrapper{display:none;font-size:12px;font-weight:450;letter-spacing:0;line-height:16px}:host([large]) .helptext-wrapper{font-size:16px;font-weight:450;letter-spacing:0;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}`;
26462
+
26463
+ var tokensCss$1 = css`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
26464
+
26465
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
26466
+ // See LICENSE in the project root for license information.
26467
+
26468
+ // ---------------------------------------------------------------------
26469
+
26470
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
26471
+
26472
+ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
26473
+
26474
+ /* eslint-disable jsdoc/require-param */
26475
+
26476
+ /**
26477
+ * This will register a new custom element with the browser.
26478
+ * @param {String} name - The name of the custom element.
26479
+ * @param {Object} componentClass - The class to register as a custom element.
26480
+ * @returns {void}
26481
+ */
26482
+ registerComponent(name, componentClass) {
26483
+ if (!customElements.get(name)) {
26484
+ customElements.define(name, class extends componentClass {});
26485
+ }
26486
+ }
26487
+
26488
+ /**
26489
+ * Finds and returns the closest HTML Element based on a selector.
26490
+ * @returns {void}
26491
+ */
26492
+ closestElement(
26493
+ selector, // selector like in .closest()
26494
+ base = this, // extra functionality to skip a parent
26495
+ __Closest = (el, found = el && el.closest(selector)) =>
26496
+ !el || el === document || el === window
26497
+ ? null // standard .closest() returns null for non-found selectors also
26498
+ : found
26499
+ ? found // found a selector INside this element
26500
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
26501
+ ) {
26502
+ return __Closest(base);
26503
+ }
26504
+ /* eslint-enable jsdoc/require-param */
26505
+
26506
+ /**
26507
+ * 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.
26508
+ * @param {Object} elem - The element to check.
26509
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
26510
+ * @returns {void}
26511
+ */
26512
+ handleComponentTagRename(elem, tagName) {
26513
+ const tag = tagName.toLowerCase();
26514
+ const elemTag = elem.tagName.toLowerCase();
26515
+
26516
+ if (elemTag !== tag) {
26517
+ elem.setAttribute(tag, true);
26518
+ }
26519
+ }
26520
+
26521
+ /**
26522
+ * Validates if an element is a specific Auro component.
26523
+ * @param {Object} elem - The element to validate.
26524
+ * @param {String} tagName - The name of the Auro component to check against.
26525
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
26526
+ */
26527
+ elementMatch(elem, tagName) {
26528
+ const tag = tagName.toLowerCase();
26529
+ const elemTag = elem.tagName.toLowerCase();
26530
+
26531
+ return elemTag === tag || elem.hasAttribute(tag);
26532
+ }
26533
+ };
26534
+
26535
+ // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
26536
+ // See LICENSE in the project root for license information.
26537
+
26538
+
26539
+ /**
26540
+ * Displays help text or error messages within form elements - Internal Use Only.
26541
+ *
26542
+ * @attr { Boolean } large - If declared, make font-size to 1rem(16px).
26543
+ */
26544
+ class AuroHelpText extends LitElement {
26545
+
26546
+ constructor() {
26547
+ super();
26548
+
26549
+ this.error = false;
26550
+ this.onDark = false;
26551
+ this.hasTextContent = false;
26552
+
26553
+ AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-helptext');
26554
+ }
26555
+
26556
+ static get styles() {
26557
+ return [
26558
+ colorCss$1,
26559
+ styleCss$1,
26560
+ tokensCss$1
26561
+ ];
26562
+ }
26563
+
26564
+ // function to define props used within the scope of this component
26565
+ static get properties() {
26566
+ return {
26567
+
26568
+ /**
26569
+ * @private
26570
+ */
26571
+ slotNodes: {
26572
+ type: Boolean,
26573
+ },
26574
+
26575
+ /**
26576
+ * @private
26577
+ */
26578
+ hasTextContent: {
26579
+ type: Boolean,
26580
+ },
26581
+
26582
+ /**
26583
+ * If declared, make font color red.
26584
+ */
26585
+ error: {
26586
+ type: Boolean,
26587
+ reflect: true,
26588
+ },
26589
+
26590
+ /**
26591
+ * If declared, will apply onDark styles.
26592
+ */
26593
+ onDark: {
26594
+ type: Boolean,
26595
+ reflect: true
26596
+ }
26597
+ };
26598
+ }
26599
+
26600
+ /**
26601
+ * This will register this element with the browser.
26602
+ * @param {string} [name="auro-helptext"] - The name of element that you want to register to.
26603
+ *
26604
+ * @example
26605
+ * AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
26606
+ *
26607
+ */
26608
+ static register(name = "auro-helptext") {
26609
+ AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroHelpText);
26610
+ }
26611
+
26612
+ updated() {
26613
+ this.handleSlotChange();
26614
+ }
26615
+
26616
+ handleSlotChange(event) {
26617
+ if (event) {
26618
+ this.slotNodes = event.target.assignedNodes();
26619
+ }
26620
+
26621
+ this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
26622
+ }
26623
+
26624
+ /**
26625
+ * Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
26626
+ *
26627
+ * @param {NodeList|Array} nodes - The list of nodes to check for content.
26628
+ * @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
26629
+ * @private
26630
+ */
26631
+ checkSlotsForContent(nodes) {
26632
+ if (!nodes) {
26633
+ return false;
26634
+ }
26635
+
26636
+ return nodes.some((node) => {
26637
+ if (node.textContent.trim()) {
26638
+ return true;
26639
+ }
26640
+
26641
+ if (!node.querySelector) {
26642
+ return false;
26643
+ }
26644
+
26645
+ const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
26646
+ if (!nestedSlot) {
26647
+ return false;
26648
+ }
26649
+
26650
+ const nestedSlotNodes = nestedSlot.assignedNodes();
26651
+ return this.checkSlotsForContent(nestedSlotNodes);
26652
+ });
26653
+ }
26654
+
26655
+ // function that renders the HTML and CSS into the scope of the component
26656
+ render() {
26657
+ return html`
26658
+ <div class="helptext-wrapper" ?visible="${this.hasTextContent}">
26659
+ <slot @slotchange=${this.handleSlotChange}></slot>
26660
+ </div>
26661
+ `;
26662
+ }
26663
+ }
26664
+
26665
+ var helpTextVersion = '1.0.0';
26666
+
26334
26667
  let AuroElement$1 = class AuroElement extends LitElement {
26335
26668
  static get properties() {
26336
26669
  return {
@@ -26933,6 +27266,7 @@ var iconVersion = '8.0.1';
26933
27266
  // See LICENSE in the project root for license information.
26934
27267
 
26935
27268
 
27269
+
26936
27270
  // See https://git.io/JJ6SJ for "How to document your components using JSDoc"
26937
27271
  /**
26938
27272
  * @slot helpText - Defines the content of the helpText.
@@ -27009,8 +27343,6 @@ class AuroDatePicker extends AuroElement$1 {
27009
27343
  'December'
27010
27344
  ];
27011
27345
 
27012
- this.monthFirst = true;
27013
-
27014
27346
  // floaterConfig
27015
27347
  this.placement = 'bottom-start';
27016
27348
  this.offset = 0;
@@ -27067,7 +27399,7 @@ class AuroDatePicker extends AuroElement$1 {
27067
27399
  /**
27068
27400
  * @private
27069
27401
  */
27070
- this.monthFirst = undefined;
27402
+ this.helpTextTag = versioning.generateTag('auro-formkit-input-helptext', helpTextVersion, AuroHelpText);
27071
27403
 
27072
27404
  // Layout Config
27073
27405
  this.layout = 'classic';
@@ -27138,6 +27470,19 @@ class AuroDatePicker extends AuroElement$1 {
27138
27470
  reflect: true
27139
27471
  },
27140
27472
 
27473
+ hasFocus: {
27474
+ type: Boolean,
27475
+ reflect: false,
27476
+ },
27477
+
27478
+ /**
27479
+ * @private
27480
+ */
27481
+ hasValue: {
27482
+ type: Boolean,
27483
+ reflect: false,
27484
+ },
27485
+
27141
27486
  /**
27142
27487
  * Specifies the date format. The default is `mm/dd/yyyy`.
27143
27488
  */
@@ -27240,6 +27585,24 @@ class AuroDatePicker extends AuroElement$1 {
27240
27585
  reflect: true
27241
27586
  },
27242
27587
 
27588
+ /**
27589
+ * Placeholder text to display in the input(s) when no value is set.
27590
+ */
27591
+ placeholder: {
27592
+ type: String,
27593
+ reflect: true
27594
+ },
27595
+
27596
+ /**
27597
+ * Optional placeholder text to display in the second input when using date range.
27598
+ * By default, datepicker will use `placeholder` for both inputs if placeholder is
27599
+ * specified, but placeholderendDate is not.
27600
+ */
27601
+ placeholderEndDate: {
27602
+ type: String,
27603
+ reflect: true
27604
+ },
27605
+
27243
27606
  /**
27244
27607
  * Position where the bib should appear relative to the trigger.
27245
27608
  * Accepted values:
@@ -27360,7 +27723,8 @@ class AuroDatePicker extends AuroElement$1 {
27360
27723
 
27361
27724
  // layouts
27362
27725
  classicLayoutColor,
27363
- emphasizedStyle
27726
+ snowflakeStyle,
27727
+ snowflakeColors
27364
27728
  ];
27365
27729
  }
27366
27730
 
@@ -27426,6 +27790,10 @@ class AuroDatePicker extends AuroElement$1 {
27426
27790
  * @returns {void}
27427
27791
  */
27428
27792
  focus(focusInput) {
27793
+ if (this.disabled) {
27794
+ return;
27795
+ }
27796
+
27429
27797
  this.range && focusInput === 'endDate' ? this.inputList[1].focus() : this.inputList[0].focus();
27430
27798
  }
27431
27799
 
@@ -27626,12 +27994,7 @@ class AuroDatePicker extends AuroElement$1 {
27626
27994
  * @returns {void}
27627
27995
  */
27628
27996
  configureDatepicker() {
27629
- document.addEventListener("focus", () => {
27630
- console.info(document.activeElement);
27631
- });
27632
-
27633
27997
  this.addEventListener('focusin', () => {
27634
-
27635
27998
  this.touched = true;
27636
27999
  });
27637
28000
 
@@ -27701,6 +28064,9 @@ class AuroDatePicker extends AuroElement$1 {
27701
28064
  const convertedDate = this.convertWcTimeToDate(time);
27702
28065
  const newDate = this.util.toCustomFormat(convertedDate, this.format);
27703
28066
 
28067
+ console.log(newDate);
28068
+ console.log(this.util.validDateStr(newDate, this.format));
28069
+
27704
28070
  if (this.util.validDateStr(newDate, this.format)) {
27705
28071
  if (this.inputList.length > 1) {
27706
28072
  if (!this.value || !this.util.validDateStr(this.value, this.format)) {
@@ -27732,13 +28098,20 @@ class AuroDatePicker extends AuroElement$1 {
27732
28098
  }
27733
28099
 
27734
28100
  /**
27735
- * Resets component to initial state.
27736
- * @returns {void}
28101
+ * Resets values without resetting validation.
27737
28102
  */
27738
- reset() {
28103
+ resetValues() {
27739
28104
  this.inputList.forEach((input) => {
27740
28105
  input.reset();
27741
28106
  });
28107
+ }
28108
+
28109
+ /**
28110
+ * Resets component to initial state.
28111
+ * @returns {void}
28112
+ */
28113
+ reset() {
28114
+ this.resetValues();
27742
28115
 
27743
28116
  this.validation.reset(this);
27744
28117
  }
@@ -27751,6 +28124,35 @@ class AuroDatePicker extends AuroElement$1 {
27751
28124
  this.validation.validate(this, force);
27752
28125
  }
27753
28126
 
28127
+ setHasFocus() {
28128
+ if (this.disabled) {
28129
+ return;
28130
+ }
28131
+
28132
+ this.hasFocus = true;
28133
+
28134
+ // shadowroot active element is null if we focus the datepicker itself
28135
+ if (this.shadowRoot.activeElement === null) {
28136
+ // If the shadowRoot.activeElement is null, we can assume that the datepicker itself has focus
28137
+ // and we should focus the first input in the inputList
28138
+ this.inputList[0].focus();
28139
+ }
28140
+ }
28141
+
28142
+ setHasValue() {
28143
+ if (!this.range) {
28144
+ this.hasValue = this.value && this.value.length > 0;
28145
+ return;
28146
+ }
28147
+
28148
+ // eslint-disable-next-line no-extra-parens
28149
+ this.hasValue = (this.value && this.value.length > 0) || (this.valueEnd && this.valueEnd.length > 0);
28150
+ }
28151
+
28152
+ get hasError() {
28153
+ return this.validity !== undefined && this.validity !== 'valid';
28154
+ }
28155
+
27754
28156
  updated(changedProperties) {
27755
28157
  if (changedProperties.has('format')) {
27756
28158
  this.monthFirst = this.format.indexOf('mm') < this.format.indexOf('yyyy');
@@ -27820,6 +28222,7 @@ class AuroDatePicker extends AuroElement$1 {
27820
28222
  }
27821
28223
 
27822
28224
  this.validate();
28225
+ this.setHasValue();
27823
28226
  }
27824
28227
 
27825
28228
  if (changedProperties.has('valueEnd') && this.inputList[1]) {
@@ -27856,6 +28259,7 @@ class AuroDatePicker extends AuroElement$1 {
27856
28259
  }
27857
28260
 
27858
28261
  this.validate();
28262
+ this.setHasValue();
27859
28263
  }
27860
28264
 
27861
28265
  if (changedProperties.has('error')) {
@@ -27988,26 +28392,15 @@ class AuroDatePicker extends AuroElement$1 {
27988
28392
  super.connectedCallback();
27989
28393
 
27990
28394
  this.monthFirst = this.format.indexOf('mm') < this.format.indexOf('yyyy');
27991
- }
27992
28395
 
27993
- /**
27994
- * @private
27995
- */
27996
- get withValue() {
27997
- // eslint-disable-next-line no-extra-parens
27998
- return (this.value && this.value.length > 0) || (this.valueEnd && this.valueEnd.length > 0);
27999
- }
28396
+ // setup focus/blur event listeners
28397
+ this.addEventListener('focus', () => {
28398
+ this.setHasFocus();
28399
+ }, true);
28000
28400
 
28001
- /**
28002
- * @private
28003
- */
28004
- hasFocus() {
28005
- console.log(document.activeElement);
28006
- return this.contains(document.activeElement);
28007
- // return this.inputList ? this.inputList.some((input) => {
28008
- // console.info("input.hasFocus", input.hasFocus);
28009
- // return input.hasFocus
28010
- // }) : false;
28401
+ this.addEventListener('blur', () => {
28402
+ this.hasFocus = false;
28403
+ }, true);
28011
28404
  }
28012
28405
 
28013
28406
  // layout render methods
@@ -28016,20 +28409,23 @@ class AuroDatePicker extends AuroElement$1 {
28016
28409
  /**
28017
28410
  * Renders the snowflake layout for the datepicker.
28018
28411
  * @private
28019
- * @return {import("lit").TemplateResult}
28412
+ * @returns {import("lit").TemplateResult}
28020
28413
  */
28021
28414
  renderSnowflakeLayout() {
28415
+ const accentsClassMap = {
28416
+ error: this.hasError
28417
+ };
28022
28418
 
28023
- const inputWrapperClassMap = {
28024
- inputWrapper: true,
28419
+ const inputSectionClassMap = {
28420
+ inputSection: true,
28025
28421
 
28026
- withValue: false,
28027
- hasFocus: false,
28422
+ hasValue: this.hasValue,
28423
+ hasFocus: this.hasFocus,
28028
28424
  };
28029
28425
 
28030
28426
  const labelClassMap = {
28031
- withValue: false,
28032
- hasFocus: false,
28427
+ hasValue: this.hasValue,
28428
+ hasFocus: this.hasFocus,
28033
28429
  };
28034
28430
 
28035
28431
  return html$1`
@@ -28041,14 +28437,17 @@ class AuroDatePicker extends AuroElement$1 {
28041
28437
  </div>
28042
28438
  <div class="mainContent">
28043
28439
  <label class="${classMap(labelClassMap)}" part="mainLabel">
28044
- Dates
28440
+ <slot name="label"></slot>
28045
28441
  </label>
28046
- <div class="${classMap(inputWrapperClassMap)}" part="inputWrapper">
28047
- ${this.renderTempInputs()}
28442
+ <div class="${classMap(inputSectionClassMap)}" part="inputSection">
28443
+ ${this.renderHtmlInputs()}
28048
28444
  </div>
28049
28445
  </div>
28050
- <div class="accents right">
28051
- ${this.renderHtmlActionClear()}
28446
+ <div class="accents right ${classMap(accentsClassMap)}">
28447
+ ${this.hasError
28448
+ ? this.renderHtmlIconError()
28449
+ : this.renderHtmlActionClear()
28450
+ }
28052
28451
  </div>
28053
28452
  </div>
28054
28453
  `;
@@ -28066,62 +28465,70 @@ class AuroDatePicker extends AuroElement$1 {
28066
28465
  }
28067
28466
  }
28068
28467
 
28069
- renderTempInputs() {
28468
+ renderHtmlInputs() {
28070
28469
  return html$1`
28071
- <${this.inputTag}
28072
- ?disabled="${this.disabled}"
28073
- ?onDark="${this.onDark}"
28074
- ?required="${this.required}"
28075
- id="${this.generateRandomString(12)}"
28076
- .format="${this.format}"
28077
- .max="${this.maxDate}"
28078
- .min="${this.minDate}"
28079
- .placeholder="${this.placeholder}"
28080
- simple
28081
- bordered
28082
- noValidate
28083
- class="dateFrom"
28084
- type="date"
28085
- part="input"
28086
- shape="box"
28087
- size="xl"
28088
- setCustomValidity="${this.setCustomValidity}"
28089
- setCustomValidityCustomError="${this.setCustomValidityCustomError}"
28090
- setCustomValidityValueMissing="${this.setCustomValidityValueMissing}"
28091
- setCustomValidityRangeOverflow="${this.setCustomValidityRangeOverflow}"
28092
- setCustomValidityRangeUnderflow="${this.setCustomValidityRangeUnderflow}"
28093
- inputmode="${ifDefined(this.inputmode)}"
28094
- >
28095
- <span slot="label"><slot name="fromLabel"></slot></span>
28096
- </${this.inputTag}>
28097
-
28098
- <!-- Divider -->
28099
- ${this.range ? html$1`
28100
- <div class="inputDivider"></div>
28101
- ` : undefined}
28102
-
28103
- ${this.range ? html$1`
28470
+ <div class="inputContainer">
28104
28471
  <${this.inputTag}
28105
- id="${this.generateRandomString(12)}"
28106
- bordered
28107
- class="dateTo"
28472
+ ?disabled="${this.disabled}"
28108
28473
  ?onDark="${this.onDark}"
28109
28474
  ?required="${this.required}"
28110
- noValidate
28111
- type="date"
28112
28475
  .format="${this.format}"
28476
+ .hideInputVisually="${!this.hasValue && !this.hasFocus}"
28113
28477
  .max="${this.maxDate}"
28114
28478
  .min="${this.minDate}"
28479
+ id="${this.generateRandomString(12)}"
28480
+ placeholder="MM/DD"
28481
+ simple
28482
+ bordered
28483
+ noValidate
28484
+ class="dateFrom withValue"
28485
+ type="date"
28486
+ part="input"
28487
+ shape="box"
28488
+ size="xl"
28115
28489
  setCustomValidity="${this.setCustomValidity}"
28116
28490
  setCustomValidityCustomError="${this.setCustomValidityCustomError}"
28117
28491
  setCustomValidityValueMissing="${this.setCustomValidityValueMissing}"
28118
28492
  setCustomValidityRangeOverflow="${this.setCustomValidityRangeOverflow}"
28119
28493
  setCustomValidityRangeUnderflow="${this.setCustomValidityRangeUnderflow}"
28120
- ?disabled="${this.disabled}"
28121
- part="input">
28122
- <span slot="label"><slot name="toLabel"></slot></span>
28494
+ inputmode="${ifDefined(this.inputmode)}"
28495
+ >
28496
+ <span slot="label"><slot name="fromLabel"></slot></span>
28123
28497
  </${this.inputTag}>
28124
- ` : undefined}`;
28498
+ </div>
28499
+
28500
+ <!-- Divider -->
28501
+ ${this.range ? html$1`
28502
+ <div class="inputDivider"></div>
28503
+ ` : undefined}
28504
+
28505
+ ${this.range ? html$1`
28506
+ <div class="inputContainer">
28507
+ <${this.inputTag}
28508
+ ?onDark="${this.onDark}"
28509
+ ?required="${this.required}"
28510
+ .format="${this.format}"
28511
+ .hideInputVisually="${!this.hasValue && !this.hasFocus}"
28512
+ .max="${this.maxDate}"
28513
+ .min="${this.minDate}"
28514
+ .placeholder="${this.placeholderEndDate || this.placeholder}"
28515
+ id="${this.generateRandomString(12)}"
28516
+ bordered
28517
+ class="dateTo"
28518
+ noValidate
28519
+ type="date"
28520
+ setCustomValidity="${this.setCustomValidity}"
28521
+ setCustomValidityCustomError="${this.setCustomValidityCustomError}"
28522
+ setCustomValidityValueMissing="${this.setCustomValidityValueMissing}"
28523
+ setCustomValidityRangeOverflow="${this.setCustomValidityRangeOverflow}"
28524
+ setCustomValidityRangeUnderflow="${this.setCustomValidityRangeUnderflow}"
28525
+ ?disabled="${this.disabled}"
28526
+ part="input">
28527
+ <span slot="label"><slot name="toLabel"></slot></span>
28528
+ </${this.inputTag}>
28529
+ </div>
28530
+ ` : undefined}
28531
+ `;
28125
28532
  }
28126
28533
 
28127
28534
  // ------------------------------------
@@ -28139,16 +28546,18 @@ class AuroDatePicker extends AuroElement$1 {
28139
28546
  return html$1`
28140
28547
  <div class="${classMap(clearActionClassMap)}">
28141
28548
  <${this.buttonTag}
28142
- @click="${this.reset}"
28549
+ @click="${this.resetValues}"
28143
28550
  ?onDark="${this.onDark}"
28144
28551
  aria-label="${i18n(this.lang, 'clearInput')}"
28145
28552
  class="notificationBtn clearBtn"
28146
- tabindex="-1"
28147
- variant="flat">
28553
+ shape="circle"
28554
+ size="sm"
28555
+ variant="ghost">
28148
28556
  <${this.iconTag}
28557
+ ?customColor="${this.onDark}"
28149
28558
  category="interface"
28150
- customColor
28151
28559
  name="x-lg"
28560
+ slot="icon"
28152
28561
  >
28153
28562
  </${this.iconTag}>
28154
28563
  </${this.buttonTag}>
@@ -28156,6 +28565,25 @@ class AuroDatePicker extends AuroElement$1 {
28156
28565
  `;
28157
28566
  }
28158
28567
 
28568
+ renderHtmlIconError() {
28569
+ const clearActionClassMap = {
28570
+ 'notification': true,
28571
+ 'error': true,
28572
+ // 'util_displayHidden': (!this.value || this.value.length === 0) && (!this.valueEnd || this.valueEnd.length === 0),
28573
+ };
28574
+
28575
+ return html$1`
28576
+ <div class="${classMap(clearActionClassMap)}">
28577
+ <${this.iconTag}
28578
+ category="alert"
28579
+ customColor
28580
+ name="error-stroke"
28581
+ >
28582
+ </${this.iconTag}>
28583
+ </div>
28584
+ `;
28585
+ }
28586
+
28159
28587
  renderHtmlIconCalendar() {
28160
28588
  return html$1`
28161
28589
  <${this.iconTag}
@@ -28168,8 +28596,38 @@ class AuroDatePicker extends AuroElement$1 {
28168
28596
  </${this.iconTag}>`;
28169
28597
  }
28170
28598
 
28599
+ /**
28600
+ * Returns HTML for the help text and error message.
28601
+ * @private
28602
+ * @returns {html} - Returns HTML for the help text and error message.
28603
+ */
28604
+ renderHtmlHelpText() {
28605
+ return html$1`
28606
+ ${!this.validity || this.validity === undefined || this.validity === 'valid'
28607
+ ? html$1`
28608
+ <${this.helpTextTag} ?onDark="${this.onDark}">
28609
+ <p id="${this.uniqueId}" part="helpText">
28610
+ <slot name="helptext"></slot>
28611
+ </p>
28612
+ </${this.helpTextTag}>
28613
+ `
28614
+ : html$1`
28615
+ <${this.helpTextTag} error ?onDark="${this.onDark}">
28616
+ <p id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
28617
+ ${this.errorMessage}
28618
+ </p>
28619
+ </${this.helpTextTag}>
28620
+ `
28621
+ }
28622
+ `;
28623
+ }
28624
+
28171
28625
  // function that renders the HTML and CSS into the scope of the component
28172
28626
  render() {
28627
+ const dropdownElementClassMap = {
28628
+ hasFocus: this.hasFocus
28629
+ };
28630
+
28173
28631
  // Base HTML render() handles dropdown and calendar bib
28174
28632
  return html$1`
28175
28633
  <${this.dropdownTag}
@@ -28180,18 +28638,20 @@ class AuroDatePicker extends AuroElement$1 {
28180
28638
  ?noFlip="${this.noFlip}"
28181
28639
  .fullscreenBreakpoint="${this.fullscreenBreakpoint}"
28182
28640
  .layout="${this.layout}"
28641
+ .matchWidth="${false}"
28183
28642
  .offset="${this.offset}"
28184
28643
  .placement="${this.placement}"
28185
28644
  .shape="${this.shape}"
28186
28645
  .size="${this.size}"
28187
28646
  bordered
28647
+ class="${classMap(dropdownElementClassMap)}"
28188
28648
  disableEventShow
28189
28649
  fluid
28190
28650
  for="dropdownMenu"
28191
28651
  part="dropdown"
28192
28652
  rounded
28193
28653
  >
28194
- <div slot="trigger" class="dpTriggerContent" part="trigger" @click="${this.focus}">
28654
+ <div slot="trigger" class="dpTriggerContent" part="trigger">
28195
28655
  ${this.renderLayoutFromAttributes()}
28196
28656
  </div>
28197
28657
 
@@ -28214,17 +28674,9 @@ class AuroDatePicker extends AuroElement$1 {
28214
28674
  ${this.range ? html$1`<span slot="mobileDateToStr">${this.valueEnd || html$1`<span class="placeholderDate">${this.format.toUpperCase()}</span>`}</span>` : undefined}
28215
28675
  </auro-formkit-calendar>
28216
28676
  </div>
28217
- <p slot="helpText" part="helpTextSpan">
28218
- <!-- Help text and error message template -->
28219
- ${!this.validity || this.validity === undefined || this.validity === 'valid'
28220
- ? html$1`
28221
- <slot name="helpText"></slot>
28222
- ` : html$1`
28223
- <span role="alert" aria-live="assertive" part="helpText">
28224
- ${this.errorMessage}
28225
- </span>`
28226
- }
28227
- </p>
28677
+ <div slot="helpText" part="helpTextSpan">
28678
+ ${this.renderHtmlHelpText()}
28679
+ </div>
28228
28680
  </${this.dropdownTag}>
28229
28681
  `;
28230
28682
  }