@aurodesignsystem-dev/auro-formkit 0.0.0-pr1413.2 → 0.0.0-pr1420.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (231) hide show
  1. package/package.json +32 -31
  2. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +0 -66
  3. package/components/bibtemplate/dist/buttonVersion.d.ts +0 -2
  4. package/components/bibtemplate/dist/headerVersion.d.ts +0 -2
  5. package/components/bibtemplate/dist/iconVersion.d.ts +0 -2
  6. package/components/bibtemplate/dist/index.d.ts +0 -2
  7. package/components/bibtemplate/dist/index.js +0 -395
  8. package/components/bibtemplate/dist/registered.js +0 -395
  9. package/components/bibtemplate/dist/styles/color-css.d.ts +0 -2
  10. package/components/bibtemplate/dist/styles/style-css.d.ts +0 -2
  11. package/components/bibtemplate/dist/styles/tokens-css.d.ts +0 -2
  12. package/components/checkbox/demo/api.md +0 -489
  13. package/components/checkbox/demo/api.min.js +0 -2133
  14. package/components/checkbox/demo/index.md +0 -55
  15. package/components/checkbox/demo/index.min.js +0 -2108
  16. package/components/checkbox/demo/keyboardBehavior.md +0 -0
  17. package/components/checkbox/demo/readme.md +0 -142
  18. package/components/checkbox/dist/auro-checkbox-group.d.ts +0 -176
  19. package/components/checkbox/dist/auro-checkbox.d.ts +0 -209
  20. package/components/checkbox/dist/index.d.ts +0 -3
  21. package/components/checkbox/dist/index.js +0 -2057
  22. package/components/checkbox/dist/registered.js +0 -2058
  23. package/components/checkbox/dist/styles/auro-checkbox-css.d.ts +0 -2
  24. package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts +0 -2
  25. package/components/checkbox/dist/styles/color-css.d.ts +0 -2
  26. package/components/checkbox/dist/styles/colorGroup-css.d.ts +0 -2
  27. package/components/checkbox/dist/styles/tokens-css.d.ts +0 -2
  28. package/components/combobox/demo/api.md +0 -2287
  29. package/components/combobox/demo/api.min.js +0 -17800
  30. package/components/combobox/demo/index.md +0 -196
  31. package/components/combobox/demo/index.min.js +0 -17705
  32. package/components/combobox/demo/keyboardBehavior.md +0 -281
  33. package/components/combobox/demo/readme.md +0 -158
  34. package/components/combobox/dist/auro-combobox.d.ts +0 -566
  35. package/components/combobox/dist/comboboxKeyboardStrategy.d.ts +0 -8
  36. package/components/combobox/dist/index.d.ts +0 -2
  37. package/components/combobox/dist/index.js +0 -15604
  38. package/components/combobox/dist/registered.js +0 -15606
  39. package/components/combobox/dist/styles/emphasized/style-css.d.ts +0 -2
  40. package/components/combobox/dist/styles/snowflake/style-css.d.ts +0 -2
  41. package/components/combobox/dist/styles/style-css.d.ts +0 -2
  42. package/components/counter/demo/api.md +0 -1285
  43. package/components/counter/demo/api.min.js +0 -8112
  44. package/components/counter/demo/index.md +0 -92
  45. package/components/counter/demo/index.min.js +0 -8093
  46. package/components/counter/demo/keyboardBehavior.md +0 -127
  47. package/components/counter/demo/readme.md +0 -161
  48. package/components/counter/dist/auro-counter-button.d.ts +0 -14
  49. package/components/counter/dist/auro-counter-group.d.ts +0 -390
  50. package/components/counter/dist/auro-counter-wrapper.d.ts +0 -17
  51. package/components/counter/dist/auro-counter.d.ts +0 -136
  52. package/components/counter/dist/buttonVersion.d.ts +0 -2
  53. package/components/counter/dist/iconVersion.d.ts +0 -2
  54. package/components/counter/dist/index.d.ts +0 -3
  55. package/components/counter/dist/index.js +0 -8015
  56. package/components/counter/dist/keyboardStrategy.d.ts +0 -4
  57. package/components/counter/dist/registered.js +0 -8016
  58. package/components/counter/dist/styles/color-css.d.ts +0 -2
  59. package/components/counter/dist/styles/counter-button-color-css.d.ts +0 -2
  60. package/components/counter/dist/styles/counter-button-css.d.ts +0 -2
  61. package/components/counter/dist/styles/counter-group-css.d.ts +0 -2
  62. package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +0 -2
  63. package/components/counter/dist/styles/counter-wrapper-css.d.ts +0 -2
  64. package/components/counter/dist/styles/shapeSize-css.d.ts +0 -2
  65. package/components/counter/dist/styles/style-css.d.ts +0 -2
  66. package/components/counter/dist/styles/tokens-css.d.ts +0 -2
  67. package/components/datepicker/demo/api.md +0 -1824
  68. package/components/datepicker/demo/api.min.js +0 -24510
  69. package/components/datepicker/demo/index.md +0 -158
  70. package/components/datepicker/demo/index.min.js +0 -24231
  71. package/components/datepicker/demo/keyboardBehavior.md +0 -24
  72. package/components/datepicker/demo/readme.md +0 -137
  73. package/components/datepicker/dist/auro-calendar-cell.d.ts +0 -169
  74. package/components/datepicker/dist/auro-calendar-month.d.ts +0 -20
  75. package/components/datepicker/dist/auro-calendar.d.ts +0 -173
  76. package/components/datepicker/dist/auro-datepicker.d.ts +0 -715
  77. package/components/datepicker/dist/buttonVersion.d.ts +0 -2
  78. package/components/datepicker/dist/datepickerKeyboardStrategy.d.ts +0 -1
  79. package/components/datepicker/dist/iconVersion.d.ts +0 -2
  80. package/components/datepicker/dist/index.d.ts +0 -2
  81. package/components/datepicker/dist/index.js +0 -24146
  82. package/components/datepicker/dist/popoverVersion.d.ts +0 -2
  83. package/components/datepicker/dist/registered.js +0 -24146
  84. package/components/datepicker/dist/styles/classic/color-css.d.ts +0 -2
  85. package/components/datepicker/dist/styles/classic/style-css.d.ts +0 -2
  86. package/components/datepicker/dist/styles/color-calendar-css.d.ts +0 -2
  87. package/components/datepicker/dist/styles/color-cell-css.d.ts +0 -2
  88. package/components/datepicker/dist/styles/color-css.d.ts +0 -2
  89. package/components/datepicker/dist/styles/color-month-css.d.ts +0 -2
  90. package/components/datepicker/dist/styles/shapeSize-css.d.ts +0 -2
  91. package/components/datepicker/dist/styles/snowflake/color-css.d.ts +0 -2
  92. package/components/datepicker/dist/styles/snowflake/style-css.d.ts +0 -2
  93. package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts +0 -2
  94. package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts +0 -2
  95. package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts +0 -2
  96. package/components/datepicker/dist/styles/style-css.d.ts +0 -2
  97. package/components/datepicker/dist/styles/tokens-css.d.ts +0 -2
  98. package/components/datepicker/dist/utilities.d.ts +0 -78
  99. package/components/datepicker/dist/utilitiesCalendar.d.ts +0 -38
  100. package/components/datepicker/dist/utilitiesCalendarRender.d.ts +0 -50
  101. package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts +0 -5
  102. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +0 -60
  103. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts +0 -1
  104. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +0 -57
  105. package/components/dropdown/demo/api.md +0 -1358
  106. package/components/dropdown/demo/api.min.js +0 -4894
  107. package/components/dropdown/demo/index.md +0 -283
  108. package/components/dropdown/demo/index.min.js +0 -4829
  109. package/components/dropdown/demo/keyboardBehavior.md +0 -77
  110. package/components/dropdown/demo/readme.md +0 -160
  111. package/components/dropdown/dist/auro-dropdown.d.ts +0 -482
  112. package/components/dropdown/dist/auro-dropdownBib.d.ts +0 -128
  113. package/components/dropdown/dist/dropdownBibKeyboardStrategy.d.ts +0 -7
  114. package/components/dropdown/dist/iconVersion.d.ts +0 -2
  115. package/components/dropdown/dist/index.d.ts +0 -2
  116. package/components/dropdown/dist/index.js +0 -4722
  117. package/components/dropdown/dist/registered.js +0 -4722
  118. package/components/dropdown/dist/styles/classic/bibColors-css.d.ts +0 -2
  119. package/components/dropdown/dist/styles/classic/bibStyles-css.d.ts +0 -2
  120. package/components/dropdown/dist/styles/classic/color-css.d.ts +0 -2
  121. package/components/dropdown/dist/styles/classic/style-css.d.ts +0 -2
  122. package/components/dropdown/dist/styles/color-css.d.ts +0 -2
  123. package/components/dropdown/dist/styles/emphasized/style-css.d.ts +0 -2
  124. package/components/dropdown/dist/styles/shapeSize-css.d.ts +0 -2
  125. package/components/dropdown/dist/styles/snowflake/style-css.d.ts +0 -2
  126. package/components/dropdown/dist/styles/style-css.d.ts +0 -2
  127. package/components/dropdown/dist/styles/tokens-css.d.ts +0 -2
  128. package/components/form/demo/api.md +0 -319
  129. package/components/form/demo/api.min.js +0 -70505
  130. package/components/form/demo/index.md +0 -128
  131. package/components/form/demo/index.min.js +0 -70505
  132. package/components/form/demo/keyboardBehavior.md +0 -0
  133. package/components/form/demo/readme.md +0 -145
  134. package/components/form/dist/auro-form.d.ts +0 -280
  135. package/components/form/dist/index.d.ts +0 -2
  136. package/components/form/dist/index.js +0 -718
  137. package/components/form/dist/registered.d.ts +0 -1
  138. package/components/form/dist/registered.js +0 -718
  139. package/components/form/dist/styles/style-css.d.ts +0 -2
  140. package/components/helptext/dist/auro-helptext.d.ts +0 -69
  141. package/components/helptext/dist/index.d.ts +0 -2
  142. package/components/helptext/dist/index.js +0 -231
  143. package/components/helptext/dist/registered.js +0 -231
  144. package/components/helptext/dist/styles/color-css.d.ts +0 -2
  145. package/components/helptext/dist/styles/style-css.d.ts +0 -2
  146. package/components/helptext/dist/styles/tokens-css.d.ts +0 -2
  147. package/components/input/demo/api.md +0 -1397
  148. package/components/input/demo/api.min.js +0 -7460
  149. package/components/input/demo/index.md +0 -161
  150. package/components/input/demo/index.min.js +0 -7380
  151. package/components/input/demo/keyboardBehavior.md +0 -0
  152. package/components/input/demo/readme.md +0 -134
  153. package/components/input/dist/auro-input.d.ts +0 -206
  154. package/components/input/dist/base-input.d.ts +0 -629
  155. package/components/input/dist/buttonVersion.d.ts +0 -2
  156. package/components/input/dist/i18n.d.ts +0 -18
  157. package/components/input/dist/iconVersion.d.ts +0 -2
  158. package/components/input/dist/index.d.ts +0 -2
  159. package/components/input/dist/index.js +0 -7292
  160. package/components/input/dist/registered.js +0 -7292
  161. package/components/input/dist/styles/classic/color-css.d.ts +0 -2
  162. package/components/input/dist/styles/classic/style-css.d.ts +0 -2
  163. package/components/input/dist/styles/color-css.d.ts +0 -2
  164. package/components/input/dist/styles/default/borders-css.d.ts +0 -2
  165. package/components/input/dist/styles/default/color-css.d.ts +0 -2
  166. package/components/input/dist/styles/default/mixins-css.d.ts +0 -2
  167. package/components/input/dist/styles/default/notificationIcons-css.d.ts +0 -2
  168. package/components/input/dist/styles/default/style-css.d.ts +0 -2
  169. package/components/input/dist/styles/emphasized/color-css.d.ts +0 -2
  170. package/components/input/dist/styles/emphasized/style-css.d.ts +0 -2
  171. package/components/input/dist/styles/mixins-css.d.ts +0 -2
  172. package/components/input/dist/styles/shapeSize-css.d.ts +0 -2
  173. package/components/input/dist/styles/snowflake/style-css.d.ts +0 -2
  174. package/components/input/dist/styles/style-css.d.ts +0 -2
  175. package/components/input/dist/styles/tokens-css.d.ts +0 -2
  176. package/components/input/dist/utilities.d.ts +0 -25
  177. package/components/layoutElement/dist/auroElement.d.ts +0 -40
  178. package/components/layoutElement/dist/index.d.ts +0 -2
  179. package/components/layoutElement/dist/index.js +0 -107
  180. package/components/layoutElement/dist/registered.js +0 -107
  181. package/components/menu/demo/api.md +0 -1200
  182. package/components/menu/demo/api.min.js +0 -2413
  183. package/components/menu/demo/index.md +0 -72
  184. package/components/menu/demo/index.min.js +0 -2306
  185. package/components/menu/demo/keyboardBehavior.md +0 -0
  186. package/components/menu/demo/readme.md +0 -145
  187. package/components/menu/dist/auro-menu-utils.d.ts +0 -34
  188. package/components/menu/dist/auro-menu.context.d.ts +0 -239
  189. package/components/menu/dist/auro-menu.d.ts +0 -316
  190. package/components/menu/dist/auro-menuoption.d.ts +0 -210
  191. package/components/menu/dist/iconVersion.d.ts +0 -2
  192. package/components/menu/dist/index.d.ts +0 -4
  193. package/components/menu/dist/index.js +0 -2269
  194. package/components/menu/dist/registered.js +0 -2217
  195. package/components/menu/dist/styles/default/color-menu-css.d.ts +0 -2
  196. package/components/menu/dist/styles/default/color-menuoption-css.d.ts +0 -2
  197. package/components/menu/dist/styles/default/style-menu-css.d.ts +0 -2
  198. package/components/menu/dist/styles/default/style-menuoption-css.d.ts +0 -2
  199. package/components/menu/dist/styles/default/tokens-css.d.ts +0 -2
  200. package/components/radio/demo/api.md +0 -675
  201. package/components/radio/demo/api.min.js +0 -2210
  202. package/components/radio/demo/index.md +0 -73
  203. package/components/radio/demo/index.min.js +0 -2167
  204. package/components/radio/demo/keyboardBehavior.md +0 -0
  205. package/components/radio/demo/readme.md +0 -141
  206. package/components/radio/dist/auro-radio-group.d.ts +0 -250
  207. package/components/radio/dist/auro-radio.d.ts +0 -180
  208. package/components/radio/dist/index.d.ts +0 -3
  209. package/components/radio/dist/index.js +0 -2116
  210. package/components/radio/dist/registered.js +0 -2117
  211. package/components/radio/dist/styles/auro-radio-group-css.d.ts +0 -2
  212. package/components/radio/dist/styles/color-css.d.ts +0 -2
  213. package/components/radio/dist/styles/groupColor-css.d.ts +0 -2
  214. package/components/radio/dist/styles/style-css.d.ts +0 -2
  215. package/components/radio/dist/styles/tokens-css.d.ts +0 -2
  216. package/components/select/demo/api.md +0 -2378
  217. package/components/select/demo/api.min.js +0 -10400
  218. package/components/select/demo/index.md +0 -355
  219. package/components/select/demo/index.min.js +0 -10307
  220. package/components/select/demo/keyboardBehavior.md +0 -246
  221. package/components/select/demo/readme.md +0 -148
  222. package/components/select/dist/auro-select.d.ts +0 -545
  223. package/components/select/dist/index.d.ts +0 -2
  224. package/components/select/dist/index.js +0 -8218
  225. package/components/select/dist/registered.js +0 -8218
  226. package/components/select/dist/selectKeyboardStrategy.d.ts +0 -11
  227. package/components/select/dist/styles/emphasized/color-css.d.ts +0 -2
  228. package/components/select/dist/styles/shapeSize-css.d.ts +0 -2
  229. package/components/select/dist/styles/style-css.d.ts +0 -2
  230. package/components/select/dist/styles/tokens-css.d.ts +0 -2
  231. package/custom-elements.json +0 -18768
