@patternfly/patternfly 5.0.0-prerelease.12 → 5.0.0-prerelease.13
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/docs/components/CalendarMonth/examples/CalendarMonth.md +8 -8
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +12 -12
- package/docs/components/DatePicker/examples/DatePicker.md +16 -16
- package/docs/components/FileUpload/examples/FileUpload.md +28 -28
- package/docs/components/Form/examples/Form.md +56 -56
- package/docs/components/FormControl/examples/FormControl.md +134 -134
- package/docs/components/InlineEdit/examples/InlineEdit.md +26 -26
- package/docs/components/InputGroup/examples/InputGroup.md +24 -24
- package/docs/components/Login/examples/Login.md +28 -28
- package/docs/components/NumberInput/examples/NumberInput.md +28 -28
- package/docs/components/Pagination/examples/Pagination.md +22 -22
- package/docs/components/Select/deprecated/Select.md +18 -18
- package/docs/components/Slider/examples/Slider.md +14 -14
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +16 -16
- package/docs/components/Toolbar/examples/Toolbar.md +4 -4
- package/docs/components/Wizard/examples/Wizard.md +70 -70
- package/docs/demos/Alert/examples/Alert.md +30 -30
- package/docs/demos/Button/examples/Button.md +12 -12
- package/docs/demos/CardView/examples/CardView.md +2 -2
- package/docs/demos/DataList/examples/DataList.md +8 -8
- package/docs/demos/Form/examples/BasicForms.md +54 -54
- package/docs/demos/HelperText/examples/HelperText.md +20 -20
- package/docs/demos/Modal/examples/Modal.md +6 -6
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +2 -2
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +8 -8
- package/docs/demos/Table/examples/Table.md +22 -22
- package/docs/demos/Toolbar/examples/Toolbar.md +10 -10
- package/docs/demos/Wizard/examples/Wizard.md +112 -112
- package/package.json +1 -1
|
@@ -10,25 +10,25 @@ cssPrefix: pf-v5-c-form-control
|
|
|
10
10
|
**Note:** In webkit browsers, inputs with status icons that are autocompleted will have their icons removed by the user agent stylesheet. If the field does not need to use autocomplete, turn it off with `autocomplete="off"` to avoid the problem. Otherwise, use [helper text](/components/helper-text/html-demos) instead to ensure that the status will remain visible if the field is autocompleted.
|
|
11
11
|
|
|
12
12
|
```html
|
|
13
|
-
<
|
|
13
|
+
<span class="pf-v5-c-form-control">
|
|
14
14
|
<input
|
|
15
15
|
type="text"
|
|
16
16
|
value="Standard"
|
|
17
17
|
id="input-standard"
|
|
18
18
|
aria-label="Standard input example"
|
|
19
19
|
/>
|
|
20
|
-
</
|
|
20
|
+
</span>
|
|
21
21
|
<br />
|
|
22
|
-
<
|
|
22
|
+
<span class="pf-v5-c-form-control">
|
|
23
23
|
<input
|
|
24
24
|
type="text"
|
|
25
25
|
placeholder="Placeholder"
|
|
26
26
|
id="input-placeholder"
|
|
27
27
|
aria-label="Placeholder input example"
|
|
28
28
|
/>
|
|
29
|
-
</
|
|
29
|
+
</span>
|
|
30
30
|
<br />
|
|
31
|
-
<
|
|
31
|
+
<span class="pf-v5-c-form-control pf-m-readonly">
|
|
32
32
|
<input
|
|
33
33
|
readonly
|
|
34
34
|
type="text"
|
|
@@ -36,9 +36,9 @@ cssPrefix: pf-v5-c-form-control
|
|
|
36
36
|
id="input-readonly"
|
|
37
37
|
aria-label="Readonly input example"
|
|
38
38
|
/>
|
|
39
|
-
</
|
|
39
|
+
</span>
|
|
40
40
|
<br />
|
|
41
|
-
<
|
|
41
|
+
<span class="pf-v5-c-form-control pf-m-readonly pf-m-plain">
|
|
42
42
|
<input
|
|
43
43
|
readonly
|
|
44
44
|
type="text"
|
|
@@ -46,9 +46,9 @@ cssPrefix: pf-v5-c-form-control
|
|
|
46
46
|
id="input-readonly-plain"
|
|
47
47
|
aria-label="Readonly plain input example"
|
|
48
48
|
/>
|
|
49
|
-
</
|
|
49
|
+
</span>
|
|
50
50
|
<br />
|
|
51
|
-
<
|
|
51
|
+
<span class="pf-v5-c-form-control pf-m-disabled">
|
|
52
52
|
<input
|
|
53
53
|
disabled
|
|
54
54
|
type="text"
|
|
@@ -56,37 +56,37 @@ cssPrefix: pf-v5-c-form-control
|
|
|
56
56
|
id="input-disabled"
|
|
57
57
|
aria-label="Disabled input example"
|
|
58
58
|
/>
|
|
59
|
-
</
|
|
59
|
+
</span>
|
|
60
60
|
<br />
|
|
61
|
-
<
|
|
61
|
+
<span class="pf-v5-c-form-control pf-m-success">
|
|
62
62
|
<input
|
|
63
63
|
type="text"
|
|
64
64
|
value="Success"
|
|
65
65
|
id="input-success"
|
|
66
66
|
aria-label="Success state input example"
|
|
67
67
|
/>
|
|
68
|
-
<
|
|
69
|
-
<
|
|
68
|
+
<span class="pf-v5-c-form-control__utilities">
|
|
69
|
+
<span class="pf-v5-c-form-control__icon pf-m-status">
|
|
70
70
|
<i class="fas fa-check-circle" aria-hidden="true"></i>
|
|
71
|
-
</
|
|
72
|
-
</
|
|
73
|
-
</
|
|
71
|
+
</span>
|
|
72
|
+
</span>
|
|
73
|
+
</span>
|
|
74
74
|
<br />
|
|
75
|
-
<
|
|
75
|
+
<span class="pf-v5-c-form-control pf-m-warning">
|
|
76
76
|
<input
|
|
77
77
|
type="text"
|
|
78
78
|
value="Warning"
|
|
79
79
|
id="input-warning"
|
|
80
80
|
aria-label="Warning state input example"
|
|
81
81
|
/>
|
|
82
|
-
<
|
|
83
|
-
<
|
|
82
|
+
<span class="pf-v5-c-form-control__utilities">
|
|
83
|
+
<span class="pf-v5-c-form-control__icon pf-m-status">
|
|
84
84
|
<i class="fas fa-exclamation-triangle" aria-hidden="true"></i>
|
|
85
|
-
</
|
|
86
|
-
</
|
|
87
|
-
</
|
|
85
|
+
</span>
|
|
86
|
+
</span>
|
|
87
|
+
</span>
|
|
88
88
|
<br />
|
|
89
|
-
<
|
|
89
|
+
<span class="pf-v5-c-form-control pf-m-error">
|
|
90
90
|
<input
|
|
91
91
|
required
|
|
92
92
|
type="text"
|
|
@@ -95,23 +95,23 @@ cssPrefix: pf-v5-c-form-control
|
|
|
95
95
|
aria-invalid="true"
|
|
96
96
|
aria-label="Error state input example"
|
|
97
97
|
/>
|
|
98
|
-
<
|
|
99
|
-
<
|
|
98
|
+
<span class="pf-v5-c-form-control__utilities">
|
|
99
|
+
<span class="pf-v5-c-form-control__icon pf-m-status">
|
|
100
100
|
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
101
|
-
</
|
|
102
|
-
</
|
|
103
|
-
</
|
|
101
|
+
</span>
|
|
102
|
+
</span>
|
|
103
|
+
</span>
|
|
104
104
|
<br />
|
|
105
|
-
<
|
|
105
|
+
<span class="pf-v5-c-form-control pf-m-expanded">
|
|
106
106
|
<input
|
|
107
107
|
type="text"
|
|
108
108
|
value="Expanded"
|
|
109
109
|
id="input-expanded"
|
|
110
110
|
aria-label="Expanded input example"
|
|
111
111
|
/>
|
|
112
|
-
</
|
|
112
|
+
</span>
|
|
113
113
|
<br />
|
|
114
|
-
<
|
|
114
|
+
<span class="pf-v5-c-form-control pf-m-icon">
|
|
115
115
|
<input
|
|
116
116
|
type="text"
|
|
117
117
|
value="Calendar"
|
|
@@ -119,14 +119,14 @@ cssPrefix: pf-v5-c-form-control
|
|
|
119
119
|
name="input-calendar"
|
|
120
120
|
aria-label="Calendar input example"
|
|
121
121
|
/>
|
|
122
|
-
<
|
|
123
|
-
<
|
|
122
|
+
<span class="pf-v5-c-form-control__utilities">
|
|
123
|
+
<span class="pf-v5-c-form-control__icon">
|
|
124
124
|
<i class="fas fa-calendar" aria-hidden="true"></i>
|
|
125
|
-
</
|
|
126
|
-
</
|
|
127
|
-
</
|
|
125
|
+
</span>
|
|
126
|
+
</span>
|
|
127
|
+
</span>
|
|
128
128
|
<br />
|
|
129
|
-
<
|
|
129
|
+
<span class="pf-v5-c-form-control pf-m-warning pf-m-icon">
|
|
130
130
|
<input
|
|
131
131
|
type="text"
|
|
132
132
|
value="Clock (invalid)"
|
|
@@ -134,17 +134,17 @@ cssPrefix: pf-v5-c-form-control
|
|
|
134
134
|
name="input-clock"
|
|
135
135
|
aria-label="Clock input example"
|
|
136
136
|
/>
|
|
137
|
-
<
|
|
138
|
-
<
|
|
137
|
+
<span class="pf-v5-c-form-control__utilities">
|
|
138
|
+
<span class="pf-v5-c-form-control__icon">
|
|
139
139
|
<i class="fas fa-clock" aria-hidden="true"></i>
|
|
140
|
-
</
|
|
141
|
-
<
|
|
140
|
+
</span>
|
|
141
|
+
<span class="pf-v5-c-form-control__icon pf-m-status">
|
|
142
142
|
<i class="fas fa-exclamation-triangle" aria-hidden="true"></i>
|
|
143
|
-
</
|
|
144
|
-
</
|
|
145
|
-
</
|
|
143
|
+
</span>
|
|
144
|
+
</span>
|
|
145
|
+
</span>
|
|
146
146
|
<br />
|
|
147
|
-
<
|
|
147
|
+
<span class="pf-v5-c-form-control pf-m-icon">
|
|
148
148
|
<input
|
|
149
149
|
type="text"
|
|
150
150
|
value="Custom icon"
|
|
@@ -152,19 +152,19 @@ cssPrefix: pf-v5-c-form-control
|
|
|
152
152
|
name="custom-icon"
|
|
153
153
|
aria-label="Custom icon input example"
|
|
154
154
|
/>
|
|
155
|
-
<
|
|
156
|
-
<
|
|
155
|
+
<span class="pf-v5-c-form-control__utilities">
|
|
156
|
+
<span class="pf-v5-c-form-control__icon">
|
|
157
157
|
<i class="fas fa-bell" aria-hidden="true"></i>
|
|
158
|
-
</
|
|
159
|
-
</
|
|
160
|
-
</
|
|
158
|
+
</span>
|
|
159
|
+
</span>
|
|
160
|
+
</span>
|
|
161
161
|
|
|
162
162
|
```
|
|
163
163
|
|
|
164
164
|
### Select
|
|
165
165
|
|
|
166
166
|
```html
|
|
167
|
-
<
|
|
167
|
+
<span class="pf-v5-c-form-control pf-m-placeholder">
|
|
168
168
|
<select
|
|
169
169
|
class
|
|
170
170
|
id="select-selectable-placeholder"
|
|
@@ -179,14 +179,14 @@ cssPrefix: pf-v5-c-form-control
|
|
|
179
179
|
<option value="Dr">Dr</option>
|
|
180
180
|
<option value="Other">Other</option>
|
|
181
181
|
</select>
|
|
182
|
-
<
|
|
183
|
-
<
|
|
182
|
+
<span class="pf-v5-c-form-control__utilities">
|
|
183
|
+
<span class="pf-v5-c-form-control__toggle-icon">
|
|
184
184
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
185
|
-
</
|
|
186
|
-
</
|
|
187
|
-
</
|
|
185
|
+
</span>
|
|
186
|
+
</span>
|
|
187
|
+
</span>
|
|
188
188
|
<br />
|
|
189
|
-
<
|
|
189
|
+
<span class="pf-v5-c-form-control pf-m-placeholder">
|
|
190
190
|
<select
|
|
191
191
|
class
|
|
192
192
|
id="select-non-selectable-placeholder"
|
|
@@ -201,14 +201,14 @@ cssPrefix: pf-v5-c-form-control
|
|
|
201
201
|
<option value="Dr">Dr</option>
|
|
202
202
|
<option value="Other">Other</option>
|
|
203
203
|
</select>
|
|
204
|
-
<
|
|
205
|
-
<
|
|
204
|
+
<span class="pf-v5-c-form-control__utilities">
|
|
205
|
+
<span class="pf-v5-c-form-control__toggle-icon">
|
|
206
206
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
207
|
-
</
|
|
208
|
-
</
|
|
209
|
-
</
|
|
207
|
+
</span>
|
|
208
|
+
</span>
|
|
209
|
+
</span>
|
|
210
210
|
<br />
|
|
211
|
-
<
|
|
211
|
+
<span class="pf-v5-c-form-control">
|
|
212
212
|
<select
|
|
213
213
|
class
|
|
214
214
|
id="select-group"
|
|
@@ -224,14 +224,14 @@ cssPrefix: pf-v5-c-form-control
|
|
|
224
224
|
<option value="Option 4">The fourth option</option>
|
|
225
225
|
</optgroup>
|
|
226
226
|
</select>
|
|
227
|
-
<
|
|
228
|
-
<
|
|
227
|
+
<span class="pf-v5-c-form-control__utilities">
|
|
228
|
+
<span class="pf-v5-c-form-control__toggle-icon">
|
|
229
229
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
230
|
-
</
|
|
231
|
-
</
|
|
232
|
-
</
|
|
230
|
+
</span>
|
|
231
|
+
</span>
|
|
232
|
+
</span>
|
|
233
233
|
<br />
|
|
234
|
-
<
|
|
234
|
+
<span class="pf-v5-c-form-control pf-m-success">
|
|
235
235
|
<select
|
|
236
236
|
class
|
|
237
237
|
id="select-group-success"
|
|
@@ -248,17 +248,17 @@ cssPrefix: pf-v5-c-form-control
|
|
|
248
248
|
<option value="Option 4">The fourth option</option>
|
|
249
249
|
</optgroup>
|
|
250
250
|
</select>
|
|
251
|
-
<
|
|
252
|
-
<
|
|
251
|
+
<span class="pf-v5-c-form-control__utilities">
|
|
252
|
+
<span class="pf-v5-c-form-control__icon pf-m-status">
|
|
253
253
|
<i class="fas fa-check-circle" aria-hidden="true"></i>
|
|
254
|
-
</
|
|
255
|
-
<
|
|
254
|
+
</span>
|
|
255
|
+
<span class="pf-v5-c-form-control__toggle-icon">
|
|
256
256
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
257
|
-
</
|
|
258
|
-
</
|
|
259
|
-
</
|
|
257
|
+
</span>
|
|
258
|
+
</span>
|
|
259
|
+
</span>
|
|
260
260
|
<br />
|
|
261
|
-
<
|
|
261
|
+
<span class="pf-v5-c-form-control pf-m-warning">
|
|
262
262
|
<select
|
|
263
263
|
class
|
|
264
264
|
id="select-group-warning"
|
|
@@ -275,17 +275,17 @@ cssPrefix: pf-v5-c-form-control
|
|
|
275
275
|
<option value="Option 4">The fourth option</option>
|
|
276
276
|
</optgroup>
|
|
277
277
|
</select>
|
|
278
|
-
<
|
|
279
|
-
<
|
|
278
|
+
<span class="pf-v5-c-form-control__utilities">
|
|
279
|
+
<span class="pf-v5-c-form-control__icon pf-m-status">
|
|
280
280
|
<i class="fas fa-exclamation-triangle" aria-hidden="true"></i>
|
|
281
|
-
</
|
|
282
|
-
<
|
|
281
|
+
</span>
|
|
282
|
+
<span class="pf-v5-c-form-control__toggle-icon">
|
|
283
283
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
284
|
-
</
|
|
285
|
-
</
|
|
286
|
-
</
|
|
284
|
+
</span>
|
|
285
|
+
</span>
|
|
286
|
+
</span>
|
|
287
287
|
<br />
|
|
288
|
-
<
|
|
288
|
+
<span class="pf-v5-c-form-control pf-m-error">
|
|
289
289
|
<select
|
|
290
290
|
class
|
|
291
291
|
required
|
|
@@ -304,17 +304,17 @@ cssPrefix: pf-v5-c-form-control
|
|
|
304
304
|
<option value="Option 4">The fourth option</option>
|
|
305
305
|
</optgroup>
|
|
306
306
|
</select>
|
|
307
|
-
<
|
|
308
|
-
<
|
|
307
|
+
<span class="pf-v5-c-form-control__utilities">
|
|
308
|
+
<span class="pf-v5-c-form-control__icon pf-m-status">
|
|
309
309
|
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
310
|
-
</
|
|
311
|
-
<
|
|
310
|
+
</span>
|
|
311
|
+
<span class="pf-v5-c-form-control__toggle-icon">
|
|
312
312
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
313
|
-
</
|
|
314
|
-
</
|
|
315
|
-
</
|
|
313
|
+
</span>
|
|
314
|
+
</span>
|
|
315
|
+
</span>
|
|
316
316
|
<br />
|
|
317
|
-
<
|
|
317
|
+
<span class="pf-v5-c-form-control pf-m-disabled pf-m-placeholder">
|
|
318
318
|
<select
|
|
319
319
|
class
|
|
320
320
|
disabled
|
|
@@ -330,28 +330,28 @@ cssPrefix: pf-v5-c-form-control
|
|
|
330
330
|
<option value="Dr">Dr</option>
|
|
331
331
|
<option value="Other">Other</option>
|
|
332
332
|
</select>
|
|
333
|
-
<
|
|
334
|
-
<
|
|
333
|
+
<span class="pf-v5-c-form-control__utilities">
|
|
334
|
+
<span class="pf-v5-c-form-control__toggle-icon">
|
|
335
335
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
336
|
-
</
|
|
337
|
-
</
|
|
338
|
-
</
|
|
336
|
+
</span>
|
|
337
|
+
</span>
|
|
338
|
+
</span>
|
|
339
339
|
|
|
340
340
|
```
|
|
341
341
|
|
|
342
342
|
### Textarea
|
|
343
343
|
|
|
344
344
|
```html
|
|
345
|
-
<
|
|
345
|
+
<span class="pf-v5-c-form-control">
|
|
346
346
|
<textarea
|
|
347
347
|
name="textarea-standard"
|
|
348
348
|
id="textarea-standard"
|
|
349
349
|
aria-label="Standard textarea example"
|
|
350
350
|
>Standard
|
|
351
351
|
</textarea>
|
|
352
|
-
</
|
|
352
|
+
</span>
|
|
353
353
|
<br />
|
|
354
|
-
<
|
|
354
|
+
<span class="pf-v5-c-form-control pf-m-readonly">
|
|
355
355
|
<textarea
|
|
356
356
|
readonly
|
|
357
357
|
name="textarea-readonly"
|
|
@@ -359,9 +359,9 @@ cssPrefix: pf-v5-c-form-control
|
|
|
359
359
|
aria-label="Readonly textarea example"
|
|
360
360
|
>Readonly
|
|
361
361
|
</textarea>
|
|
362
|
-
</
|
|
362
|
+
</span>
|
|
363
363
|
<br />
|
|
364
|
-
<
|
|
364
|
+
<span class="pf-v5-c-form-control pf-m-readonly pf-m-plain">
|
|
365
365
|
<textarea
|
|
366
366
|
readonly
|
|
367
367
|
name="textarea-readonly-plain"
|
|
@@ -369,9 +369,9 @@ cssPrefix: pf-v5-c-form-control
|
|
|
369
369
|
aria-label="Readonly plain textarea example"
|
|
370
370
|
>Readonly plain
|
|
371
371
|
</textarea>
|
|
372
|
-
</
|
|
372
|
+
</span>
|
|
373
373
|
<br />
|
|
374
|
-
<
|
|
374
|
+
<span class="pf-v5-c-form-control pf-m-disabled">
|
|
375
375
|
<textarea
|
|
376
376
|
disabled
|
|
377
377
|
name="textarea-disabled"
|
|
@@ -379,37 +379,37 @@ cssPrefix: pf-v5-c-form-control
|
|
|
379
379
|
aria-label="Disabled textarea example"
|
|
380
380
|
>Disabled
|
|
381
381
|
</textarea>
|
|
382
|
-
</
|
|
382
|
+
</span>
|
|
383
383
|
<br />
|
|
384
|
-
<
|
|
384
|
+
<span class="pf-v5-c-form-control pf-m-success">
|
|
385
385
|
<textarea
|
|
386
386
|
name="textarea-success"
|
|
387
387
|
id="textarea-success"
|
|
388
388
|
aria-label="Success state textarea example"
|
|
389
389
|
>Success
|
|
390
390
|
</textarea>
|
|
391
|
-
<
|
|
392
|
-
<
|
|
391
|
+
<span class="pf-v5-c-form-control__utilities">
|
|
392
|
+
<span class="pf-v5-c-form-control__icon pf-m-status">
|
|
393
393
|
<i class="fas fa-check-circle" aria-hidden="true"></i>
|
|
394
|
-
</
|
|
395
|
-
</
|
|
396
|
-
</
|
|
394
|
+
</span>
|
|
395
|
+
</span>
|
|
396
|
+
</span>
|
|
397
397
|
<br />
|
|
398
|
-
<
|
|
398
|
+
<span class="pf-v5-c-form-control pf-m-warning">
|
|
399
399
|
<textarea
|
|
400
400
|
name="textarea-warning"
|
|
401
401
|
id="textarea-warning"
|
|
402
402
|
aria-label="Warning state textarea example"
|
|
403
403
|
>Warning
|
|
404
404
|
</textarea>
|
|
405
|
-
<
|
|
406
|
-
<
|
|
405
|
+
<span class="pf-v5-c-form-control__utilities">
|
|
406
|
+
<span class="pf-v5-c-form-control__icon pf-m-status">
|
|
407
407
|
<i class="fas fa-exclamation-triangle" aria-hidden="true"></i>
|
|
408
|
-
</
|
|
409
|
-
</
|
|
410
|
-
</
|
|
408
|
+
</span>
|
|
409
|
+
</span>
|
|
410
|
+
</span>
|
|
411
411
|
<br />
|
|
412
|
-
<
|
|
412
|
+
<span class="pf-v5-c-form-control pf-m-error">
|
|
413
413
|
<textarea
|
|
414
414
|
required
|
|
415
415
|
name="textarea-error"
|
|
@@ -418,39 +418,39 @@ cssPrefix: pf-v5-c-form-control
|
|
|
418
418
|
aria-invalid="true"
|
|
419
419
|
>Error
|
|
420
420
|
</textarea>
|
|
421
|
-
<
|
|
422
|
-
<
|
|
421
|
+
<span class="pf-v5-c-form-control__utilities">
|
|
422
|
+
<span class="pf-v5-c-form-control__icon pf-m-status">
|
|
423
423
|
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
424
|
-
</
|
|
425
|
-
</
|
|
426
|
-
</
|
|
424
|
+
</span>
|
|
425
|
+
</span>
|
|
426
|
+
</span>
|
|
427
427
|
<br />
|
|
428
|
-
<
|
|
428
|
+
<span class="pf-v5-c-form-control pf-m-resize-vertical">
|
|
429
429
|
<textarea
|
|
430
430
|
name="textarea-resize-vertical"
|
|
431
431
|
id="textarea-resize-vertical"
|
|
432
432
|
aria-label="Resize vertical textarea example"
|
|
433
433
|
>Resizes vertically
|
|
434
434
|
</textarea>
|
|
435
|
-
</
|
|
435
|
+
</span>
|
|
436
436
|
<br />
|
|
437
|
-
<
|
|
437
|
+
<span class="pf-v5-c-form-control pf-m-resize-horizontal">
|
|
438
438
|
<textarea
|
|
439
439
|
name="textarea-resize-horizontal"
|
|
440
440
|
id="textarea-resize-horizontal"
|
|
441
441
|
aria-label="Resize horizontal textarea example"
|
|
442
442
|
>Resizes horizontally
|
|
443
443
|
</textarea>
|
|
444
|
-
</
|
|
444
|
+
</span>
|
|
445
445
|
<br />
|
|
446
|
-
<
|
|
446
|
+
<span class="pf-v5-c-form-control pf-m-resize-both">
|
|
447
447
|
<textarea
|
|
448
448
|
name="textarea-resize-both"
|
|
449
449
|
id="textarea-resize-both"
|
|
450
450
|
aria-label="Resize both textarea example"
|
|
451
451
|
>Resizes in both directions
|
|
452
452
|
</textarea>
|
|
453
|
-
</
|
|
453
|
+
</span>
|
|
454
454
|
|
|
455
455
|
```
|
|
456
456
|
|
|
@@ -469,10 +469,10 @@ cssPrefix: pf-v5-c-form-control
|
|
|
469
469
|
|
|
470
470
|
| Class | Applied to | Outcome |
|
|
471
471
|
| -- | -- | -- |
|
|
472
|
-
| `.pf-v5-c-form-control` | `<
|
|
473
|
-
| `.pf-v5-c-form-control__utilities` | `<
|
|
474
|
-
| `.pf-v5-c-form-control__icon` | `<
|
|
475
|
-
| `.pf-v5-c-form-control__toggle-icon` | `<
|
|
472
|
+
| `.pf-v5-c-form-control` | `<span>` | Initiates a container for an input, text area or select. For styling of checkboxes or radios see the [checkbox component](/components/forms/checkbox) or [radio component](/components/forms/radio). **Required** |
|
|
473
|
+
| `.pf-v5-c-form-control__utilities` | `<span>` | Initiates a container for elements like icons to be associated with the form control. |
|
|
474
|
+
| `.pf-v5-c-form-control__icon` | `<span>` | Creates a container for an icon associated with a form control. |
|
|
475
|
+
| `.pf-v5-c-form-control__toggle-icon` | `<span>` | Initiates a toggle icon for a form select. |
|
|
476
476
|
| `.pf-m-resize-vertical` | `.pf-v5-c-form-control` | Modifies a form control element containing a text area so it can only be resized vertically. |
|
|
477
477
|
| `.pf-m-resize-horizontal` | `.pf-v5-c-form-control` | Modifies a form control element containing a text area so it can only be resized horizontally. |
|
|
478
478
|
| `.pf-m-resize-both` | `.pf-v5-c-form-control` | Modifies a `.pf-v5-c-form-control` element containing a text area so it resizes in both directions. |
|