@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.97 → 0.0.0-pr624.99

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 (50) 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 +26 -15
  6. package/components/combobox/demo/index.md +12 -0
  7. package/components/combobox/demo/index.min.js +26 -15
  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 +25 -14
  11. package/components/combobox/dist/registered.js +25 -14
  12. package/components/counter/demo/api.md +9 -0
  13. package/components/counter/demo/api.min.js +5 -2
  14. package/components/counter/demo/index.md +6 -0
  15. package/components/counter/demo/index.min.js +5 -2
  16. package/components/counter/dist/auro-counter-group.d.ts +1 -0
  17. package/components/counter/dist/index.js +5 -2
  18. package/components/counter/dist/registered.js +5 -2
  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 +18 -6
  22. package/components/datepicker/demo/index.md +12 -0
  23. package/components/datepicker/demo/index.min.js +18 -6
  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 +18 -6
  27. package/components/datepicker/dist/registered.js +18 -6
  28. package/components/input/README.md +1 -0
  29. package/components/input/demo/api.md +14 -6
  30. package/components/input/demo/api.min.js +12 -4
  31. package/components/input/demo/index.md +7 -0
  32. package/components/input/demo/index.min.js +12 -4
  33. package/components/input/demo/readme.md +1 -0
  34. package/components/input/dist/base-input.d.ts +3 -1
  35. package/components/input/dist/index.js +12 -4
  36. package/components/input/dist/registered.js +12 -4
  37. package/components/menu/demo/api.min.js +1 -1
  38. package/components/menu/demo/index.min.js +1 -1
  39. package/components/menu/dist/index.js +1 -1
  40. package/components/menu/dist/registered.js +1 -1
  41. package/components/select/README.md +1 -0
  42. package/components/select/demo/api.md +3 -0
  43. package/components/select/demo/api.min.js +8 -3
  44. package/components/select/demo/index.md +8 -0
  45. package/components/select/demo/index.min.js +8 -3
  46. package/components/select/demo/readme.md +1 -0
  47. package/components/select/dist/auro-select.d.ts +1 -0
  48. package/components/select/dist/index.js +7 -2
  49. package/components/select/dist/registered.js +7 -2
  50. package/package.json +1 -1
@@ -24,6 +24,7 @@ The `<auro-datepicker>` element should be used in situations where users may:
24
24
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/snowflake/ondark.html) -->
25
25
  <!-- The below content is automatically added from ./../apiExamples/snowflake/ondark.html -->
26
26
  <auro-datepicker layout="snowflake" shape="snowflake" ondark placeholder="MM/DD">
27
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
27
28
  <span slot="label">Date</span>
28
29
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
29
30
  <span slot="fromLabel">Choose a date</span>
@@ -35,6 +36,7 @@ The `<auro-datepicker>` element should be used in situations where users may:
35
36
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/snowflake/ondark.html) -->
36
37
  <!-- The below content is automatically added from ./../apiExamples/snowflake/ondark.html -->
37
38
  <auro-datepicker layout="snowflake" shape="snowflake" ondark placeholder="MM/DD">
39
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
38
40
  <span slot="label">Date</span>
39
41
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
40
42
  <span slot="fromLabel">Choose a date</span>
@@ -49,6 +51,7 @@ The `<auro-datepicker>` element should be used in situations where users may:
49
51
 
50
52
  ```html
51
53
  <auro-datepicker layout="snowflake" shape="snowflake" ondark placeholder="MM/DD">
54
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
52
55
  <span slot="label">Date</span>
53
56
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
54
57
  <span slot="fromLabel">Choose a date</span>
@@ -63,6 +66,7 @@ The `<auro-datepicker>` element should be used in situations where users may:
63
66
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/snowflake/ondark-range.html) -->
64
67
  <!-- The below content is automatically added from ./../apiExamples/snowflake/ondark-range.html -->
65
68
  <auro-datepicker range layout="snowflake" shape="snowflake" ondark placeholder="MM/DD">
69
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
66
70
  <span slot="label">Dates</span>
67
71
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
68
72
  <span slot="fromLabel">Choose a date</span>
@@ -74,6 +78,7 @@ The `<auro-datepicker>` element should be used in situations where users may:
74
78
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/snowflake/ondark-range.html) -->
75
79
  <!-- The below content is automatically added from ./../apiExamples/snowflake/ondark-range.html -->
76
80
  <auro-datepicker range layout="snowflake" shape="snowflake" ondark placeholder="MM/DD">
81
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
77
82
  <span slot="label">Dates</span>
78
83
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
79
84
  <span slot="fromLabel">Choose a date</span>
@@ -88,6 +93,7 @@ The `<auro-datepicker>` element should be used in situations where users may:
88
93
 
89
94
  ```html
