@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
@@ -1913,8 +1913,9 @@ class AuroBibtemplate extends LitElement {
1913
1913
  <${this.headerTag} class="header" display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
1914
1914
  <slot name="header"></slot>
1915
1915
  </${this.headerTag}>
1916
- <${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
1917
- <${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
1916
+ <${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
1917
+ <span><slot name="ariaLabel.close">Close</slot></span>
1918
+ <${this.iconTag} aria-hidden="true" category="interface" name="x-lg"></${this.iconTag}>
1918
1919
  </${this.buttonTag}>
1919
1920
  </div>
1920
1921
  <span class="subheader">
@@ -1913,8 +1913,9 @@ class AuroBibtemplate extends LitElement {
1913
1913
  <${this.headerTag} class="header" display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
1914
1914
  <slot name="header"></slot>
1915
1915
  </${this.headerTag}>
1916
- <${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
1917
- <${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
1916
+ <${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
1917
+ <span><slot name="ariaLabel.close">Close</slot></span>
1918
+ <${this.iconTag} aria-hidden="true" category="interface" name="x-lg"></${this.iconTag}>
1918
1919
  </${this.buttonTag}>
1919
1920
  </div>
1920
1921
  <span class="subheader">
@@ -84,6 +84,8 @@ This configuration enables proper module resolution for the component's TypeScri
84
84
 
85
85
  ```html
86
86
  <auro-combobox>
87
+ <span slot="ariaLabel.bib.close">Close combobox</span>
88
+ <span slot="ariaLabel.input.clear">Clear All</span>
87
89
  <span slot="bib.fullscreen.headline">Bib Header</span>
88
90
  <span slot="label">Name</span>
89
91
  <auro-menu>
@@ -59,6 +59,8 @@
59
59
  | Name | Description |
60
60
  |---------------------------|--------------------------------------------------|
61
61
  | | Default slot for the menu content. |
62
+ | `ariaLabel.bib.close` | Sets aria-label on close button in fullscreen bib |
63
+ | `ariaLabel.input.clear` | Sets aria-label on clear button |
62
64
  | `bib.fullscreen.headline` | Defines the headline to display above menu-options |
63
65
  | [displayValue](#displayValue) | Allows custom HTML content to display the selected value when the combobox is not focused. Only works with `snowflake` and `emphasized` layouts. |
64
66
  | [helpText](#helpText) | Defines the content of the helpText. |
@@ -74,6 +76,8 @@
74
76
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
75
77
  <!-- The below content is automatically added from ./../apiExamples/basic.html -->
76
78
  <auro-combobox>
79
+ <span slot="ariaLabel.bib.close">Close combobox</span>
80
+ <span slot="ariaLabel.input.clear">Clear All</span>
77
81
  <span slot="bib.fullscreen.headline">Bib Header</span>
78
82
  <span slot="label">Name</span>
79
83
  <auro-menu>
@@ -111,6 +115,8 @@
111
115
 
112
116
  ```html
113
117
  <auro-combobox>
118
+ <span slot="ariaLabel.bib.close">Close combobox</span>
119
+ <span slot="ariaLabel.input.clear">Clear All</span>
114
120
  <span slot="bib.fullscreen.headline">Bib Header</span>
115
121
  <span slot="label">Name</span>
116
122
  <auro-menu>
@@ -3023,12 +3023,6 @@ class AuroFloatingUI {
3023
3023
  }
3024
3024
 
3025
3025
  setupHideHandlers() {
3026
- this.preventFocusLoseOnBibClick = (event) => {
3027
- event.preventDefault();
3028
- event.stopPropagation();
3029
- };
3030
- this.element.bib.addEventListener('mousedown', this.preventFocusLoseOnBibClick);
3031
-
3032
3026
  // Define handlers & store references
3033
3027
  this.focusHandler = () => this.handleFocusLoss();
3034
3028
 
@@ -3078,11 +3072,6 @@ class AuroFloatingUI {
3078
3072
  cleanupHideHandlers() {
3079
3073
  // Remove event listeners if they exist
3080
3074
 
3081
- if (this.preventFocusLoseOnBibClick) {
3082
- this.element.bib.removeEventListener('mousedown', this.preventFocusLoseOnBibClick);
3083
- delete this.preventFocusLoseOnBibClick;
3084
- }
3085
-
3086
3075
  if (this.focusHandler) {
3087
3076
  document.removeEventListener('focusin', this.focusHandler);
3088
3077
  this.focusHandler = null;
@@ -4582,6 +4571,7 @@ let AuroElement$4 = class AuroElement extends i$2 {
4582
4571
  * @slot trigger - Defines the content of the trigger.
4583
4572
  * @csspart trigger - The trigger content container.
4584
4573
  * @csspart chevron - The collapsed/expanded state icon container.
4574
+ * @csspart size - The size of the dropdown bib. (height, width, maxHeight, maxWidth only)
4585
4575
  * @csspart helpText - The helpText content container.
4586
4576
  * @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
4587
4577
  * @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
@@ -5487,7 +5477,7 @@ var styleCss$4$2 = i$5`.util_displayInline{display:inline}.util_displayInlineBlo
5487
5477
 
5488
5478
  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}`;
5489
5479
 
5490
- 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)}`;
5480
+ 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)}`;
5491
5481
 
5492
5482
  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}`;
5493
5483
 
@@ -10431,6 +10421,9 @@ let AuroElement$2$1 = class AuroElement extends i$2 {
10431
10421
  * @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
10432
10422
  * @attr id
10433
10423
  *
10424
+ * @slot ariaLabel.clear - Sets aria-label on clear button for screenreader to read
10425
+ * @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
10426
+ * @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
10434
10427
  * @slot helpText - Sets the help text displayed below the input.
10435
10428
  * @slot label - Sets the label text for the input.
10436
10429
  * @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
@@ -10858,8 +10851,7 @@ class BaseInput extends AuroElement$2$1 {
10858
10851
  * Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
10859
10852
  */
10860
10853
  value: {
10861
- type: String,
10862
- reflect: true
10854
+ type: String
10863
10855
  },
10864
10856
 
10865
10857
  /**
@@ -13571,12 +13563,13 @@ class AuroInput extends BaseInput {
13571
13563
  <${this.buttonTag}
13572
13564
  @click="${this.handleClickClear}"
13573
13565
  ?onDark="${this.onDark}"
13574
- aria-label="${i18n(this.lang, 'clearInput')}"
13575
13566
  class="notificationBtn clearBtn"
13576
13567
  shape="circle"
13577
13568
  size="sm"
13578
13569
  variant="ghost">
13570
+ <span><slot name="ariaLabel.clear">Clear Input</slot></span>
13579
13571
  <${this.iconTag}
13572
+ aria-hidden="true"
13580
13573
  ?customColor="${this.onDark}"
13581
13574
  category="interface"
13582
13575
  name="x-lg"
@@ -13599,18 +13592,23 @@ class AuroInput extends BaseInput {
13599
13592
  @click="${this.handleClickShowPassword}"
13600
13593
  ?onDark="${this.onDark}"
13601
13594
  class="notificationBtn passwordBtn"
13602
- aria-label="${this.showPassword ? i18n(this.lang, "hidePassword") : i18n(this.lang, "showPassword")}"
13603
13595
  shape="circle"
13604
13596
  size="sm"
13605
13597
  variant="ghost">
13598
+ <span>
13599
+ ${this.showPassword ? u$2`<slot name="ariaLabel.password.hide">Hide Password</slot>`
13600
+ : u$2`<slot name="ariaLabel.password.show">Show Password</slot>`}
13601
+ </span>
13606
13602
  <${this.iconTag}
13607
13603
  ?customColor="${this.onDark}"
13604
+ aria-hidden="true"
13608
13605
  ?hidden=${!this.showPassword}
13609
13606
  category="interface"
13610
13607
  name="hide-password-stroke">
13611
13608
  </${this.iconTag}>
13612
13609
  <${this.iconTag}
13613
13610
  ?customColor="${this.onDark}"
13611
+ aria-hidden="true"
13614
13612
  ?hidden=${this.showPassword}
13615
13613
  category="interface"
13616
13614
  name="view-password-stroke">
@@ -15732,8 +15730,9 @@ class AuroBibtemplate extends i$2 {
15732
15730
  <${this.headerTag} class="header" display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
15733
15731
  <slot name="header"></slot>
15734
15732
  </${this.headerTag}>
15735
- <${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
15736
- <${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
15733
+ <${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
15734
+ <span><slot name="ariaLabel.close">Close</slot></span>
15735
+ <${this.iconTag} aria-hidden="true" category="interface" name="x-lg"></${this.iconTag}>
15737
15736
  </${this.buttonTag}>
15738
15737
  </div>
15739
15738
  <span class="subheader">
@@ -16069,6 +16068,8 @@ class AuroHelpText extends i$2 {
16069
16068
  /**
16070
16069
  * @slot - Default slot for the menu content.
16071
16070
  * @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
16071
+ * @slot ariaLabel.input.clear - Sets aria-label on clear button
16072
+ * @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
16072
16073
  * @slot bib.fullscreen.headline - Defines the headline to display above menu-options
16073
16074
  * @slot label - Defines the content of the label.
16074
16075
  * @slot helpText - Defines the content of the helpText.
@@ -16888,9 +16889,7 @@ class AuroCombobox extends AuroElement$1 {
16888
16889
  if (this.dropdown.isBibFullscreen) {
16889
16890
 
16890
16891
  // when focus is on the input, move focus back to close button with Tab key
16891
- if (document.activeElement.shadowRoot.activeElement === this.inputInBib &&
16892
- this.inputInBib.shadowRoot.activeElement.tagName !== 'INPUT' &&
16893
- !evt.shiftKey) {
16892
+ if (document.activeElement.shadowRoot.activeElement === this.inputInBib) {
16894
16893
  evt.preventDefault();
16895
16894
  this.dropdown.focus();
16896
16895
  }
@@ -17069,13 +17068,13 @@ class AuroCombobox extends AuroElement$1 {
17069
17068
 
17070
17069
  this.handleMenuOptions();
17071
17070
  break;
17071
+
17072
+ // Programmatically inject as the slot cannot be carried over to bibtemplate.
17073
+ // It's because the bib is/will be separated from dropdown to body.
17072
17074
  case 'label':
17073
- // Programmatically inject as the slot cannot be carried over to bibtemplate.
17074
- // It's because the bib is/will be separated from dropdown to body.
17075
- this.transportAssignedNodes(event.target, this.inputInBib, "label");
17076
- break;
17075
+ case 'ariaLabel.input.clear':
17077
17076
  case 'optionalLabel':
17078
- this.transportAssignedNodes(event.target, this.inputInBib, "optionalLabel");
17077
+ this.transportAssignedNodes(event.target, this.inputInBib, event.target.name);
17079
17078
  break;
17080
17079
  case 'bib.fullscreen.headline':
17081
17080
  this.transportAssignedNodes(event.target, this.bibtemplate, 'header');
@@ -17146,6 +17145,7 @@ class AuroCombobox extends AuroElement$1 {
17146
17145
  shape="${this.shape}"
17147
17146
  size="${this.size}"
17148
17147
  slot="trigger">
17148
+ <slot name="ariaLabel.input.clear" slot="ariaLabel.clear" @slotchange="${this.handleSlotChange}"></slot>
17149
17149
  <slot name="label" slot="label" @slotchange="${this.handleSlotChange}"></slot>
17150
17150
  <slot name="optionalLabel" slot="optionalLabel" @slotchange="${this.handleSlotChange}"> (optional)</slot>
17151
17151
  <slot name="displayValue" slot="displayValue"></slot>
@@ -17153,6 +17153,7 @@ class AuroCombobox extends AuroElement$1 {
17153
17153
 
17154
17154
  <${this.bibtemplateTag} ?large="${this.largeFullscreenHeadline}">
17155
17155
  <slot name="bib.fullscreen.headline" slot="header"></slot>
17156
+ <slot name="ariaLabel.bib.close" slot="ariaLabel.close">Close</slot>
17156
17157
  <slot></slot>
17157
17158
  <${this.inputTag}
17158
17159
  id="inputInBib"
@@ -28,6 +28,8 @@ The `<auro-combobox>` element should be used in situations where users may:
28
28
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/classic/basic.html) -->
29
29
  <!-- The below content is automatically added from ./../apiExamples/classic/basic.html -->
30
30
  <auro-combobox layout="classic" shape="classic" size="lg" placeholder="Placeholder content" required style="width: 249px;">
31
+ <span slot="ariaLabel.bib.close">Close combobox</span>
32
+ <span slot="ariaLabel.input.clear">Clear All</span>
31
33
  <span slot="bib.fullscreen.headline">Bib Header</span>
32
34
  <span slot="label">Name</span>
33
35
  <auro-menu>
@@ -48,6 +50,8 @@ The `<auro-combobox>` element should be used in situations where users may:
48
50
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/classic/onDark.html) -->
49
51
  <!-- The below content is automatically added from ./../apiExamples/classic/onDark.html -->
50
52
  <auro-combobox layout="classic" shape="classic" size="lg" placeholder="Placeholder content" ondark required style="width: 249px;">
53
+ <span slot="ariaLabel.bib.close">Close combobox</span>
54
+ <span slot="ariaLabel.input.clear">Clear All</span>
51
55
  <span slot="bib.fullscreen.headline">Bib Header</span>
52
56
  <span slot="label">Name</span>
53
57
  <auro-menu>
@@ -71,6 +75,8 @@ The `<auro-combobox>` element should be used in situations where users may:
71
75
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/emphasized/basic.html) -->
72
76
  <!-- The below content is automatically added from ./../apiExamples/emphasized/basic.html -->
73
77
  <auro-combobox layout="emphasized" value="Oranges" shape="pill" size="xl" placeholder="Placeholder content" required ondark style="width: 249px;">
78
+ <span slot="ariaLabel.bib.close">Close combobox</span>
79
+ <span slot="ariaLabel.input.clear">Clear All</span>
74
80
  <span slot="bib.fullscreen.headline">Bib Header</span>
75
81
  <span slot="label">Name</span>
76
82
  <auro-menu>
@@ -100,6 +106,8 @@ The `<auro-combobox>` element should be used in situations where users may:
100
106
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/snowflake/basic.html) -->
101
107
  <!-- The below content is automatically added from ./../apiExamples/snowflake/basic.html -->
102
108
  <auro-combobox layout="snowflake" shape="snowflake" size="lg" placeholder="Placeholder content" required ondark style="width: 249px;">
109
+ <span slot="ariaLabel.bib.close">Close combobox</span>
110
+ <span slot="ariaLabel.input.clear">Clear All</span>
103
111
  <span slot="bib.fullscreen.headline">Bib Header</span>
104
112
  <span slot="label">Name</span>
105
113
  <auro-menu>
@@ -120,6 +128,8 @@ The `<auro-combobox>` element should be used in situations where users may:
120
128
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
121
129
  <!-- The below content is automatically added from ./../apiExamples/basic.html -->
122
130
  <auro-combobox>
131
+ <span slot="ariaLabel.bib.close">Close combobox</span>
132
+ <span slot="ariaLabel.input.clear">Clear All</span>
123
133
  <span slot="bib.fullscreen.headline">Bib Header</span>
124
134
  <span slot="label">Name</span>
125
135
  <auro-menu>
@@ -157,6 +167,8 @@ The `<auro-combobox>` element should be used in situations where users may:
157
167
 
158
168
  ```html
159
169
  <auro-combobox>
170
+ <span slot="ariaLabel.bib.close">Close combobox</span>
171
+ <span slot="ariaLabel.input.clear">Clear All</span>
160
172
  <span slot="bib.fullscreen.headline">Bib Header</span>
161
173
  <span slot="label">Name</span>
162
174
  <auro-menu>
@@ -2881,12 +2881,6 @@ class AuroFloatingUI {
2881
2881
  }
2882
2882
 
2883
2883
  setupHideHandlers() {
2884
- this.preventFocusLoseOnBibClick = (event) => {
2885
- event.preventDefault();
2886
- event.stopPropagation();
2887
- };
2888
- this.element.bib.addEventListener('mousedown', this.preventFocusLoseOnBibClick);
2889
-
2890
2884
  // Define handlers & store references
2891
2885
  this.focusHandler = () => this.handleFocusLoss();
2892
2886
 
@@ -2936,11 +2930,6 @@ class AuroFloatingUI {
2936
2930
  cleanupHideHandlers() {
2937
2931
  // Remove event listeners if they exist
2938
2932
 
2939
- if (this.preventFocusLoseOnBibClick) {
2940
- this.element.bib.removeEventListener('mousedown', this.preventFocusLoseOnBibClick);
2941
- delete this.preventFocusLoseOnBibClick;
2942
- }
2943
-
2944
2933
  if (this.focusHandler) {
2945
2934
  document.removeEventListener('focusin', this.focusHandler);
2946
2935
  this.focusHandler = null;
@@ -4440,6 +4429,7 @@ let AuroElement$4 = class AuroElement extends i$2 {
4440
4429
  * @slot trigger - Defines the content of the trigger.
4441
4430
  * @csspart trigger - The trigger content container.
4442
4431
  * @csspart chevron - The collapsed/expanded state icon container.
4432
+ * @csspart size - The size of the dropdown bib. (height, width, maxHeight, maxWidth only)
4443
4433
  * @csspart helpText - The helpText content container.
4444
4434
  * @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
4445
4435
  * @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
@@ -5345,7 +5335,7 @@ var styleCss$4$2 = i$5`.util_displayInline{display:inline}.util_displayInlineBlo
5345
5335
 
5346
5336
  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}`;
5347
5337
 
5348
- 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)}`;
5338
+ 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)}`;
5349
5339
 
5350
5340
  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}`;
5351
5341
 
@@ -10289,6 +10279,9 @@ let AuroElement$2$1 = class AuroElement extends i$2 {
10289
10279
  * @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
10290
10280
  * @attr id
10291
10281
  *
10282
+ * @slot ariaLabel.clear - Sets aria-label on clear button for screenreader to read
10283
+ * @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
10284
+ * @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
10292
10285
  * @slot helpText - Sets the help text displayed below the input.
10293
10286
  * @slot label - Sets the label text for the input.
10294
10287
  * @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
@@ -10716,8 +10709,7 @@ class BaseInput extends AuroElement$2$1 {
10716
10709
  * Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
10717
10710
  */
10718
10711
  value: {
10719
- type: String,
10720
- reflect: true
10712
+ type: String
10721
10713
  },
10722
10714
 
10723
10715
  /**
@@ -13429,12 +13421,13 @@ class AuroInput extends BaseInput {
13429
13421
  <${this.buttonTag}
13430
13422
  @click="${this.handleClickClear}"
13431
13423
  ?onDark="${this.onDark}"
13432
- aria-label="${i18n(this.lang, 'clearInput')}"
13433
13424
  class="notificationBtn clearBtn"
13434
13425
  shape="circle"
13435
13426
  size="sm"
13436
13427
  variant="ghost">
13428
+ <span><slot name="ariaLabel.clear">Clear Input</slot></span>
13437
13429
  <${this.iconTag}
13430
+ aria-hidden="true"
13438
13431
  ?customColor="${this.onDark}"
13439
13432
  category="interface"
13440
13433
  name="x-lg"
@@ -13457,18 +13450,23 @@ class AuroInput extends BaseInput {
13457
13450
  @click="${this.handleClickShowPassword}"
13458
13451
  ?onDark="${this.onDark}"
13459
13452
  class="notificationBtn passwordBtn"
13460
- aria-label="${this.showPassword ? i18n(this.lang, "hidePassword") : i18n(this.lang, "showPassword")}"
13461
13453
  shape="circle"
13462
13454
  size="sm"
13463
13455
  variant="ghost">
13456
+ <span>
13457
+ ${this.showPassword ? u$2`<slot name="ariaLabel.password.hide">Hide Password</slot>`
13458
+ : u$2`<slot name="ariaLabel.password.show">Show Password</slot>`}
13459
+ </span>
13464
13460
  <${this.iconTag}
13465
13461
  ?customColor="${this.onDark}"
13462
+ aria-hidden="true"
13466
13463
  ?hidden=${!this.showPassword}
13467
13464
  category="interface"
13468
13465
  name="hide-password-stroke">
13469
13466
  </${this.iconTag}>
13470
13467
  <${this.iconTag}
13471
13468
  ?customColor="${this.onDark}"
13469
+ aria-hidden="true"
13472
13470
  ?hidden=${this.showPassword}
13473
13471
  category="interface"
13474
13472
  name="view-password-stroke">
@@ -15590,8 +15588,9 @@ class AuroBibtemplate extends i$2 {
15590
15588
  <${this.headerTag} class="header" display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
15591
15589
  <slot name="header"></slot>
15592
15590
  </${this.headerTag}>
15593
- <${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
15594
- <${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
15591
+ <${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
15592
+ <span><slot name="ariaLabel.close">Close</slot></span>
15593
+ <${this.iconTag} aria-hidden="true" category="interface" name="x-lg"></${this.iconTag}>
15595
15594
  </${this.buttonTag}>
15596
15595
  </div>
15597
15596
  <span class="subheader">
@@ -15927,6 +15926,8 @@ class AuroHelpText extends i$2 {
15927
15926
  /**
15928
15927
  * @slot - Default slot for the menu content.
15929
15928
  * @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
15929
+ * @slot ariaLabel.input.clear - Sets aria-label on clear button
15930
+ * @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
15930
15931
  * @slot bib.fullscreen.headline - Defines the headline to display above menu-options
15931
15932
  * @slot label - Defines the content of the label.
15932
15933
  * @slot helpText - Defines the content of the helpText.
@@ -16746,9 +16747,7 @@ class AuroCombobox extends AuroElement$1 {
16746
16747
  if (this.dropdown.isBibFullscreen) {
16747
16748
 
16748
16749
  // when focus is on the input, move focus back to close button with Tab key
16749
- if (document.activeElement.shadowRoot.activeElement === this.inputInBib &&
16750
- this.inputInBib.shadowRoot.activeElement.tagName !== 'INPUT' &&
16751
- !evt.shiftKey) {
16750
+ if (document.activeElement.shadowRoot.activeElement === this.inputInBib) {
16752
16751
  evt.preventDefault();
16753
16752
  this.dropdown.focus();
16754
16753
  }
@@ -16927,13 +16926,13 @@ class AuroCombobox extends AuroElement$1 {
16927
16926
 
16928
16927
  this.handleMenuOptions();
16929
16928
  break;
16929
+
16930
+ // Programmatically inject as the slot cannot be carried over to bibtemplate.
16931
+ // It's because the bib is/will be separated from dropdown to body.
16930
16932
  case 'label':
16931
- // Programmatically inject as the slot cannot be carried over to bibtemplate.
16932
- // It's because the bib is/will be separated from dropdown to body.
16933
- this.transportAssignedNodes(event.target, this.inputInBib, "label");
16934
- break;
16933
+ case 'ariaLabel.input.clear':
16935
16934
  case 'optionalLabel':
16936
- this.transportAssignedNodes(event.target, this.inputInBib, "optionalLabel");
16935
+ this.transportAssignedNodes(event.target, this.inputInBib, event.target.name);
16937
16936
  break;
16938
16937
  case 'bib.fullscreen.headline':
16939
16938
  this.transportAssignedNodes(event.target, this.bibtemplate, 'header');
@@ -17004,6 +17003,7 @@ class AuroCombobox extends AuroElement$1 {
17004
17003
  shape="${this.shape}"
17005
17004
  size="${this.size}"
17006
17005
  slot="trigger">
17006
+ <slot name="ariaLabel.input.clear" slot="ariaLabel.clear" @slotchange="${this.handleSlotChange}"></slot>
17007
17007
  <slot name="label" slot="label" @slotchange="${this.handleSlotChange}"></slot>
17008
17008
  <slot name="optionalLabel" slot="optionalLabel" @slotchange="${this.handleSlotChange}"> (optional)</slot>
17009
17009
  <slot name="displayValue" slot="displayValue"></slot>
@@ -17011,6 +17011,7 @@ class AuroCombobox extends AuroElement$1 {
17011
17011
 
17012
17012
  <${this.bibtemplateTag} ?large="${this.largeFullscreenHeadline}">
17013
17013
  <slot name="bib.fullscreen.headline" slot="header"></slot>
17014
+ <slot name="ariaLabel.bib.close" slot="ariaLabel.close">Close</slot>
17014
17015
  <slot></slot>
17015
17016
  <${this.inputTag}
17016
17017
  id="inputInBib"
@@ -84,6 +84,8 @@ This configuration enables proper module resolution for the component's TypeScri
84
84
 
85
85
  ```html
86
86
  <auro-combobox>
87
+ <span slot="ariaLabel.bib.close">Close combobox</span>
88
+ <span slot="ariaLabel.input.clear">Clear All</span>
87
89
  <span slot="bib.fullscreen.headline">Bib Header</span>
88
90
  <span slot="label">Name</span>
89
91
  <auro-menu>
@@ -1,6 +1,8 @@
1
1
  /**
2
2
  * @slot - Default slot for the menu content.
3
3
  * @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
4
+ * @slot ariaLabel.input.clear - Sets aria-label on clear button
5
+ * @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
4
6
  * @slot bib.fullscreen.headline - Defines the headline to display above menu-options
5
7
  * @slot label - Defines the content of the label.
6
8
  * @slot helpText - Defines the content of the helpText.