@aurodesignsystem-dev/auro-formkit 0.0.0-pr835.0 → 0.0.0-pr841.0

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 (55) hide show
  1. package/components/bibtemplate/dist/index.js +3 -2
  2. package/components/bibtemplate/dist/registered.js +3 -2
  3. package/components/combobox/README.md +2 -0
  4. package/components/combobox/demo/api.md +6 -0
  5. package/components/combobox/demo/api.min.js +27 -26
  6. package/components/combobox/demo/index.md +12 -0
  7. package/components/combobox/demo/index.min.js +27 -26
  8. package/components/combobox/demo/readme.md +2 -0
  9. package/components/combobox/dist/auro-combobox.d.ts +2 -0
  10. package/components/combobox/dist/index.js +27 -26
  11. package/components/combobox/dist/registered.js +27 -26
  12. package/components/counter/demo/api.md +9 -0
  13. package/components/counter/demo/api.min.js +6 -13
  14. package/components/counter/demo/index.md +6 -0
  15. package/components/counter/demo/index.min.js +6 -13
  16. package/components/counter/dist/auro-counter-group.d.ts +1 -0
  17. package/components/counter/dist/index.js +6 -13
  18. package/components/counter/dist/registered.js +6 -13
  19. package/components/datepicker/README.md +1 -0
  20. package/components/datepicker/demo/api.md +11 -0
  21. package/components/datepicker/demo/api.min.js +20 -18
  22. package/components/datepicker/demo/index.md +12 -0
  23. package/components/datepicker/demo/index.min.js +20 -18
  24. package/components/datepicker/demo/readme.md +1 -0
  25. package/components/datepicker/dist/auro-datepicker.d.ts +1 -0
  26. package/components/datepicker/dist/index.js +20 -18
  27. package/components/datepicker/dist/registered.js +20 -18
  28. package/components/dropdown/demo/api.md +7 -6
  29. package/components/dropdown/demo/api.min.js +1 -11
  30. package/components/dropdown/demo/index.min.js +1 -11
  31. package/components/dropdown/dist/index.js +1 -11
  32. package/components/dropdown/dist/registered.js +1 -11
  33. package/components/input/README.md +1 -0
  34. package/components/input/demo/api.md +14 -6
  35. package/components/input/demo/api.min.js +13 -5
  36. package/components/input/demo/index.md +7 -0
  37. package/components/input/demo/index.min.js +13 -5
  38. package/components/input/demo/readme.md +1 -0
  39. package/components/input/dist/base-input.d.ts +3 -1
  40. package/components/input/dist/index.js +13 -5
  41. package/components/input/dist/registered.js +13 -5
  42. package/components/radio/demo/api.min.js +1 -1
  43. package/components/radio/demo/index.min.js +1 -1
  44. package/components/radio/dist/index.js +1 -1
  45. package/components/radio/dist/registered.js +1 -1
  46. package/components/select/README.md +1 -0
  47. package/components/select/demo/api.md +9 -3
  48. package/components/select/demo/api.min.js +12 -13
  49. package/components/select/demo/index.md +8 -0
  50. package/components/select/demo/index.min.js +12 -13
  51. package/components/select/demo/readme.md +1 -0
  52. package/components/select/dist/auro-select.d.ts +5 -0
  53. package/components/select/dist/index.js +12 -13
  54. package/components/select/dist/registered.js +12 -13
  55. package/package.json +2 -2
