@aurodesignsystem/auro-formkit 2.0.0-beta.3 → 2.0.0-beta.4
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.
- package/.turbo/cache/013a48308b893dac-meta.json +1 -1
- package/.turbo/cache/02244170c798a2bd-meta.json +1 -1
- package/.turbo/cache/02244170c798a2bd.tar.zst +0 -0
- package/.turbo/cache/051ff97a20add0e2-meta.json +1 -0
- package/.turbo/cache/051ff97a20add0e2.tar.zst +0 -0
- package/.turbo/cache/07ca42419b9f050c-meta.json +1 -1
- package/.turbo/cache/0ea853339c064fa1-meta.json +1 -0
- package/.turbo/cache/0ea853339c064fa1.tar.zst +0 -0
- package/.turbo/cache/16658beec9f4a809-meta.json +1 -0
- package/.turbo/cache/16658beec9f4a809.tar.zst +0 -0
- package/.turbo/cache/17259cf94d8f8925-meta.json +1 -1
- package/.turbo/cache/1b9818717e4bdf9f-meta.json +1 -1
- package/.turbo/cache/1c0f580d37370ba2-meta.json +1 -1
- package/.turbo/cache/1c0f580d37370ba2.tar.zst +0 -0
- package/.turbo/cache/1c99a949ec63ab35-meta.json +1 -1
- package/.turbo/cache/1df4710eef8ed00d-meta.json +1 -0
- package/.turbo/cache/1df4710eef8ed00d.tar.zst +0 -0
- package/.turbo/cache/204b66d1b253e9cc-meta.json +1 -0
- package/.turbo/cache/204b66d1b253e9cc.tar.zst +0 -0
- package/.turbo/cache/257a7a26ea72dbc5-meta.json +1 -1
- package/.turbo/cache/2a5d0939d6fc1052-meta.json +1 -0
- package/.turbo/cache/2a5d0939d6fc1052.tar.zst +0 -0
- package/.turbo/cache/2e3b829fcf75c836-meta.json +1 -0
- package/.turbo/cache/2e3b829fcf75c836.tar.zst +0 -0
- package/.turbo/cache/3bf45120d0cc9bd8-meta.json +1 -1
- package/.turbo/cache/3d380d0d40404cac-meta.json +1 -0
- package/.turbo/cache/3d380d0d40404cac.tar.zst +0 -0
- package/.turbo/cache/3e12285c614db539-meta.json +1 -1
- package/.turbo/cache/45035bf5c4147ccd-meta.json +1 -1
- package/.turbo/cache/5bf2d3f7ba5891e0-meta.json +1 -1
- package/.turbo/cache/5f304c0f37ef25f3-meta.json +1 -1
- package/.turbo/cache/64de7a53e02db647-meta.json +1 -1
- package/.turbo/cache/691a74627ec57993-meta.json +1 -1
- package/.turbo/cache/69aae513b7ec6c7d-meta.json +1 -1
- package/.turbo/cache/6dd67d179191bda8-meta.json +1 -1
- package/.turbo/cache/6dd7058e6703cb35-meta.json +1 -1
- package/.turbo/cache/73e9073a5274616d-meta.json +1 -1
- package/.turbo/cache/773edc0f83c8c5a5-meta.json +1 -1
- package/.turbo/cache/786a822763403879-meta.json +1 -1
- package/.turbo/cache/7e1043cffa69f327-meta.json +1 -1
- package/.turbo/cache/7e1043cffa69f327.tar.zst +0 -0
- package/.turbo/cache/7ffd501e81790676-meta.json +1 -0
- package/.turbo/cache/7ffd501e81790676.tar.zst +0 -0
- package/.turbo/cache/80a13352066a9801-meta.json +1 -1
- package/.turbo/cache/80b5d974184a01df-meta.json +1 -1
- package/.turbo/cache/8954c6073396fadd-meta.json +1 -1
- package/.turbo/cache/8e79bd5c3a16a72e-meta.json +1 -1
- package/.turbo/cache/8e9ebc3df0e18de0-meta.json +1 -0
- package/.turbo/cache/8e9ebc3df0e18de0.tar.zst +0 -0
- package/.turbo/cache/92daa6d7c389d548-meta.json +1 -1
- package/.turbo/cache/973d0eea26083f4b-meta.json +1 -0
- package/.turbo/cache/973d0eea26083f4b.tar.zst +0 -0
- package/.turbo/cache/9c6ad42729c7b2d8-meta.json +1 -0
- package/.turbo/cache/9c6ad42729c7b2d8.tar.zst +0 -0
- package/.turbo/cache/a77bc920ea508bb8-meta.json +1 -1
- package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
- package/.turbo/cache/a9a9d012c83882d8-meta.json +1 -0
- package/.turbo/cache/a9a9d012c83882d8.tar.zst +0 -0
- package/.turbo/cache/b54fc4f664a7a5a0-meta.json +1 -1
- package/.turbo/cache/ba4418918621fbcd-meta.json +1 -1
- package/.turbo/cache/be7c23c37b8ec74b-meta.json +1 -1
- package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
- package/.turbo/cache/bffc7582905c2a5e-meta.json +1 -1
- package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +1 -1
- package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
- package/.turbo/cache/cc81de9c0b452a7c-meta.json +1 -1
- package/.turbo/cache/d572ebb3c833e8f4-meta.json +1 -1
- package/.turbo/cache/d572ebb3c833e8f4.tar.zst +0 -0
- package/.turbo/cache/d61543843c932504-meta.json +1 -1
- package/.turbo/cache/d61543843c932504.tar.zst +0 -0
- package/.turbo/cache/dad1301ac69bcb85-meta.json +1 -1
- package/.turbo/cache/db361cb6578dca84-meta.json +1 -0
- package/.turbo/cache/db361cb6578dca84.tar.zst +0 -0
- package/.turbo/cache/dea5945f55c6aba5-meta.json +1 -1
- package/.turbo/cache/dea5945f55c6aba5.tar.zst +0 -0
- package/.turbo/cache/e992dab20aeefbaf-meta.json +1 -1
- package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
- package/.turbo/cache/f3ff9040a2196834-meta.json +1 -0
- package/.turbo/cache/f3ff9040a2196834.tar.zst +0 -0
- package/.turbo/cache/f817d89688cefca8-meta.json +1 -0
- package/.turbo/cache/fa132b5b5f0e75f8-meta.json +1 -1
- package/.turbo/cache/fc57c17867dcac3d-meta.json +1 -0
- package/.turbo/cache/fc57c17867dcac3d.tar.zst +0 -0
- package/CHANGELOG.md +18 -0
- package/components/checkbox/.turbo/turbo-build.log +3 -3
- package/components/checkbox/.turbo/turbo-bundler.log +3 -3
- package/components/combobox/.turbo/turbo-build.log +3 -3
- package/components/combobox/demo/api.min.js +407 -113
- package/components/combobox/demo/index.min.js +407 -113
- package/components/combobox/dist/index.js +407 -113
- package/components/counter/.turbo/turbo-build.log +3 -3
- package/components/counter/.turbo/turbo-bundler.log +3 -3
- package/components/datepicker/demo/api.min.js +407 -113
- package/components/datepicker/demo/index.min.js +407 -113
- package/components/datepicker/dist/index.js +407 -113
- package/components/dropdown/.turbo/turbo-build.log +3 -3
- package/components/dropdown/.turbo/turbo-bundler.log +2 -2
- package/components/dropdown/demo/api.md +4 -4
- package/components/dropdown/demo/api.min.js +166 -42
- package/components/dropdown/demo/index.min.js +166 -42
- package/components/dropdown/dist/auro-dropdown.d.ts +93 -34
- package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
- package/components/dropdown/dist/auro-dropdownBib.d.ts +9 -3
- package/components/dropdown/dist/auro-dropdownBib.d.ts.map +1 -1
- package/components/dropdown/dist/index.js +166 -42
- package/components/dropdown/src/auro-dropdown.js +154 -39
- package/components/dropdown/src/auro-dropdownBib.js +12 -3
- package/components/dropdown/src/styles/style-css.js +1 -1
- package/components/dropdown/src/styles/style.css +4 -0
- package/components/dropdown/src/styles/style.scss +5 -0
- package/components/form/.turbo/turbo-build.log +3 -3
- package/components/form/.turbo/turbo-bundler.log +3 -3
- package/components/input/.turbo/turbo-build.log +3 -3
- package/components/input/.turbo/turbo-bundler.log +3 -3
- package/components/input/demo/api.md +37 -35
- package/components/input/demo/api.min.js +241 -71
- package/components/input/demo/index.min.js +241 -71
- package/components/input/dist/base-input.d.ts +157 -79
- package/components/input/dist/base-input.d.ts.map +1 -1
- package/components/input/dist/index.js +241 -71
- package/components/input/src/base-input.js +241 -71
- package/components/menu/.turbo/turbo-build.log +3 -3
- package/components/menu/.turbo/turbo-bundler.log +3 -3
- package/components/radio/.turbo/turbo-build.log +3 -3
- package/components/radio/.turbo/turbo-bundler.log +3 -3
- package/components/select/.turbo/turbo-build.log +7 -9
- package/components/select/demo/api.md +39 -100
- package/components/select/demo/api.min.js +292 -169
- package/components/select/demo/index.md +100 -43
- package/components/select/demo/index.min.js +292 -169
- package/components/select/dist/auro-select.d.ts +63 -50
- package/components/select/dist/auro-select.d.ts.map +1 -1
- package/components/select/dist/index.js +287 -151
- package/components/select/src/auro-select.js +102 -102
- package/components/select/src/styles/style-css.js +1 -1
- package/components/select/src/styles/style.css +7 -0
- package/components/select/src/styles/style.scss +11 -1
- package/package.json +1 -1
- package/.turbo/cache/1ab37ce15d9be440-meta.json +0 -1
- package/.turbo/cache/1ab37ce15d9be440.tar.zst +0 -0
- package/.turbo/cache/1de15d89eed2d760-meta.json +0 -1
- package/.turbo/cache/1de15d89eed2d760.tar.zst +0 -0
- package/.turbo/cache/2110a4d14e0d11b2-meta.json +0 -1
- package/.turbo/cache/2110a4d14e0d11b2.tar.zst +0 -0
- package/.turbo/cache/2990aaa7ebc5b967-meta.json +0 -1
- package/.turbo/cache/2990aaa7ebc5b967.tar.zst +0 -0
- package/.turbo/cache/2fd056afdf4eb39d-meta.json +0 -1
- package/.turbo/cache/2fd056afdf4eb39d.tar.zst +0 -0
- package/.turbo/cache/4f92cea2d8c63de2-meta.json +0 -1
- package/.turbo/cache/4f92cea2d8c63de2.tar.zst +0 -0
- package/.turbo/cache/5c16ce3cff5c9dff-meta.json +0 -1
- package/.turbo/cache/5c16ce3cff5c9dff.tar.zst +0 -0
- package/.turbo/cache/784c03fe9fd5ac05-meta.json +0 -1
- package/.turbo/cache/784c03fe9fd5ac05.tar.zst +0 -0
- package/.turbo/cache/87219c41a4ace9cd-meta.json +0 -1
- package/.turbo/cache/87219c41a4ace9cd.tar.zst +0 -0
- package/.turbo/cache/993dff2edb7b6766-meta.json +0 -1
- package/.turbo/cache/993dff2edb7b6766.tar.zst +0 -0
- package/.turbo/cache/9a097d6576dadd64-meta.json +0 -1
- package/.turbo/cache/9a097d6576dadd64.tar.zst +0 -0
- package/.turbo/cache/a63cbfecf0f78586-meta.json +0 -1
- package/.turbo/cache/a63cbfecf0f78586.tar.zst +0 -0
- package/.turbo/cache/a6a56bb802e1c20f-meta.json +0 -1
- package/.turbo/cache/a6a56bb802e1c20f.tar.zst +0 -0
- package/.turbo/cache/b2c66328fdd78093-meta.json +0 -1
- package/.turbo/cache/b2c66328fdd78093.tar.zst +0 -0
- package/.turbo/cache/d39e6ef95ebc4cc0-meta.json +0 -1
- package/.turbo/cache/f411e2deb0676959-meta.json +0 -1
- package/.turbo/cache/f411e2deb0676959.tar.zst +0 -0
- package/.turbo/cache/fbbe2704bf9cb90b-meta.json +0 -1
- package/.turbo/cache/fbbe2704bf9cb90b.tar.zst +0 -0
- /package/.turbo/cache/{d39e6ef95ebc4cc0.tar.zst → f817d89688cefca8.tar.zst} +0 -0
|
@@ -21,41 +21,8 @@ import AuroFormValidation from '@auro-formkit/form-validation';
|
|
|
21
21
|
/**
|
|
22
22
|
* Auro-input provides users a way to enter data into a text field.
|
|
23
23
|
*
|
|
24
|
-
* @attr {Boolean} activeLabel - If set, the label will remain fixed in the active position.
|
|
25
|
-
* @attr {String} autocapitalize - 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]
|
|
26
|
-
* @attr {String} autocomplete - An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
|
|
27
|
-
* @attr {String} autocorrect - When set to `off`, stops iOS from auto correcting words when typed into a text box.
|
|
28
24
|
* @attr {Boolean} bordered - Applies bordered UI variant.
|
|
29
25
|
* @attr {Boolean} borderless - Applies borderless UI variant.
|
|
30
|
-
* @attr {Boolean} disabled - If set, disables the input.
|
|
31
|
-
* @attr {String} error - When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
|
|
32
|
-
* @attr {Boolean} icon - 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.
|
|
33
|
-
* @attr {String} id - Sets the unique ID of the element.
|
|
34
|
-
* @attr {String} lang - defines the language of an element.
|
|
35
|
-
* @attr {String} max - The maximum value allowed. This only applies for inputs with a type of `number` and all date formats.
|
|
36
|
-
* @attr {Number} maxLength - The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher.
|
|
37
|
-
* @attr {String} min - The minimum value allowed. This only applies for inputs with a type of `number` and all date formats.
|
|
38
|
-
* @attr {Number} minLength - The minimum number of characters the user can enter into the text input. This must be an non-negative integer value smaller than or equal to the value specified by `maxlength`.
|
|
39
|
-
* @attr {String} name - Populates the `name` attribute on the input.
|
|
40
|
-
* @attr {Boolean} noValidate - If set, disables auto-validation on blur.
|
|
41
|
-
* @attr {Boolean} readonly - Makes the input read-only, but can be set programmatically.
|
|
42
|
-
* @attr {Boolean} required - Populates the `required` attribute on the input. Used for client-side validation.
|
|
43
|
-
* @attr {String} pattern - Specifies a regular expression the form control's value should match.
|
|
44
|
-
* @attr {String} placeholder - Define custom placeholder text, only supported by date input formats.
|
|
45
|
-
* @attr {String} setCustomValidity - Sets a custom help text message to display for all validity states.
|
|
46
|
-
* @attr {String} setCustomValidityCustomError - Custom help text message to display when validity = `customError`.
|
|
47
|
-
* @attr {String} setCustomValidityValueMissing - Custom help text message to display when validity = `valueMissing`.
|
|
48
|
-
* @attr {String} setCustomValidityPatternMismatch - Custom help text message to display when validity = `patternMismatch`.
|
|
49
|
-
* @attr {String} setCustomValidityTooShort - Custom help text message to display when validity = `tooShort`.
|
|
50
|
-
* @attr {String} setCustomValidityTooLong - Custom help text message to display when validity = `tooLong`.
|
|
51
|
-
* @attr {String} setCustomValidityForType - Custom help text message to display for the declared element `type` and type validity fails.
|
|
52
|
-
* @attr {String} setCustomValidityRangeOverflow - Custom help text message to display when validity = `rangeOverflow`.
|
|
53
|
-
* @attr {String} setCustomValidityRangeUnderflow - Custom help text message to display when validity = `rangeUnderflow`.
|
|
54
|
-
* @attr {String} spellcheck - 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`.
|
|
55
|
-
* @attr {String} type - Populates the `type` attribute on the input. Allowed values are `password`, `email`, `credit-card`, `month-day-year`, `month-year`, `year-month-day` or `text`. If given value is not allowed or set, defaults to `text`.
|
|
56
|
-
* @attr {Boolean} validateOnInput - Sets validation mode to re-eval with each input.
|
|
57
|
-
* @attr {String} validity - Specifies the `validityState` this element is in.
|
|
58
|
-
* @attr {String} value - Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
|
|
59
26
|
*
|
|
60
27
|
* @slot helptext - Sets the help text displayed below the input.
|
|
61
28
|
* @slot label - Sets the label text for the input.
|
|
@@ -147,69 +114,272 @@ export default class BaseInput extends LitElement {
|
|
|
147
114
|
.substring(idSubstrStart, idSubstrEnd);
|
|
148
115
|
}
|
|
149
116
|
|
|
150
|
-
// function to define props used within the scope of this
|
|
117
|
+
// function to define props used within the scope of this componentstatic
|
|
151
118
|
static get properties() {
|
|
152
119
|
return {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* If set, the label will remain fixed in the active position.
|
|
123
|
+
*/
|
|
124
|
+
activeLabel: {
|
|
125
|
+
type: Boolean,
|
|
126
|
+
reflect: true
|
|
127
|
+
},
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* 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]
|
|
131
|
+
*/
|
|
132
|
+
autocapitalize: {
|
|
133
|
+
type: String
|
|
134
|
+
},
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
|
|
138
|
+
*/
|
|
139
|
+
autocomplete: {
|
|
160
140
|
type: String,
|
|
161
141
|
reflect: true
|
|
162
142
|
},
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* When set to `off`, stops iOS from auto-correcting words when typed into a text box.
|
|
146
|
+
*/
|
|
147
|
+
autocorrect: {
|
|
148
|
+
type: String
|
|
149
|
+
},
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* If set, disables the input.
|
|
153
|
+
*/
|
|
154
|
+
disabled: {
|
|
155
|
+
type: Boolean
|
|
156
|
+
},
|
|
157
|
+
|
|
158
|
+
error: {
|
|
171
159
|
type: String,
|
|
172
160
|
reflect: true
|
|
173
161
|
},
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Contains the help text message for the current validity error.
|
|
165
|
+
*/
|
|
166
|
+
errorMessage: {
|
|
167
|
+
type: String
|
|
168
|
+
},
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* 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.
|
|
172
|
+
*/
|
|
173
|
+
icon: {
|
|
174
|
+
type: Boolean
|
|
175
|
+
},
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Sets the unique ID of the element.
|
|
179
|
+
*/
|
|
180
|
+
id: {
|
|
181
|
+
type: String
|
|
182
|
+
},
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Defines the language of an element.
|
|
186
|
+
*/
|
|
187
|
+
lang: {
|
|
188
|
+
type: String
|
|
189
|
+
},
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* The maximum value allowed. This only applies for inputs with a type of `number` and all date formats.
|
|
193
|
+
*/
|
|
194
|
+
max: {
|
|
195
|
+
type: String
|
|
196
|
+
},
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher.
|
|
200
|
+
*/
|
|
201
|
+
maxLength: {
|
|
202
|
+
type: Number
|
|
203
|
+
},
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* The minimum value allowed. This only applies for inputs with a type of `number` and all date formats.
|
|
207
|
+
*/
|
|
208
|
+
min: {
|
|
209
|
+
type: String
|
|
210
|
+
},
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* 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`.
|
|
214
|
+
*/
|
|
215
|
+
minLength: {
|
|
216
|
+
type: Number
|
|
217
|
+
},
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Populates the `name` attribute on the input.
|
|
221
|
+
*/
|
|
222
|
+
name: {
|
|
223
|
+
type: String
|
|
224
|
+
},
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* If set, disables auto-validation on blur.
|
|
228
|
+
*/
|
|
229
|
+
noValidate: {
|
|
230
|
+
type: Boolean
|
|
231
|
+
},
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Specifies a regular expression the form control's value should match.
|
|
235
|
+
*/
|
|
236
|
+
pattern: {
|
|
237
|
+
type: String,
|
|
177
238
|
reflect: true
|
|
178
239
|
},
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Define custom placeholder text, only supported by date input formats.
|
|
243
|
+
*/
|
|
244
|
+
placeholder: {
|
|
245
|
+
type: String
|
|
246
|
+
},
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* Makes the input read-only, but can be set programmatically.
|
|
250
|
+
*/
|
|
251
|
+
readonly: {
|
|
252
|
+
type: Boolean
|
|
253
|
+
},
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Populates the `required` attribute on the input. Used for client-side validation.
|
|
257
|
+
*/
|
|
258
|
+
required: {
|
|
259
|
+
type: Boolean
|
|
260
|
+
},
|
|
183
261
|
|
|
184
262
|
/**
|
|
185
263
|
* @ignore
|
|
186
264
|
*/
|
|
187
|
-
showPassword:
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
265
|
+
showPassword: {
|
|
266
|
+
state: true
|
|
267
|
+
},
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* Sets a custom help text message to display for all validityStates.
|
|
271
|
+
*/
|
|
272
|
+
setCustomValidity: {
|
|
273
|
+
type: String
|
|
274
|
+
},
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Custom help text message to display when validity = `badInput`.
|
|
278
|
+
*/
|
|
279
|
+
setCustomValidityBadInput: {
|
|
280
|
+
type: String
|
|
281
|
+
},
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Custom help text message to display when validity = `customError`.
|
|
285
|
+
*/
|
|
286
|
+
setCustomValidityCustomError: {
|
|
287
|
+
type: String
|
|
288
|
+
},
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Custom help text message to display for the declared element `type` and type validity fails.
|
|
292
|
+
*/
|
|
293
|
+
setCustomValidityForType: {
|
|
294
|
+
type: String
|
|
295
|
+
},
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Custom help text message to display when validity = `rangeOverflow`.
|
|
299
|
+
*/
|
|
300
|
+
setCustomValidityRangeOverflow: {
|
|
301
|
+
type: String
|
|
302
|
+
},
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* Custom help text message to display when validity = `rangeUnderflow`.
|
|
306
|
+
*/
|
|
307
|
+
setCustomValidityRangeUnderflow: {
|
|
308
|
+
type: String
|
|
309
|
+
},
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* Custom help text message to display when validity = `tooLong`.
|
|
313
|
+
*/
|
|
314
|
+
setCustomValidityTooLong: {
|
|
315
|
+
type: String
|
|
316
|
+
},
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Custom help text message to display when validity = `tooShort`.
|
|
320
|
+
*/
|
|
321
|
+
setCustomValidityTooShort: {
|
|
322
|
+
type: String
|
|
323
|
+
},
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* Custom help text message to display when validity = `valueMissing`.
|
|
327
|
+
*/
|
|
328
|
+
setCustomValidityValueMissing: {
|
|
329
|
+
type: String
|
|
330
|
+
},
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* Custom help text message for email type validity.
|
|
334
|
+
*/
|
|
335
|
+
customValidityTypeEmail: {
|
|
336
|
+
type: String
|
|
337
|
+
},
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* 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`.
|
|
341
|
+
*/
|
|
342
|
+
spellcheck: {
|
|
343
|
+
type: String
|
|
344
|
+
},
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Populates the `type` attribute on the input. Allowed values are `password`, `email`, `credit-card`, `month-day-year`, `month-year`, `year-month-day` or `text`. If given value is not allowed or set, defaults to `text`.
|
|
348
|
+
*/
|
|
349
|
+
type: {
|
|
191
350
|
type: String,
|
|
192
351
|
reflect: true
|
|
193
352
|
},
|
|
194
|
-
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
|
|
356
|
+
*/
|
|
357
|
+
value: {
|
|
358
|
+
type: String
|
|
359
|
+
},
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* Sets validation mode to re-eval with each input.
|
|
363
|
+
*/
|
|
364
|
+
validateOnInput: {
|
|
365
|
+
type: Boolean
|
|
366
|
+
},
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* Specifies the `validityState` this element is in.
|
|
370
|
+
*/
|
|
371
|
+
validity: {
|
|
195
372
|
type: String,
|
|
196
373
|
reflect: true
|
|
197
|
-
}
|
|
198
|
-
setCustomValidity: { type: String },
|
|
199
|
-
setCustomValidityCustomError: { type: String },
|
|
200
|
-
setCustomValidityValueMissing: { type: String },
|
|
201
|
-
setCustomValidityPatternMismatch: { type: String },
|
|
202
|
-
setCustomValidityTooShort: { type: String },
|
|
203
|
-
setCustomValidityTooLong: { type: String },
|
|
204
|
-
setCustomValidityRangeOverflow: { type: String },
|
|
205
|
-
setCustomValidityRangeUnderflow: { type: String }
|
|
374
|
+
}
|
|
206
375
|
};
|
|
207
376
|
}
|
|
208
377
|
|
|
378
|
+
|
|
209
379
|
static get styles() {
|
|
210
380
|
return [
|
|
211
|
-
css`${styleCss}`,
|
|
212
381
|
css`${colorCss}`,
|
|
382
|
+
css`${styleCss}`,
|
|
213
383
|
css`${tokensCss}`
|
|
214
384
|
];
|
|
215
385
|
}
|
|
@@ -101,13 +101,13 @@ More info and automated migrator: https://sass-lang.com/d/import
|
|
|
101
101
|
|
|
102
102
|
[36m
|
|
103
103
|
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
104
|
-
[32mcreated [1mdist[22m in [
|
|
104
|
+
[32mcreated [1mdist[22m in [1m1.1s[22m[39m
|
|
105
105
|
[36m
|
|
106
106
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
107
|
-
[32mcreated [1m./demo/[22m in [
|
|
107
|
+
[32mcreated [1m./demo/[22m in [1m519ms[22m[39m
|
|
108
108
|
[36m
|
|
109
109
|
[1m./demo/api.js[22m → [1m./demo/[22m...[39m
|
|
110
|
-
[32mcreated [1m./demo/[22m in [
|
|
110
|
+
[32mcreated [1m./demo/[22m in [1m375ms[22m[39m
|
|
111
111
|
|
|
112
112
|
> @auro-formkit/auro-menu@4.1.4 build:docs
|
|
113
113
|
> wca analyze 'scripts/wca/*.js' --outFiles docs/api.md; node ../../packages/build-tools/src/docProcessor.mjs --component menu
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
[36m
|
|
6
6
|
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
7
|
-
[32mcreated [1mdist[22m in [
|
|
7
|
+
[32mcreated [1mdist[22m in [1m923ms[22m[39m
|
|
8
8
|
[36m
|
|
9
9
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
10
|
-
[32mcreated [1m./demo/[22m in [
|
|
10
|
+
[32mcreated [1m./demo/[22m in [1m614ms[22m[39m
|
|
11
11
|
[36m
|
|
12
12
|
[1m./demo/api.js[22m → [1m./demo/[22m...[39m
|
|
13
|
-
[32mcreated [1m./demo/[22m in [
|
|
13
|
+
[32mcreated [1m./demo/[22m in [1m531ms[22m[39m
|
|
@@ -138,13 +138,13 @@ Run in verbose mode to see all warnings.
|
|
|
138
138
|
|
|
139
139
|
[36m
|
|
140
140
|
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
141
|
-
[32mcreated [1mdist[22m in [
|
|
141
|
+
[32mcreated [1mdist[22m in [1m864ms[22m[39m
|
|
142
142
|
[36m
|
|
143
143
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
144
|
-
[32mcreated [1m./demo/[22m in [
|
|
144
|
+
[32mcreated [1m./demo/[22m in [1m511ms[22m[39m
|
|
145
145
|
[36m
|
|
146
146
|
[1m./demo/api.js[22m → [1m./demo/[22m...[39m
|
|
147
|
-
[32mcreated [1m./demo/[22m in [
|
|
147
|
+
[32mcreated [1m./demo/[22m in [1m459ms[22m[39m
|
|
148
148
|
|
|
149
149
|
> @auro-formkit/auro-radio@4.1.1 build:docs
|
|
150
150
|
> wca analyze 'scripts/wca/*.js' --outFiles docs/api.md; node ../../packages/build-tools/src/docProcessor.mjs --component radio
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
[36m
|
|
6
6
|
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
7
|
-
[32mcreated [1mdist[22m in [
|
|
7
|
+
[32mcreated [1mdist[22m in [1m662ms[22m[39m
|
|
8
8
|
[36m
|
|
9
9
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
10
|
-
[32mcreated [1m./demo/[22m in [
|
|
10
|
+
[32mcreated [1m./demo/[22m in [1m643ms[22m[39m
|
|
11
11
|
[36m
|
|
12
12
|
[1m./demo/api.js[22m → [1m./demo/[22m...[39m
|
|
13
|
-
[32mcreated [1m./demo/[22m in [
|
|
13
|
+
[32mcreated [1m./demo/[22m in [1m588ms[22m[39m
|
|
@@ -137,13 +137,13 @@ More info and automated migrator: https://sass-lang.com/d/import
|
|
|
137
137
|
|
|
138
138
|
[36m
|
|
139
139
|
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
140
|
-
[32mcreated [1mdist[22m in [
|
|
140
|
+
[32mcreated [1mdist[22m in [1m584ms[22m[39m
|
|
141
141
|
[36m
|
|
142
142
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
143
|
-
[32mcreated [1m./demo/[22m in [
|
|
143
|
+
[32mcreated [1m./demo/[22m in [1m480ms[22m[39m
|
|
144
144
|
[36m
|
|
145
145
|
[1m./demo/api.js[22m → [1m./demo/[22m...[39m
|
|
146
|
-
[32mcreated [1m./demo/[22m in [
|
|
146
|
+
[32mcreated [1m./demo/[22m in [1m459ms[22m[39m
|
|
147
147
|
|
|
148
148
|
> @auro-formkit/auro-select@3.3.0 build:docs
|
|
149
149
|
> wca analyze 'scripts/wca/*.js' --outFiles docs/api.md; node ../../packages/build-tools/src/docProcessor.mjs --component select
|
|
@@ -174,20 +174,22 @@ Retrieving latest "/home/runner/work/auro-formkit/auro-formkit/components/select
|
|
|
174
174
|
Transforms run
|
|
175
175
|
⁕ FILE:src=./../docs/partials/description.md
|
|
176
176
|
⁕ FILE:src=./../apiExamples/basic.html
|
|
177
|
+
⁕ FILE:src=./../apiExamples/customPlaceholder.html
|
|
178
|
+
⁕ FILE:src=./../apiExamples/slots.html
|
|
177
179
|
⁕ FILE:src=./../apiExamples/withIcons.html
|
|
178
180
|
⁕ FILE:src=./../apiExamples/withSubmenus.html
|
|
179
181
|
⁕ FILE:src=./../apiExamples/noCheckmark.html
|
|
180
182
|
⁕ FILE:src=../apiExamples/customBibHeight.html
|
|
181
|
-
⁕ FILE:src=./../apiExamples/slots.html
|
|
182
183
|
⁕ FILE:src=./../apiExamples/error.html
|
|
183
184
|
⁕ FILE:src=./../apiExamples/disabled.html
|
|
184
185
|
⁕ FILE:src=./../apiExamples/custom.html
|
|
185
186
|
⁕ CODE:src=./../apiExamples/basic.html
|
|
187
|
+
⁕ CODE:src=./../apiExamples/customPlaceholder.html
|
|
188
|
+
⁕ CODE:src=./../apiExamples/slots.html
|
|
186
189
|
⁕ CODE:src=./../apiExamples/withIcons.html
|
|
187
190
|
⁕ CODE:src=./../apiExamples/withSubmenus.html
|
|
188
191
|
⁕ CODE:src=./../apiExamples/noCheckmark.html
|
|
189
192
|
⁕ CODE:src=../apiExamples/customBibHeight.html
|
|
190
|
-
⁕ CODE:src=./../apiExamples/slots.html
|
|
191
193
|
⁕ CODE:src=./../apiExamples/error.html
|
|
192
194
|
⁕ CODE:src=./../apiExamples/disabled.html
|
|
193
195
|
⁕ CODE:src=./../apiExamples/custom.html
|
|
@@ -197,13 +199,11 @@ Retrieving latest "/home/runner/work/auro-formkit/auro-formkit/components/select
|
|
|
197
199
|
⁕ FILE:src=./../docs/api.md
|
|
198
200
|
⁕ FILE:src=./../apiExamples/basic.html
|
|
199
201
|
⁕ FILE:src=./../apiExamples/value.html
|
|
200
|
-
⁕ FILE:src=./../apiExamples/customPlaceholder.html
|
|
201
202
|
⁕ FILE:src=./../apiExamples/required.html
|
|
202
203
|
⁕ FILE:src=./../apiExamples/errorApi.html
|
|
203
204
|
⁕ FILE:src=./../apiExamples/disabled.html
|
|
204
205
|
⁕ FILE:src=../apiExamples/flexMenuWidth.html
|
|
205
206
|
⁕ FILE:src=./../apiExamples/label.html
|
|
206
|
-
⁕ FILE:src=./../apiExamples/labelWithPlaceholder.html
|
|
207
207
|
⁕ FILE:src=./../apiExamples/helpText.html
|
|
208
208
|
⁕ FILE:src=./../apiExamples/resetState.html
|
|
209
209
|
⁕ FILE:src=./../apiExamples/valueExtraction.html
|
|
@@ -214,13 +214,11 @@ Retrieving latest "/home/runner/work/auro-formkit/auro-formkit/components/select
|
|
|
214
214
|
⁕ CODE:src=./../apiExamples/basic.html
|
|
215
215
|
⁕ CODE:src=./../apiExamples/value.html
|
|
216
216
|
⁕ CODE:src=./../apiExamples/value.js
|
|
217
|
-
⁕ CODE:src=./../apiExamples/customPlaceholder.html
|
|
218
217
|
⁕ CODE:src=./../apiExamples/required.html
|
|
219
218
|
⁕ CODE:src=./../apiExamples/errorApi.html
|
|
220
219
|
⁕ CODE:src=./../apiExamples/disabled.html
|
|
221
220
|
⁕ CODE:src=../apiExamples/flexMenuWidth.html
|
|
222
221
|
⁕ CODE:src=./../apiExamples/label.html
|
|
223
|
-
⁕ CODE:src=./../apiExamples/labelWithPlaceholder.html
|
|
224
222
|
⁕ CODE:src=./../apiExamples/helpText.html
|
|
225
223
|
⁕ CODE:src=./../apiExamples/resetState.html
|
|
226
224
|
⁕ CODE:src=./../apiExamples/resetState.js
|