@@ -1,629 +0,0 @@
1
- /**
2
- * Base class for auro-input component that provides core input functionality.
3
- * @event input - Event fires when the value of an `auro-input` has been changed.
4
- * @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` value has changed.
5
- */
6
- export default class BaseInput extends AuroElement {
7
- static get shadowRootOptions(): {
8
- delegatesFocus: boolean;
9
- clonable?: boolean;
10
- customElementRegistry?: CustomElementRegistry;
11
- mode: ShadowRootMode;
12
- serializable?: boolean;
13
- slotAssignment?: SlotAssignmentMode;
14
- };
15
- static get properties(): {
16
- /**
17
- * The value for the role attribute.
18
- */
19
- a11yRole: {
20
- type: StringConstructor;
21
- reflect: boolean;
22
- };
23
- /**
24
- * The value for the aria-controls attribute.
25
- */
26
- a11yControls: {
27
- type: StringConstructor;
28
- reflect: boolean;
29
- };
30
- /**
31
- * The value for the aria-expanded attribute.
32
- */
33
- a11yExpanded: {
34
- type: BooleanConstructor;
35
- reflect: boolean;
36
- };
37
- /**
38
- * The value for the aria-activedescendant attribute.
39
- * Points to the ID of the currently active/highlighted option in a listbox.
40
- */
41
- a11yActivedescendant: {
42
- type: StringConstructor;
43
- reflect: boolean;
44
- };
45
- /**
46
- * If set, the label will remain fixed in the active position.
47
- */
48
- activeLabel: {
49
- type: BooleanConstructor;
50
- reflect: boolean;
51
- };
52
- /**
53
- * Defines whether the component will be on lighter or darker backgrounds.
54
- * @type {'default' | 'inverse'}
55
- * @default 'default'
56
- */
57
- appearance: "default" | "inverse";
58
- /**
59
- * An enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user. [off/none, on/sentences, words, characters].
60
- */
61
- autocapitalize: {
62
- type: StringConstructor;
63
- reflect: boolean;
64
- };
65
- /**
66
- * An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
67
- */
68
- autocomplete: {
69
- type: StringConstructor;
70
- reflect: boolean;
71
- };
72
- /**
73
- * When set to `off`, stops iOS from auto-correcting words when typed into a text box.
74
- */
75
- autocorrect: {
76
- type: StringConstructor;
77
- reflect: boolean;
78
- };
79
- /**
80
- * Custom help text message for email type validity.
81
- */
82
- customValidityTypeEmail: {
83
- type: StringConstructor;
84
- };
85
- /**
86
- * If set, disables the input.
87
- */
88
- disabled: {
89
- type: BooleanConstructor;
90
- reflect: boolean;
91
- };
92
- /**
93
- * If defined, the display value slot content will only mask the HTML5 input element. The input's label will not be masked.
94
- */
95
- dvInputOnly: {
96
- type: BooleanConstructor;
97
- reflect: boolean;
98
- };
99
- /**
100
- * When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
101
- */
102
- error: {
103
- type: StringConstructor;
104
- reflect: boolean;
105
- };
106
- /**
107
- * Contains the help text message for the current validity error.
108
- */
109
- errorMessage: {
110
- type: StringConstructor;
111
- };
112
- /**
113
- * Specifies the input mask format.
114
- */
115
- format: {
116
- type: StringConstructor;
117
- reflect: boolean;
118
- };
119
- /**
120
- * Flag to indicate if the input currently has focus.
121
- */
122
- hasFocus: {
123
- type: BooleanConstructor;
124
- reflect: boolean;
125
- attribute: boolean;
126
- };
127
- /**
128
- * Flag to indicate if the input currently has value.
129
- */
130
- hasValue: {
131
- type: BooleanConstructor;
132
- reflect: boolean;
133
- attribute: boolean;
134
- };
135
- /**
136
- * If set, the label will be hidden visually but still accessible to assistive technologies.
137
- * @private
138
- */
139
- hideLabelVisually: {
140
- type: BooleanConstructor;
141
- reflect: boolean;
142
- };
143
- /**
144
- * If set, will render an icon inside the input to the left of the value. Support is limited to auro-input instances with credit card format.
145
- */
146
- icon: {
147
- type: BooleanConstructor;
148
- reflect: boolean;
149
- };
150
- /**
151
- * The id global attribute defines an identifier (ID) which must be unique in the whole document.
152
- */
153
- id: {
154
- type: StringConstructor;
155
- };
156
- /**
157
- * The id for input node.
158
- * @private
159
- */
160
- inputId: {
161
- type: StringConstructor;
162
- reflect: boolean;
163
- attribute: boolean;
164
- };
165
- /** Exposes inputmode attribute for input. */
166
- inputmode: {
167
- type: StringConstructor;
168
- reflect: boolean;
169
- };
170
- /**
171
- * Defines the language of an element.
172
- */
173
- lang: {
174
- type: StringConstructor;
175
- reflect: boolean;
176
- };
177
- /**
178
- * The maximum value allowed. This only applies for inputs with a type of `number` and all date formats.
179
- */
180
- max: {
181
- type: StringConstructor;
182
- };
183
- /**
184
- * The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher.
185
- * **Note**: This attribute is not intended to be used with a `type` or `format` that already has a defined length, such as credit-cards, dates or phone numbers.
186
- */
187
- maxLength: {
188
- type: NumberConstructor;
189
- reflect: boolean;
190
- };
191
- /**
192
- * The minimum value allowed. This only applies for inputs with a type of `number` and all date formats.
193
- */
194
- min: {
195
- type: StringConstructor;
196
- };
197
- /**
198
- * 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`.
199
- */
200
- minLength: {
201
- type: NumberConstructor;
202
- reflect: boolean;
203
- };
204
- /**
205
- * Populates the `name` attribute on the input.
206
- */
207
- name: {
208
- type: StringConstructor;
209
- reflect: boolean;
210
- };
211
- /**
212
- * Sets styles for nested operation - removes borders, hides help + error text, and
213
- * hides accents.
214
- */
215
- nested: {
216
- type: BooleanConstructor;
217
- reflect: boolean;
218
- };
219
- /**
220
- * If set, disables auto-validation on blur.
221
- */
222
- noValidate: {
223
- type: BooleanConstructor;
224
- reflect: boolean;
225
- };
226
- /**
227
- * DEPRECATED - use `appearance="inverse"` instead.
228
- */
229
- onDark: {
230
- type: BooleanConstructor;
231
- reflect: boolean;
232
- };
233
- /**
234
- * Specifies a regular expression the form control's value should match.
235
- */
236
- pattern: {
237
- type: StringConstructor;
238
- reflect: boolean;
239
- };
240
- /**
241
- * Define custom placeholder text.
242
- */
243
- placeholder: {
244
- type: StringConstructor;
245
- reflect: boolean;
246
- };
247
- /**
248
- * Makes the input read-only, but can be set programmatically.
249
- */
250
- readonly: {
251
- type: BooleanConstructor;
252
- reflect: boolean;
253
- };
254
- /**
255
- * Populates the `required` attribute on the input. Used for client-side validation.
256
- */
257
- required: {
258
- type: BooleanConstructor;
259
- reflect: boolean;
260
- };
261
- /**
262
- * Sets a custom help text message to display for all validityStates.
263
- */
264
- setCustomValidity: {
265
- type: StringConstructor;
266
- };
267
- /**
268
- * Custom help text message to display when validity = `badInput`.
269
- */
270
- setCustomValidityBadInput: {
271
- type: StringConstructor;
272
- };
273
- /**
274
- * Custom help text message to display when validity = `customError`.
275
- */
276
- setCustomValidityCustomError: {
277
- type: StringConstructor;
278
- };
279
- /**
280
- * Custom help text message to display for the declared element `type` and type validity fails.
281
- */
282
- setCustomValidityForType: {
283
- type: StringConstructor;
284
- };
285
- /**
286
- * Custom help text message to display when validity = `rangeOverflow`.
287
- */
288
- setCustomValidityRangeOverflow: {
289
- type: StringConstructor;
290
- };
291
- /**
292
- * Custom help text message to display when validity = `rangeUnderflow`.
293
- */
294
- setCustomValidityRangeUnderflow: {
295
- type: StringConstructor;
296
- };
297
- /**
298
- * Custom help text message to display when validity = `tooLong`.
299
- */
300
- setCustomValidityTooLong: {
301
- type: StringConstructor;
302
- };
303
- /**
304
- * Custom help text message to display when validity = `tooShort`.
305
- */
306
- setCustomValidityTooShort: {
307
- type: StringConstructor;
308
- };
309
- /**
310
- * Custom help text message to display when validity = `valueMissing`.
311
- */
312
- setCustomValidityValueMissing: {
313
- type: StringConstructor;
314
- };
315
- /**
316
- * @ignore
317
- */
318
- showPassword: {
319
- state: boolean;
320
- };
321
- /**
322
- * Simple makes the input render without a border.
323
- */
324
- simple: {
325
- type: BooleanConstructor;
326
- reflect: boolean;
327
- };
328
- /**
329
- * 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`.
330
- */
331
- spellcheck: {
332
- type: StringConstructor;
333
- reflect: boolean;
334
- };
335
- /**
336
- * Indicates whether the input is in a dirty state (has been interacted with).
337
- * @private
338
- */
339
- touched: {
340
- type: BooleanConstructor;
341
- reflect: boolean;
342
- attribute: boolean;
343
- };
344
- /**
345
- * Populates the `type` attribute on the input.
346
- * @type {'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number'}
347
- * @default 'text'
348
- */
349
- type: "text" | "password" | "email" | "credit-card" | "tel" | "number";
350
- /**
351
- * Sets validation mode to re-eval with each input.
352
- */
353
- validateOnInput: {
354
- type: BooleanConstructor;
355
- };
356
- /**
357
- * Specifies the `validityState` this element is in.
358
- */
359
- validity: {
360
- type: StringConstructor;
361
- reflect: boolean;
362
- };
363
- /**
364
- * Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
365
- */
366
- value: {
367
- type: StringConstructor;
368
- };
369
- layout: {
370
- type: StringConstructor;
371
- attribute: string;
372
- reflect: boolean;
373
- };
374
- };
375
- /**
376
- * Internal Defaults.
377
- * @private
378
- * @returns {void}
379
- */
380
- private _initializeDefaults;
381
- activeLabel: boolean;
382
- appearance: string;
383
- icon: boolean;
384
- disabled: boolean;
385
- dvInputOnly: boolean;
386
- hideLabelVisually: boolean;
387
- max: any;
388
- maxLength: any;
389
- min: any;
390
- minLength: any;
391
- noValidate: boolean;
392
- onDark: boolean;
393
- required: boolean;
394
- setCustomValidityForType: string;
395
- /**
396
- * @private
397
- */
398
- private shape;
399
- /**
400
- * @private
401
- */
402
- private size;
403
- touched: boolean;
404
- util: AuroInputUtilities;
405
- validation: AuroFormValidation;
406
- inputIconName: any;
407
- showPassword: any;
408
- validationCCLength: number;
409
- hasValue: boolean;
410
- label: string;
411
- allowedInputTypes: string[];
412
- /**
413
- * Credit Card is not included as this caused cursor placement issues.
414
- * The Safari issue.
415
- */
416
- setSelectionInputTypes: string[];
417
- dateFormatMap: {
418
- 'mm/dd/yyyy': string;
419
- 'dd/mm/yyyy': string;
420
- 'yyyy/mm/dd': string;
421
- 'yyyy/dd/mm': string;
422
- 'mm/yy': string;
423
- 'yy/mm': string;
424
- 'mm/yyyy': string;
425
- 'yyyy/mm': string;
426
- yy: string;
427
- yyyy: string;
428
- mm: string;
429
- dd: string;
430
- 'dd/mm': string;
431
- 'mm/dd': string;
432
- };
433
- uniqueId: string;
434
- firstUpdated(): void;
435
- wrapperElement: Element;
436
- inputElement: HTMLInputElement;
437
- labelElement: HTMLLabelElement;
438
- clearBtn: any;
439
- inputId: string;
440
- format: any;
441
- ValidityMessageOverride: any;
442
- /**
443
- * Patches the input element to dispatch an 'input' event whenever its value is set programmatically.
444
- * This ensures that changes to the input's value are consistently communicated, even if not triggered by user input.
445
- *
446
- * @param {HTMLInputElement} input - The input element to patch.
447
- * @returns {void}
448
- * @private
449
- */
450
- private patchInputEvent;
451
- /**
452
- * @private
453
- * @returns {void} Sets the default help text for the input.
454
- */
455
- private setCustomHelpTextMessage;
456
- /**
457
- * LitElement lifecycle method. Called after the DOM has been updated.
458
- * @param {Map<string, any>} changedProperties - Keys are the names of changed properties, values are the corresponding previous values.
459
- * @returns {void}
460
- */
461
- updated(changedProperties: Map<string, any>): void;
462
- skipNextProgrammaticInputEvent: boolean;
463
- /**
464
- * @private
465
- * @returns {void} Notify validity state changed via event.
466
- */
467
- private notifyValidityChange;
468
- /**
469
- * Sets up IMasks and logic based on auto-formatting requirements.
470
- * @private
471
- * @returns {void}
472
- */
473
- private configureAutoFormatting;
474
- maskInstance: import("imask").InputMask<import("imask").FactoryArg>;
475
- value: string;
476
- formattedDate: any;
477
- comparisonDate: any;
478
- /**
479
- * @private
480
- * @returns {string}
481
- */
482
- private definePattern;
483
- /**
484
- * Required to convert SVG icons from data to HTML string.
485
- * @private
486
- * @param {string} icon HTML string for requested icon.
487
- * @returns {object} Appended HTML for SVG.
488
- */
489
- private getIconAsHtml;
490
- /**
491
- * Sends event notifying that the input has changed it's value.
492
- * @private
493
- * @returns {void}
494
- */
495
- private notifyValueChanged;
496
- /**
497
- * Handles clicking on the auro-input anywhere outside of the HTML5 input and still moving focus in.
498
- * @private
499
- * @return {void}
500
- */
501
- private handleClick;
502
- /**
503
- * Function to set element focus.
504
- * @return {void}
505
- */
506
- focus(): void;
507
- /**
508
- * Handles event of clearing input content by clicking the X icon.
509
- * @private
510
- * @return {void}
511
- */
512
- private handleClickClear;
513
- /**
514
- * @param {Event} event - The input event.
515
- * @private
516
- * @returns {void}
517
- */
518
- private handleInput;
519
- /**
520
- * Function to support @focusin event.
521
- * @private
522
- * @return {void}
523
- */
524
- private handleFocusin;
525
- hasFocus: boolean;
526
- /**
527
- * Function to support @focusout event.
528
- * @private
529
- * @return {void}
530
- */
531
- private handleFocusout;
532
- /**
533
- * Function to support @blur event.
534
- * @private
535
- * @return {void}
536
- */
537
- private handleBlur;
538
- /**
539
- * Returns focused element, even if it's in the shadow DOM.
540
- * @private
541
- * @param {Object} root - Element to check for focus.
542
- * @returns {Object}
543
- */
544
- private getActiveElement;
545
- /**
546
- * Sets the active descendant element for accessibility.
547
- * Uses ariaActiveDescendantElement to cross shadow DOM boundaries.
548
- * This function is used in components that contain `auro-input` to set the active descendant.
549
- * @private
550
- * @param {HTMLElement|null} element - The element to set as the active descendant, or null to clear.
551
- * @returns {void}
552
- */
553
- private setActiveDescendant;
554
- /**
555
- * Validates value.
556
- * @param {boolean} [force=false] - Whether to force validation.
557
- */
558
- validate(force?: boolean): void;
559
- /**
560
- * Resets component to initial state, including resetting the touched state and validity.
561
- * @returns {void}
562
- */
563
- reset(): void;
564
- /**
565
- * Clears the input value.
566
- */
567
- clear(): void;
568
- /**
569
- * Sets configuration data used elsewhere based on the `type` attribute.
570
- * @private
571
- * @returns {void}
572
- */
573
- private configureDataForType;
574
- lengthForType: any;
575
- inputmode: any;
576
- /**
577
- * Validates against list of supported this.allowedInputTypes; return type=text if invalid request.
578
- * @private
579
- * @param {string} type Value entered into component prop.
580
- * @returns {string} Iterates over allowed types array.
581
- */
582
- private getInputType;
583
- /**
584
- * Determines default help text string.
585
- * @private
586
- * @returns {string} Evaluates pre-determined help text.
587
- */
588
- private getHelpText;
589
- /**
590
- * Function to support show-password feature.
591
- * @private
592
- * @returns {void}
593
- */
594
- private handleClickShowPassword;
595
- /**
596
- * Support placeholder text.
597
- * @private
598
- * @returns {void}
599
- */
600
- private get placeholderStr();
601
- /**
602
- * Defines placement of input icon based on type, used with classMap.
603
- * @private
604
- * @returns {boolean}
605
- */
606
- private defineInputIcon;
607
- /**
608
- * Defines padding of input label based on type, used with classMap.
609
- * @private
610
- * @returns {boolean}
611
- */
612
- private defineLabelPadding;
613
- /**
614
- * Function to support credit-card feature type.
615
- * @private
616
- * @returns {void}
617
- */
618
- private processCreditCard;
619
- errorMessage: any;
620
- /**
621
- * Function to support credit-card feature type.
622
- * @private
623
- * @returns {object} JSON with data for credit card formatting.
624
- */
625
- private matchInputValueToCreditCard;
626
- }
627
- import { AuroElement } from '../../layoutElement/src/auroElement.js';
628
- import { AuroInputUtilities } from "./utilities.js";
629
- import AuroFormValidation from '@aurodesignsystem/form-validation';
@@ -1,2 +0,0 @@
1
- declare const _default: "12.3.2";
2
- export default _default;
@@ -1,18 +0,0 @@
1
- /**
2
- * Function to support the selected of a string in the set lang.
3
- * @param {string} lang - Requested lang for content return.
4
- * @param {string} requestedString - String requested in context.
5
- * @private
6
- * @returns {string} Value of string request.
7
- */
8
- export default function i18n(lang: string, requestedString: string): string;
9
- /**
10
- * @private
11
- * @param {object} element - Pass in the scope of the element in use.
12
- */
13
- export function notifyOnLangChange(element: object): void;
14
- /**
15
- * @private
16
- * @param {object} element - Pass in the scope of the element in use.
17
- */
18
- export function stopNotifyingOnLangChange(element: object): void;
@@ -1,2 +0,0 @@
1
- declare const _default: "9.1.2";
2
- export default _default;
@@ -1,2 +0,0 @@
1
- export { AuroInput };
2
- import { AuroInput } from './auro-input.js';