@@ -12763,8 +12763,9 @@ class AuroBibtemplate extends LitElement {
12763
12763
  <${this.headerTag} class="header" display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
12764
12764
  <slot name="header"></slot>
12765
12765
  </${this.headerTag}>
12766
- <${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
12767
- <${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
12766
+ <${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
12767
+ <span><slot name="ariaLabel.close">Close</slot></span>
12768
+ <${this.iconTag} aria-hidden="true" category="interface" name="x-lg"></${this.iconTag}>
12768
12769
  </${this.buttonTag}>
12769
12770
  </div>
12770
12771
  <span class="subheader">
@@ -14197,6 +14198,7 @@ class AuroCalendar extends RangeDatepicker {
14197
14198
  ?large="${this.largeFullscreenHeadline}"
14198
14199
  ?isFullscreen="${this.isFullscreen}"
14199
14200
  @close-click="${this.utilCal.requestDismiss}">
14201
+ <span slot="ariaLabel.close">${this.slots["ariaLabel.bib.close"]}</span>
14200
14202
 
14201
14203
  <span slot="header">${this.slots["bib.fullscreen.headline"]}</span>
14202
14204
 
@@ -16147,12 +16149,6 @@ class AuroFloatingUI {
16147
16149
  }
16148
16150
 
16149
16151
  setupHideHandlers() {
16150
- this.preventFocusLoseOnBibClick = (event) => {
16151
- event.preventDefault();
16152
- event.stopPropagation();
16153
- };
16154
- this.element.bib.addEventListener('mousedown', this.preventFocusLoseOnBibClick);
16155
-
16156
16152
  // Define handlers & store references
16157
16153
  this.focusHandler = () => this.handleFocusLoss();
16158
16154
 
@@ -16202,11 +16198,6 @@ class AuroFloatingUI {
16202
16198
  cleanupHideHandlers() {
16203
16199
  // Remove event listeners if they exist
16204
16200
 
16205
- if (this.preventFocusLoseOnBibClick) {
16206
- this.element.bib.removeEventListener('mousedown', this.preventFocusLoseOnBibClick);
16207
- delete this.preventFocusLoseOnBibClick;
16208
- }
16209
-
16210
16201
  if (this.focusHandler) {
16211
16202
  document.removeEventListener('focusin', this.focusHandler);
16212
16203
  this.focusHandler = null;
@@ -17706,6 +17697,7 @@ let AuroElement$4 = class AuroElement extends LitElement {
17706
17697
  * @slot trigger - Defines the content of the trigger.
17707
17698
  * @csspart trigger - The trigger content container.
17708
17699
  * @csspart chevron - The collapsed/expanded state icon container.
17700
+ * @csspart size - The size of the dropdown bib. (height, width, maxHeight, maxWidth only)
17709
17701
  * @csspart helpText - The helpText content container.
17710
17702
  * @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
17711
17703
  * @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
@@ -18598,7 +18590,7 @@ var styleCss$4 = css`.util_displayInline{display:inline}.util_displayInlineBlock
18598
18590
 
18599
18591
  var styleDefaultCss = css`.layoutDefault .typeIcon,:host(:not([layout])) .typeIcon{display:flex;flex-direction:row;align-items:center}.layoutDefault .typeIcon [auro-icon],:host(:not([layout])) .typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.layoutDefault .notificationIcons,:host(:not([layout])) .notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .typeIcon,:host(:not([layout])[bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .notificationIcons,:host(:not([layout])[bordered]) .notificationIcons{align-items:center}:host([class=layoutDefault][bordered]) .notification:not(:first-of-type),:host(:not([layout])[bordered]) .notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .alertNotification,:host(:not([layout])[bordered]) .alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}:host([class=layoutDefault][bordered]) .passwordBtn,:host(:not([layout])[bordered]) .passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}:host([class=layoutDefault][bordered]) .notificationBtn,:host(:not([layout])[bordered]) .notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}:host([class=layoutDefault][bordered]) .notificationBtn [auro-icon],:host(:not([layout])[bordered]) .notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}:host([class=layoutDefault][bordered]) .notificationBtn [auro-icon][hidden],:host(:not([layout])[bordered]) .notificationBtn [auro-icon][hidden]{display:none}:host([class=layoutDefault]:not([bordered])) .typeIcon,:host([class=layoutDefault]:not([bordered])) .notificationIcons,:host(:not([layout]):not([bordered])) .typeIcon,:host(:not([layout]):not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}:host([class=layoutDefault]:not([bordered])) .clearBtn,:host(:not([layout]):not([bordered])) .clearBtn{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);overflow:hidden;width:0;opacity:0}.layoutDefault .wrapper:hover .clearBtn,.layoutDefault .wrapper:focus-within .clearBtn,:host(:not([layout])) .wrapper:hover .clearBtn,:host(:not([layout])) .wrapper:focus-within .clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));opacity:1}:host([class=layoutDefault]:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification,:host(:not([layout]):focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}.layoutDefault input,:host(:not([layout])) input{border:unset}.layoutDefault .wrapper,:host(:not([layout])) .wrapper{position:relative;overflow:hidden;border-style:solid}:host([class=layoutDefault]:not([bordered],[borderless])) .wrapper,:host(:not([layout]):not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([class=layoutDefault][bordered]) .wrapper,:host(:not([layout])[bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host([class=layoutDefault]:not([borderless])) .wrapper:focus-within:before,:host(:not([layout]):not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([class=layoutDefault][validity]:not([validity=valid])) .wrapper:before,:host(:not([layout])[validity]:not([validity=valid])) .wrapper:before{border-bottom:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.layoutDefault :host,:host(:not([layout])) :host{position:relative;display:block}.layoutDefault .wrapper,:host(:not([layout])) .wrapper{display:flex;flex-direction:row}.layoutDefault .main,:host(:not([layout])) .main{display:flex;flex-direction:row;position:relative;flex:1}`;
18600
18592
 
18601
- var colorBaseCss = css`.wrapper{border-color:var(--ds-auro-input-border-color);background-color:var(--ds-auro-input-background-color);color:var(--ds-auro-input-text-color)}.wrapper label{color:var(--ds-auro-input-label-text-color)}.wrapper input{caret-color:var(--ds-auro-input-caret-color);color:var(--ds-auro-input-text-color)}.wrapper input::placeholder{color:var(--ds-auro-input-placeholder-text-color)}.wrapper input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}:host(:not([ondark])) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-brand, #00274a)}:host([ondark]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff)}:host(:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([ondark]:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([ondark])[disabled]){--ds-auro-input-border-color: var(--ds-basic-color-border-subtle, #dddddd);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([ondark][disabled]){--ds-auro-input-border-color: var(--ds-advanced-color-button-primary-border-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}`;
18593
+ var colorBaseCss = css`.wrapper{border-color:var(--ds-auro-input-border-color);background-color:var(--ds-auro-input-background-color);color:var(--ds-auro-input-text-color)}.wrapper label{color:var(--ds-auro-input-label-text-color)}.wrapper input{caret-color:var(--ds-auro-input-caret-color);color:var(--ds-auro-input-text-color)}.wrapper input::placeholder{color:var(--ds-auro-input-placeholder-text-color)}.wrapper input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}:host(:not([ondark])) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-brand, #00274a)}:host([ondark]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff)}:host(:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([ondark]:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([ondark])[disabled]){--ds-auro-input-border-color: var(--ds-basic-color-border-subtle, #dddddd);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-input-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([ondark][disabled]){--ds-auro-input-border-color: var(--ds-advanced-color-button-primary-border-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-input-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}`;
18602
18594
 
18603
18595
  var tokensCss$4 = css`:host(:not([ondark])){--ds-auro-input-border-color: var(--ds-basic-color-border-bold, #585e67);--ds-auro-input-background-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-input-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-input-caret-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-input-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-input-error-icon-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-input-outline-color: transparent}:host([ondark]){--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff);--ds-auro-input-background-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-input-container-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-input-caret-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-input-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-input-error-icon-color: var(--ds-basic-color-status-error-subtle, #fbc6c6);--ds-auro-input-outline-color: transparent}`;
18604
18596
 
@@ -23542,6 +23534,9 @@ let AuroElement$2 = class AuroElement extends LitElement {
23542
23534
  * @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
23543
23535
  * @attr id
23544
23536
  *
23537
+ * @slot ariaLabel.clear - Sets aria-label on clear button for screenreader to read
23538
+ * @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
23539
+ * @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
23545
23540
  * @slot helpText - Sets the help text displayed below the input.
23546
23541
  * @slot label - Sets the label text for the input.
23547
23542
  * @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
@@ -23969,8 +23964,7 @@ class BaseInput extends AuroElement$2 {
23969
23964
  * Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
23970
23965
  */
23971
23966
  value: {
23972
- type: String,
23973
- reflect: true
23967
+ type: String
23974
23968
  },
23975
23969
 
23976
23970
  /**
@@ -26682,12 +26676,13 @@ class AuroInput extends BaseInput {
26682
26676
  <${this.buttonTag}
26683
26677
  @click="${this.handleClickClear}"
26684
26678
  ?onDark="${this.onDark}"
26685
- aria-label="${i18n$1(this.lang, 'clearInput')}"
26686
26679
  class="notificationBtn clearBtn"
26687
26680
  shape="circle"
26688
26681
  size="sm"
26689
26682
  variant="ghost">
26683
+ <span><slot name="ariaLabel.clear">Clear Input</slot></span>
26690
26684
  <${this.iconTag}
26685
+ aria-hidden="true"
26691
26686
  ?customColor="${this.onDark}"
26692
26687
  category="interface"
26693
26688
  name="x-lg"
@@ -26710,18 +26705,23 @@ class AuroInput extends BaseInput {
26710
26705
  @click="${this.handleClickShowPassword}"
26711
26706
  ?onDark="${this.onDark}"
26712
26707
  class="notificationBtn passwordBtn"
26713
- aria-label="${this.showPassword ? i18n$1(this.lang, "hidePassword") : i18n$1(this.lang, "showPassword")}"
26714
26708
  shape="circle"
26715
26709
  size="sm"
26716
26710
  variant="ghost">
26711
+ <span>
26712
+ ${this.showPassword ? html$1`<slot name="ariaLabel.password.hide">Hide Password</slot>`
26713
+ : html$1`<slot name="ariaLabel.password.show">Show Password</slot>`}
26714
+ </span>
26717
26715
  <${this.iconTag}
26718
26716
  ?customColor="${this.onDark}"
26717
+ aria-hidden="true"
26719
26718
  ?hidden=${!this.showPassword}
26720
26719
  category="interface"
26721
26720
  name="hide-password-stroke">
26722
26721
  </${this.iconTag}>
26723
26722
  <${this.iconTag}
26724
26723
  ?customColor="${this.onDark}"
26724
+ aria-hidden="true"
26725
26725
  ?hidden=${this.showPassword}
26726
26726
  category="interface"
26727
26727
  name="view-password-stroke">
@@ -27745,6 +27745,7 @@ var iconVersion = '8.0.1';
27745
27745
  // See https://git.io/JJ6SJ for "How to document your components using JSDoc"
27746
27746
  /**
27747
27747
  * @slot helpText - Defines the content of the helpText.
27748
+ * @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
27748
27749
  * @slot bib.fullscreen.headline - Defines the headline to display above bib.fullscreen.dateLabels in the mobile layout.
27749
27750
  * @slot bib.fullscreen.dateLabel - Defines the content to display above selected dates in the mobile layout.
27750
27751
  * @slot toLabel - Defines the label content for the second input when the `range` attribute is used.
@@ -29323,6 +29324,7 @@ class AuroDatePicker extends AuroElement$1 {
29323
29324
  .monthNames="${this.monthNames}"
29324
29325
  part="calendar"
29325
29326
  >
29327
+ <slot name="ariaLabel.bib.close" slot="ariaLabel.close" @slotchange="${this.handleSlotToSlot}">Close</slot>
29326
29328
  <slot slot="bib.fullscreen.headline" name="bib.fullscreen.headline" @slotchange="${this.handleSlotToSlot}"></slot>
29327
29329
  <slot slot="bib.fullscreen.dateLabel" name="bib.fullscreen.dateLabel" @slotchange="${this.handleSlotToSlot}"></slot>
29328
29330
  <span slot="bib.fullscreen.fromStr">${this.value || html$1`<span class="placeholderDate">${this.format.toUpperCase()}</span>`}</span>
@@ -12763,8 +12763,9 @@ class AuroBibtemplate extends LitElement {
12763
12763
  <${this.headerTag} class="header" display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
12764
12764
  <slot name="header"></slot>
12765
12765
  </${this.headerTag}>
12766
- <${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
12767
- <${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
12766
+ <${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
12767
+ <span><slot name="ariaLabel.close">Close</slot></span>
12768
+ <${this.iconTag} aria-hidden="true" category="interface" name="x-lg"></${this.iconTag}>
12768
12769
  </${this.buttonTag}>
12769
12770
  </div>
12770
12771
  <span class="subheader">
@@ -14197,6 +14198,7 @@ class AuroCalendar extends RangeDatepicker {
14197
14198
  ?large="${this.largeFullscreenHeadline}"
14198
14199
  ?isFullscreen="${this.isFullscreen}"
14199
14200
  @close-click="${this.utilCal.requestDismiss}">
14201
+ <span slot="ariaLabel.close">${this.slots["ariaLabel.bib.close"]}</span>
14200
14202
 
14201
14203
  <span slot="header">${this.slots["bib.fullscreen.headline"]}</span>
14202
14204
 
@@ -16147,12 +16149,6 @@ class AuroFloatingUI {
16147
16149
  }
16148
16150
 
16149
16151
  setupHideHandlers() {
16150
- this.preventFocusLoseOnBibClick = (event) => {
16151
- event.preventDefault();
16152
- event.stopPropagation();
16153
- };
16154
- this.element.bib.addEventListener('mousedown', this.preventFocusLoseOnBibClick);
16155
-
16156
16152
  // Define handlers & store references
16157
16153
  this.focusHandler = () => this.handleFocusLoss();
16158
16154
 
@@ -16202,11 +16198,6 @@ class AuroFloatingUI {
16202
16198
  cleanupHideHandlers() {
16203
16199
  // Remove event listeners if they exist
16204
16200
 
16205
- if (this.preventFocusLoseOnBibClick) {
16206
- this.element.bib.removeEventListener('mousedown', this.preventFocusLoseOnBibClick);
16207
- delete this.preventFocusLoseOnBibClick;
16208
- }
16209
-
16210
16201
  if (this.focusHandler) {
16211
16202
  document.removeEventListener('focusin', this.focusHandler);
16212
16203
  this.focusHandler = null;
@@ -17706,6 +17697,7 @@ let AuroElement$4 = class AuroElement extends LitElement {
17706
17697
  * @slot trigger - Defines the content of the trigger.
17707
17698
  * @csspart trigger - The trigger content container.
17708
17699
  * @csspart chevron - The collapsed/expanded state icon container.
17700
+ * @csspart size - The size of the dropdown bib. (height, width, maxHeight, maxWidth only)
17709
17701
  * @csspart helpText - The helpText content container.
17710
17702
  * @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
17711
17703
  * @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
@@ -18598,7 +18590,7 @@ var styleCss$4 = css`.util_displayInline{display:inline}.util_displayInlineBlock
18598
18590
 
18599
18591
  var styleDefaultCss = css`.layoutDefault .typeIcon,:host(:not([layout])) .typeIcon{display:flex;flex-direction:row;align-items:center}.layoutDefault .typeIcon [auro-icon],:host(:not([layout])) .typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.layoutDefault .notificationIcons,:host(:not([layout])) .notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .typeIcon,:host(:not([layout])[bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .notificationIcons,:host(:not([layout])[bordered]) .notificationIcons{align-items:center}:host([class=layoutDefault][bordered]) .notification:not(:first-of-type),:host(:not([layout])[bordered]) .notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .alertNotification,:host(:not([layout])[bordered]) .alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}:host([class=layoutDefault][bordered]) .passwordBtn,:host(:not([layout])[bordered]) .passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}:host([class=layoutDefault][bordered]) .notificationBtn,:host(:not([layout])[bordered]) .notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}:host([class=layoutDefault][bordered]) .notificationBtn [auro-icon],:host(:not([layout])[bordered]) .notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}:host([class=layoutDefault][bordered]) .notificationBtn [auro-icon][hidden],:host(:not([layout])[bordered]) .notificationBtn [auro-icon][hidden]{display:none}:host([class=layoutDefault]:not([bordered])) .typeIcon,:host([class=layoutDefault]:not([bordered])) .notificationIcons,:host(:not([layout]):not([bordered])) .typeIcon,:host(:not([layout]):not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}:host([class=layoutDefault]:not([bordered])) .clearBtn,:host(:not([layout]):not([bordered])) .clearBtn{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);overflow:hidden;width:0;opacity:0}.layoutDefault .wrapper:hover .clearBtn,.layoutDefault .wrapper:focus-within .clearBtn,:host(:not([layout])) .wrapper:hover .clearBtn,:host(:not([layout])) .wrapper:focus-within .clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));opacity:1}:host([class=layoutDefault]:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification,:host(:not([layout]):focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}.layoutDefault input,:host(:not([layout])) input{border:unset}.layoutDefault .wrapper,:host(:not([layout])) .wrapper{position:relative;overflow:hidden;border-style:solid}:host([class=layoutDefault]:not([bordered],[borderless])) .wrapper,:host(:not([layout]):not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([class=layoutDefault][bordered]) .wrapper,:host(:not([layout])[bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host([class=layoutDefault]:not([borderless])) .wrapper:focus-within:before,:host(:not([layout]):not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([class=layoutDefault][validity]:not([validity=valid])) .wrapper:before,:host(:not([layout])[validity]:not([validity=valid])) .wrapper:before{border-bottom:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.layoutDefault :host,:host(:not([layout])) :host{position:relative;display:block}.layoutDefault .wrapper,:host(:not([layout])) .wrapper{display:flex;flex-direction:row}.layoutDefault .main,:host(:not([layout])) .main{display:flex;flex-direction:row;position:relative;flex:1}`;
18600
18592
 
18601
- var colorBaseCss = css`.wrapper{border-color:var(--ds-auro-input-border-color);background-color:var(--ds-auro-input-background-color);color:var(--ds-auro-input-text-color)}.wrapper label{color:var(--ds-auro-input-label-text-color)}.wrapper input{caret-color:var(--ds-auro-input-caret-color);color:var(--ds-auro-input-text-color)}.wrapper input::placeholder{color:var(--ds-auro-input-placeholder-text-color)}.wrapper input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}:host(:not([ondark])) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-brand, #00274a)}:host([ondark]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff)}:host(:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([ondark]:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([ondark])[disabled]){--ds-auro-input-border-color: var(--ds-basic-color-border-subtle, #dddddd);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([ondark][disabled]){--ds-auro-input-border-color: var(--ds-advanced-color-button-primary-border-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}`;
18593
+ var colorBaseCss = css`.wrapper{border-color:var(--ds-auro-input-border-color);background-color:var(--ds-auro-input-background-color);color:var(--ds-auro-input-text-color)}.wrapper label{color:var(--ds-auro-input-label-text-color)}.wrapper input{caret-color:var(--ds-auro-input-caret-color);color:var(--ds-auro-input-text-color)}.wrapper input::placeholder{color:var(--ds-auro-input-placeholder-text-color)}.wrapper input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}:host(:not([ondark])) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-brand, #00274a)}:host([ondark]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff)}:host(:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([ondark]:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([ondark])[disabled]){--ds-auro-input-border-color: var(--ds-basic-color-border-subtle, #dddddd);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-input-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([ondark][disabled]){--ds-auro-input-border-color: var(--ds-advanced-color-button-primary-border-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-input-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}`;
18602
18594
 
18603
18595
  var tokensCss$4 = css`:host(:not([ondark])){--ds-auro-input-border-color: var(--ds-basic-color-border-bold, #585e67);--ds-auro-input-background-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-input-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-input-caret-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-input-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-input-error-icon-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-input-outline-color: transparent}:host([ondark]){--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff);--ds-auro-input-background-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-input-container-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-input-caret-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-input-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-input-error-icon-color: var(--ds-basic-color-status-error-subtle, #fbc6c6);--ds-auro-input-outline-color: transparent}`;
18604
18596
 
@@ -23542,6 +23534,9 @@ let AuroElement$2 = class AuroElement extends LitElement {
23542
23534
  * @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
23543
23535
  * @attr id
23544
23536
  *
23537
+ * @slot ariaLabel.clear - Sets aria-label on clear button for screenreader to read
23538
+ * @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
23539
+ * @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
23545
23540
  * @slot helpText - Sets the help text displayed below the input.
23546
23541
  * @slot label - Sets the label text for the input.
23547
23542
  * @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
@@ -23969,8 +23964,7 @@ class BaseInput extends AuroElement$2 {
23969
23964
  * Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
23970
23965
  */
23971
23966
  value: {
23972
- type: String,
23973
- reflect: true
23967
+ type: String
23974
23968
  },
23975
23969
 
23976
23970
  /**
@@ -26682,12 +26676,13 @@ class AuroInput extends BaseInput {
26682
26676
  <${this.buttonTag}
26683
26677
  @click="${this.handleClickClear}"
26684
26678
  ?onDark="${this.onDark}"
26685
- aria-label="${i18n$1(this.lang, 'clearInput')}"
26686
26679
  class="notificationBtn clearBtn"
26687
26680
  shape="circle"
26688
26681
  size="sm"
26689
26682
  variant="ghost">
26683
+ <span><slot name="ariaLabel.clear">Clear Input</slot></span>
26690
26684
  <${this.iconTag}
26685
+ aria-hidden="true"
26691
26686
  ?customColor="${this.onDark}"
26692
26687
  category="interface"
26693
26688
  name="x-lg"
@@ -26710,18 +26705,23 @@ class AuroInput extends BaseInput {
26710
26705
  @click="${this.handleClickShowPassword}"
26711
26706
  ?onDark="${this.onDark}"
26712
26707
  class="notificationBtn passwordBtn"
26713
- aria-label="${this.showPassword ? i18n$1(this.lang, "hidePassword") : i18n$1(this.lang, "showPassword")}"
26714
26708
  shape="circle"
26715
26709
  size="sm"
26716
26710
  variant="ghost">
26711
+ <span>
26712
+ ${this.showPassword ? html$1`<slot name="ariaLabel.password.hide">Hide Password</slot>`
26713
+ : html$1`<slot name="ariaLabel.password.show">Show Password</slot>`}
26714
+ </span>
26717
26715
  <${this.iconTag}
26718
26716
  ?customColor="${this.onDark}"
26717
+ aria-hidden="true"
26719
26718
  ?hidden=${!this.showPassword}
26720
26719
  category="interface"
26721
26720
  name="hide-password-stroke">
26722
26721
  </${this.iconTag}>
26723
26722
  <${this.iconTag}
26724
26723
  ?customColor="${this.onDark}"
26724
+ aria-hidden="true"
26725
26725
  ?hidden=${this.showPassword}
26726
26726
  category="interface"
26727
26727
  name="view-password-stroke">
@@ -27745,6 +27745,7 @@ var iconVersion = '8.0.1';
27745
27745
  // See https://git.io/JJ6SJ for "How to document your components using JSDoc"
27746
27746
  /**
27747
27747
  * @slot helpText - Defines the content of the helpText.
27748
+ * @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
27748
27749
  * @slot bib.fullscreen.headline - Defines the headline to display above bib.fullscreen.dateLabels in the mobile layout.
27749
27750
  * @slot bib.fullscreen.dateLabel - Defines the content to display above selected dates in the mobile layout.
27750
27751
  * @slot toLabel - Defines the label content for the second input when the `range` attribute is used.
@@ -29323,6 +29324,7 @@ class AuroDatePicker extends AuroElement$1 {
29323
29324
  .monthNames="${this.monthNames}"
29324
29325
  part="calendar"
29325
29326
  >
29327
+ <slot name="ariaLabel.bib.close" slot="ariaLabel.close" @slotchange="${this.handleSlotToSlot}">Close</slot>
29326
29328
  <slot slot="bib.fullscreen.headline" name="bib.fullscreen.headline" @slotchange="${this.handleSlotToSlot}"></slot>
29327
29329
  <slot slot="bib.fullscreen.dateLabel" name="bib.fullscreen.dateLabel" @slotchange="${this.handleSlotToSlot}"></slot>
29328
29330
  <span slot="bib.fullscreen.fromStr">${this.value || html$1`<span class="placeholderDate">${this.format.toUpperCase()}</span>`}</span>
@@ -60,12 +60,13 @@
60
60
 
61
61
  ## CSS Shadow Parts
62
62
 
63
- | Part | Description |
64
- |------------|----------------------------------------------|
65
- | [chevron](#chevron) | The collapsed/expanded state icon container. |
66
- | [helpText](#helpText) | The helpText content container. |
67
- | [popover](#popover) | The bib content container. |
68
- | [trigger](#trigger) | The trigger content container. |
63
+ | Part | Description |
64
+ |------------|--------------------------------------------------|
65
+ | [chevron](#chevron) | The collapsed/expanded state icon container. |
66
+ | [helpText](#helpText) | The helpText content container. |
67
+ | [popover](#popover) | The bib content container. |
68
+ | [size](#size) | The size of the dropdown bib. (height, width, maxHeight, maxWidth only) |
69
+ | [trigger](#trigger) | The trigger content container. |
69
70
  <!-- AURO-GENERATED-CONTENT:END -->
70
71
 
71
72
  ## API Examples
@@ -1979,12 +1979,6 @@ class AuroFloatingUI {
1979
1979
  }
1980
1980
 
1981
1981
  setupHideHandlers() {
1982
- this.preventFocusLoseOnBibClick = (event) => {
1983
- event.preventDefault();
1984
- event.stopPropagation();
1985
- };
1986
- this.element.bib.addEventListener('mousedown', this.preventFocusLoseOnBibClick);
1987
-
1988
1982
  // Define handlers & store references
1989
1983
  this.focusHandler = () => this.handleFocusLoss();
1990
1984
 
@@ -2034,11 +2028,6 @@ class AuroFloatingUI {
2034
2028
  cleanupHideHandlers() {
2035
2029
  // Remove event listeners if they exist
2036
2030
 
2037
- if (this.preventFocusLoseOnBibClick) {
2038
- this.element.bib.removeEventListener('mousedown', this.preventFocusLoseOnBibClick);
2039
- delete this.preventFocusLoseOnBibClick;
2040
- }
2041
-
2042
2031
  if (this.focusHandler) {
2043
2032
  document.removeEventListener('focusin', this.focusHandler);
2044
2033
  this.focusHandler = null;
@@ -3544,6 +3533,7 @@ class AuroElement extends i {
3544
3533
  * @slot trigger - Defines the content of the trigger.
3545
3534
  * @csspart trigger - The trigger content container.
3546
3535
  * @csspart chevron - The collapsed/expanded state icon container.
3536
+ * @csspart size - The size of the dropdown bib. (height, width, maxHeight, maxWidth only)
3547
3537
  * @csspart helpText - The helpText content container.
3548
3538
  * @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
3549
3539
  * @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
@@ -1954,12 +1954,6 @@ class AuroFloatingUI {
1954
1954
  }
1955
1955
 
1956
1956
  setupHideHandlers() {
1957
- this.preventFocusLoseOnBibClick = (event) => {
1958
- event.preventDefault();
1959
- event.stopPropagation();
1960
- };
1961
- this.element.bib.addEventListener('mousedown', this.preventFocusLoseOnBibClick);
1962
-
1963
1957
  // Define handlers & store references
1964
1958
  this.focusHandler = () => this.handleFocusLoss();
1965
1959
 
@@ -2009,11 +2003,6 @@ class AuroFloatingUI {
2009
2003
  cleanupHideHandlers() {
2010
2004
  // Remove event listeners if they exist
2011
2005
 
2012
- if (this.preventFocusLoseOnBibClick) {
2013
- this.element.bib.removeEventListener('mousedown', this.preventFocusLoseOnBibClick);
2014
- delete this.preventFocusLoseOnBibClick;
2015
- }
2016
-
2017
2006
  if (this.focusHandler) {
2018
2007
  document.removeEventListener('focusin', this.focusHandler);
2019
2008
  this.focusHandler = null;
@@ -3519,6 +3508,7 @@ class AuroElement extends i {
3519
3508
  * @slot trigger - Defines the content of the trigger.
3520
3509
  * @csspart trigger - The trigger content container.
3521
3510
  * @csspart chevron - The collapsed/expanded state icon container.
3511
+ * @csspart size - The size of the dropdown bib. (height, width, maxHeight, maxWidth only)
3522
3512
  * @csspart helpText - The helpText content container.
3523
3513
  * @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
3524
3514
  * @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
@@ -1913,12 +1913,6 @@ class AuroFloatingUI {
1913
1913
  }
1914
1914
 
1915
1915
  setupHideHandlers() {
1916
- this.preventFocusLoseOnBibClick = (event) => {
1917
- event.preventDefault();
1918
- event.stopPropagation();
1919
- };
1920
- this.element.bib.addEventListener('mousedown', this.preventFocusLoseOnBibClick);
1921
-
1922
1916
  // Define handlers & store references
1923
1917
  this.focusHandler = () => this.handleFocusLoss();
1924
1918
 
@@ -1968,11 +1962,6 @@ class AuroFloatingUI {
1968
1962
  cleanupHideHandlers() {
1969
1963
  // Remove event listeners if they exist
1970
1964
 
1971
- if (this.preventFocusLoseOnBibClick) {
1972
- this.element.bib.removeEventListener('mousedown', this.preventFocusLoseOnBibClick);
1973
- delete this.preventFocusLoseOnBibClick;
1974
- }
1975
-
1976
1965
  if (this.focusHandler) {
1977
1966
  document.removeEventListener('focusin', this.focusHandler);
1978
1967
  this.focusHandler = null;
@@ -3472,6 +3461,7 @@ class AuroElement extends LitElement {
3472
3461
  * @slot trigger - Defines the content of the trigger.
3473
3462
  * @csspart trigger - The trigger content container.
3474
3463
  * @csspart chevron - The collapsed/expanded state icon container.
3464
+ * @csspart size - The size of the dropdown bib. (height, width, maxHeight, maxWidth only)
3475
3465
  * @csspart helpText - The helpText content container.
3476
3466
  * @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
3477
3467
  * @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
@@ -1913,12 +1913,6 @@ class AuroFloatingUI {
1913
1913
  }
1914
1914
 
1915
1915
  setupHideHandlers() {
1916
- this.preventFocusLoseOnBibClick = (event) => {
1917
- event.preventDefault();
1918
- event.stopPropagation();
1919
- };
1920
- this.element.bib.addEventListener('mousedown', this.preventFocusLoseOnBibClick);
1921
-
1922
1916
  // Define handlers & store references
1923
1917
  this.focusHandler = () => this.handleFocusLoss();
1924
1918
 
@@ -1968,11 +1962,6 @@ class AuroFloatingUI {
1968
1962
  cleanupHideHandlers() {
1969
1963
  // Remove event listeners if they exist
1970
1964
 
1971
- if (this.preventFocusLoseOnBibClick) {
1972
- this.element.bib.removeEventListener('mousedown', this.preventFocusLoseOnBibClick);
1973
- delete this.preventFocusLoseOnBibClick;
1974
- }
1975
-
1976
1965
  if (this.focusHandler) {
1977
1966
  document.removeEventListener('focusin', this.focusHandler);
1978
1967
  this.focusHandler = null;
@@ -3472,6 +3461,7 @@ class AuroElement extends LitElement {
3472
3461
  * @slot trigger - Defines the content of the trigger.
3473
3462
  * @csspart trigger - The trigger content container.
3474
3463
  * @csspart chevron - The collapsed/expanded state icon container.
3464
+ * @csspart size - The size of the dropdown bib. (height, width, maxHeight, maxWidth only)
3475
3465
  * @csspart helpText - The helpText content container.
3476
3466
  * @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
3477
3467
  * @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
@@ -83,6 +83,7 @@ This configuration enables proper module resolution for the component's TypeScri
83
83
 
84
84
  ```html
85
85
  <auro-input>
86
+ <span slot="ariaLabel.clear">Clear All</span>
86
87
  <span slot="label">Label</span>
87
88
  <span slot="helpText">Help Text</span>
88
89
  </auro-input>
@@ -72,12 +72,15 @@ Generate unique names for dependency components.
72
72
 
73
73
  ## Slots
74
74
 
75
- | Name | Description |
76
- |-----------------|--------------------------------------------------|
77
- | [displayValue](#displayValue) | Allows custom HTML content to display in place of the value when the input is not focused. |
78
- | [helpText](#helpText) | Sets the help text displayed below the input. |
79
- | [label](#label) | Sets the label text for the input. |
80
- | [optionalLabel](#optionalLabel) | Allows overriding the optional display text "(optional)", which appears next to the label. |
75
+ | Name | Description |
76
+ |---------------------------|--------------------------------------------------|
77
+ | `ariaLabel.clear` | Sets aria-label on clear button for screenreader to read |
78
+ | `ariaLabel.password.hide` | Sets aria-label on password button to toggle off showing password |
79
+ | `ariaLabel.password.show` | Sets aria-label on password button to toggle on showing password |
80
+ | [displayValue](#displayValue) | Allows custom HTML content to display in place of the value when the input is not focused. |
81
+ | [helpText](#helpText) | Sets the help text displayed below the input. |
82
+ | [label](#label) | Sets the label text for the input. |
83
+ | [optionalLabel](#optionalLabel) | Allows overriding the optional display text "(optional)", which appears next to the label. |
81
84
 
82
85
  ## CSS Shadow Parts
83
86
 
@@ -113,6 +116,7 @@ The default component supports the basic input `type="text"` structure. The `(op
113
116
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
114
117
  <!-- The below content is automatically added from ./../apiExamples/basic.html -->
115
118
  <auro-input>
119
+ <span slot="ariaLabel.clear">Clear All</span>
116
120
  <span slot="label">Label</span>
117
121
  <span slot="helpText">Help Text</span>
118
122
  </auro-input>
@@ -134,6 +138,7 @@ The default component supports the basic input `type="text"` structure. The `(op
134
138
 
135
139
  ```html
136
140
  <auro-input>
141
+ <span slot="ariaLabel.clear">Clear All</span>
137
142
  <span slot="label">Label</span>
138
143
  <span slot="helpText">Help Text</span>
139
144
  </auro-input>
@@ -893,6 +898,9 @@ Default help text will be added to the input `type="password"` if custom help te
893
898
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/password.html) -->
894
899
  <!-- The below content is automatically added from ../apiExamples/password.html -->
895
900
  <auro-input type="password" required>
901
+ <span slot="ariaLabel.clear">Clear All</span>
902
+ <span slot="ariaLabel.password.show">Show</span>
903
+ <span slot="ariaLabel.password.hide">Hide</span>
896
904
  <span slot="label">Password</span>
897
905
  <span slot="helpText">Please enter a secure password.</span>
898
906
  </auro-input>
@@ -122,7 +122,7 @@ var styleCss$4 = i$5`.util_displayInline{display:inline}.util_displayInlineBlock
122
122
 
123
123
  var styleDefaultCss = i$5`.layoutDefault .typeIcon,:host(:not([layout])) .typeIcon{display:flex;flex-direction:row;align-items:center}.layoutDefault .typeIcon [auro-icon],:host(:not([layout])) .typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.layoutDefault .notificationIcons,:host(:not([layout])) .notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .typeIcon,:host(:not([layout])[bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .notificationIcons,:host(:not([layout])[bordered]) .notificationIcons{align-items:center}:host([class=layoutDefault][bordered]) .notification:not(:first-of-type),:host(:not([layout])[bordered]) .notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .alertNotification,:host(:not([layout])[bordered]) .alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}:host([class=layoutDefault][bordered]) .passwordBtn,:host(:not([layout])[bordered]) .passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}:host([class=layoutDefault][bordered]) .notificationBtn,:host(:not([layout])[bordered]) .notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}:host([class=layoutDefault][bordered]) .notificationBtn [auro-icon],:host(:not([layout])[bordered]) .notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}:host([class=layoutDefault][bordered]) .notificationBtn [auro-icon][hidden],:host(:not([layout])[bordered]) .notificationBtn [auro-icon][hidden]{display:none}:host([class=layoutDefault]:not([bordered])) .typeIcon,:host([class=layoutDefault]:not([bordered])) .notificationIcons,:host(:not([layout]):not([bordered])) .typeIcon,:host(:not([layout]):not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}:host([class=layoutDefault]:not([bordered])) .clearBtn,:host(:not([layout]):not([bordered])) .clearBtn{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);overflow:hidden;width:0;opacity:0}.layoutDefault .wrapper:hover .clearBtn,.layoutDefault .wrapper:focus-within .clearBtn,:host(:not([layout])) .wrapper:hover .clearBtn,:host(:not([layout])) .wrapper:focus-within .clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));opacity:1}:host([class=layoutDefault]:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification,:host(:not([layout]):focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}.layoutDefault input,:host(:not([layout])) input{border:unset}.layoutDefault .wrapper,:host(:not([layout])) .wrapper{position:relative;overflow:hidden;border-style:solid}:host([class=layoutDefault]:not([bordered],[borderless])) .wrapper,:host(:not([layout]):not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([class=layoutDefault][bordered]) .wrapper,:host(:not([layout])[bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host([class=layoutDefault]:not([borderless])) .wrapper:focus-within:before,:host(:not([layout]):not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([class=layoutDefault][validity]:not([validity=valid])) .wrapper:before,:host(:not([layout])[validity]:not([validity=valid])) .wrapper:before{border-bottom:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.layoutDefault :host,:host(:not([layout])) :host{position:relative;display:block}.layoutDefault .wrapper,:host(:not([layout])) .wrapper{display:flex;flex-direction:row}.layoutDefault .main,:host(:not([layout])) .main{display:flex;flex-direction:row;position:relative;flex:1}`;
124
124
 
125
- var colorBaseCss = i$5`.wrapper{border-color:var(--ds-auro-input-border-color);background-color:var(--ds-auro-input-background-color);color:var(--ds-auro-input-text-color)}.wrapper label{color:var(--ds-auro-input-label-text-color)}.wrapper input{caret-color:var(--ds-auro-input-caret-color);color:var(--ds-auro-input-text-color)}.wrapper input::placeholder{color:var(--ds-auro-input-placeholder-text-color)}.wrapper input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}:host(:not([ondark])) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-brand, #00274a)}:host([ondark]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff)}:host(:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([ondark]:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([ondark])[disabled]){--ds-auro-input-border-color: var(--ds-basic-color-border-subtle, #dddddd);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([ondark][disabled]){--ds-auro-input-border-color: var(--ds-advanced-color-button-primary-border-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}`;
125
+ var colorBaseCss = i$5`.wrapper{border-color:var(--ds-auro-input-border-color);background-color:var(--ds-auro-input-background-color);color:var(--ds-auro-input-text-color)}.wrapper label{color:var(--ds-auro-input-label-text-color)}.wrapper input{caret-color:var(--ds-auro-input-caret-color);color:var(--ds-auro-input-text-color)}.wrapper input::placeholder{color:var(--ds-auro-input-placeholder-text-color)}.wrapper input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}:host(:not([ondark])) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-brand, #00274a)}:host([ondark]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff)}:host(:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([ondark]:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([ondark])[disabled]){--ds-auro-input-border-color: var(--ds-basic-color-border-subtle, #dddddd);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-input-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([ondark][disabled]){--ds-auro-input-border-color: var(--ds-advanced-color-button-primary-border-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-input-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}`;
126
126
 
127
127
  var tokensCss$4 = i$5`:host(:not([ondark])){--ds-auro-input-border-color: var(--ds-basic-color-border-bold, #585e67);--ds-auro-input-background-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-input-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-input-caret-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-input-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-input-error-icon-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-input-outline-color: transparent}:host([ondark]){--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff);--ds-auro-input-background-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-input-container-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-input-caret-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-input-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-input-error-icon-color: var(--ds-basic-color-status-error-subtle, #fbc6c6);--ds-auro-input-outline-color: transparent}`;
128
128
 
@@ -5105,6 +5105,9 @@ let AuroElement$2 = class AuroElement extends i$2 {
5105
5105
  * @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
5106
5106
  * @attr id
5107
5107
  *
5108
+ * @slot ariaLabel.clear - Sets aria-label on clear button for screenreader to read
5109
+ * @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
5110
+ * @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
5108
5111
  * @slot helpText - Sets the help text displayed below the input.
5109
5112
  * @slot label - Sets the label text for the input.
5110
5113
  * @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
@@ -5532,8 +5535,7 @@ class BaseInput extends AuroElement$2 {
5532
5535
  * Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
5533
5536
  */
5534
5537
  value: {
5535
- type: String,
5536
- reflect: true
5538
+ type: String
5537
5539
  },
5538
5540
 
5539
5541
  /**
@@ -8245,12 +8247,13 @@ class AuroInput extends BaseInput {
8245
8247
  <${this.buttonTag}
8246
8248
  @click="${this.handleClickClear}"
8247
8249
  ?onDark="${this.onDark}"
8248
- aria-label="${i18n(this.lang, 'clearInput')}"
8249
8250
  class="notificationBtn clearBtn"
8250
8251
  shape="circle"
8251
8252
  size="sm"
8252
8253
  variant="ghost">
8254
+ <span><slot name="ariaLabel.clear">Clear Input</slot></span>
8253
8255
  <${this.iconTag}
8256
+ aria-hidden="true"
8254
8257
  ?customColor="${this.onDark}"
8255
8258
  category="interface"
8256
8259
  name="x-lg"
@@ -8273,18 +8276,23 @@ class AuroInput extends BaseInput {
8273
8276
  @click="${this.handleClickShowPassword}"
8274
8277
  ?onDark="${this.onDark}"
8275
8278
  class="notificationBtn passwordBtn"
8276
- aria-label="${this.showPassword ? i18n(this.lang, "hidePassword") : i18n(this.lang, "showPassword")}"
8277
8279
  shape="circle"
8278
8280
  size="sm"
8279
8281
  variant="ghost">
8282
+ <span>
8283
+ ${this.showPassword ? u$2`<slot name="ariaLabel.password.hide">Hide Password</slot>`
8284
+ : u$2`<slot name="ariaLabel.password.show">Show Password</slot>`}
8285
+ </span>
8280
8286
  <${this.iconTag}
8281
8287
  ?customColor="${this.onDark}"
8288
+ aria-hidden="true"
8282
8289
  ?hidden=${!this.showPassword}
8283
8290
  category="interface"
8284
8291
  name="hide-password-stroke">
8285
8292
  </${this.iconTag}>
8286
8293
  <${this.iconTag}
8287
8294
  ?customColor="${this.onDark}"
8295
+ aria-hidden="true"
8288
8296
  ?hidden=${this.showPassword}
8289
8297
  category="interface"
8290
8298
  name="view-password-stroke">