90
95
  <auro-datepicker range layout="snowflake" shape="snowflake" ondark placeholder="MM/DD">
96
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
91
97
  <span slot="label">Dates</span>
92
98
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
93
99
  <span slot="fromLabel">Choose a date</span>
@@ -103,6 +109,7 @@ The `<auro-datepicker>` element should be used in situations where users may:
103
109
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
104
110
  <!-- The below content is automatically added from ./../apiExamples/basic.html -->
105
111
  <auro-datepicker required="">
112
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
106
113
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
107
114
  <span slot="fromLabel">Choose a date</span>
108
115
  <span slot="bib.fullscreen.dateLabel">Choose a date</span>
@@ -113,6 +120,7 @@ The `<auro-datepicker>` element should be used in situations where users may:
113
120
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDark.html) -->
114
121
  <!-- The below content is automatically added from ./../apiExamples/onDark.html -->
115
122
  <auro-datepicker onDark>
123
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
116
124
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
117
125
  <span slot="fromLabel">Choose a date</span>
118
126
  <span slot="bib.fullscreen.dateLabel">Choose a date</span>
@@ -126,6 +134,7 @@ The `<auro-datepicker>` element should be used in situations where users may:
126
134
 
127
135
  ```html
128
136
  <auro-datepicker required="">
137
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
129
138
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
130
139
  <span slot="fromLabel">Choose a date</span>
131
140
  <span slot="bib.fullscreen.dateLabel">Choose a date</span>
@@ -135,6 +144,7 @@ The `<auro-datepicker>` element should be used in situations where users may:
135
144
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDark.html) -->
136
145
  <!-- The below content is automatically added from ./../apiExamples/onDark.html -->
137
146
  <auro-datepicker onDark>
147
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
138
148
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
139
149
  <span slot="fromLabel">Choose a date</span>
140
150
  <span slot="bib.fullscreen.dateLabel">Choose a date</span>
@@ -148,6 +158,7 @@ The `<auro-datepicker>` element should be used in situations where users may:
148
158
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
149
159
  <!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
150
160
  <auro-datepicker range minDate="07/08/2025">
161
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
151
162
  <span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
152
163
  <span slot="fromLabel">Departure</span>
153
164
  <span slot="toLabel">Return</span>
@@ -173,6 +184,7 @@ The `<auro-datepicker>` element should be used in situations where users may:
173
184
 
174
185
  ```html
175
186
  <auro-datepicker range minDate="07/08/2025">
187
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
176
188
  <span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
177
189
  <span slot="fromLabel">Departure</span>
178
190
  <span slot="toLabel">Return</span>
