@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.9 → 0.0.0-pr624.91

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 (149) hide show
  1. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +12 -2
  2. package/components/bibtemplate/dist/buttonVersion.d.ts +2 -0
  3. package/components/bibtemplate/dist/headerVersion.d.ts +1 -1
  4. package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
  5. package/components/bibtemplate/dist/index.js +1241 -94
  6. package/components/bibtemplate/dist/registered.js +1241 -94
  7. package/components/checkbox/README.md +1 -1
  8. package/components/checkbox/demo/api.html +16 -10
  9. package/components/checkbox/demo/api.md +49 -15
  10. package/components/checkbox/demo/api.min.js +74 -46
  11. package/components/checkbox/demo/index.html +16 -10
  12. package/components/checkbox/demo/index.md +2 -2
  13. package/components/checkbox/demo/index.min.js +74 -46
  14. package/components/checkbox/demo/readme.html +16 -9
  15. package/components/checkbox/demo/readme.md +1 -1
  16. package/components/checkbox/dist/auro-checkbox-group.d.ts +1 -1
  17. package/components/checkbox/dist/auro-checkbox.d.ts +3 -3
  18. package/components/checkbox/dist/index.js +73 -45
  19. package/components/checkbox/dist/registered.js +73 -45
  20. package/components/combobox/demo/api.html +16 -10
  21. package/components/combobox/demo/api.md +115 -8
  22. package/components/combobox/demo/api.min.js +3305 -1002
  23. package/components/combobox/demo/index.html +16 -10
  24. package/components/combobox/demo/index.md +8 -34
  25. package/components/combobox/demo/index.min.js +3305 -1002
  26. package/components/combobox/demo/readme.html +16 -9
  27. package/components/combobox/dist/auro-combobox.d.ts +57 -14
  28. package/components/combobox/dist/index.js +2992 -836
  29. package/components/combobox/dist/registered.js +2992 -836
  30. package/components/counter/demo/api.html +17 -10
  31. package/components/counter/demo/api.md +158 -21
  32. package/components/counter/demo/api.min.js +3417 -765
  33. package/components/counter/demo/index.html +17 -10
  34. package/components/counter/demo/index.md +185 -34
  35. package/components/counter/demo/index.min.js +3417 -765
  36. package/components/counter/demo/readme.html +16 -9
  37. package/components/counter/dist/auro-counter-button.d.ts +2 -0
  38. package/components/counter/dist/auro-counter-group.d.ts +161 -11
  39. package/components/counter/dist/auro-counter.d.ts +16 -0
  40. package/components/counter/dist/helptextVersion.d.ts +2 -0
  41. package/components/counter/dist/iconVersion.d.ts +1 -1
  42. package/components/counter/dist/index.js +3420 -768
  43. package/components/counter/dist/registered.js +3420 -768
  44. package/components/datepicker/README.md +1 -1
  45. package/components/datepicker/demo/api.html +16 -10
  46. package/components/datepicker/demo/api.md +62 -28
  47. package/components/datepicker/demo/api.min.js +11956 -8070
  48. package/components/datepicker/demo/index.html +16 -10
  49. package/components/datepicker/demo/index.md +75 -8
  50. package/components/datepicker/demo/index.min.js +11956 -8070
  51. package/components/datepicker/demo/readme.html +16 -9
  52. package/components/datepicker/demo/readme.md +1 -1
  53. package/components/datepicker/dist/auro-datepicker.d.ts +151 -12
  54. package/components/datepicker/dist/buttonVersion.d.ts +1 -1
  55. package/components/datepicker/dist/iconVersion.d.ts +2 -0
  56. package/components/datepicker/dist/index.js +13802 -9916
  57. package/components/datepicker/dist/popoverVersion.d.ts +1 -1
  58. package/components/datepicker/dist/registered.js +13802 -9916
  59. package/components/dropdown/demo/api.html +16 -10
  60. package/components/dropdown/demo/api.md +82 -275
  61. package/components/dropdown/demo/api.min.js +450 -261
  62. package/components/dropdown/demo/index.html +16 -10
  63. package/components/dropdown/demo/index.md +92 -362
  64. package/components/dropdown/demo/index.min.js +450 -261
  65. package/components/dropdown/demo/readme.html +16 -9
  66. package/components/dropdown/dist/auro-dropdown.d.ts +43 -83
  67. package/components/dropdown/dist/auro-dropdownBib.d.ts +14 -0
  68. package/components/dropdown/dist/index.js +449 -260
  69. package/components/dropdown/dist/registered.js +449 -260
  70. package/components/form/demo/api.html +16 -9
  71. package/components/form/demo/api.md +1 -1
  72. package/components/form/demo/api.min.js +3 -3
  73. package/components/form/demo/autocomplete.html +19 -3
  74. package/components/form/demo/index.html +16 -9
  75. package/components/form/demo/index.min.js +3 -3
  76. package/components/form/demo/readme.html +16 -9
  77. package/components/form/demo/working.html +19 -13
  78. package/components/form/dist/auro-form.d.ts +1 -1
  79. package/components/form/dist/index.js +2 -2
  80. package/components/form/dist/registered.js +2 -2
  81. package/components/helptext/dist/auro-helptext.d.ts +0 -2
  82. package/components/helptext/dist/index.js +3 -5
  83. package/components/helptext/dist/registered.js +3 -5
  84. package/components/input/README.md +5 -2
  85. package/components/input/demo/api.html +16 -10
  86. package/components/input/demo/api.md +226 -132
  87. package/components/input/demo/api.min.js +1034 -297
  88. package/components/input/demo/index.html +16 -10
  89. package/components/input/demo/index.md +48 -32
  90. package/components/input/demo/index.min.js +1048 -311
  91. package/components/input/demo/readme.html +16 -9
  92. package/components/input/demo/readme.md +5 -2
  93. package/components/input/dist/auro-input.d.ts +24 -0
  94. package/components/input/dist/base-input.d.ts +45 -11
  95. package/components/input/dist/buttonVersion.d.ts +1 -1
  96. package/components/input/dist/iconVersion.d.ts +1 -1
  97. package/components/input/dist/index.js +1047 -310
  98. package/components/input/dist/registered.js +1047 -310
  99. package/components/layoutElement/dist/index.js +11 -8
  100. package/components/layoutElement/dist/registered.js +97 -0
  101. package/components/menu/demo/api.html +17 -10
  102. package/components/menu/demo/api.md +65 -8
  103. package/components/menu/demo/api.min.js +305 -63
  104. package/components/menu/demo/index.html +16 -10
  105. package/components/menu/demo/index.min.js +305 -63
  106. package/components/menu/demo/readme.html +16 -9
  107. package/components/menu/dist/auro-menu.d.ts +53 -7
  108. package/components/menu/dist/auro-menuoption.d.ts +21 -3
  109. package/components/menu/dist/iconVersion.d.ts +1 -1
  110. package/components/menu/dist/index.js +290 -48
  111. package/components/menu/dist/registered.js +290 -48
  112. package/components/menu/dist/styles/default/tokens-css.d.ts +2 -0
  113. package/components/menu/dist/styles/shapeSize-css.d.ts +2 -0
  114. package/components/radio/demo/api.html +16 -10
  115. package/components/radio/demo/api.md +39 -9
  116. package/components/radio/demo/api.min.js +92 -96
  117. package/components/radio/demo/index.html +16 -10
  118. package/components/radio/demo/index.min.js +92 -96
  119. package/components/radio/demo/readme.html +16 -9
  120. package/components/radio/dist/auro-radio-group.d.ts +1 -1
  121. package/components/radio/dist/auro-radio.d.ts +9 -12
  122. package/components/radio/dist/index.js +91 -95
  123. package/components/radio/dist/registered.js +91 -95
  124. package/components/select/demo/api.html +16 -10
  125. package/components/select/demo/api.js +0 -2
  126. package/components/select/demo/api.md +149 -122
  127. package/components/select/demo/api.min.js +2283 -736
  128. package/components/select/demo/index.html +17 -11
  129. package/components/select/demo/index.md +1066 -259
  130. package/components/select/demo/index.min.js +2284 -725
  131. package/components/select/demo/readme.html +16 -9
  132. package/components/select/dist/auro-select.d.ts +74 -25
  133. package/components/select/dist/index.js +2165 -753
  134. package/components/select/dist/registered.js +2165 -753
  135. package/package.json +31 -28
  136. /package/components/{datepicker/dist/styles/default/color-css.d.ts → counter/dist/styles/shapeSize-css.d.ts} +0 -0
  137. /package/components/{dropdown/dist/styles/default → datepicker/dist/styles/classic}/color-css.d.ts +0 -0
  138. /package/components/datepicker/dist/styles/{emphasized → classic}/style-css.d.ts +0 -0
  139. /package/components/{dropdown/dist/styles/default/bibColors-css.d.ts → datepicker/dist/styles/snowflake/color-css.d.ts} +0 -0
  140. /package/components/{dropdown/dist/styles/default → datepicker/dist/styles/snowflake}/style-css.d.ts +0 -0
  141. /package/components/dropdown/dist/styles/{default/bibStyles-css.d.ts → classic/bibColors-css.d.ts} +0 -0
  142. /package/components/{input/dist/styles/default/input-css.d.ts → dropdown/dist/styles/classic/bibStyles-css.d.ts} +0 -0
  143. /package/components/{input/dist/styles/default/label-css.d.ts → dropdown/dist/styles/classic/color-css.d.ts} +0 -0
  144. /package/components/{input/dist/styles/input-css.d.ts → dropdown/dist/styles/classic/style-css.d.ts} +0 -0
  145. /package/components/{menu/dist/styles/color-menu-css.d.ts → dropdown/dist/styles/style-css.d.ts} +0 -0
  146. /package/components/menu/dist/styles/{color-menuoption-css.d.ts → default/color-menu-css.d.ts} +0 -0
  147. /package/components/menu/dist/styles/{style-menu-css.d.ts → default/color-menuoption-css.d.ts} +0 -0
  148. /package/components/menu/dist/styles/{style-menuoption-css.d.ts → default/style-menu-css.d.ts} +0 -0
  149. /package/components/menu/dist/styles/{tokens-css.d.ts → default/style-menuoption-css.d.ts} +0 -0
