@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.98 → 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 (46) 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 +25 -14
  6. package/components/combobox/demo/index.md +12 -0
  7. package/components/combobox/demo/index.min.js +25 -14
  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/select/README.md +1 -0
  38. package/components/select/demo/api.md +3 -0
  39. package/components/select/demo/api.min.js +7 -2
  40. package/components/select/demo/index.md +8 -0
  41. package/components/select/demo/index.min.js +7 -2
  42. package/components/select/demo/readme.md +1 -0
  43. package/components/select/dist/auro-select.d.ts +1 -0
  44. package/components/select/dist/index.js +7 -2
  45. package/components/select/dist/registered.js +7 -2
  46. package/package.json +1 -1
@@ -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>
@@ -4,6 +4,9 @@
4
4
  * @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
5
5
  * @attr id
6
6
  *
7
+ * @slot ariaLabel.clear - Sets aria-label on clear button for screenreader to read
8
+ * @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
9
+ * @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
7
10
  * @slot helpText - Sets the help text displayed below the input.
8
11
  * @slot label - Sets the label text for the input.
9
12
  * @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
@@ -292,7 +295,6 @@ export default class BaseInput extends AuroElement {
292
295
  */
293
296
  value: {
294
297
  type: StringConstructor;
295
- reflect: boolean;
296
298
  };
297
299
  /**
298
300
  * Sets validation mode to re-eval with each input.
@@ -4954,6 +4954,9 @@ let AuroElement$2 = class AuroElement extends LitElement {
4954
4954
  * @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
4955
4955
  * @attr id
4956
4956
  *
4957
+ * @slot ariaLabel.clear - Sets aria-label on clear button for screenreader to read
4958
+ * @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
4959
+ * @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
4957
4960
  * @slot helpText - Sets the help text displayed below the input.
4958
4961
  * @slot label - Sets the label text for the input.
4959
4962
  * @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
@@ -5381,8 +5384,7 @@ class BaseInput extends AuroElement$2 {
5381
5384
  * Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
5382
5385
  */
5383
5386
  value: {
5384
- type: String,
5385
- reflect: true
5387
+ type: String
5386
5388
  },
5387
5389
 
5388
5390
  /**
@@ -8094,12 +8096,13 @@ class AuroInput extends BaseInput {
8094
8096
  <${this.buttonTag}
8095
8097
  @click="${this.handleClickClear}"
8096
8098
  ?onDark="${this.onDark}"
8097
- aria-label="${i18n(this.lang, 'clearInput')}"
8098
8099
  class="notificationBtn clearBtn"
8099
8100
  shape="circle"
8100
8101
  size="sm"
8101
8102
  variant="ghost">
8103
+ <span><slot name="ariaLabel.clear">Clear Input</slot></span>
8102
8104
  <${this.iconTag}
8105
+ aria-hidden="true"
8103
8106
  ?customColor="${this.onDark}"
8104
8107
  category="interface"
8105
8108
  name="x-lg"
@@ -8122,18 +8125,23 @@ class AuroInput extends BaseInput {
8122
8125
  @click="${this.handleClickShowPassword}"
8123
8126
  ?onDark="${this.onDark}"
8124
8127
  class="notificationBtn passwordBtn"
8125
- aria-label="${this.showPassword ? i18n(this.lang, "hidePassword") : i18n(this.lang, "showPassword")}"
8126
8128
  shape="circle"
8127
8129
  size="sm"
8128
8130
  variant="ghost">
8131
+ <span>
8132
+ ${this.showPassword ? html$1`<slot name="ariaLabel.password.hide">Hide Password</slot>`
8133
+ : html$1`<slot name="ariaLabel.password.show">Show Password</slot>`}
8134
+ </span>
8129
8135
  <${this.iconTag}
8130
8136
  ?customColor="${this.onDark}"
8137
+ aria-hidden="true"
8131
8138
  ?hidden=${!this.showPassword}
8132
8139
  category="interface"
8133
8140
  name="hide-password-stroke">
8134
8141
  </${this.iconTag}>
8135
8142
  <${this.iconTag}
8136
8143
  ?customColor="${this.onDark}"
8144
+ aria-hidden="true"
8137
8145
  ?hidden=${this.showPassword}
8138
8146
  category="interface"
8139
8147
  name="view-password-stroke">
@@ -4954,6 +4954,9 @@ let AuroElement$2 = class AuroElement extends LitElement {
4954
4954
  * @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
4955
4955
  * @attr id
4956
4956
  *
4957
+ * @slot ariaLabel.clear - Sets aria-label on clear button for screenreader to read
4958
+ * @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
4959
+ * @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
4957
4960
  * @slot helpText - Sets the help text displayed below the input.
4958
4961
  * @slot label - Sets the label text for the input.
4959
4962
  * @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
@@ -5381,8 +5384,7 @@ class BaseInput extends AuroElement$2 {
5381
5384
  * Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
5382
5385
  */
5383
5386
  value: {
5384
- type: String,
5385
- reflect: true
5387
+ type: String
5386
5388
  },
5387
5389
 
5388
5390
  /**
@@ -8094,12 +8096,13 @@ class AuroInput extends BaseInput {
8094
8096
  <${this.buttonTag}
8095
8097
  @click="${this.handleClickClear}"
8096
8098
  ?onDark="${this.onDark}"
8097
- aria-label="${i18n(this.lang, 'clearInput')}"
8098
8099
  class="notificationBtn clearBtn"
8099
8100
  shape="circle"
8100
8101
  size="sm"
8101
8102
  variant="ghost">
8103
+ <span><slot name="ariaLabel.clear">Clear Input</slot></span>
8102
8104
  <${this.iconTag}
8105
+ aria-hidden="true"
8103
8106
  ?customColor="${this.onDark}"
8104
8107
  category="interface"
8105
8108
  name="x-lg"
@@ -8122,18 +8125,23 @@ class AuroInput extends BaseInput {
8122
8125
  @click="${this.handleClickShowPassword}"
8123
8126
  ?onDark="${this.onDark}"
8124
8127
  class="notificationBtn passwordBtn"
8125
- aria-label="${this.showPassword ? i18n(this.lang, "hidePassword") : i18n(this.lang, "showPassword")}"
8126
8128
  shape="circle"
8127
8129
  size="sm"
8128
8130
  variant="ghost">
8131
+ <span>
8132
+ ${this.showPassword ? html$1`<slot name="ariaLabel.password.hide">Hide Password</slot>`
8133
+ : html$1`<slot name="ariaLabel.password.show">Show Password</slot>`}
8134
+ </span>
8129
8135
  <${this.iconTag}
8130
8136
  ?customColor="${this.onDark}"
8137
+ aria-hidden="true"
8131
8138
  ?hidden=${!this.showPassword}
8132
8139
  category="interface"
8133
8140
  name="hide-password-stroke">
8134
8141
  </${this.iconTag}>
8135
8142
  <${this.iconTag}
8136
8143
  ?customColor="${this.onDark}"
8144
+ aria-hidden="true"
8137
8145
  ?hidden=${this.showPassword}
8138
8146
  category="interface"
8139
8147
  name="view-password-stroke">
@@ -84,6 +84,7 @@ This configuration enables proper module resolution for the component's TypeScri
84
84
 
85
85
  ```html
86
86
  <auro-select>
87
+ <span slot="ariaLabel.bib.close">Close Popup</span>
87
88
  <span slot="bib.fullscreen.headline">Bib Headline</span>
88
89
  <span slot="label">Select Example</span>
89
90
  <auro-menu>
@@ -65,6 +65,7 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
65
65
  | Name | Description |
66
66
  |---------------------------|--------------------------------------------------|
67
67
  | | Default slot for the menu content. |
68
+ | `ariaLabel.bib.close` | Sets aria-label on close button in fullscreen bib |
68
69
  | `bib.fullscreen.headline` | Defines the headline to display above menu-options |
69
70
  | [displayValue](#displayValue) | Allows custom HTML content to display the selected value when select is not focused. |
70
71
  | [helpText](#helpText) | Defines the content of the helpText. |
@@ -89,6 +90,7 @@ A baseline `auro-select` using `auro-menu` and `auro-menuoption` elements.
89
90
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
90
91
  <!-- The below content is automatically added from ./../apiExamples/basic.html -->
91
92
  <auro-select>
93
+ <span slot="ariaLabel.bib.close">Close Popup</span>
92
94
  <span slot="bib.fullscreen.headline">Bib Headline</span>
93
95
  <span slot="label">Select Example</span>
94
96
  <auro-menu>
@@ -126,6 +128,7 @@ A baseline `auro-select` using `auro-menu` and `auro-menuoption` elements.
126
128
 
127
129
  ```html
128
130
  <auro-select>
131
+ <span slot="ariaLabel.bib.close">Close Popup</span>
129
132
  <span slot="bib.fullscreen.headline">Bib Headline</span>
130
133
  <span slot="label">Select Example</span>
131
134
  <auro-menu>