@@ -12814,8 +12814,9 @@ class AuroBibtemplate extends i {
12814
12814
  <${this.headerTag} class="header" display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
12815
12815
  <slot name="header"></slot>
12816
12816
  </${this.headerTag}>
12817
- <${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
12818
- <${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
12817
+ <${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
12818
+ <span><slot name="ariaLabel.close">Close</slot></span>
12819
+ <${this.iconTag} aria-hidden="true" category="interface" name="x-lg"></${this.iconTag}>
12819
12820
  </${this.buttonTag}>
12820
12821
  </div>
12821
12822
  <span class="subheader">
@@ -14248,6 +14249,7 @@ class AuroCalendar extends RangeDatepicker {
14248
14249
  ?large="${this.largeFullscreenHeadline}"
14249
14250
  ?isFullscreen="${this.isFullscreen}"
14250
14251
  @close-click="${this.utilCal.requestDismiss}">
14252
+ <span slot="ariaLabel.close">${this.slots["ariaLabel.bib.close"]}</span>
14251
14253
 
14252
14254
  <span slot="header">${this.slots["bib.fullscreen.headline"]}</span>
14253
14255
 
@@ -23606,6 +23608,9 @@ let AuroElement$2 = class AuroElement extends i {
23606
23608
  * @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
23607
23609
  * @attr id
23608
23610
  *
23611
+ * @slot ariaLabel.clear - Sets aria-label on clear button for screenreader to read
23612
+ * @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
23613
+ * @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
23609
23614
  * @slot helpText - Sets the help text displayed below the input.
23610
23615
  * @slot label - Sets the label text for the input.
23611
23616
  * @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
@@ -24033,8 +24038,7 @@ class BaseInput extends AuroElement$2 {
24033
24038
  * Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
24034
24039
  */
24035
24040
  value: {
24036
- type: String,
24037
- reflect: true
24041
+ type: String
24038
24042
  },
24039
24043
 
24040
24044
  /**
@@ -26746,12 +26750,13 @@ class AuroInput extends BaseInput {
26746
26750
  <${this.buttonTag}
26747
26751
  @click="${this.handleClickClear}"
26748
26752
  ?onDark="${this.onDark}"
26749
- aria-label="${i18n$1(this.lang, 'clearInput')}"
26750
26753
  class="notificationBtn clearBtn"
26751
26754
  shape="circle"
26752
26755
  size="sm"
26753
26756
  variant="ghost">
26757
+ <span><slot name="ariaLabel.clear">Clear Input</slot></span>
26754
26758
  <${this.iconTag}
26759
+ aria-hidden="true"
26755
26760
  ?customColor="${this.onDark}"
26756
26761
  category="interface"
26757
26762
  name="x-lg"
@@ -26774,18 +26779,23 @@ class AuroInput extends BaseInput {
26774
26779
  @click="${this.handleClickShowPassword}"
26775
26780
  ?onDark="${this.onDark}"
26776
26781
  class="notificationBtn passwordBtn"
26777
- aria-label="${this.showPassword ? i18n$1(this.lang, "hidePassword") : i18n$1(this.lang, "showPassword")}"
26778
26782
  shape="circle"
26779
26783
  size="sm"
26780
26784
  variant="ghost">
26785
+ <span>
26786
+ ${this.showPassword ? u$3`<slot name="ariaLabel.password.hide">Hide Password</slot>`
26787
+ : u$3`<slot name="ariaLabel.password.show">Show Password</slot>`}
26788
+ </span>
26781
26789
  <${this.iconTag}
26782
26790
  ?customColor="${this.onDark}"
26791
+ aria-hidden="true"
26783
26792
  ?hidden=${!this.showPassword}
26784
26793
  category="interface"
26785
26794
  name="hide-password-stroke">
26786
26795
  </${this.iconTag}>
26787
26796
  <${this.iconTag}
26788
26797
  ?customColor="${this.onDark}"
26798
+ aria-hidden="true"
26789
26799
  ?hidden=${this.showPassword}
26790
26800
  category="interface"
26791
26801
  name="view-password-stroke">
@@ -27809,6 +27819,7 @@ var iconVersion = '8.0.1';
27809
27819
  // See https://git.io/JJ6SJ for "How to document your components using JSDoc"
27810
27820
  /**
27811
27821
  * @slot helpText - Defines the content of the helpText.
27822
+ * @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
27812
27823
  * @slot bib.fullscreen.headline - Defines the headline to display above bib.fullscreen.dateLabels in the mobile layout.
27813
27824
  * @slot bib.fullscreen.dateLabel - Defines the content to display above selected dates in the mobile layout.
27814
27825
  * @slot toLabel - Defines the label content for the second input when the `range` attribute is used.
@@ -29387,6 +29398,7 @@ class AuroDatePicker extends AuroElement$1 {
29387
29398
  .monthNames="${this.monthNames}"
29388
29399
  part="calendar"
29389
29400
  >
29401
+ <slot name="ariaLabel.bib.close" slot="ariaLabel.close" @slotchange="${this.handleSlotToSlot}">Close</slot>
29390
29402
  <slot slot="bib.fullscreen.headline" name="bib.fullscreen.headline" @slotchange="${this.handleSlotToSlot}"></slot>
29391
29403
  <slot slot="bib.fullscreen.dateLabel" name="bib.fullscreen.dateLabel" @slotchange="${this.handleSlotToSlot}"></slot>
29392
29404
  <span slot="bib.fullscreen.fromStr">${this.value || u$3`<span class="placeholderDate">${this.format.toUpperCase()}</span>`}</span>
@@ -84,6 +84,7 @@ This configuration enables proper module resolution for the component's TypeScri
84
84
 
85
85
  ```html
86
86
  <auro-datepicker required="">
87
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
87
88
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
88
89
  <span slot="fromLabel">Choose a date</span>
89
90
  <span slot="bib.fullscreen.dateLabel">Choose a date</span>
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * @slot helpText - Defines the content of the helpText.
3
+ * @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
3
4
  * @slot bib.fullscreen.headline - Defines the headline to display above bib.fullscreen.dateLabels in the mobile layout.
4
5
  * @slot bib.fullscreen.dateLabel - Defines the content to display above selected dates in the mobile layout.
5
6
  * @slot toLabel - Defines the label content for the second input when the `range` attribute is used.
@@ -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
 
@@ -23542,6 +23544,9 @@ let AuroElement$2 = class AuroElement extends LitElement {
23542
23544
  * @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
23543
23545
  * @attr id
23544
23546
  *
23547
+ * @slot ariaLabel.clear - Sets aria-label on clear button for screenreader to read
23548
+ * @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
23549
+ * @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
23545
23550
  * @slot helpText - Sets the help text displayed below the input.
23546
23551
  * @slot label - Sets the label text for the input.
23547
23552
  * @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
@@ -23969,8 +23974,7 @@ class BaseInput extends AuroElement$2 {
23969
23974
  * Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
23970
23975
  */
23971
23976
  value: {
23972
- type: String,
23973
- reflect: true
23977
+ type: String
23974
23978
  },
23975
23979
 
23976
23980
  /**
@@ -26682,12 +26686,13 @@ class AuroInput extends BaseInput {
26682
26686
  <${this.buttonTag}
26683
26687
  @click="${this.handleClickClear}"
26684
26688
  ?onDark="${this.onDark}"
26685
- aria-label="${i18n$1(this.lang, 'clearInput')}"
26686
26689
  class="notificationBtn clearBtn"
26687
26690
  shape="circle"
26688
26691
  size="sm"
26689
26692
  variant="ghost">
26693
+ <span><slot name="ariaLabel.clear">Clear Input</slot></span>
26690
26694
  <${this.iconTag}
26695
+ aria-hidden="true"
26691
26696
  ?customColor="${this.onDark}"
26692
26697
  category="interface"
26693
26698
  name="x-lg"
@@ -26710,18 +26715,23 @@ class AuroInput extends BaseInput {
26710
26715
  @click="${this.handleClickShowPassword}"
26711
26716
  ?onDark="${this.onDark}"
26712
26717
  class="notificationBtn passwordBtn"
26713
- aria-label="${this.showPassword ? i18n$1(this.lang, "hidePassword") : i18n$1(this.lang, "showPassword")}"
26714
26718
  shape="circle"
26715
26719
  size="sm"
26716
26720
  variant="ghost">
26721
+ <span>
26722
+ ${this.showPassword ? html$1`<slot name="ariaLabel.password.hide">Hide Password</slot>`
26723
+ : html$1`<slot name="ariaLabel.password.show">Show Password</slot>`}
26724
+ </span>
26717
26725
  <${this.iconTag}
26718
26726
  ?customColor="${this.onDark}"
26727
+ aria-hidden="true"
26719
26728
  ?hidden=${!this.showPassword}
26720
26729
  category="interface"
26721
26730
  name="hide-password-stroke">
26722
26731
  </${this.iconTag}>
26723
26732
  <${this.iconTag}
26724
26733
  ?customColor="${this.onDark}"
26734
+ aria-hidden="true"
26725
26735
  ?hidden=${this.showPassword}
26726
26736
  category="interface"
26727
26737
  name="view-password-stroke">
@@ -27745,6 +27755,7 @@ var iconVersion = '8.0.1';
27745
27755
  // See https://git.io/JJ6SJ for "How to document your components using JSDoc"
27746
27756
  /**
27747
27757
  * @slot helpText - Defines the content of the helpText.
27758
+ * @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
27748
27759
  * @slot bib.fullscreen.headline - Defines the headline to display above bib.fullscreen.dateLabels in the mobile layout.
27749
27760
  * @slot bib.fullscreen.dateLabel - Defines the content to display above selected dates in the mobile layout.
27750
27761
  * @slot toLabel - Defines the label content for the second input when the `range` attribute is used.
@@ -29323,6 +29334,7 @@ class AuroDatePicker extends AuroElement$1 {
29323
29334
  .monthNames="${this.monthNames}"
29324
29335
  part="calendar"
29325
29336
  >
29337
+ <slot name="ariaLabel.bib.close" slot="ariaLabel.close" @slotchange="${this.handleSlotToSlot}">Close</slot>
29326
29338
  <slot slot="bib.fullscreen.headline" name="bib.fullscreen.headline" @slotchange="${this.handleSlotToSlot}"></slot>
29327
29339
  <slot slot="bib.fullscreen.dateLabel" name="bib.fullscreen.dateLabel" @slotchange="${this.handleSlotToSlot}"></slot>
29328
29340
  <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
 
@@ -23542,6 +23544,9 @@ let AuroElement$2 = class AuroElement extends LitElement {
23542
23544
  * @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
23543
23545
  * @attr id
23544
23546
  *
23547
+ * @slot ariaLabel.clear - Sets aria-label on clear button for screenreader to read
23548
+ * @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
23549
+ * @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
23545
23550
  * @slot helpText - Sets the help text displayed below the input.
23546
23551
  * @slot label - Sets the label text for the input.
23547
23552
  * @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
@@ -23969,8 +23974,7 @@ class BaseInput extends AuroElement$2 {
23969
23974
  * Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
23970
23975
  */
23971
23976
  value: {
23972
- type: String,
23973
- reflect: true
23977
+ type: String
23974
23978
  },
23975
23979
 
23976
23980
  /**
@@ -26682,12 +26686,13 @@ class AuroInput extends BaseInput {
26682
26686
  <${this.buttonTag}
26683
26687
  @click="${this.handleClickClear}"
26684
26688
  ?onDark="${this.onDark}"
26685
- aria-label="${i18n$1(this.lang, 'clearInput')}"
26686
26689
  class="notificationBtn clearBtn"
26687
26690
  shape="circle"
26688
26691
  size="sm"
26689
26692
  variant="ghost">
26693
+ <span><slot name="ariaLabel.clear">Clear Input</slot></span>
26690
26694
  <${this.iconTag}
26695
+ aria-hidden="true"
26691
26696
  ?customColor="${this.onDark}"
26692
26697
  category="interface"
26693
26698
  name="x-lg"
@@ -26710,18 +26715,23 @@ class AuroInput extends BaseInput {
26710
26715
  @click="${this.handleClickShowPassword}"
26711
26716
  ?onDark="${this.onDark}"
26712
26717
  class="notificationBtn passwordBtn"
26713
- aria-label="${this.showPassword ? i18n$1(this.lang, "hidePassword") : i18n$1(this.lang, "showPassword")}"
26714
26718
  shape="circle"
26715
26719
  size="sm"
26716
26720
  variant="ghost">
26721
+ <span>
26722
+ ${this.showPassword ? html$1`<slot name="ariaLabel.password.hide">Hide Password</slot>`
26723
+ : html$1`<slot name="ariaLabel.password.show">Show Password</slot>`}
26724
+ </span>
26717
26725
  <${this.iconTag}
26718
26726
  ?customColor="${this.onDark}"
26727
+ aria-hidden="true"
26719
26728
  ?hidden=${!this.showPassword}
26720
26729
  category="interface"
26721
26730
  name="hide-password-stroke">
26722
26731
  </${this.iconTag}>
26723
26732
  <${this.iconTag}
26724
26733
  ?customColor="${this.onDark}"
26734
+ aria-hidden="true"
26725
26735
  ?hidden=${this.showPassword}
26726
26736
  category="interface"
26727
26737
  name="view-password-stroke">
@@ -27745,6 +27755,7 @@ var iconVersion = '8.0.1';
27745
27755
  // See https://git.io/JJ6SJ for "How to document your components using JSDoc"
27746
27756
  /**
27747
27757
  * @slot helpText - Defines the content of the helpText.
27758
+ * @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
27748
27759
  * @slot bib.fullscreen.headline - Defines the headline to display above bib.fullscreen.dateLabels in the mobile layout.
27749
27760
  * @slot bib.fullscreen.dateLabel - Defines the content to display above selected dates in the mobile layout.
27750
27761
  * @slot toLabel - Defines the label content for the second input when the `range` attribute is used.
@@ -29323,6 +29334,7 @@ class AuroDatePicker extends AuroElement$1 {
29323
29334
  .monthNames="${this.monthNames}"
29324
29335
  part="calendar"
29325
29336
  >
29337
+ <slot name="ariaLabel.bib.close" slot="ariaLabel.close" @slotchange="${this.handleSlotToSlot}">Close</slot>
29326
29338
  <slot slot="bib.fullscreen.headline" name="bib.fullscreen.headline" @slotchange="${this.handleSlotToSlot}"></slot>
29327
29339
  <slot slot="bib.fullscreen.dateLabel" name="bib.fullscreen.dateLabel" @slotchange="${this.handleSlotToSlot}"></slot>
29328
29340
  <span slot="bib.fullscreen.fromStr">${this.value || html$1`<span class="placeholderDate">${this.format.toUpperCase()}</span>`}</span>
@@ -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>
@@ -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">
@@ -24,6 +24,7 @@ The `<auro-input>` element should be used in situations where users may:
24
24
  <label slot="label">From</label>
25
25
  </auro-input> -->
26
26
  <auro-input id="alpha" value="lax" layout="emphasized" shape="box" size="xl" placeholder="Departure" style="width: 249px;" ondark required>
27
+ <span slot="ariaLabel.clear">Clear All</span>
27
28
  <label slot="label">From</label>
28
29
  <span slot="helpText">Example help text</span>
29
30
  <span slot="displayValue">
@@ -34,14 +35,17 @@ The `<auro-input>` element should be used in situations where users may:
34
35
  </span>
35
36
  </auro-input>
36
37
  <auro-input id="beta" layout="emphasized" shape="pill" size="xl" placeholder="Departure" style="width: 249px;" ondark required>
38
+ <span slot="ariaLabel.clear">Clear All</span>
37
39
  <label slot="label">From</label>
38
40
  <span slot="helpText">Example help text</span>
39
41
  </auro-input>
40
42
  <auro-input id="charlie" layout="emphasized-left" shape="pill-left" size="xl" placeholder="Departure" style="width: 249px;" ondark required>
43
+ <span slot="ariaLabel.clear">Clear All</span>
41
44
  <label slot="label">From</label>
42
45
  <span slot="helpText">Example help text</span>
43
46
  </auro-input>
44
47
  <auro-input id="delta" layout="emphasized-right" shape="pill-right" size="xl" placeholder="Departure" style="width: 249px;" ondark required>
48
+ <span slot="ariaLabel.clear">Clear All</span>
45
49
  <label slot="label">From</label>
46
50
  <span slot="helpText">Example help text</span>
47
51
  </auro-input>
@@ -54,6 +58,7 @@ The `<auro-input>` element should be used in situations where users may:
54
58
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/snowflake/basic.html) -->
55
59
  <!-- The below content is automatically added from ./../apiExamples/snowflake/basic.html -->
56
60
  <auro-input id="snowflakePill" layout="snowflake" shape="snowflake" size="lg" placeholder="Departure" style="width: 249px;" ondark required>
61
+ <span slot="ariaLabel.clear">Clear All</span>
57
62
  <label slot="label">From</label>
58
63
  <span slot="helpText">Example help text</span>
59
64
  </auro-input>
@@ -68,6 +73,7 @@ The default component supports the basic input `type="text"` structure. The `(op
68
73
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
69
74
  <!-- The below content is automatically added from ./../apiExamples/basic.html -->
70
75
  <auro-input>
76
+ <span slot="ariaLabel.clear">Clear All</span>
71
77
  <span slot="label">Label</span>
72
78
  <span slot="helpText">Help Text</span>
73
79
  </auro-input>
@@ -89,6 +95,7 @@ The default component supports the basic input `type="text"` structure. The `(op
89
95
 
90
96
  ```html
91
97
  <auro-input>
98
+ <span slot="ariaLabel.clear">Clear All</span>
92
99
  <span slot="label">Label</span>
93
100
  <span slot="helpText">Help Text</span>
94
101
  </auro-input>
@@ -5030,6 +5030,9 @@ let AuroElement$2 = class AuroElement extends i$2 {
5030
5030
  * @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
5031
5031
  * @attr id
5032
5032
  *
5033
+ * @slot ariaLabel.clear - Sets aria-label on clear button for screenreader to read
5034
+ * @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
5035
+ * @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
5033
5036
  * @slot helpText - Sets the help text displayed below the input.
5034
5037
  * @slot label - Sets the label text for the input.
5035
5038
  * @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
@@ -5457,8 +5460,7 @@ class BaseInput extends AuroElement$2 {
5457
5460
  * Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
5458
5461
  */
5459
5462
  value: {
5460
- type: String,
5461
- reflect: true
5463
+ type: String
5462
5464
  },
5463
5465
 
5464
5466
  /**
@@ -8170,12 +8172,13 @@ class AuroInput extends BaseInput {
8170
8172
  <${this.buttonTag}
8171
8173
  @click="${this.handleClickClear}"
8172
8174
  ?onDark="${this.onDark}"
8173
- aria-label="${i18n(this.lang, 'clearInput')}"
8174
8175
  class="notificationBtn clearBtn"
8175
8176
  shape="circle"
8176
8177
  size="sm"
8177
8178
  variant="ghost">
8179
+ <span><slot name="ariaLabel.clear">Clear Input</slot></span>
8178
8180
  <${this.iconTag}
8181
+ aria-hidden="true"
8179
8182
  ?customColor="${this.onDark}"
8180
8183
  category="interface"
8181
8184
  name="x-lg"
@@ -8198,18 +8201,23 @@ class AuroInput extends BaseInput {
8198
8201
  @click="${this.handleClickShowPassword}"
8199
8202
  ?onDark="${this.onDark}"
8200
8203
  class="notificationBtn passwordBtn"
8201
- aria-label="${this.showPassword ? i18n(this.lang, "hidePassword") : i18n(this.lang, "showPassword")}"
8202
8204
  shape="circle"
8203
8205
  size="sm"
8204
8206
  variant="ghost">
8207
+ <span>
8208
+ ${this.showPassword ? u$2`<slot name="ariaLabel.password.hide">Hide Password</slot>`
8209
+ : u$2`<slot name="ariaLabel.password.show">Show Password</slot>`}
8210
+ </span>
8205
8211
  <${this.iconTag}
8206
8212
  ?customColor="${this.onDark}"
8213
+ aria-hidden="true"
8207
8214
  ?hidden=${!this.showPassword}
8208
8215
  category="interface"
8209
8216
  name="hide-password-stroke">
8210
8217
  </${this.iconTag}>
8211
8218
  <${this.iconTag}
8212
8219
  ?customColor="${this.onDark}"
8220
+ aria-hidden="true"
8213
8221
  ?hidden=${this.showPassword}
8214
8222
  category="interface"
8215
8223
  name="view-password-stroke">
@@ -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>