@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.3 → 0.0.0-pr624.31
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/components/bibtemplate/dist/auro-bibtemplate.d.ts +13 -2
- package/components/bibtemplate/dist/buttonVersion.d.ts +2 -0
- package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +1292 -79
- package/components/bibtemplate/dist/registered.js +1292 -79
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.md +47 -14
- package/components/checkbox/demo/api.min.js +35 -29
- package/components/checkbox/demo/index.md +2 -2
- package/components/checkbox/demo/index.min.js +35 -29
- package/components/checkbox/demo/readme.md +1 -1
- package/components/checkbox/dist/auro-checkbox-group.d.ts +1 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +3 -3
- package/components/checkbox/dist/index.js +35 -29
- package/components/checkbox/dist/registered.js +35 -29
- package/components/combobox/demo/api.md +101 -2
- package/components/combobox/demo/api.min.js +2935 -794
- package/components/combobox/demo/index.md +6 -30
- package/components/combobox/demo/index.min.js +2935 -794
- package/components/combobox/dist/auro-combobox.d.ts +45 -16
- package/components/combobox/dist/index.js +2832 -832
- package/components/combobox/dist/registered.js +2832 -832
- package/components/counter/demo/api.md +21 -19
- package/components/counter/demo/api.min.js +3648 -929
- package/components/counter/demo/index.md +99 -34
- package/components/counter/demo/index.min.js +3648 -929
- package/components/counter/dist/auro-counter-button.d.ts +2 -0
- package/components/counter/dist/auro-counter-group.d.ts +105 -6
- package/components/counter/dist/auro-counter.d.ts +6 -0
- package/components/counter/dist/helptextVersion.d.ts +2 -0
- package/components/counter/dist/iconVersion.d.ts +1 -1
- package/components/counter/dist/index.js +3648 -929
- package/components/counter/dist/registered.js +3648 -929
- package/components/datepicker/demo/api.md +36 -19
- package/components/datepicker/demo/api.min.js +14662 -10980
- package/components/datepicker/demo/index.md +80 -0
- package/components/datepicker/demo/index.min.js +14662 -10980
- package/components/datepicker/dist/auro-datepicker.d.ts +71 -3
- package/components/datepicker/dist/buttonVersion.d.ts +1 -1
- package/components/datepicker/dist/iconVersion.d.ts +2 -0
- package/components/datepicker/dist/index.js +11706 -8024
- package/components/datepicker/dist/popoverVersion.d.ts +1 -1
- package/components/datepicker/dist/registered.js +11706 -8024
- package/components/dropdown/demo/api.md +6 -7
- package/components/dropdown/demo/api.min.js +238 -144
- package/components/dropdown/demo/index.md +57 -9
- package/components/dropdown/demo/index.min.js +238 -144
- package/components/dropdown/dist/auro-dropdown.d.ts +10 -9
- package/components/dropdown/dist/auro-dropdownBib.d.ts +22 -0
- package/components/dropdown/dist/index.js +238 -144
- package/components/dropdown/dist/registered.js +238 -144
- package/components/form/demo/api.min.js +1 -1
- package/components/form/demo/index.min.js +1 -1
- package/components/form/dist/index.js +1 -1
- package/components/form/dist/registered.js +1 -1
- package/components/helptext/dist/index.js +2 -2
- package/components/helptext/dist/registered.js +2 -2
- package/components/input/README.md +1 -1
- package/components/input/demo/api.md +133 -97
- package/components/input/demo/api.min.js +972 -269
- package/components/input/demo/index.md +14 -14
- package/components/input/demo/index.min.js +971 -268
- package/components/input/demo/readme.md +1 -1
- package/components/input/dist/auro-input.d.ts +197 -15
- package/components/input/dist/base-input.d.ts +32 -8
- package/components/input/dist/buttonVersion.d.ts +1 -1
- package/components/input/dist/iconVersion.d.ts +1 -1
- package/components/input/dist/index.js +971 -268
- package/components/input/dist/registered.js +971 -268
- package/components/layoutElement/dist/index.js +13 -10
- package/components/menu/demo/api.html +38 -0
- package/components/menu/demo/api.md +68 -7
- package/components/menu/demo/api.min.js +278 -42
- package/components/menu/demo/index.min.js +278 -42
- package/components/menu/dist/auro-menu.d.ts +28 -5
- package/components/menu/dist/auro-menuoption.d.ts +15 -3
- package/components/menu/dist/iconVersion.d.ts +1 -1
- package/components/menu/dist/index.js +278 -42
- package/components/menu/dist/registered.js +278 -42
- package/components/menu/dist/styles/default/color-menuoption-css.d.ts +2 -0
- package/components/menu/dist/styles/default/style-menu-css.d.ts +2 -0
- package/components/menu/dist/styles/default/style-menuoption-css.d.ts +2 -0
- package/components/menu/dist/styles/default/tokens-css.d.ts +2 -0
- package/components/radio/demo/api.md +7 -7
- package/components/radio/demo/api.min.js +16 -13
- package/components/radio/demo/index.min.js +16 -13
- package/components/radio/dist/auro-radio-group.d.ts +1 -1
- package/components/radio/dist/auro-radio.d.ts +1 -1
- package/components/radio/dist/index.js +16 -13
- package/components/radio/dist/registered.js +16 -13
- package/components/select/demo/api.js +2 -0
- package/components/select/demo/api.md +124 -13
- package/components/select/demo/api.min.js +2802 -538
- package/components/select/demo/index.html +1 -0
- package/components/select/demo/index.md +325 -763
- package/components/select/demo/index.min.js +2795 -543
- package/components/select/dist/auro-select.d.ts +112 -11
- package/components/select/dist/helptextVersion.d.ts +2 -0
- package/components/select/dist/index.js +2538 -427
- package/components/select/dist/registered.js +2538 -427
- package/components/select/dist/styles/shapeSize-css.d.ts +2 -0
- package/components/select/dist/styles/tokens-css.d.ts +2 -0
- package/package.json +6 -4
- /package/components/{dropdown/dist/styles/default/bibColors-css.d.ts → counter/dist/styles/shapeSize-css.d.ts} +0 -0
- /package/components/{dropdown → datepicker}/dist/styles/default/color-css.d.ts +0 -0
- /package/components/{dropdown/dist/styles/default/bibStyles-css.d.ts → datepicker/dist/styles/shapeSize-css.d.ts} +0 -0
- /package/components/{dropdown/dist/styles/default/style-css.d.ts → datepicker/dist/styles/snowflake/color-css.d.ts} +0 -0
- /package/components/{dropdown/dist/styles → datepicker/dist/styles/snowflake}/style-css.d.ts +0 -0
- /package/components/{menu/dist/styles/color-menu-css.d.ts → dropdown/dist/styles/classic/bibColors-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/color-menuoption-css.d.ts → dropdown/dist/styles/classic/bibStyles-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/style-menu-css.d.ts → dropdown/dist/styles/classic/color-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/style-menuoption-css.d.ts → dropdown/dist/styles/classic/style-css.d.ts} +0 -0
- /package/components/menu/dist/styles/{tokens-css.d.ts → default/color-menu-css.d.ts} +0 -0
|
@@ -20,7 +20,7 @@ The following sections are editable by making changes to the following files:
|
|
|
20
20
|
# Input
|
|
21
21
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/description.md) -->
|
|
22
22
|
<!-- The below content is automatically added from ./docs/partials/description.md -->
|
|
23
|
-
Use the `<auro-input>` custom element to create basic single-line text fields. Supports type `text`, `password`, and `email` with validation, required input, error states and a secondary `bordered` theme. Use the slots `label` and `
|
|
23
|
+
Use the `<auro-input>` custom element to create basic single-line text fields. Supports type `text`, `password`, and `email` with validation, required input, error states and a secondary `bordered` theme. Use the slots `label` and `helpText` for additional content support.
|
|
24
24
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
25
25
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/readmeAddlInfo.md) -->
|
|
26
26
|
<!-- The below content is automatically added from ./docs/partials/readmeAddlInfo.md -->
|
|
@@ -1,4 +1,178 @@
|
|
|
1
1
|
export class AuroInput extends BaseInput {
|
|
2
|
+
static get properties(): {
|
|
3
|
+
/**
|
|
4
|
+
* @type {boolean}
|
|
5
|
+
*/
|
|
6
|
+
hideInputVisually: boolean;
|
|
7
|
+
a11yRole: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
reflect: boolean;
|
|
10
|
+
};
|
|
11
|
+
a11yExpanded: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
reflect: boolean;
|
|
14
|
+
};
|
|
15
|
+
a11yControls: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
reflect: boolean;
|
|
18
|
+
};
|
|
19
|
+
activeLabel: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
reflect: boolean;
|
|
22
|
+
};
|
|
23
|
+
autocapitalize: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
reflect: boolean;
|
|
26
|
+
};
|
|
27
|
+
autocomplete: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
reflect: boolean;
|
|
30
|
+
};
|
|
31
|
+
autocorrect: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
reflect: boolean;
|
|
34
|
+
};
|
|
35
|
+
disabled: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
reflect: boolean;
|
|
38
|
+
};
|
|
39
|
+
error: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
reflect: boolean;
|
|
42
|
+
};
|
|
43
|
+
errorMessage: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
};
|
|
46
|
+
format: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
reflect: boolean;
|
|
49
|
+
};
|
|
50
|
+
icon: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
reflect: boolean;
|
|
53
|
+
};
|
|
54
|
+
inputmode: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
reflect: boolean;
|
|
57
|
+
};
|
|
58
|
+
lang: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
reflect: boolean;
|
|
61
|
+
};
|
|
62
|
+
max: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
};
|
|
65
|
+
maxLength: {
|
|
66
|
+
type: NumberConstructor;
|
|
67
|
+
reflect: boolean;
|
|
68
|
+
};
|
|
69
|
+
min: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
};
|
|
72
|
+
minLength: {
|
|
73
|
+
type: NumberConstructor;
|
|
74
|
+
reflect: boolean;
|
|
75
|
+
};
|
|
76
|
+
name: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
reflect: boolean;
|
|
79
|
+
};
|
|
80
|
+
nested: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
reflect: boolean;
|
|
83
|
+
};
|
|
84
|
+
noValidate: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
reflect: boolean;
|
|
87
|
+
};
|
|
88
|
+
onDark: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
reflect: boolean;
|
|
91
|
+
};
|
|
92
|
+
pattern: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
reflect: boolean;
|
|
95
|
+
};
|
|
96
|
+
placeholder: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
reflect: boolean;
|
|
99
|
+
};
|
|
100
|
+
readonly: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
reflect: boolean;
|
|
103
|
+
};
|
|
104
|
+
required: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
reflect: boolean;
|
|
107
|
+
};
|
|
108
|
+
showPassword: {
|
|
109
|
+
state: boolean;
|
|
110
|
+
};
|
|
111
|
+
setCustomValidity: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
};
|
|
114
|
+
setCustomValidityBadInput: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
};
|
|
117
|
+
setCustomValidityCustomError: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
};
|
|
120
|
+
setCustomValidityForType: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
};
|
|
123
|
+
setCustomValidityRangeOverflow: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
};
|
|
126
|
+
setCustomValidityRangeUnderflow: {
|
|
127
|
+
type: StringConstructor;
|
|
128
|
+
};
|
|
129
|
+
setCustomValidityTooLong: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
};
|
|
132
|
+
setCustomValidityTooShort: {
|
|
133
|
+
type: StringConstructor;
|
|
134
|
+
};
|
|
135
|
+
setCustomValidityValueMissing: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
};
|
|
138
|
+
simple: {
|
|
139
|
+
type: BooleanConstructor;
|
|
140
|
+
reflect: boolean;
|
|
141
|
+
};
|
|
142
|
+
customValidityTypeEmail: {
|
|
143
|
+
type: StringConstructor;
|
|
144
|
+
};
|
|
145
|
+
spellcheck: {
|
|
146
|
+
type: StringConstructor;
|
|
147
|
+
reflect: boolean;
|
|
148
|
+
};
|
|
149
|
+
type: {
|
|
150
|
+
type: StringConstructor;
|
|
151
|
+
reflect: boolean;
|
|
152
|
+
};
|
|
153
|
+
value: {
|
|
154
|
+
type: StringConstructor;
|
|
155
|
+
reflect: boolean;
|
|
156
|
+
};
|
|
157
|
+
validateOnInput: {
|
|
158
|
+
type: BooleanConstructor;
|
|
159
|
+
};
|
|
160
|
+
validity: {
|
|
161
|
+
type: StringConstructor;
|
|
162
|
+
reflect: boolean;
|
|
163
|
+
};
|
|
164
|
+
touched: boolean;
|
|
165
|
+
inputId: {
|
|
166
|
+
type: StringConstructor;
|
|
167
|
+
reflect: boolean;
|
|
168
|
+
attribute: boolean;
|
|
169
|
+
};
|
|
170
|
+
layout: {
|
|
171
|
+
type: StringConstructor;
|
|
172
|
+
attribute: string;
|
|
173
|
+
reflect: boolean;
|
|
174
|
+
};
|
|
175
|
+
};
|
|
2
176
|
static get styles(): import("lit").CSSResult[];
|
|
3
177
|
/**
|
|
4
178
|
* This will register this element with the browser.
|
|
@@ -34,25 +208,33 @@ export class AuroInput extends BaseInput {
|
|
|
34
208
|
/**
|
|
35
209
|
* Returns classmap configuration for html5 inputs in all layouts.
|
|
36
210
|
* @private
|
|
37
|
-
* @returns {object} - Returns classmap
|
|
211
|
+
* @returns {object} - Returns classmap.
|
|
38
212
|
*/
|
|
39
213
|
private get commonInputClasses();
|
|
40
214
|
/**
|
|
41
|
-
* Returns classmap configuration for html5 inputs in
|
|
215
|
+
* Returns classmap configuration for html5 inputs in each layout.
|
|
42
216
|
* @private
|
|
43
|
-
* @
|
|
217
|
+
* @returns {object} - Returns classmap.
|
|
44
218
|
*/
|
|
45
219
|
private get legacyInputClasses();
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
get
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
220
|
+
/**
|
|
221
|
+
* Returns classmap configuration for wrapper elements in each layout.
|
|
222
|
+
* @private
|
|
223
|
+
* @returns {object} - Returns classmap.
|
|
224
|
+
*/
|
|
225
|
+
private get commonWrapperClasses();
|
|
226
|
+
/**
|
|
227
|
+
* Returns classmap configuration for accent elements in each layout.
|
|
228
|
+
* @private
|
|
229
|
+
* @returns {object} - Returns classmap.
|
|
230
|
+
*/
|
|
231
|
+
private get commonAccentClasses();
|
|
232
|
+
/**
|
|
233
|
+
* Returns classmap configuration for helpText elements in each layout.
|
|
234
|
+
* @private
|
|
235
|
+
* @returns {object} - Returns classmap.
|
|
236
|
+
*/
|
|
237
|
+
private get helpTextClasses();
|
|
56
238
|
/**
|
|
57
239
|
* Function to determine if the input is meant to render an icon visualizing the input type.
|
|
58
240
|
* @private
|
|
@@ -103,9 +285,9 @@ export class AuroInput extends BaseInput {
|
|
|
103
285
|
*/
|
|
104
286
|
private renderHtmlHelpText;
|
|
105
287
|
/**
|
|
106
|
-
* Returns HTML for the
|
|
288
|
+
* Returns HTML for the classic layout.
|
|
107
289
|
* @private
|
|
108
|
-
* @returns {import("lit").TemplateResult} - Returns HTML for the
|
|
290
|
+
* @returns {import("lit").TemplateResult} - Returns HTML for the classic layout.
|
|
109
291
|
*/
|
|
110
292
|
private renderLayoutClassic;
|
|
111
293
|
/**
|
|
@@ -4,14 +4,19 @@
|
|
|
4
4
|
* @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
|
|
5
5
|
* @attr id
|
|
6
6
|
*
|
|
7
|
-
* @slot
|
|
7
|
+
* @slot helpText - Sets the help text displayed below the input.
|
|
8
8
|
* @slot label - Sets the label text for the input.
|
|
9
|
+
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
10
|
+
* @slot displayValue - Allows custom HTML content to display in place of the value when the input is not focused.
|
|
9
11
|
*
|
|
10
12
|
* @csspart wrapper - Use for customizing the style of the root element
|
|
11
13
|
* @csspart label - Use for customizing the style of the label element
|
|
12
14
|
* @csspart helpText - Use for customizing the style of the helpText element
|
|
15
|
+
* @csspart input - Use for customizing the style of the input element
|
|
13
16
|
* @csspart accentIcon - Use for customizing the style of the accentIcon element (e.g. credit card icon, calendar icon)
|
|
14
17
|
* @csspart iconContainer - Use for customizing the style of the iconContainer (e.g. X icon for clearing input value)
|
|
18
|
+
* @csspart accent-left - Use for customizing the style of the left accent element (e.g. padding, margin)
|
|
19
|
+
* @csspart accent-right - Use for customizing the style of the right accent element (e.g. padding, margin)
|
|
15
20
|
* @event input - Event fires when the value of an `auro-input` has been changed.
|
|
16
21
|
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` value has changed.
|
|
17
22
|
*/
|
|
@@ -22,7 +27,6 @@ export default class BaseInput extends AuroElement {
|
|
|
22
27
|
*/
|
|
23
28
|
a11yRole: {
|
|
24
29
|
type: StringConstructor;
|
|
25
|
-
attribute: boolean;
|
|
26
30
|
reflect: boolean;
|
|
27
31
|
};
|
|
28
32
|
/**
|
|
@@ -30,7 +34,6 @@ export default class BaseInput extends AuroElement {
|
|
|
30
34
|
*/
|
|
31
35
|
a11yExpanded: {
|
|
32
36
|
type: BooleanConstructor;
|
|
33
|
-
attribute: boolean;
|
|
34
37
|
reflect: boolean;
|
|
35
38
|
};
|
|
36
39
|
/**
|
|
@@ -38,7 +41,6 @@ export default class BaseInput extends AuroElement {
|
|
|
38
41
|
*/
|
|
39
42
|
a11yControls: {
|
|
40
43
|
type: StringConstructor;
|
|
41
|
-
attribute: boolean;
|
|
42
44
|
reflect: boolean;
|
|
43
45
|
};
|
|
44
46
|
/**
|
|
@@ -53,6 +55,7 @@ export default class BaseInput extends AuroElement {
|
|
|
53
55
|
*/
|
|
54
56
|
autocapitalize: {
|
|
55
57
|
type: StringConstructor;
|
|
58
|
+
reflect: boolean;
|
|
56
59
|
};
|
|
57
60
|
/**
|
|
58
61
|
* An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
|
|
@@ -66,6 +69,7 @@ export default class BaseInput extends AuroElement {
|
|
|
66
69
|
*/
|
|
67
70
|
autocorrect: {
|
|
68
71
|
type: StringConstructor;
|
|
72
|
+
reflect: boolean;
|
|
69
73
|
};
|
|
70
74
|
/**
|
|
71
75
|
* If set, disables the input.
|
|
@@ -104,7 +108,6 @@ export default class BaseInput extends AuroElement {
|
|
|
104
108
|
/** Exposes inputmode attribute for input. */
|
|
105
109
|
inputmode: {
|
|
106
110
|
type: StringConstructor;
|
|
107
|
-
attribute: boolean;
|
|
108
111
|
reflect: boolean;
|
|
109
112
|
};
|
|
110
113
|
/**
|
|
@@ -112,6 +115,7 @@ export default class BaseInput extends AuroElement {
|
|
|
112
115
|
*/
|
|
113
116
|
lang: {
|
|
114
117
|
type: StringConstructor;
|
|
118
|
+
reflect: boolean;
|
|
115
119
|
};
|
|
116
120
|
/**
|
|
117
121
|
* The maximum value allowed. This only applies for inputs with a type of `number` and all date formats.
|
|
@@ -124,6 +128,7 @@ export default class BaseInput extends AuroElement {
|
|
|
124
128
|
*/
|
|
125
129
|
maxLength: {
|
|
126
130
|
type: NumberConstructor;
|
|
131
|
+
reflect: boolean;
|
|
127
132
|
};
|
|
128
133
|
/**
|
|
129
134
|
* The minimum value allowed. This only applies for inputs with a type of `number` and all date formats.
|
|
@@ -136,12 +141,22 @@ export default class BaseInput extends AuroElement {
|
|
|
136
141
|
*/
|
|
137
142
|
minLength: {
|
|
138
143
|
type: NumberConstructor;
|
|
144
|
+
reflect: boolean;
|
|
139
145
|
};
|
|
140
146
|
/**
|
|
141
147
|
* Populates the `name` attribute on the input.
|
|
142
148
|
*/
|
|
143
149
|
name: {
|
|
144
150
|
type: StringConstructor;
|
|
151
|
+
reflect: boolean;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* Sets styles for nested operation - removes borders, hides help + error text, and
|
|
155
|
+
* hides accents.
|
|
156
|
+
*/
|
|
157
|
+
nested: {
|
|
158
|
+
type: BooleanConstructor;
|
|
159
|
+
reflect: boolean;
|
|
145
160
|
};
|
|
146
161
|
/**
|
|
147
162
|
* If set, disables auto-validation on blur.
|
|
@@ -169,6 +184,7 @@ export default class BaseInput extends AuroElement {
|
|
|
169
184
|
*/
|
|
170
185
|
placeholder: {
|
|
171
186
|
type: StringConstructor;
|
|
187
|
+
reflect: boolean;
|
|
172
188
|
};
|
|
173
189
|
/**
|
|
174
190
|
* Makes the input read-only, but can be set programmatically.
|
|
@@ -244,6 +260,13 @@ export default class BaseInput extends AuroElement {
|
|
|
244
260
|
setCustomValidityValueMissing: {
|
|
245
261
|
type: StringConstructor;
|
|
246
262
|
};
|
|
263
|
+
/**
|
|
264
|
+
* Simple makes the input render without a border.
|
|
265
|
+
*/
|
|
266
|
+
simple: {
|
|
267
|
+
type: BooleanConstructor;
|
|
268
|
+
reflect: boolean;
|
|
269
|
+
};
|
|
247
270
|
/**
|
|
248
271
|
* Custom help text message for email type validity.
|
|
249
272
|
*/
|
|
@@ -255,6 +278,7 @@ export default class BaseInput extends AuroElement {
|
|
|
255
278
|
*/
|
|
256
279
|
spellcheck: {
|
|
257
280
|
type: StringConstructor;
|
|
281
|
+
reflect: boolean;
|
|
258
282
|
};
|
|
259
283
|
/**
|
|
260
284
|
* 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`.
|
|
@@ -268,6 +292,7 @@ export default class BaseInput extends AuroElement {
|
|
|
268
292
|
*/
|
|
269
293
|
value: {
|
|
270
294
|
type: StringConstructor;
|
|
295
|
+
reflect: boolean;
|
|
271
296
|
};
|
|
272
297
|
/**
|
|
273
298
|
* Sets validation mode to re-eval with each input.
|
|
@@ -290,8 +315,8 @@ export default class BaseInput extends AuroElement {
|
|
|
290
315
|
*/
|
|
291
316
|
touched: boolean;
|
|
292
317
|
/**
|
|
318
|
+
* The id for input node.
|
|
293
319
|
* @private
|
|
294
|
-
* id for input node
|
|
295
320
|
*/
|
|
296
321
|
inputId: {
|
|
297
322
|
type: StringConstructor;
|
|
@@ -415,10 +440,9 @@ export default class BaseInput extends AuroElement {
|
|
|
415
440
|
private handleClick;
|
|
416
441
|
/**
|
|
417
442
|
* Function to set element focus.
|
|
418
|
-
* @private
|
|
419
443
|
* @return {void}
|
|
420
444
|
*/
|
|
421
|
-
|
|
445
|
+
focus(): void;
|
|
422
446
|
/**
|
|
423
447
|
* Handles event of clearing input content by clicking the X icon.
|
|
424
448
|
* @private
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "
|
|
1
|
+
declare const _default: "11.0.0";
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "8.0.
|
|
1
|
+
declare const _default: "8.0.4";
|
|
2
2
|
export default _default;
|