@@ -25,16 +25,16 @@ Generate unique names for dependency components.
25
25
  | [id](#id) | `id` | `string` | | The id global attribute defines an identifier (ID) which must be unique in the whole document. |
26
26
  | [inputmode](#inputmode) | `inputmode` | `string` | | Exposes inputmode attribute for input. |
27
27
  | [lang](#lang) | `lang` | `string` | | Defines the language of an element. |
28
- | [layout](#layout) | | `string` | "classic" | |
29
28
  | [max](#max) | `max` | `string` | "undefined" | The maximum value allowed. This only applies for inputs with a type of `number` and all date formats. |
30
29
  | [maxLength](#maxLength) | `maxLength` | `number` | "undefined" | The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher. |
31
30
  | [min](#min) | `min` | `string` | "undefined" | The minimum value allowed. This only applies for inputs with a type of `number` and all date formats. |
32
31
  | [minLength](#minLength) | `minLength` | `number` | "undefined" | The minimum number of characters the user can enter into the text input. This must be a non-negative integer value smaller than or equal to the value specified by `maxlength`. |
33
32
  | [name](#name) | `name` | `string` | | Populates the `name` attribute on the input. |
33
+ | [nested](#nested) | `nested` | `boolean` | | Sets styles for nested operation - removes borders, hides help + error text, and<br />hides accents. |
34
34
  | [noValidate](#noValidate) | `noValidate` | `boolean` | false | If set, disables auto-validation on blur. |
35
35
  | [onDark](#onDark) | `onDark` | `boolean` | false | Sets onDark styles on input. |
36
36
  | [pattern](#pattern) | `pattern` | `string` | | Specifies a regular expression the form control's value should match. |
37
- | [placeholder](#placeholder) | `placeholder` | `string` | | Define custom placeholder text, only supported by date input formats. |
37
+ | [placeholder](#placeholder) | `placeholder` | `string` | | Define custom placeholder text. |
38
38
  | [readonly](#readonly) | `readonly` | `boolean` | | Makes the input read-only, but can be set programmatically. |
39
39
  | [required](#required) | `required` | `boolean` | false | Populates the `required` attribute on the input. Used for client-side validation. |
40
40
  | [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `string` | | Sets a custom help text message to display for all validityStates. |
@@ -46,8 +46,7 @@ Generate unique names for dependency components.
46
46
  | [setCustomValidityTooLong](#setCustomValidityTooLong) | `setCustomValidityTooLong` | `string` | | Custom help text message to display when validity = `tooLong`. |
47
47
  | [setCustomValidityTooShort](#setCustomValidityTooShort) | `setCustomValidityTooShort` | `string` | | Custom help text message to display when validity = `tooShort`. |
48
48
  | [setCustomValidityValueMissing](#setCustomValidityValueMissing) | `setCustomValidityValueMissing` | `string` | | Custom help text message to display when validity = `valueMissing`. |
49
- | [shape](#shape) | | `string` | "classic" | |
50
- | [size](#size) | | `string` | "lg" | |
49
+ | [simple](#simple) | `simple` | `boolean` | | Simple makes the input render without a border. |
51
50
  | [spellcheck](#spellcheck) | `spellcheck` | `string` | | An enumerated attribute defines whether the element may be checked for spelling errors. [true, false]. When set to `false` the attribute `autocorrect` is set to `off` and `autocapitalize` is set to `none`. |
52
51
  | [type](#type) | `type` | `string` | | Populates the `type` attribute on the input. Allowed values are `password`, `email`, `credit-card`, `date`, `tel` or `text`. If given value is not allowed or set, defaults to `text`. |
53
52
  | [validateOnInput](#validateOnInput) | `validateOnInput` | `boolean` | | Sets validation mode to re-eval with each input. |
@@ -58,7 +57,9 @@ Generate unique names for dependency components.
58
57
 
59
58
  | Method | Type | Description |
60
59
  |------------|----------------------------------------|--------------------------------------------------|
61
- | [reset](#reset) | `(): void` | Resets component to initial state. |
60
+ | [clear](#clear) | `(): void` | Clears the input value. |
61
+ | [focus](#focus) | `(): void` | Function to set element focus. |
62
+ | [reset](#reset) | `(): void` | Resets component to initial state, including resetting the touched state and validity. |
62
63
  | [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
63
64
 
64
65
  ## Events
@@ -71,18 +72,23 @@ Generate unique names for dependency components.
71
72
 
72
73
  ## Slots
73
74
 
74
- | Name | Description |
75
- |------------|-----------------------------------------------|
76
- | [helptext](#helptext) | Sets the help text displayed below the input. |
77
- | [label](#label) | Sets the label text for the input. |
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. |
78
81
 
79
82
  ## CSS Shadow Parts
80
83
 
81
84
  | Part | Description |
82
- |-----------------|--------------------------------------------------|
85
+ |-----------------|--------------------------------------------------|
86
+ | `accent-left` | Use for customizing the style of the left accent element (e.g. padding, margin) |
87
+ | `accent-right` | Use for customizing the style of the right accent element (e.g. padding, margin) |
83
88
  | [accentIcon](#accentIcon) | Use for customizing the style of the accentIcon element (e.g. credit card icon, calendar icon) |
84
89
  | [helpText](#helpText) | Use for customizing the style of the helpText element |
85
90
  | [iconContainer](#iconContainer) | Use for customizing the style of the iconContainer (e.g. X icon for clearing input value) |
91
+ | [input](#input) | Use for customizing the style of the input element |
86
92
  | [label](#label) | Use for customizing the style of the label element |
87
93
  | [wrapper](#wrapper) | Use for customizing the style of the root element |
88
94
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -106,13 +112,19 @@ The default component supports the basic input `type="text"` structure. The `(op
106
112
  <div class="exampleWrapper">
107
113
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
108
114
  <!-- The below content is automatically added from ./../apiExamples/basic.html -->
109
- <auro-input bordered shape="rounded" size="lg"></auro-input>
115
+ <auro-input>
116
+ <span slot="label">Label</span>
117
+ <span slot="helpText">Help Text</span>
118
+ </auro-input>
110
119
  <!-- AURO-GENERATED-CONTENT:END -->
111
120
  </div>
112
121
  <div class="exampleWrapper--ondark" aria-hidden>
113
122
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDark.html) -->
114
123
  <!-- The below content is automatically added from ./../apiExamples/onDark.html -->
115
- <auro-input onDark bordered shape="rounded" size="lg"></auro-input>
124
+ <auro-input ondark>
125
+ <span slot="label">Label</span>
126
+ <span slot="helpText">Help Text</span>
127
+ </auro-input>
116
128
  <!-- AURO-GENERATED-CONTENT:END -->
117
129
  </div>
118
130
  <auro-accordion alignRight>
@@ -121,14 +133,20 @@ The default component supports the basic input `type="text"` structure. The `(op
121
133
  <!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
122
134
 
123
135
  ```html
124
- <auro-input bordered shape="rounded" size="lg"></auro-input>
136
+ <auro-input>
137
+ <span slot="label">Label</span>
138
+ <span slot="helpText">Help Text</span>
139
+ </auro-input>
125
140
  ```
126
141
  <!-- AURO-GENERATED-CONTENT:END -->
127
142
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/onDark.html) -->
128
143
  <!-- The below code snippet is automatically added from ./../apiExamples/onDark.html -->
129
144
 
130
145
  ```html
131
- <auro-input onDark bordered shape="rounded" size="lg"></auro-input>
146
+ <auro-input ondark>
147
+ <span slot="label">Label</span>
148
+ <span slot="helpText">Help Text</span>
149
+ </auro-input>
132
150
  ```
133
151
  <!-- AURO-GENERATED-CONTENT:END -->
134
152
  </auro-accordion>
@@ -141,16 +159,18 @@ Use the `disable` attribute to prevent the user from interacting with the input.
141
159
  <div class="exampleWrapper">
142
160
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/disabled.html) -->
143
161
  <!-- The below content is automatically added from ./../apiExamples/disabled.html -->
144
- <auro-input disabled bordered type="date">
145
- <span slot="label">Arrival date</span>
162
+ <auro-input disabled type="date">
163
+ <span slot="label">Disabled</span>
164
+ <span slot="helpText">Help Text</span>
146
165
  </auro-input>
147
166
  <!-- AURO-GENERATED-CONTENT:END -->
148
167
  </div>
149
168
  <div class="exampleWrapper--ondark" aria-hidden>
150
169
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkDisabled.html) -->
151
170
  <!-- The below content is automatically added from ./../apiExamples/onDarkDisabled.html -->
152
- <auro-input onDark disabled bordered type="date">
171
+ <auro-input onDark disabled type="date">
153
172
  <span slot="label">Arrival date</span>
173
+ <span slot="helpText">Help Text</span>
154
174
  </auro-input>
155
175
  <!-- AURO-GENERATED-CONTENT:END -->
156
176
  </div>
@@ -160,8 +180,9 @@ Use the `disable` attribute to prevent the user from interacting with the input.
160
180
  <!-- The below code snippet is automatically added from ./../apiExamples/disabled.html -->
161
181
 
162
182
  ```html
163
- <auro-input disabled bordered type="date">
164
- <span slot="label">Arrival date</span>
183
+ <auro-input disabled type="date">
184
+ <span slot="label">Disabled</span>
185
+ <span slot="helpText">Help Text</span>
165
186
  </auro-input>
166
187
  ```
167
188
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -169,8 +190,9 @@ Use the `disable` attribute to prevent the user from interacting with the input.
169
190
  <!-- The below code snippet is automatically added from ./../apiExamples/onDarkDisabled.html -->
170
191
 
171
192
  ```html
172
- <auro-input onDark disabled bordered type="date">
193
+ <auro-input onDark disabled type="date">
173
194
  <span slot="label">Arrival date</span>
195
+ <span slot="helpText">Help Text</span>
174
196
  </auro-input>
175
197
  ```
176
198
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -185,7 +207,10 @@ Set the input mode for the input.
185
207
  <div class="exampleWrapper">
186
208
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/inputmode.html) -->
187
209
  <!-- The below content is automatically added from ./../apiExamples/inputmode.html -->
188
- <auro-input bordered inputmode="tel" />
210
+ <auro-input inputmode="tel">
211
+ <span slot="label">Telephone</span>
212
+ <span slot="helpText">Help Text</span>
213
+ </auro-input>
189
214
  <!-- AURO-GENERATED-CONTENT:END -->
190
215
  </div>
191
216
  <auro-accordion alignRight>
@@ -194,7 +219,10 @@ Set the input mode for the input.
194
219
  <!-- The below code snippet is automatically added from ./../apiExamples/inputmode.html -->
195
220
 
196
221
  ```html
197
- <auro-input bordered inputmode="tel" />
222
+ <auro-input inputmode="tel">
223
+ <span slot="label">Telephone</span>
224
+ <span slot="helpText">Help Text</span>
225
+ </auro-input>
198
226
  ```
199
227
  <!-- AURO-GENERATED-CONTENT:END -->
200
228
  </auro-accordion>
@@ -205,9 +233,9 @@ Use the `placeholder` attribute to add a custom placeholder message within the e
205
233
  <div class="exampleWrapper">
206
234
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/placeholder.html) -->
207
235
  <!-- The below content is automatically added from ../apiExamples/placeholder.html -->
208
- <auro-input placeholder="John Doe" bordered required>
236
+ <auro-input placeholder="John Doe" required>
209
237
  <span slot="label">Full name</span>
210
- <span slot="helptext">Please enter your full name.</span>
238
+ <span slot="helpText">Please enter your full name.</span>
211
239
  </auro-input>
212
240
  <!-- AURO-GENERATED-CONTENT:END -->
213
241
  </div>
@@ -217,9 +245,9 @@ Use the `placeholder` attribute to add a custom placeholder message within the e
217
245
  <!-- The below code snippet is automatically added from ../apiExamples/placeholder.html -->
218
246
 
219
247
  ```html
220
- <auro-input placeholder="John Doe" bordered required>
248
+ <auro-input placeholder="John Doe" required>
221
249
  <span slot="label">Full name</span>
222
- <span slot="helptext">Please enter your full name.</span>
250
+ <span slot="helpText">Please enter your full name.</span>
223
251
  </auro-input>
224
252
  ```
225
253
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -231,9 +259,9 @@ Use the `value` attribute to programmatically set the value of the input.
231
259
  <div class="exampleWrapper">
232
260
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/programmaticValue.html) -->
233
261
  <!-- The below content is automatically added from ../apiExamples/programmaticValue.html -->
234
- <auro-input value="Alaska Airlines is the best!" bordered>
262
+ <auro-input value="Alaska Airlines is the best!">
235
263
  <span slot="label">Name</span>
236
- <span slot="helptext">Please enter your full name.</span>
264
+ <span slot="helpText">Please enter your full name.</span>
237
265
  </auro-input>
238
266
  <!-- AURO-GENERATED-CONTENT:END -->
239
267
  </div>
@@ -243,9 +271,9 @@ Use the `value` attribute to programmatically set the value of the input.
243
271
  <!-- The below code snippet is automatically added from ../apiExamples/programmaticValue.html -->
244
272
 
245
273
  ```html
246
- <auro-input value="Alaska Airlines is the best!" bordered>
274
+ <auro-input value="Alaska Airlines is the best!">
247
275
  <span slot="label">Name</span>
248
- <span slot="helptext">Please enter your full name.</span>
276
+ <span slot="helpText">Please enter your full name.</span>
249
277
  </auro-input>
250
278
  ```
251
279
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -263,9 +291,9 @@ Note: Setting the `value` to `undefined` will also reset the element.
263
291
  <auro-button id="setValidValueBtn">Set Value to Alaska</auro-button>
264
292
  <auro-button id="setUndefinedValueBtn">Set Value to Undefined</auro-button>
265
293
  <br /><br />
266
- <auro-input id="setProgrammaticValueExample" value="Press one of the buttons above!" bordered>
294
+ <auro-input id="setProgrammaticValueExample" value="Press one of the buttons above!">
267
295
  <span slot="label">Name</span>
268
- <span slot="helptext">Please enter your full name.</span>
296
+ <span slot="helpText">Please enter your full name.</span>
269
297
  </auro-input>
270
298
  <!-- AURO-GENERATED-CONTENT:END -->
271
299
  </div>
@@ -278,9 +306,9 @@ Note: Setting the `value` to `undefined` will also reset the element.
278
306
  <auro-button id="setValidValueBtn">Set Value to Alaska</auro-button>
279
307
  <auro-button id="setUndefinedValueBtn">Set Value to Undefined</auro-button>
280
308
  <br /><br />
281
- <auro-input id="setProgrammaticValueExample" value="Press one of the buttons above!" bordered>
309
+ <auro-input id="setProgrammaticValueExample" value="Press one of the buttons above!">
282
310
  <span slot="label">Name</span>
283
- <span slot="helptext">Please enter your full name.</span>
311
+ <span slot="helpText">Please enter your full name.</span>
284
312
  </auro-input>
285
313
  ```
286
314
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -315,8 +343,9 @@ The `setCustomValidityRangeOverflow` attribute may optionally be used in combina
315
343
  <div class="exampleWrapper">
316
344
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/maxDate.html) -->
317
345
  <!-- The below content is automatically added from ../apiExamples/maxDate.html -->
318
- <auro-input type="date" max="03/25/2023" setCustomValidityRangeOverflow="The selected date is past the defined maximum date." bordered>
346
+ <auro-input type="date" max="03/25/2023" setCustomValidityRangeOverflow="The selected date is past the defined maximum date.">
319
347
  <span slot="label">Choose a date</span>
348
+ <span slot="helpText">Help Text</span>
320
349
  </auro-input>
321
350
  <!-- AURO-GENERATED-CONTENT:END -->
322
351
  </div>
@@ -326,8 +355,9 @@ The `setCustomValidityRangeOverflow` attribute may optionally be used in combina
326
355
  <!-- The below code snippet is automatically added from ../apiExamples/maxDate.html -->
327
356
 
328
357
  ```html
329
- <auro-input type="date" max="03/25/2023" setCustomValidityRangeOverflow="The selected date is past the defined maximum date." bordered>
358
+ <auro-input type="date" max="03/25/2023" setCustomValidityRangeOverflow="The selected date is past the defined maximum date.">
330
359
  <span slot="label">Choose a date</span>
360
+ <span slot="helpText">Help Text</span>
331
361
  </auro-input>
332
362
  ```
333
363
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -338,8 +368,9 @@ The `setCustomValidityRangeOverflow` attribute may optionally be used in combina
338
368
  <div class="exampleWrapper">
339
369
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/maxNumber.html) -->
340
370
  <!-- The below content is automatically added from ../apiExamples/maxNumber.html -->
341
- <auro-input type="number" max="10" setCustomValidityRangeOverflow="The selected value is above the defined maximum." bordered>
371
+ <auro-input type="number" max="10" setCustomValidityRangeOverflow="The selected value is above the defined maximum.">
342
372
  <span slot="label">Choose a number</span>
373
+ <span slot="helpText">Help Text</span>
343
374
  </auro-input>
344
375
  <!-- AURO-GENERATED-CONTENT:END -->
345
376
  </div>
@@ -349,8 +380,9 @@ The `setCustomValidityRangeOverflow` attribute may optionally be used in combina
349
380
  <!-- The below code snippet is automatically added from ../apiExamples/maxNumber.html -->
350
381
 
351
382
  ```html
352
- <auro-input type="number" max="10" setCustomValidityRangeOverflow="The selected value is above the defined maximum." bordered>
383
+ <auro-input type="number" max="10" setCustomValidityRangeOverflow="The selected value is above the defined maximum.">
353
384
  <span slot="label">Choose a number</span>
385
+ <span slot="helpText">Help Text</span>
354
386
  </auro-input>
355
387
  ```
356
388
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -366,8 +398,9 @@ The `setCustomValidityRangeUnderflow` attribute may optionally be used in combin
366
398
  <div class="exampleWrapper">
367
399
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/minDate.html) -->
368
400
  <!-- The below content is automatically added from ../apiExamples/minDate.html -->
369
- <auro-input type="date" min="03/25/2023" setCustomValidityRangeUnderflow="The selected date is before the defined minimum date." bordered>
401
+ <auro-input type="date" min="03/25/2023" setCustomValidityRangeUnderflow="The selected date is before the defined minimum date.">
370
402
  <span slot="label">Choose a date</span>
403
+ <span slot="helpText">Help Text</span>
371
404
  </auro-input>
372
405
  <!-- AURO-GENERATED-CONTENT:END -->
373
406
  </div>
@@ -377,8 +410,9 @@ The `setCustomValidityRangeUnderflow` attribute may optionally be used in combin
377
410
  <!-- The below code snippet is automatically added from ../apiExamples/minDate.html -->
378
411
 
379
412
  ```html
380
- <auro-input type="date" min="03/25/2023" setCustomValidityRangeUnderflow="The selected date is before the defined minimum date." bordered>
413
+ <auro-input type="date" min="03/25/2023" setCustomValidityRangeUnderflow="The selected date is before the defined minimum date.">
381
414
  <span slot="label">Choose a date</span>
415
+ <span slot="helpText">Help Text</span>
382
416
  </auro-input>
383
417
  ```
384
418
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -389,8 +423,9 @@ The `setCustomValidityRangeUnderflow` attribute may optionally be used in combin
389
423
  <div class="exampleWrapper">
390
424
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/minNumber.html) -->
391
425
  <!-- The below content is automatically added from ../apiExamples/minNumber.html -->
392
- <auro-input type="number" min="10" setCustomValidityRangeUnderflow="The selected value is below the defined minimum." bordered>
426
+ <auro-input type="number" min="10" setCustomValidityRangeUnderflow="The selected value is below the defined minimum.">
393
427
  <span slot="label">Choose a number</span>
428
+ <span slot="helpText">Help Text</span>
394
429
  </auro-input>
395
430
  <!-- AURO-GENERATED-CONTENT:END -->
396
431
  </div>
@@ -400,8 +435,9 @@ The `setCustomValidityRangeUnderflow` attribute may optionally be used in combin
400
435
  <!-- The below code snippet is automatically added from ../apiExamples/minNumber.html -->
401
436
 
402
437
  ```html
403
- <auro-input type="number" min="10" setCustomValidityRangeUnderflow="The selected value is below the defined minimum." bordered>
438
+ <auro-input type="number" min="10" setCustomValidityRangeUnderflow="The selected value is below the defined minimum.">
404
439
  <span slot="label">Choose a number</span>
440
+ <span slot="helpText">Help Text</span>
405
441
  </auro-input>
406
442
  ```
407
443
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -415,9 +451,9 @@ The `setCustomValidityTooLong` attribute may optionally be used in combination w
415
451
  <div class="exampleWrapper">
416
452
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/maxLength.html) -->
417
453
  <!-- The below content is automatically added from ../apiExamples/maxLength.html -->
418
- <auro-input maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered." bordered required>
454
+ <auro-input maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered." required>
419
455
  <span slot="label">Voucher Code</span>
420
- <span slot="helptext">Please enter your 12 character voucher code.</span>
456
+ <span slot="helpText">Please enter your 12 character voucher code.</span>
421
457
  </auro-input>
422
458
  <!-- AURO-GENERATED-CONTENT:END -->
423
459
  </div>
@@ -427,9 +463,9 @@ The `setCustomValidityTooLong` attribute may optionally be used in combination w
427
463
  <!-- The below code snippet is automatically added from ../apiExamples/maxLength.html -->
428
464
 
429
465
  ```html
430
- <auro-input maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered." bordered required>
466
+ <auro-input maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered." required>
431
467
  <span slot="label">Voucher Code</span>
432
- <span slot="helptext">Please enter your 12 character voucher code.</span>
468
+ <span slot="helpText">Please enter your 12 character voucher code.</span>
433
469
  </auro-input>
434
470
  ```
435
471
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -443,9 +479,9 @@ The `setCustomValidityTooShort` attribute may optionally be used in combination
443
479
  <div class="exampleWrapper">
444
480
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/minLength.html) -->
445
481
  <!-- The below content is automatically added from ../apiExamples/minLength.html -->
446
- <auro-input minlength="4" setCustomValidityTooShort="Please enter a full voucher code." bordered required>
482
+ <auro-input minlength="4" setCustomValidityTooShort="Please enter a full voucher code." required>
447
483
  <span slot="label">Voucher Code</span>
448
- <span slot="helptext">Please enter your 4 character voucher code.</span>
484
+ <span slot="helpText">Please enter your 4 character voucher code.</span>
449
485
  </auro-input>
450
486
  <!-- AURO-GENERATED-CONTENT:END -->
451
487
  </div>
@@ -455,9 +491,9 @@ The `setCustomValidityTooShort` attribute may optionally be used in combination
455
491
  <!-- The below code snippet is automatically added from ../apiExamples/minLength.html -->
456
492
 
457
493
  ```html
458
- <auro-input minlength="4" setCustomValidityTooShort="Please enter a full voucher code." bordered required>
494
+ <auro-input minlength="4" setCustomValidityTooShort="Please enter a full voucher code." required>
459
495
  <span slot="label">Voucher Code</span>
460
- <span slot="helptext">Please enter your 4 character voucher code.</span>
496
+ <span slot="helpText">Please enter your 4 character voucher code.</span>
461
497
  </auro-input>
462
498
  ```
463
499
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -471,9 +507,9 @@ The `<auro-input>` component supports setting a custom validity message specific
471
507
  <div class="exampleWrapper">
472
508
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/pattern.html) -->
473
509
  <!-- The below content is automatically added from ../apiExamples/pattern.html -->
474
- <auro-input pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityPatternMismatch="Only contain lowercase letters w/no spaces" bordered>
510
+ <auro-input pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityPatternMismatch="Only contain lowercase letters w/no spaces">
475
511
  <span slot="label">Username</span>
476
- <span slot="helptext">Please enter a username.</span>
512
+ <span slot="helpText">Please enter a username.</span>
477
513
  </auro-input>
478
514
  <!-- AURO-GENERATED-CONTENT:END -->
479
515
  </div>
@@ -483,9 +519,9 @@ The `<auro-input>` component supports setting a custom validity message specific
483
519
  <!-- The below code snippet is automatically added from ../apiExamples/pattern.html -->
484
520
 
485
521
  ```html
486
- <auro-input pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityPatternMismatch="Only contain lowercase letters w/no spaces" bordered>
522
+ <auro-input pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityPatternMismatch="Only contain lowercase letters w/no spaces">
487
523
  <span slot="label">Username</span>
488
- <span slot="helptext">Please enter a username.</span>
524
+ <span slot="helpText">Please enter a username.</span>
489
525
  </auro-input>
490
526
  ```
491
527
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -502,9 +538,9 @@ In this example, the user is able to programmatically change the value of the in
502
538
  <auro-button id="setReadonlyValueBtn">Set Value to Auro Alaska</auro-button>
503
539
  <auro-button id="resetReadonlyValueBtn">Reset</auro-button>
504
540
  <br /><br />
505
- <auro-input readonly bordered id="readonlyExample">
541
+ <auro-input readonly id="readonlyExample">
506
542
  <span slot="label">Name</span>
507
- <span slot="helptext">Please enter your full name.</span>
543
+ <span slot="helpText">Please enter your full name.</span>
508
544
  </auro-input>
509
545
  <!-- AURO-GENERATED-CONTENT:END -->
510
546
  </div>
@@ -517,9 +553,9 @@ In this example, the user is able to programmatically change the value of the in
517
553
  <auro-button id="setReadonlyValueBtn">Set Value to Auro Alaska</auro-button>
518
554
  <auro-button id="resetReadonlyValueBtn">Reset</auro-button>
519
555
  <br /><br />
520
- <auro-input readonly bordered id="readonlyExample">
556
+ <auro-input readonly id="readonlyExample">
521
557
  <span slot="label">Name</span>
522
- <span slot="helptext">Please enter your full name.</span>
558
+ <span slot="helpText">Please enter your full name.</span>
523
559
  </auro-input>
524
560
  ```
525
561
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -549,9 +585,9 @@ Example use cases for auro-input support the `activeLabel` attribute. If set, th
549
585
  <div class="exampleWrapper">
550
586
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/activeLabel.html) -->
551
587
  <!-- The below content is automatically added from ../apiExamples/activeLabel.html -->
552
- <auro-input activeLabel bordered>
588
+ <auro-input activeLabel>
553
589
  <span slot="label">Address</span>
554
- <span slot="helptext">Please enter your home address.</span>
590
+ <span slot="helpText">Please enter your home address.</span>
555
591
  </auro-input>
556
592
  <!-- AURO-GENERATED-CONTENT:END -->
557
593
  </div>
@@ -561,9 +597,9 @@ Example use cases for auro-input support the `activeLabel` attribute. If set, th
561
597
  <!-- The below code snippet is automatically added from ../apiExamples/activeLabel.html -->
562
598
 
563
599
  ```html
564
- <auro-input activeLabel bordered>
600
+ <auro-input activeLabel>
565
601
  <span slot="label">Address</span>
566
- <span slot="helptext">Please enter your home address.</span>
602
+ <span slot="helpText">Please enter your home address.</span>
567
603
  </auro-input>
568
604
  ```
569
605
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -575,9 +611,9 @@ For use cases where the field is `required`, but live validation is not wanted,
575
611
  <div class="exampleWrapper">
576
612
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/noValidate.html) -->
577
613
  <!-- The below content is automatically added from ../apiExamples/noValidate.html -->
578
- <auro-input noValidate required bordered>
614
+ <auro-input noValidate required>
579
615
  <span slot="label">Address</span>
580
- <span slot="helptext">Please enter your home address.</span>
616
+ <span slot="helpText">Please enter your home address.</span>
581
617
  </auro-input>
582
618
  <!-- AURO-GENERATED-CONTENT:END -->
583
619
  </div>
@@ -587,9 +623,9 @@ For use cases where the field is `required`, but live validation is not wanted,
587
623
  <!-- The below code snippet is automatically added from ../apiExamples/noValidate.html -->
588
624
 
589
625
  ```html
590
- <auro-input noValidate required bordered>
626
+ <auro-input noValidate required>
591
627
  <span slot="label">Address</span>
592
- <span slot="helptext">Please enter your home address.</span>
628
+ <span slot="helpText">Please enter your home address.</span>
593
629
  </auro-input>
594
630
  ```
595
631
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -608,7 +644,10 @@ See [IMask](https://imask.js.org/) for more information on how to configure a ma
608
644
  <div class="exampleWrapper">
609
645
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/format.html) -->
610
646
  <!-- The below content is automatically added from ../apiExamples/format.html -->
611
- <auro-input bordered format="47440000"></auro-input>
647
+ <auro-input format="47440000">
648
+ <span slot="label">Custom format</span>
649
+ <span slot="helpText">Format is: 47440000</span>
650
+ </auro-input>
612
651
  <!-- AURO-GENERATED-CONTENT:END -->
613
652
  </div>
614
653
  <auro-accordion alignRight>
@@ -617,7 +656,10 @@ See [IMask](https://imask.js.org/) for more information on how to configure a ma
617
656
  <!-- The below code snippet is automatically added from ../apiExamples/format.html -->
618
657
 
619
658
  ```html
620
- <auro-input bordered format="47440000"></auro-input>
659
+ <auro-input format="47440000">
660
+ <span slot="label">Custom format</span>
661
+ <span slot="helpText">Format is: 47440000</span>
662
+ </auro-input>
621
663
  ```
622
664
  <!-- AURO-GENERATED-CONTENT:END -->
623
665
  </auro-accordion>
@@ -636,9 +678,9 @@ When the validity check fails, the validityState equals `valueMissing`. The erro
636
678
  <div class="exampleWrapper">
637
679
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/required.html) -->
638
680
  <!-- The below content is automatically added from ../apiExamples/required.html -->
639
- <auro-input required bordered placeholder="John Doe">
681
+ <auro-input required placeholder="John Doe">
640
682
  <span slot="label">Full name</span>
641
- <span slot="helptext">Please enter your full name.</span>
683
+ <span slot="helpText">Please enter your full name.</span>
642
684
  </auro-input>
643
685
  <!-- AURO-GENERATED-CONTENT:END -->
644
686
  </div>
@@ -648,9 +690,37 @@ When the validity check fails, the validityState equals `valueMissing`. The erro
648
690
  <!-- The below code snippet is automatically added from ../apiExamples/required.html -->
649
691
 
650
692
  ```html
651
- <auro-input required bordered placeholder="John Doe">
693
+ <auro-input required placeholder="John Doe">
694
+ <span slot="label">Full name</span>
695
+ <span slot="helpText">Please enter your full name.</span>
696
+ </auro-input>
697
+ ```
698
+ <!-- AURO-GENERATED-CONTENT:END -->
699
+ </auro-accordion>
700
+
701
+ ### Custom optional label <a name="optionalLabel"></a>
702
+ The `<auro-input>` supports an `optionalLabel` slot, where users can can override the default `(optional)` notification text.
703
+
704
+ <div class="exampleWrapper">
705
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/optionalLabel.html) -->
706
+ <!-- The below content is automatically added from ./../apiExamples/optionalLabel.html -->
707
+ <auro-input placeholder="John Doe" bordered>
708
+ <span slot="label">Full name</span>
709
+ <span slot="optionalLabel" style="color: grey; font-size: small"> - optional</span>
710
+ <span slot="helpText">Please enter your full name.</span>
711
+ </auro-input>
712
+ <!-- AURO-GENERATED-CONTENT:END -->
713
+ </div>
714
+ <auro-accordion alignRight>
715
+ <span slot="trigger">See code</span>
716
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/optionalLabel.html) -->
717
+ <!-- The below code snippet is automatically added from ./../apiExamples/optionalLabel.html -->
718
+
719
+ ```html
720
+ <auro-input placeholder="John Doe" bordered>
652
721
  <span slot="label">Full name</span>
653
- <span slot="helptext">Please enter your full name.</span>
722
+ <span slot="optionalLabel" style="color: grey; font-size: small"> - optional</span>
723
+ <span slot="helpText">Please enter your full name.</span>
654
724
  </auro-input>
655
725
  ```
656
726
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -662,9 +732,9 @@ Use the `validateOnInput` attribute to enable live validation on the `input` eve
662
732
  <div class="exampleWrapper">
663
733
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/validateOnInput.html) -->
664
734
  <!-- The below content is automatically added from ../apiExamples/validateOnInput.html -->
665
- <auro-input validateOnInput bordered required pattern="[a-zA-Z-.']+( +[a-zA-Z-.']+)+" setCustomValidityPatternMismatch="Full name requires two or more names with at least one space.">
735
+ <auro-input validateOnInput required pattern="[a-zA-Z-.']+( +[a-zA-Z-.']+)+" setCustomValidityPatternMismatch="Full name requires two or more names with at least one space.">
666
736
  <span slot="label">Full Name</span>
667
- <span slot="helptext">Please enter your full name as it appears on the card.</span>
737
+ <span slot="helpText">Please enter your full name as it appears on the card.</span>
668
738
  </auro-input>
669
739
  <!-- AURO-GENERATED-CONTENT:END -->
670
740
  </div>
@@ -674,9 +744,9 @@ Use the `validateOnInput` attribute to enable live validation on the `input` eve
674
744
  <!-- The below code snippet is automatically added from ../apiExamples/validateOnInput.html -->
675
745
 
676
746
  ```html
677
- <auro-input validateOnInput bordered required pattern="[a-zA-Z-.']+( +[a-zA-Z-.']+)+" setCustomValidityPatternMismatch="Full name requires two or more names with at least one space.">
747
+ <auro-input validateOnInput required pattern="[a-zA-Z-.']+( +[a-zA-Z-.']+)+" setCustomValidityPatternMismatch="Full name requires two or more names with at least one space.">
678
748
  <span slot="label">Full Name</span>
679
- <span slot="helptext">Please enter your full name as it appears on the card.</span>
749
+ <span slot="helpText">Please enter your full name as it appears on the card.</span>
680
750
  </auro-input>
681
751
  ```
682
752
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -690,9 +760,9 @@ The `setCustomValidity` attribute can be used to set a custom string for all val
690
760
  <div class="exampleWrapper">
691
761
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/setCustomValidity.html) -->
692
762
  <!-- The below content is automatically added from ../apiExamples/setCustomValidity.html -->
693
- <auro-input bordered required minlength="3" setCustomValidity="Sorry, please enter your first and last name (one space required).">
763
+ <auro-input required minlength="3" setCustomValidity="Sorry, please enter your first and last name (one space required).">
694
764
  <span slot="label">Full Name</span>
695
- <span slot="helptext">Please enter your full name.</span>
765
+ <span slot="helpText">Please enter your full name.</span>
696
766
  </auro-input>
697
767
  <!-- AURO-GENERATED-CONTENT:END -->
698
768
  </div>
@@ -702,9 +772,9 @@ The `setCustomValidity` attribute can be used to set a custom string for all val
702
772
  <!-- The below code snippet is automatically added from ../apiExamples/setCustomValidity.html -->
703
773
 
704
774
  ```html
705
- <auro-input bordered required minlength="3" setCustomValidity="Sorry, please enter your first and last name (one space required).">
775
+ <auro-input required minlength="3" setCustomValidity="Sorry, please enter your first and last name (one space required).">
706
776
  <span slot="label">Full Name</span>
707
- <span slot="helptext">Please enter your full name.</span>
777
+ <span slot="helpText">Please enter your full name.</span>
708
778
  </auro-input>
709
779
  ```
710
780
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -721,9 +791,9 @@ A custom error message can be set using the `error` attribute, or it can be used
721
791
  <auro-button id="setCustomErrorBtn">Set Custom Error</auro-button>
722
792
  <auro-button id="setCustomErrorClearBtn">Clear Custom Error</auro-button>
723
793
  <br /><br />
724
- <auro-input id="setCustomErrorExample" error="Initial error attribute value" bordered>
794
+ <auro-input id="setCustomErrorExample" error="Initial error attribute value">
725
795
  <span slot="label">Name</span>
726
- <span slot="helptext">Please enter your full name.</span>
796
+ <span slot="helpText">Please enter your full name.</span>
727
797
  </auro-input>
728
798
  <!-- AURO-GENERATED-CONTENT:END -->
729
799
  </div>
@@ -736,9 +806,9 @@ A custom error message can be set using the `error` attribute, or it can be used
736
806
  <auro-button id="setCustomErrorBtn">Set Custom Error</auro-button>
737
807
  <auro-button id="setCustomErrorClearBtn">Clear Custom Error</auro-button>
738
808
  <br /><br />
739
- <auro-input id="setCustomErrorExample" error="Initial error attribute value" bordered>
809
+ <auro-input id="setCustomErrorExample" error="Initial error attribute value">
740
810
  <span slot="label">Name</span>
741
- <span slot="helptext">Please enter your full name.</span>
811
+ <span slot="helpText">Please enter your full name.</span>
742
812
  </auro-input>
743
813
  ```
744
814
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -770,9 +840,9 @@ export function customError() {
770
840
  <auro-button onDark id="setCustomErrorBtnOnDark">Set Custom Error</auro-button>
771
841
  <auro-button onDark id="setCustomErrorClearBtnOnDark">Clear Custom Error</auro-button>
772
842
  <br /><br />
773
- <auro-input onDark id="setCustomErrorExampleOnDark" error="Initial error attribute value" bordered>
843
+ <auro-input onDark id="setCustomErrorExampleOnDark" error="Initial error attribute value">
774
844
  <span slot="label">Name</span>
775
- <span slot="helptext">Please enter your full name.</span>
845
+ <span slot="helpText">Please enter your full name.</span>
776
846
  </auro-input>
777
847
  <!-- AURO-GENERATED-CONTENT:END -->
778
848
  </div>
@@ -785,9 +855,9 @@ export function customError() {
785
855
  <auro-button onDark id="setCustomErrorBtnOnDark">Set Custom Error</auro-button>
786
856
  <auro-button onDark id="setCustomErrorClearBtnOnDark">Clear Custom Error</auro-button>
787
857
  <br /><br />
788
- <auro-input onDark id="setCustomErrorExampleOnDark" error="Initial error attribute value" bordered>
858
+ <auro-input onDark id="setCustomErrorExampleOnDark" error="Initial error attribute value">
789
859
  <span slot="label">Name</span>
790
- <span slot="helptext">Please enter your full name.</span>
860
+ <span slot="helpText">Please enter your full name.</span>
791
861
  </auro-input>
792
862
  ```
793
863
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -822,18 +892,18 @@ Default help text will be added to the input `type="password"` if custom help te
822
892
  <div class="exampleWrapper">
823
893
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/password.html) -->
824
894
  <!-- The below content is automatically added from ../apiExamples/password.html -->
825
- <auro-input type="password" required bordered>
895
+ <auro-input type="password" required>
826
896
  <span slot="label">Password</span>
827
- <span slot="helptext">Please enter a secure password.</span>
897
+ <span slot="helpText">Please enter a secure password.</span>
828
898
  </auro-input>
829
899
  <!-- AURO-GENERATED-CONTENT:END -->
830
900
  </div>
831
901
  <div class="exampleWrapper--ondark" aria-hidden>
832
902
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/onDarkPassword.html) -->
833
903
  <!-- The below content is automatically added from ../apiExamples/onDarkPassword.html -->
834
- <auro-input onDark type="password" required bordered>
904
+ <auro-input onDark type="password" required>
835
905
  <span slot="label">Password</span>
836
- <span slot="helptext">Please enter a secure password.</span>
906
+ <span slot="helpText">Please enter a secure password.</span>
837
907
  </auro-input>
838
908
  <!-- AURO-GENERATED-CONTENT:END -->
839
909
  </div>
@@ -843,9 +913,9 @@ Default help text will be added to the input `type="password"` if custom help te
843
913
  <!-- The below code snippet is automatically added from ../apiExamples/onDarkPassword.html -->
844
914
 
845
915
  ```html
846
- <auro-input onDark type="password" required bordered>
916
+ <auro-input onDark type="password" required>
847
917
  <span slot="label">Password</span>
848
- <span slot="helptext">Please enter a secure password.</span>
918
+ <span slot="helpText">Please enter a secure password.</span>
849
919
  </auro-input>
850
920
  ```
851
921
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -860,9 +930,9 @@ Default help text will be added to the input `type="email"` if custom help text
860
930
  <div class="exampleWrapper">
861
931
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/email.html) -->
862
932
  <!-- The below content is automatically added from ../apiExamples/email.html -->
863
- <auro-input type="email" bordered required>
933
+ <auro-input type="email" required>
864
934
  <span slot="label">Email address</span>
865
- <span slot="helptext">Please enter your email address.</span>
935
+ <span slot="helpText">Please enter your email address.</span>
866
936
  </auro-input>
867
937
  <!-- AURO-GENERATED-CONTENT:END -->
868
938
  </div>
@@ -872,9 +942,9 @@ Default help text will be added to the input `type="email"` if custom help text
872
942
  <!-- The below code snippet is automatically added from ../apiExamples/email.html -->
873
943
 
874
944
  ```html
875
- <auro-input type="email" bordered required>
945
+ <auro-input type="email" required>
876
946
  <span slot="label">Email address</span>
877
- <span slot="helptext">Please enter your email address.</span>
947
+ <span slot="helpText">Please enter your email address.</span>
878
948
  </auro-input>
879
949
  ```
880
950
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -889,9 +959,9 @@ This `number` input type should only be used for incremental numeric values, mea
889
959
  <div class="exampleWrapper">
890
960
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/number.html) -->
891
961
  <!-- The below content is automatically added from ../apiExamples/number.html -->
892
- <auro-input type="number" bordered required>
962
+ <auro-input type="number" required>
893
963
  <span slot="label">Number of Passengers</span>
894
- <span slot="helptext">Please enter the number of passengers.</span>
964
+ <span slot="helpText">Please enter the number of passengers.</span>
895
965
  </auro-input>
896
966
  <!-- AURO-GENERATED-CONTENT:END -->
897
967
  </div>
@@ -901,9 +971,9 @@ This `number` input type should only be used for incremental numeric values, mea
901
971
  <!-- The below code snippet is automatically added from ../apiExamples/number.html -->
902
972
 
903
973
  ```html
904
- <auro-input type="number" bordered required>
974
+ <auro-input type="number" required>
905
975
  <span slot="label">Number of Passengers</span>
906
- <span slot="helptext">Please enter the number of passengers.</span>
976
+ <span slot="helpText">Please enter the number of passengers.</span>
907
977
  </auro-input>
908
978
  ```
909
979
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -918,9 +988,9 @@ Default help text will be added to the input `type="credit-card"` if custom help
918
988
  <div class="exampleWrapper">
919
989
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/creditCard.html) -->
920
990
  <!-- The below content is automatically added from ../apiExamples/creditCard.html -->
921
- <auro-input type="credit-card" bordered required>
991
+ <auro-input type="credit-card" required>
922
992
  <span slot="label">Card number</span>
923
- <span slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</span>
993
+ <span slot="helpText">Valid credit card numbers must include 16 digits (15 for Amex).</span>
924
994
  </auro-input>
925
995
  <!-- AURO-GENERATED-CONTENT:END -->
926
996
  </div>
@@ -930,9 +1000,9 @@ Default help text will be added to the input `type="credit-card"` if custom help
930
1000
  <!-- The below code snippet is automatically added from ../apiExamples/creditCard.html -->
931
1001
 
932
1002
  ```html
933
- <auro-input type="credit-card" bordered required>
1003
+ <auro-input type="credit-card" required>
934
1004
  <span slot="label">Card number</span>
935
- <span slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</span>
1005
+ <span slot="helpText">Valid credit card numbers must include 16 digits (15 for Amex).</span>
936
1006
  </auro-input>
937
1007
  ```
938
1008
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -944,9 +1014,9 @@ Use the `type="credit-card"` and `icon` attributes for a credit card formatted i
944
1014
  <div class="exampleWrapper">
945
1015
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/creditCardIcon.html) -->
946
1016
  <!-- The below content is automatically added from ../apiExamples/creditCardIcon.html -->
947
- <auro-input icon type="credit-card" bordered required>
1017
+ <auro-input icon type="credit-card" required>
948
1018
  <span slot="label">Card number</span>
949
- <span slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</span>
1019
+ <span slot="helpText">Valid credit card numbers must include 16 digits (15 for Amex).</span>
950
1020
  </auro-input>
951
1021
  <!-- AURO-GENERATED-CONTENT:END -->
952
1022
  </div>
@@ -957,9 +1027,9 @@ Use the `type="credit-card"` and `icon` attributes for a credit card formatted i
957
1027
  <!-- The below code snippet is automatically added from ../apiExamples/creditCardIcon.html -->
958
1028
 
959
1029
  ```html
960
- <auro-input icon type="credit-card" bordered required>
1030
+ <auro-input icon type="credit-card" required>
961
1031
  <span slot="label">Card number</span>
962
- <span slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</span>
1032
+ <span slot="helpText">Valid credit card numbers must include 16 digits (15 for Amex).</span>
963
1033
  </auro-input>
964
1034
  ```
965
1035
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -972,7 +1042,10 @@ Use the `type="tel"` attribute for a phone number formatted input. The default f
972
1042
  <div class="exampleWrapper">
973
1043
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/tel.html) -->
974
1044
  <!-- The below content is automatically added from ../apiExamples/tel.html -->
975
- <auro-input type="tel" bordered></auro-input>
1045
+ <auro-input type="tel">
1046
+ <span slot="label">Telephone</span>
1047
+ <span slot="helpText">Help Text</span>
1048
+ </auro-input>
976
1049
  <!-- AURO-GENERATED-CONTENT:END -->
977
1050
  </div>
978
1051
  <auro-accordion alignRight>
@@ -981,7 +1054,10 @@ Use the `type="tel"` attribute for a phone number formatted input. The default f
981
1054
  <!-- The below code snippet is automatically added from ../apiExamples/tel.html -->
982
1055
 
983
1056
  ```html
984
- <auro-input type="tel" bordered></auro-input>
1057
+ <auro-input type="tel">
1058
+ <span slot="label">Telephone</span>
1059
+ <span slot="helpText">Help Text</span>
1060
+ </auro-input>
985
1061
  ```
986
1062
  <!-- AURO-GENERATED-CONTENT:END -->
987
1063
  </auro-accordion>
@@ -993,7 +1069,10 @@ Use the `format` attribute to set a custom phone number format.
993
1069
  <div class="exampleWrapper">
994
1070
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/telFormat.html) -->
995
1071
  <!-- The below content is automatically added from ../apiExamples/telFormat.html -->
996
- <auro-input type="tel" format="+22 999 99 9999" bordered></auro-input>
1072
+ <auro-input type="tel" format="+22 999 99 9999">
1073
+ <span slot="label">Telephone</span>
1074
+ <span slot="helpText">Help Text</span>
1075
+ </auro-input>
997
1076
  <!-- AURO-GENERATED-CONTENT:END -->
998
1077
  </div>
999
1078
  <auro-accordion alignRight>
@@ -1002,7 +1081,10 @@ Use the `format` attribute to set a custom phone number format.
1002
1081
  <!-- The below code snippet is automatically added from ../apiExamples/telFormat.html -->
1003
1082
 
1004
1083
  ```html
1005
- <auro-input type="tel" format="+22 999 99 9999" bordered></auro-input>
1084
+ <auro-input type="tel" format="+22 999 99 9999">
1085
+ <span slot="label">Telephone</span>
1086
+ <span slot="helpText">Help Text</span>
1087
+ </auro-input>
1006
1088
  ```
1007
1089
  <!-- AURO-GENERATED-CONTENT:END -->
1008
1090
  </auro-accordion>
@@ -1014,8 +1096,9 @@ Use the `type="date"` attribute for a date formatted input. The default date for
1014
1096
  <div class="exampleWrapper">
1015
1097
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/monthDayYear.html) -->
1016
1098
  <!-- The below content is automatically added from ../apiExamples/monthDayYear.html -->
1017
- <auro-input type="date" bordered>
1099
+ <auro-input type="date">
1018
1100
  <span slot="label">Arrival date</span>
1101
+ <span slot="helpText">Help Text</span>
1019
1102
  </auro-input>
1020
1103
  <!-- AURO-GENERATED-CONTENT:END -->
1021
1104
  </div>
@@ -1025,8 +1108,9 @@ Use the `type="date"` attribute for a date formatted input. The default date for
1025
1108
  <!-- The below code snippet is automatically added from ../apiExamples/monthDayYear.html -->
1026
1109
 
1027
1110
  ```html
1028
- <auro-input type="date" bordered>
1111
+ <auro-input type="date">
1029
1112
  <span slot="label">Arrival date</span>
1113
+ <span slot="helpText">Help Text</span>
1030
1114
  </auro-input>
1031
1115
  ```
1032
1116
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -1039,8 +1123,9 @@ Use the `format` attribute to put together any combination of `mm`, `dd`, & `yyy
1039
1123
  <div class="exampleWrapper">
1040
1124
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/yearMonthDay.html) -->
1041
1125
  <!-- The below content is automatically added from ../apiExamples/yearMonthDay.html -->
1042
- <auro-input type="date" format="yyyy/mm/dd" bordered>
1126
+ <auro-input type="date" format="yyyy/mm/dd">
1043
1127
  <span slot="label">Arrival date</span>
1128
+ <span slot="helpText">Help Text</span>
1044
1129
  </auro-input>
1045
1130
  <!-- AURO-GENERATED-CONTENT:END -->
1046
1131
  </div>
@@ -1050,8 +1135,9 @@ Use the `format` attribute to put together any combination of `mm`, `dd`, & `yyy
1050
1135
  <!-- The below code snippet is automatically added from ../apiExamples/yearMonthDay.html -->
1051
1136
 
1052
1137
  ```html
1053
- <auro-input type="date" format="yyyy/mm/dd" bordered>
1138
+ <auro-input type="date" format="yyyy/mm/dd">
1054
1139
  <span slot="label">Arrival date</span>
1140
+ <span slot="helpText">Help Text</span>
1055
1141
  </auro-input>
1056
1142
  ```
1057
1143
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -1059,8 +1145,9 @@ Use the `format` attribute to put together any combination of `mm`, `dd`, & `yyy
1059
1145
  <div class="exampleWrapper">
1060
1146
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/monthYear.html) -->
1061
1147
  <!-- The below content is automatically added from ../apiExamples/monthYear.html -->
1062
- <auro-input type="date" format="mm/yy" bordered>
1148
+ <auro-input type="date" format="mm/yy">
1063
1149
  <span slot="label">Expiration date</span>
1150
+ <span slot="helpText">Help Text</span>
1064
1151
  </auro-input>
1065
1152
  <!-- AURO-GENERATED-CONTENT:END -->
1066
1153
  </div>
@@ -1070,8 +1157,9 @@ Use the `format` attribute to put together any combination of `mm`, `dd`, & `yyy
1070
1157
  <!-- The below code snippet is automatically added from ../apiExamples/monthYear.html -->
1071
1158
 
1072
1159
  ```html
1073
- <auro-input type="date" format="mm/yy" bordered>
1160
+ <auro-input type="date" format="mm/yy">
1074
1161
  <span slot="label">Expiration date</span>
1162
+ <span slot="helpText">Help Text</span>
1075
1163
  </auro-input>
1076
1164
  ```
1077
1165
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -1079,8 +1167,9 @@ Use the `format` attribute to put together any combination of `mm`, `dd`, & `yyy
1079
1167
  <div class="exampleWrapper">
1080
1168
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/day.html) -->
1081
1169
  <!-- The below content is automatically added from ../apiExamples/day.html -->
1082
- <auro-input type="date" format="dd" bordered>
1170
+ <auro-input type="date" format="dd">
1083
1171
  <span slot="label">Day</span>
1172
+ <span slot="helpText">Help Text</span>
1084
1173
  </auro-input>
1085
1174
  <!-- AURO-GENERATED-CONTENT:END -->
1086
1175
  </div>
@@ -1090,8 +1179,9 @@ Use the `format` attribute to put together any combination of `mm`, `dd`, & `yyy
1090
1179
  <!-- The below code snippet is automatically added from ../apiExamples/day.html -->
1091
1180
 
1092
1181
  ```html
1093
- <auro-input type="date" format="dd" bordered>
1182
+ <auro-input type="date" format="dd">
1094
1183
  <span slot="label">Day</span>
1184
+ <span slot="helpText">Help Text</span>
1095
1185
  </auro-input>
1096
1186
  ```
1097
1187
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -1108,9 +1198,9 @@ Use the `reset()` method to reset the `<auro-input>`'s `value` and `validity` st
1108
1198
  <!-- The below content is automatically added from ../apiExamples/resetState.html -->
1109
1199
  <auro-button id="resetStateBtn">Reset</auro-button>
1110
1200
  <br /><br />
1111
- <auro-input id="resetStateExample" bordered minlength="12" value="Auro Team" setCustomValidityTooShort="Please enter your full name!">
1201
+ <auro-input id="resetStateExample" minlength="12" value="Auro Team" setCustomValidityTooShort="Please enter your full name!">
1112
1202
  <span slot="label">Full Name</span>
1113
- <span slot="helptext">Please enter your full name.</span>
1203
+ <span slot="helpText">Please enter your full name.</span>
1114
1204
  </auro-input>
1115
1205
  <!-- AURO-GENERATED-CONTENT:END -->
1116
1206
  </div>
@@ -1122,9 +1212,9 @@ Use the `reset()` method to reset the `<auro-input>`'s `value` and `validity` st
1122
1212
  ```html
1123
1213
  <auro-button id="resetStateBtn">Reset</auro-button>
1124
1214
  <br /><br />
1125
- <auro-input id="resetStateExample" bordered minlength="12" value="Auro Team" setCustomValidityTooShort="Please enter your full name!">
1215
+ <auro-input id="resetStateExample" minlength="12" value="Auro Team" setCustomValidityTooShort="Please enter your full name!">
1126
1216
  <span slot="label">Full Name</span>
1127
- <span slot="helptext">Please enter your full name.</span>
1217
+ <span slot="helpText">Please enter your full name.</span>
1128
1218
  </auro-input>
1129
1219
  ```
1130
1220
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -1150,12 +1240,14 @@ Example illustrates using a JavaScript function attached to an `auro-button` com
1150
1240
  <div class="exampleWrapper">
1151
1241
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/swapValue.html) -->
1152
1242
  <!-- The below content is automatically added from ../apiExamples/swapValue.html -->
1153
- <auro-input id="swapExampleLeft" bordered>
1243
+ <auro-input id="swapExampleLeft">
1154
1244
  <span slot="label">Left Input</span>
1245
+ <span slot="helpText">Help Text</span>
1155
1246
  </auro-input>
1156
1247
  <auro-button id="swapExampleBtn">Swap Values</auro-button>
1157
- <auro-input id="swapExampleRight" bordered>
1248
+ <auro-input id="swapExampleRight">
1158
1249
  <span slot="label">Right Input</span>
1250
+ <span slot="helpText">Help Text</span>
1159
1251
  </auro-input>
1160
1252
  <style>
1161
1253
  #swapExampleWrapper {
@@ -1180,12 +1272,14 @@ Example illustrates using a JavaScript function attached to an `auro-button` com
1180
1272
  <!-- The below code snippet is automatically added from ../apiExamples/swapValue.html -->
1181
1273
 
1182
1274
  ```html
1183
- <auro-input id="swapExampleLeft" bordered>
1275
+ <auro-input id="swapExampleLeft">
1184
1276
  <span slot="label">Left Input</span>
1277
+ <span slot="helpText">Help Text</span>
1185
1278
  </auro-input>
1186
1279
  <auro-button id="swapExampleBtn">Swap Values</auro-button>
1187
- <auro-input id="swapExampleRight" bordered>
1280
+ <auro-input id="swapExampleRight">
1188
1281
  <span slot="label">Right Input</span>
1282
+ <span slot="helpText">Help Text</span>
1189
1283
  </auro-input>
1190
1284
  <style>
1191
1285
  #swapExampleWrapper {
@@ -1235,7 +1329,7 @@ The component may be restyled using the following code sample and changing the v
1235
1329
  ```scss
1236
1330
  /* stylelint-disable custom-property-empty-line-before */
1237
1331
 
1238
- @use "@aurodesignsystem/design-tokens/dist/alaska/SCSSVariables--alaska" as v;
1332
+ @use "@aurodesignsystem/design-tokens/dist/themes/alaska/SCSSVariables--alaska" as v;
1239
1333
 
1240
1334
  $ds-basic-color-border-bold: #585e67;
1241
1335
 
@@ -1260,7 +1354,7 @@ $ds-basic-color-border-bold: #585e67;
1260
1354
  --ds-auro-input-label-text-color: var(--ds-basic-color-texticon-inverse, #{v.$ds-basic-color-texticon-inverse});
1261
1355
  --ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-inverse, #{v.$ds-basic-color-texticon-inverse});
1262
1356
  --ds-auro-input-text-color: var(--ds-basic-color-texticon-inverse, #{v.$ds-basic-color-texticon-inverse});
1263
- --ds-auro-input-error-icon-color: var(--ds-advanced-color-state-error-inverse, #{v.$ds-advanced-color-state-error-inverse});
1357
+ --ds-auro-input-error-icon-color: var(--ds-basic-color-status-error-subtle, #{v.$ds-basic-color-status-error-subtle});
1264
1358
 
1265
1359
  --ds-auro-input-outline-color: transparent;
1266
1360
  }