@patternfly/react-core 4.192.14 → 4.192.18

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 (31) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist/esm/components/Button/Button.d.ts.map +1 -1
  3. package/dist/esm/components/Button/Button.js +2 -1
  4. package/dist/esm/components/Button/Button.js.map +1 -1
  5. package/dist/esm/components/NumberInput/NumberInput.d.ts.map +1 -1
  6. package/dist/esm/components/NumberInput/NumberInput.js +2 -1
  7. package/dist/esm/components/NumberInput/NumberInput.js.map +1 -1
  8. package/dist/esm/components/TimePicker/TimePicker.d.ts.map +1 -1
  9. package/dist/esm/components/TimePicker/TimePicker.js +3 -3
  10. package/dist/esm/components/TimePicker/TimePicker.js.map +1 -1
  11. package/dist/js/components/Button/Button.d.ts.map +1 -1
  12. package/dist/js/components/Button/Button.js +2 -1
  13. package/dist/js/components/Button/Button.js.map +1 -1
  14. package/dist/js/components/NumberInput/NumberInput.d.ts.map +1 -1
  15. package/dist/js/components/NumberInput/NumberInput.js +2 -1
  16. package/dist/js/components/NumberInput/NumberInput.js.map +1 -1
  17. package/dist/js/components/TimePicker/TimePicker.d.ts.map +1 -1
  18. package/dist/js/components/TimePicker/TimePicker.js +3 -3
  19. package/dist/js/components/TimePicker/TimePicker.js.map +1 -1
  20. package/dist/umd/react-core.js +6 -5
  21. package/dist/umd/react-core.min.js +2 -2
  22. package/package.json +5 -5
  23. package/src/components/Button/Button.tsx +2 -1
  24. package/src/components/Button/__tests__/Button.test.tsx +5 -0
  25. package/src/components/Button/__tests__/__snapshots__/Button.test.tsx.snap +67 -0
  26. package/src/components/Button/examples/Button.md +2 -0
  27. package/src/components/Button/examples/ButtonProgress.tsx +10 -1
  28. package/src/components/NumberInput/NumberInput.tsx +3 -2
  29. package/src/components/NumberInput/__tests__/__snapshots__/NumberInput.test.tsx.snap +1041 -1018
  30. package/src/components/TimePicker/TimePicker.tsx +3 -3
  31. package/src/components/TimePicker/__tests__/TimePicker.test.tsx +9 -1
@@ -8,133 +8,135 @@ exports[`numberInput disables lower threshold 1`] = `
8
8
  <div
9
9
  className="pf-c-number-input"
10
10
  >
11
- <div
12
- className="pf-c-input-group"
13
- >
14
- <Button
15
- aria-label="Minus"
16
- isDisabled={true}
17
- onClick={[Function]}
18
- variant="control"
11
+ <InputGroup>
12
+ <div
13
+ className="pf-c-input-group"
19
14
  >
20
- <ButtonBase
15
+ <Button
21
16
  aria-label="Minus"
22
- innerRef={null}
23
17
  isDisabled={true}
24
18
  onClick={[Function]}
25
19
  variant="control"
26
20
  >
27
- <button
28
- aria-disabled={true}
21
+ <ButtonBase
29
22
  aria-label="Minus"
30
- className="pf-c-button pf-m-control pf-m-disabled"
31
- data-ouia-component-id="OUIA-Generated-Button-control-7"
32
- data-ouia-component-type="PF4/Button"
33
- data-ouia-safe={true}
34
- disabled={true}
23
+ innerRef={null}
24
+ isDisabled={true}
35
25
  onClick={[Function]}
36
- role={null}
37
- tabIndex={null}
38
- type="button"
26
+ variant="control"
39
27
  >
40
- <span
41
- className="pf-c-number-input__icon"
28
+ <button
29
+ aria-disabled={true}
30
+ aria-label="Minus"
31
+ className="pf-c-button pf-m-control pf-m-disabled"
32
+ data-ouia-component-id="OUIA-Generated-Button-control-7"
33
+ data-ouia-component-type="PF4/Button"
34
+ data-ouia-safe={true}
35
+ disabled={true}
36
+ onClick={[Function]}
37
+ role={null}
38
+ tabIndex={null}
39
+ type="button"
42
40
  >
43
- <MinusIcon
44
- aria-hidden="true"
45
- color="currentColor"
46
- noVerticalAlign={false}
47
- size="sm"
41
+ <span
42
+ className="pf-c-number-input__icon"
48
43
  >
49
- <svg
44
+ <MinusIcon
50
45
  aria-hidden="true"
51
- aria-labelledby={null}
52
- fill="currentColor"
53
- height="1em"
54
- role="img"
55
- style={
56
- Object {
57
- "verticalAlign": "-0.125em",
58
- }
59
- }
60
- viewBox="0 0 448 512"
61
- width="1em"
46
+ color="currentColor"
47
+ noVerticalAlign={false}
48
+ size="sm"
62
49
  >
63
- <path
64
- d="M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
65
- />
66
- </svg>
67
- </MinusIcon>
68
- </span>
69
- </button>
70
- </ButtonBase>
71
- </Button>
72
- <input
73
- aria-label="Input"
74
- className="pf-c-form-control"
75
- onKeyDown={[Function]}
76
- readOnly={true}
77
- type="number"
78
- value={0}
79
- />
80
- <Button
81
- aria-label="Plus"
82
- isDisabled={false}
83
- onClick={[Function]}
84
- variant="control"
85
- >
86
- <ButtonBase
50
+ <svg
51
+ aria-hidden="true"
52
+ aria-labelledby={null}
53
+ fill="currentColor"
54
+ height="1em"
55
+ role="img"
56
+ style={
57
+ Object {
58
+ "verticalAlign": "-0.125em",
59
+ }
60
+ }
61
+ viewBox="0 0 448 512"
62
+ width="1em"
63
+ >
64
+ <path
65
+ d="M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
66
+ />
67
+ </svg>
68
+ </MinusIcon>
69
+ </span>
70
+ </button>
71
+ </ButtonBase>
72
+ </Button>
73
+ <input
74
+ aria-label="Input"
75
+ className="pf-c-form-control"
76
+ onKeyDown={[Function]}
77
+ readOnly={true}
78
+ type="number"
79
+ value={0}
80
+ />
81
+ <Button
87
82
  aria-label="Plus"
88
- innerRef={null}
89
83
  isDisabled={false}
90
84
  onClick={[Function]}
91
85
  variant="control"
92
86
  >
93
- <button
94
- aria-disabled={false}
87
+ <ButtonBase
95
88
  aria-label="Plus"
96
- className="pf-c-button pf-m-control"
97
- data-ouia-component-id="OUIA-Generated-Button-control-8"
98
- data-ouia-component-type="PF4/Button"
99
- data-ouia-safe={true}
100
- disabled={false}
89
+ innerRef={null}
90
+ isDisabled={false}
101
91
  onClick={[Function]}
102
- role={null}
103
- type="button"
92
+ variant="control"
104
93
  >
105
- <span
106
- className="pf-c-number-input__icon"
94
+ <button
95
+ aria-disabled={false}
96
+ aria-label="Plus"
97
+ className="pf-c-button pf-m-control"
98
+ data-ouia-component-id="OUIA-Generated-Button-control-8"
99
+ data-ouia-component-type="PF4/Button"
100
+ data-ouia-safe={true}
101
+ disabled={false}
102
+ onClick={[Function]}
103
+ role={null}
104
+ type="button"
107
105
  >
108
- <PlusIcon
109
- aria-hidden="true"
110
- color="currentColor"
111
- noVerticalAlign={false}
112
- size="sm"
106
+ <span
107
+ className="pf-c-number-input__icon"
113
108
  >
114
- <svg
109
+ <PlusIcon
115
110
  aria-hidden="true"
116
- aria-labelledby={null}
117
- fill="currentColor"
118
- height="1em"
119
- role="img"
120
- style={
121
- Object {
122
- "verticalAlign": "-0.125em",
123
- }
124
- }
125
- viewBox="0 0 448 512"
126
- width="1em"
111
+ color="currentColor"
112
+ noVerticalAlign={false}
113
+ size="sm"
127
114
  >
128
- <path
129
- d="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
130
- />
131
- </svg>
132
- </PlusIcon>
133
- </span>
134
- </button>
135
- </ButtonBase>
136
- </Button>
137
- </div>
115
+ <svg
116
+ aria-hidden="true"
117
+ aria-labelledby={null}
118
+ fill="currentColor"
119
+ height="1em"
120
+ role="img"
121
+ style={
122
+ Object {
123
+ "verticalAlign": "-0.125em",
124
+ }
125
+ }
126
+ viewBox="0 0 448 512"
127
+ width="1em"
128
+ >
129
+ <path
130
+ d="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
131
+ />
132
+ </svg>
133
+ </PlusIcon>
134
+ </span>
135
+ </button>
136
+ </ButtonBase>
137
+ </Button>
138
+ </div>
139
+ </InputGroup>
138
140
  </div>
139
141
  </NumberInput>
140
142
  `;
@@ -147,133 +149,135 @@ exports[`numberInput disables upper threshold 1`] = `
147
149
  <div
148
150
  className="pf-c-number-input"
149
151
  >
150
- <div
151
- className="pf-c-input-group"
152
- >
153
- <Button
154
- aria-label="Minus"
155
- isDisabled={false}
156
- onClick={[Function]}
157
- variant="control"
152
+ <InputGroup>
153
+ <div
154
+ className="pf-c-input-group"
158
155
  >
159
- <ButtonBase
156
+ <Button
160
157
  aria-label="Minus"
161
- innerRef={null}
162
158
  isDisabled={false}
163
159
  onClick={[Function]}
164
160
  variant="control"
165
161
  >
166
- <button
167
- aria-disabled={false}
162
+ <ButtonBase
168
163
  aria-label="Minus"
169
- className="pf-c-button pf-m-control"
170
- data-ouia-component-id="OUIA-Generated-Button-control-9"
171
- data-ouia-component-type="PF4/Button"
172
- data-ouia-safe={true}
173
- disabled={false}
164
+ innerRef={null}
165
+ isDisabled={false}
174
166
  onClick={[Function]}
175
- role={null}
176
- type="button"
167
+ variant="control"
177
168
  >
178
- <span
179
- className="pf-c-number-input__icon"
169
+ <button
170
+ aria-disabled={false}
171
+ aria-label="Minus"
172
+ className="pf-c-button pf-m-control"
173
+ data-ouia-component-id="OUIA-Generated-Button-control-9"
174
+ data-ouia-component-type="PF4/Button"
175
+ data-ouia-safe={true}
176
+ disabled={false}
177
+ onClick={[Function]}
178
+ role={null}
179
+ type="button"
180
180
  >
181
- <MinusIcon
182
- aria-hidden="true"
183
- color="currentColor"
184
- noVerticalAlign={false}
185
- size="sm"
181
+ <span
182
+ className="pf-c-number-input__icon"
186
183
  >
187
- <svg
184
+ <MinusIcon
188
185
  aria-hidden="true"
189
- aria-labelledby={null}
190
- fill="currentColor"
191
- height="1em"
192
- role="img"
193
- style={
194
- Object {
195
- "verticalAlign": "-0.125em",
196
- }
197
- }
198
- viewBox="0 0 448 512"
199
- width="1em"
186
+ color="currentColor"
187
+ noVerticalAlign={false}
188
+ size="sm"
200
189
  >
201
- <path
202
- d="M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
203
- />
204
- </svg>
205
- </MinusIcon>
206
- </span>
207
- </button>
208
- </ButtonBase>
209
- </Button>
210
- <input
211
- aria-label="Input"
212
- className="pf-c-form-control"
213
- onKeyDown={[Function]}
214
- readOnly={true}
215
- type="number"
216
- value={100}
217
- />
218
- <Button
219
- aria-label="Plus"
220
- isDisabled={true}
221
- onClick={[Function]}
222
- variant="control"
223
- >
224
- <ButtonBase
190
+ <svg
191
+ aria-hidden="true"
192
+ aria-labelledby={null}
193
+ fill="currentColor"
194
+ height="1em"
195
+ role="img"
196
+ style={
197
+ Object {
198
+ "verticalAlign": "-0.125em",
199
+ }
200
+ }
201
+ viewBox="0 0 448 512"
202
+ width="1em"
203
+ >
204
+ <path
205
+ d="M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
206
+ />
207
+ </svg>
208
+ </MinusIcon>
209
+ </span>
210
+ </button>
211
+ </ButtonBase>
212
+ </Button>
213
+ <input
214
+ aria-label="Input"
215
+ className="pf-c-form-control"
216
+ onKeyDown={[Function]}
217
+ readOnly={true}
218
+ type="number"
219
+ value={100}
220
+ />
221
+ <Button
225
222
  aria-label="Plus"
226
- innerRef={null}
227
223
  isDisabled={true}
228
224
  onClick={[Function]}
229
225
  variant="control"
230
226
  >
231
- <button
232
- aria-disabled={true}
227
+ <ButtonBase
233
228
  aria-label="Plus"
234
- className="pf-c-button pf-m-control pf-m-disabled"
235
- data-ouia-component-id="OUIA-Generated-Button-control-10"
236
- data-ouia-component-type="PF4/Button"
237
- data-ouia-safe={true}
238
- disabled={true}
229
+ innerRef={null}
230
+ isDisabled={true}
239
231
  onClick={[Function]}
240
- role={null}
241
- tabIndex={null}
242
- type="button"
232
+ variant="control"
243
233
  >
244
- <span
245
- className="pf-c-number-input__icon"
234
+ <button
235
+ aria-disabled={true}
236
+ aria-label="Plus"
237
+ className="pf-c-button pf-m-control pf-m-disabled"
238
+ data-ouia-component-id="OUIA-Generated-Button-control-10"
239
+ data-ouia-component-type="PF4/Button"
240
+ data-ouia-safe={true}
241
+ disabled={true}
242
+ onClick={[Function]}
243
+ role={null}
244
+ tabIndex={null}
245
+ type="button"
246
246
  >
247
- <PlusIcon
248
- aria-hidden="true"
249
- color="currentColor"
250
- noVerticalAlign={false}
251
- size="sm"
247
+ <span
248
+ className="pf-c-number-input__icon"
252
249
  >
253
- <svg
250
+ <PlusIcon
254
251
  aria-hidden="true"
255
- aria-labelledby={null}
256
- fill="currentColor"
257
- height="1em"
258
- role="img"
259
- style={
260
- Object {
261
- "verticalAlign": "-0.125em",
262
- }
263
- }
264
- viewBox="0 0 448 512"
265
- width="1em"
252
+ color="currentColor"
253
+ noVerticalAlign={false}
254
+ size="sm"
266
255
  >
267
- <path
268
- d="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
269
- />
270
- </svg>
271
- </PlusIcon>
272
- </span>
273
- </button>
274
- </ButtonBase>
275
- </Button>
276
- </div>
256
+ <svg
257
+ aria-hidden="true"
258
+ aria-labelledby={null}
259
+ fill="currentColor"
260
+ height="1em"
261
+ role="img"
262
+ style={
263
+ Object {
264
+ "verticalAlign": "-0.125em",
265
+ }
266
+ }
267
+ viewBox="0 0 448 512"
268
+ width="1em"
269
+ >
270
+ <path
271
+ d="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
272
+ />
273
+ </svg>
274
+ </PlusIcon>
275
+ </span>
276
+ </button>
277
+ </ButtonBase>
278
+ </Button>
279
+ </div>
280
+ </InputGroup>
277
281
  </div>
278
282
  </NumberInput>
279
283
  `;
@@ -297,138 +301,143 @@ exports[`numberInput passes button props successfully 1`] = `
297
301
  <div
298
302
  className="pf-c-number-input"
299
303
  >
300
- <div
301
- className="pf-c-input-group"
302
- >
303
- <Button
304
- aria-label="Minus"
305
- id="minus-id"
306
- isDisabled={false}
307
- onClick={[Function]}
308
- variant="control"
304
+ <InputGroup>
305
+ <div
306
+ className="pf-c-input-group"
309
307
  >
310
- <ButtonBase
308
+ <Button
311
309
  aria-label="Minus"
312
310
  id="minus-id"
313
- innerRef={null}
314
311
  isDisabled={false}
312
+ key=".0"
315
313
  onClick={[Function]}
316
314
  variant="control"
317
315
  >
318
- <button
319
- aria-disabled={false}
316
+ <ButtonBase
320
317
  aria-label="Minus"
321
- className="pf-c-button pf-m-control"
322
- data-ouia-component-id="OUIA-Generated-Button-control-19"
323
- data-ouia-component-type="PF4/Button"
324
- data-ouia-safe={true}
325
- disabled={false}
326
318
  id="minus-id"
319
+ innerRef={null}
320
+ isDisabled={false}
327
321
  onClick={[Function]}
328
- role={null}
329
- type="button"
322
+ variant="control"
330
323
  >
331
- <span
332
- className="pf-c-number-input__icon"
324
+ <button
325
+ aria-disabled={false}
326
+ aria-label="Minus"
327
+ className="pf-c-button pf-m-control"
328
+ data-ouia-component-id="OUIA-Generated-Button-control-19"
329
+ data-ouia-component-type="PF4/Button"
330
+ data-ouia-safe={true}
331
+ disabled={false}
332
+ id="minus-id"
333
+ onClick={[Function]}
334
+ role={null}
335
+ type="button"
333
336
  >
334
- <MinusIcon
335
- aria-hidden="true"
336
- color="currentColor"
337
- noVerticalAlign={false}
338
- size="sm"
337
+ <span
338
+ className="pf-c-number-input__icon"
339
339
  >
340
- <svg
340
+ <MinusIcon
341
341
  aria-hidden="true"
342
- aria-labelledby={null}
343
- fill="currentColor"
344
- height="1em"
345
- role="img"
346
- style={
347
- Object {
348
- "verticalAlign": "-0.125em",
349
- }
350
- }
351
- viewBox="0 0 448 512"
352
- width="1em"
342
+ color="currentColor"
343
+ noVerticalAlign={false}
344
+ size="sm"
353
345
  >
354
- <path
355
- d="M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
356
- />
357
- </svg>
358
- </MinusIcon>
359
- </span>
360
- </button>
361
- </ButtonBase>
362
- </Button>
363
- <input
364
- aria-label="Input"
365
- className="pf-c-form-control"
366
- onKeyDown={[Function]}
367
- readOnly={true}
368
- type="number"
369
- value={5}
370
- />
371
- <Button
372
- aria-label="Plus"
373
- id="plus-id"
374
- isDisabled={false}
375
- onClick={[Function]}
376
- variant="control"
377
- >
378
- <ButtonBase
346
+ <svg
347
+ aria-hidden="true"
348
+ aria-labelledby={null}
349
+ fill="currentColor"
350
+ height="1em"
351
+ role="img"
352
+ style={
353
+ Object {
354
+ "verticalAlign": "-0.125em",
355
+ }
356
+ }
357
+ viewBox="0 0 448 512"
358
+ width="1em"
359
+ >
360
+ <path
361
+ d="M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
362
+ />
363
+ </svg>
364
+ </MinusIcon>
365
+ </span>
366
+ </button>
367
+ </ButtonBase>
368
+ </Button>
369
+ <input
370
+ aria-label="Input"
371
+ className="pf-c-form-control"
372
+ key=".1"
373
+ onKeyDown={[Function]}
374
+ readOnly={true}
375
+ type="number"
376
+ value={5}
377
+ />
378
+ <Button
379
379
  aria-label="Plus"
380
380
  id="plus-id"
381
- innerRef={null}
382
381
  isDisabled={false}
382
+ key=".2"
383
383
  onClick={[Function]}
384
384
  variant="control"
385
385
  >
386
- <button
387
- aria-disabled={false}
386
+ <ButtonBase
388
387
  aria-label="Plus"
389
- className="pf-c-button pf-m-control"
390
- data-ouia-component-id="OUIA-Generated-Button-control-20"
391
- data-ouia-component-type="PF4/Button"
392
- data-ouia-safe={true}
393
- disabled={false}
394
388
  id="plus-id"
389
+ innerRef={null}
390
+ isDisabled={false}
395
391
  onClick={[Function]}
396
- role={null}
397
- type="button"
392
+ variant="control"
398
393
  >
399
- <span
400
- className="pf-c-number-input__icon"
394
+ <button
395
+ aria-disabled={false}
396
+ aria-label="Plus"
397
+ className="pf-c-button pf-m-control"
398
+ data-ouia-component-id="OUIA-Generated-Button-control-20"
399
+ data-ouia-component-type="PF4/Button"
400
+ data-ouia-safe={true}
401
+ disabled={false}
402
+ id="plus-id"
403
+ onClick={[Function]}
404
+ role={null}
405
+ type="button"
401
406
  >
402
- <PlusIcon
403
- aria-hidden="true"
404
- color="currentColor"
405
- noVerticalAlign={false}
406
- size="sm"
407
+ <span
408
+ className="pf-c-number-input__icon"
407
409
  >
408
- <svg
410
+ <PlusIcon
409
411
  aria-hidden="true"
410
- aria-labelledby={null}
411
- fill="currentColor"
412
- height="1em"
413
- role="img"
414
- style={
415
- Object {
416
- "verticalAlign": "-0.125em",
417
- }
418
- }
419
- viewBox="0 0 448 512"
420
- width="1em"
412
+ color="currentColor"
413
+ noVerticalAlign={false}
414
+ size="sm"
421
415
  >
422
- <path
423
- d="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
424
- />
425
- </svg>
426
- </PlusIcon>
427
- </span>
428
- </button>
429
- </ButtonBase>
430
- </Button>
431
- </div>
416
+ <svg
417
+ aria-hidden="true"
418
+ aria-labelledby={null}
419
+ fill="currentColor"
420
+ height="1em"
421
+ role="img"
422
+ style={
423
+ Object {
424
+ "verticalAlign": "-0.125em",
425
+ }
426
+ }
427
+ viewBox="0 0 448 512"
428
+ width="1em"
429
+ >
430
+ <path
431
+ d="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
432
+ />
433
+ </svg>
434
+ </PlusIcon>
435
+ </span>
436
+ </button>
437
+ </ButtonBase>
438
+ </Button>
439
+ </div>
440
+ </InputGroup>
432
441
  </div>
433
442
  </NumberInput>
434
443
  `;
@@ -442,133 +451,135 @@ exports[`numberInput passes input props successfully 1`] = `
442
451
  <div
443
452
  className="pf-c-number-input"
444
453
  >
445
- <div
446
- className="pf-c-input-group"
447
- >
448
- <Button
449
- aria-label="Minus"
450
- isDisabled={false}
451
- onClick={[Function]}
452
- variant="control"
454
+ <InputGroup>
455
+ <div
456
+ className="pf-c-input-group"
453
457
  >
454
- <ButtonBase
458
+ <Button
455
459
  aria-label="Minus"
456
- innerRef={null}
457
460
  isDisabled={false}
458
461
  onClick={[Function]}
459
462
  variant="control"
460
463
  >
461
- <button
462
- aria-disabled={false}
464
+ <ButtonBase
463
465
  aria-label="Minus"
464
- className="pf-c-button pf-m-control"
465
- data-ouia-component-id="OUIA-Generated-Button-control-17"
466
- data-ouia-component-type="PF4/Button"
467
- data-ouia-safe={true}
468
- disabled={false}
466
+ innerRef={null}
467
+ isDisabled={false}
469
468
  onClick={[Function]}
470
- role={null}
471
- type="button"
469
+ variant="control"
472
470
  >
473
- <span
474
- className="pf-c-number-input__icon"
471
+ <button
472
+ aria-disabled={false}
473
+ aria-label="Minus"
474
+ className="pf-c-button pf-m-control"
475
+ data-ouia-component-id="OUIA-Generated-Button-control-17"
476
+ data-ouia-component-type="PF4/Button"
477
+ data-ouia-safe={true}
478
+ disabled={false}
479
+ onClick={[Function]}
480
+ role={null}
481
+ type="button"
475
482
  >
476
- <MinusIcon
477
- aria-hidden="true"
478
- color="currentColor"
479
- noVerticalAlign={false}
480
- size="sm"
483
+ <span
484
+ className="pf-c-number-input__icon"
481
485
  >
482
- <svg
486
+ <MinusIcon
483
487
  aria-hidden="true"
484
- aria-labelledby={null}
485
- fill="currentColor"
486
- height="1em"
487
- role="img"
488
- style={
489
- Object {
490
- "verticalAlign": "-0.125em",
491
- }
492
- }
493
- viewBox="0 0 448 512"
494
- width="1em"
488
+ color="currentColor"
489
+ noVerticalAlign={false}
490
+ size="sm"
495
491
  >
496
- <path
497
- d="M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
498
- />
499
- </svg>
500
- </MinusIcon>
501
- </span>
502
- </button>
503
- </ButtonBase>
504
- </Button>
505
- <input
506
- aria-label="Input"
507
- className="pf-c-form-control"
508
- name="test-name"
509
- onChange={[MockFunction]}
510
- onKeyDown={[Function]}
511
- type="number"
512
- value={5}
513
- />
514
- <Button
515
- aria-label="Plus"
516
- isDisabled={false}
517
- onClick={[Function]}
518
- variant="control"
519
- >
520
- <ButtonBase
492
+ <svg
493
+ aria-hidden="true"
494
+ aria-labelledby={null}
495
+ fill="currentColor"
496
+ height="1em"
497
+ role="img"
498
+ style={
499
+ Object {
500
+ "verticalAlign": "-0.125em",
501
+ }
502
+ }
503
+ viewBox="0 0 448 512"
504
+ width="1em"
505
+ >
506
+ <path
507
+ d="M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
508
+ />
509
+ </svg>
510
+ </MinusIcon>
511
+ </span>
512
+ </button>
513
+ </ButtonBase>
514
+ </Button>
515
+ <input
516
+ aria-label="Input"
517
+ className="pf-c-form-control"
518
+ name="test-name"
519
+ onChange={[MockFunction]}
520
+ onKeyDown={[Function]}
521
+ type="number"
522
+ value={5}
523
+ />
524
+ <Button
521
525
  aria-label="Plus"
522
- innerRef={null}
523
526
  isDisabled={false}
524
527
  onClick={[Function]}
525
528
  variant="control"
526
529
  >
527
- <button
528
- aria-disabled={false}
530
+ <ButtonBase
529
531
  aria-label="Plus"
530
- className="pf-c-button pf-m-control"
531
- data-ouia-component-id="OUIA-Generated-Button-control-18"
532
- data-ouia-component-type="PF4/Button"
533
- data-ouia-safe={true}
534
- disabled={false}
532
+ innerRef={null}
533
+ isDisabled={false}
535
534
  onClick={[Function]}
536
- role={null}
537
- type="button"
535
+ variant="control"
538
536
  >
539
- <span
540
- className="pf-c-number-input__icon"
537
+ <button
538
+ aria-disabled={false}
539
+ aria-label="Plus"
540
+ className="pf-c-button pf-m-control"
541
+ data-ouia-component-id="OUIA-Generated-Button-control-18"
542
+ data-ouia-component-type="PF4/Button"
543
+ data-ouia-safe={true}
544
+ disabled={false}
545
+ onClick={[Function]}
546
+ role={null}
547
+ type="button"
541
548
  >
542
- <PlusIcon
543
- aria-hidden="true"
544
- color="currentColor"
545
- noVerticalAlign={false}
546
- size="sm"
549
+ <span
550
+ className="pf-c-number-input__icon"
547
551
  >
548
- <svg
552
+ <PlusIcon
549
553
  aria-hidden="true"
550
- aria-labelledby={null}
551
- fill="currentColor"
552
- height="1em"
553
- role="img"
554
- style={
555
- Object {
556
- "verticalAlign": "-0.125em",
557
- }
558
- }
559
- viewBox="0 0 448 512"
560
- width="1em"
554
+ color="currentColor"
555
+ noVerticalAlign={false}
556
+ size="sm"
561
557
  >
562
- <path
563
- d="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
564
- />
565
- </svg>
566
- </PlusIcon>
567
- </span>
568
- </button>
569
- </ButtonBase>
570
- </Button>
571
- </div>
558
+ <svg
559
+ aria-hidden="true"
560
+ aria-labelledby={null}
561
+ fill="currentColor"
562
+ height="1em"
563
+ role="img"
564
+ style={
565
+ Object {
566
+ "verticalAlign": "-0.125em",
567
+ }
568
+ }
569
+ viewBox="0 0 448 512"
570
+ width="1em"
571
+ >
572
+ <path
573
+ d="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
574
+ />
575
+ </svg>
576
+ </PlusIcon>
577
+ </span>
578
+ </button>
579
+ </ButtonBase>
580
+ </Button>
581
+ </div>
582
+ </InputGroup>
572
583
  </div>
573
584
  </NumberInput>
574
585
  `;
@@ -586,132 +597,134 @@ exports[`numberInput renders custom width 1`] = `
586
597
  }
587
598
  }
588
599
  >
589
- <div
590
- className="pf-c-input-group"
591
- >
592
- <Button
593
- aria-label="Minus"
594
- isDisabled={false}
595
- onClick={[Function]}
596
- variant="control"
600
+ <InputGroup>
601
+ <div
602
+ className="pf-c-input-group"
597
603
  >
598
- <ButtonBase
604
+ <Button
599
605
  aria-label="Minus"
600
- innerRef={null}
601
606
  isDisabled={false}
602
607
  onClick={[Function]}
603
608
  variant="control"
604
609
  >
605
- <button
606
- aria-disabled={false}
610
+ <ButtonBase
607
611
  aria-label="Minus"
608
- className="pf-c-button pf-m-control"
609
- data-ouia-component-id="OUIA-Generated-Button-control-15"
610
- data-ouia-component-type="PF4/Button"
611
- data-ouia-safe={true}
612
- disabled={false}
612
+ innerRef={null}
613
+ isDisabled={false}
613
614
  onClick={[Function]}
614
- role={null}
615
- type="button"
615
+ variant="control"
616
616
  >
617
- <span
618
- className="pf-c-number-input__icon"
617
+ <button
618
+ aria-disabled={false}
619
+ aria-label="Minus"
620
+ className="pf-c-button pf-m-control"
621
+ data-ouia-component-id="OUIA-Generated-Button-control-15"
622
+ data-ouia-component-type="PF4/Button"
623
+ data-ouia-safe={true}
624
+ disabled={false}
625
+ onClick={[Function]}
626
+ role={null}
627
+ type="button"
619
628
  >
620
- <MinusIcon
621
- aria-hidden="true"
622
- color="currentColor"
623
- noVerticalAlign={false}
624
- size="sm"
629
+ <span
630
+ className="pf-c-number-input__icon"
625
631
  >
626
- <svg
632
+ <MinusIcon
627
633
  aria-hidden="true"
628
- aria-labelledby={null}
629
- fill="currentColor"
630
- height="1em"
631
- role="img"
632
- style={
633
- Object {
634
- "verticalAlign": "-0.125em",
635
- }
636
- }
637
- viewBox="0 0 448 512"
638
- width="1em"
634
+ color="currentColor"
635
+ noVerticalAlign={false}
636
+ size="sm"
639
637
  >
640
- <path
641
- d="M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
642
- />
643
- </svg>
644
- </MinusIcon>
645
- </span>
646
- </button>
647
- </ButtonBase>
648
- </Button>
649
- <input
650
- aria-label="Input"
651
- className="pf-c-form-control"
652
- onKeyDown={[Function]}
653
- readOnly={true}
654
- type="number"
655
- value={5}
656
- />
657
- <Button
658
- aria-label="Plus"
659
- isDisabled={false}
660
- onClick={[Function]}
661
- variant="control"
662
- >
663
- <ButtonBase
638
+ <svg
639
+ aria-hidden="true"
640
+ aria-labelledby={null}
641
+ fill="currentColor"
642
+ height="1em"
643
+ role="img"
644
+ style={
645
+ Object {
646
+ "verticalAlign": "-0.125em",
647
+ }
648
+ }
649
+ viewBox="0 0 448 512"
650
+ width="1em"
651
+ >
652
+ <path
653
+ d="M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
654
+ />
655
+ </svg>
656
+ </MinusIcon>
657
+ </span>
658
+ </button>
659
+ </ButtonBase>
660
+ </Button>
661
+ <input
662
+ aria-label="Input"
663
+ className="pf-c-form-control"
664
+ onKeyDown={[Function]}
665
+ readOnly={true}
666
+ type="number"
667
+ value={5}
668
+ />
669
+ <Button
664
670
  aria-label="Plus"
665
- innerRef={null}
666
671
  isDisabled={false}
667
672
  onClick={[Function]}
668
673
  variant="control"
669
674
  >
670
- <button
671
- aria-disabled={false}
675
+ <ButtonBase
672
676
  aria-label="Plus"
673
- className="pf-c-button pf-m-control"
674
- data-ouia-component-id="OUIA-Generated-Button-control-16"
675
- data-ouia-component-type="PF4/Button"
676
- data-ouia-safe={true}
677
- disabled={false}
677
+ innerRef={null}
678
+ isDisabled={false}
678
679
  onClick={[Function]}
679
- role={null}
680
- type="button"
680
+ variant="control"
681
681
  >
682
- <span
683
- className="pf-c-number-input__icon"
682
+ <button
683
+ aria-disabled={false}
684
+ aria-label="Plus"
685
+ className="pf-c-button pf-m-control"
686
+ data-ouia-component-id="OUIA-Generated-Button-control-16"
687
+ data-ouia-component-type="PF4/Button"
688
+ data-ouia-safe={true}
689
+ disabled={false}
690
+ onClick={[Function]}
691
+ role={null}
692
+ type="button"
684
693
  >
685
- <PlusIcon
686
- aria-hidden="true"
687
- color="currentColor"
688
- noVerticalAlign={false}
689
- size="sm"
694
+ <span
695
+ className="pf-c-number-input__icon"
690
696
  >
691
- <svg
697
+ <PlusIcon
692
698
  aria-hidden="true"
693
- aria-labelledby={null}
694
- fill="currentColor"
695
- height="1em"
696
- role="img"
697
- style={
698
- Object {
699
- "verticalAlign": "-0.125em",
700
- }
701
- }
702
- viewBox="0 0 448 512"
703
- width="1em"
699
+ color="currentColor"
700
+ noVerticalAlign={false}
701
+ size="sm"
704
702
  >
705
- <path
706
- d="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
707
- />
708
- </svg>
709
- </PlusIcon>
710
- </span>
711
- </button>
712
- </ButtonBase>
713
- </Button>
714
- </div>
703
+ <svg
704
+ aria-hidden="true"
705
+ aria-labelledby={null}
706
+ fill="currentColor"
707
+ height="1em"
708
+ role="img"
709
+ style={
710
+ Object {
711
+ "verticalAlign": "-0.125em",
712
+ }
713
+ }
714
+ viewBox="0 0 448 512"
715
+ width="1em"
716
+ >
717
+ <path
718
+ d="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
719
+ />
720
+ </svg>
721
+ </PlusIcon>
722
+ </span>
723
+ </button>
724
+ </ButtonBase>
725
+ </Button>
726
+ </div>
727
+ </InputGroup>
715
728
  </div>
716
729
  </NumberInput>
717
730
  `;
@@ -725,132 +738,134 @@ exports[`numberInput renders defaults & extra props 1`] = `
725
738
  className="pf-c-number-input custom"
726
739
  id="numberInput1"
727
740
  >
728
- <div
729
- className="pf-c-input-group"
730
- >
731
- <Button
732
- aria-label="Minus"
733
- isDisabled={false}
734
- onClick={[Function]}
735
- variant="control"
741
+ <InputGroup>
742
+ <div
743
+ className="pf-c-input-group"
736
744
  >
737
- <ButtonBase
745
+ <Button
738
746
  aria-label="Minus"
739
- innerRef={null}
740
747
  isDisabled={false}
741
748
  onClick={[Function]}
742
749
  variant="control"
743
750
  >
744
- <button
745
- aria-disabled={false}
751
+ <ButtonBase
746
752
  aria-label="Minus"
747
- className="pf-c-button pf-m-control"
748
- data-ouia-component-id="OUIA-Generated-Button-control-1"
749
- data-ouia-component-type="PF4/Button"
750
- data-ouia-safe={true}
751
- disabled={false}
753
+ innerRef={null}
754
+ isDisabled={false}
752
755
  onClick={[Function]}
753
- role={null}
754
- type="button"
756
+ variant="control"
755
757
  >
756
- <span
757
- className="pf-c-number-input__icon"
758
+ <button
759
+ aria-disabled={false}
760
+ aria-label="Minus"
761
+ className="pf-c-button pf-m-control"
762
+ data-ouia-component-id="OUIA-Generated-Button-control-1"
763
+ data-ouia-component-type="PF4/Button"
764
+ data-ouia-safe={true}
765
+ disabled={false}
766
+ onClick={[Function]}
767
+ role={null}
768
+ type="button"
758
769
  >
759
- <MinusIcon
760
- aria-hidden="true"
761
- color="currentColor"
762
- noVerticalAlign={false}
763
- size="sm"
770
+ <span
771
+ className="pf-c-number-input__icon"
764
772
  >
765
- <svg
773
+ <MinusIcon
766
774
  aria-hidden="true"
767
- aria-labelledby={null}
768
- fill="currentColor"
769
- height="1em"
770
- role="img"
771
- style={
772
- Object {
773
- "verticalAlign": "-0.125em",
774
- }
775
- }
776
- viewBox="0 0 448 512"
777
- width="1em"
775
+ color="currentColor"
776
+ noVerticalAlign={false}
777
+ size="sm"
778
778
  >
779
- <path
780
- d="M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
781
- />
782
- </svg>
783
- </MinusIcon>
784
- </span>
785
- </button>
786
- </ButtonBase>
787
- </Button>
788
- <input
789
- aria-label="Input"
790
- className="pf-c-form-control"
791
- onKeyDown={[Function]}
792
- readOnly={true}
793
- type="number"
794
- value={0}
795
- />
796
- <Button
797
- aria-label="Plus"
798
- isDisabled={false}
799
- onClick={[Function]}
800
- variant="control"
801
- >
802
- <ButtonBase
779
+ <svg
780
+ aria-hidden="true"
781
+ aria-labelledby={null}
782
+ fill="currentColor"
783
+ height="1em"
784
+ role="img"
785
+ style={
786
+ Object {
787
+ "verticalAlign": "-0.125em",
788
+ }
789
+ }
790
+ viewBox="0 0 448 512"
791
+ width="1em"
792
+ >
793
+ <path
794
+ d="M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
795
+ />
796
+ </svg>
797
+ </MinusIcon>
798
+ </span>
799
+ </button>
800
+ </ButtonBase>
801
+ </Button>
802
+ <input
803
+ aria-label="Input"
804
+ className="pf-c-form-control"
805
+ onKeyDown={[Function]}
806
+ readOnly={true}
807
+ type="number"
808
+ value={0}
809
+ />
810
+ <Button
803
811
  aria-label="Plus"
804
- innerRef={null}
805
812
  isDisabled={false}
806
813
  onClick={[Function]}
807
814
  variant="control"
808
815
  >
809
- <button
810
- aria-disabled={false}
816
+ <ButtonBase
811
817
  aria-label="Plus"
812
- className="pf-c-button pf-m-control"
813
- data-ouia-component-id="OUIA-Generated-Button-control-2"
814
- data-ouia-component-type="PF4/Button"
815
- data-ouia-safe={true}
816
- disabled={false}
818
+ innerRef={null}
819
+ isDisabled={false}
817
820
  onClick={[Function]}
818
- role={null}
819
- type="button"
821
+ variant="control"
820
822
  >
821
- <span
822
- className="pf-c-number-input__icon"
823
+ <button
824
+ aria-disabled={false}
825
+ aria-label="Plus"
826
+ className="pf-c-button pf-m-control"
827
+ data-ouia-component-id="OUIA-Generated-Button-control-2"
828
+ data-ouia-component-type="PF4/Button"
829
+ data-ouia-safe={true}
830
+ disabled={false}
831
+ onClick={[Function]}
832
+ role={null}
833
+ type="button"
823
834
  >
824
- <PlusIcon
825
- aria-hidden="true"
826
- color="currentColor"
827
- noVerticalAlign={false}
828
- size="sm"
835
+ <span
836
+ className="pf-c-number-input__icon"
829
837
  >
830
- <svg
838
+ <PlusIcon
831
839
  aria-hidden="true"
832
- aria-labelledby={null}
833
- fill="currentColor"
834
- height="1em"
835
- role="img"
836
- style={
837
- Object {
838
- "verticalAlign": "-0.125em",
839
- }
840
- }
841
- viewBox="0 0 448 512"
842
- width="1em"
840
+ color="currentColor"
841
+ noVerticalAlign={false}
842
+ size="sm"
843
843
  >
844
- <path
845
- d="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
846
- />
847
- </svg>
848
- </PlusIcon>
849
- </span>
850
- </button>
851
- </ButtonBase>
852
- </Button>
853
- </div>
844
+ <svg
845
+ aria-hidden="true"
846
+ aria-labelledby={null}
847
+ fill="currentColor"
848
+ height="1em"
849
+ role="img"
850
+ style={
851
+ Object {
852
+ "verticalAlign": "-0.125em",
853
+ }
854
+ }
855
+ viewBox="0 0 448 512"
856
+ width="1em"
857
+ >
858
+ <path
859
+ d="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
860
+ />
861
+ </svg>
862
+ </PlusIcon>
863
+ </span>
864
+ </button>
865
+ </ButtonBase>
866
+ </Button>
867
+ </div>
868
+ </InputGroup>
854
869
  </div>
855
870
  </NumberInput>
856
871
  `;
@@ -863,135 +878,137 @@ exports[`numberInput renders disabled 1`] = `
863
878
  <div
864
879
  className="pf-c-number-input"
865
880
  >
866
- <div
867
- className="pf-c-input-group"
868
- >
869
- <Button
870
- aria-label="Minus"
871
- isDisabled={true}
872
- onClick={[Function]}
873
- variant="control"
881
+ <InputGroup>
882
+ <div
883
+ className="pf-c-input-group"
874
884
  >
875
- <ButtonBase
885
+ <Button
876
886
  aria-label="Minus"
877
- innerRef={null}
878
887
  isDisabled={true}
879
888
  onClick={[Function]}
880
889
  variant="control"
881
890
  >
882
- <button
883
- aria-disabled={true}
891
+ <ButtonBase
884
892
  aria-label="Minus"
885
- className="pf-c-button pf-m-control pf-m-disabled"
886
- data-ouia-component-id="OUIA-Generated-Button-control-5"
887
- data-ouia-component-type="PF4/Button"
888
- data-ouia-safe={true}
889
- disabled={true}
893
+ innerRef={null}
894
+ isDisabled={true}
890
895
  onClick={[Function]}
891
- role={null}
892
- tabIndex={null}
893
- type="button"
896
+ variant="control"
894
897
  >
895
- <span
896
- className="pf-c-number-input__icon"
898
+ <button
899
+ aria-disabled={true}
900
+ aria-label="Minus"
901
+ className="pf-c-button pf-m-control pf-m-disabled"
902
+ data-ouia-component-id="OUIA-Generated-Button-control-5"
903
+ data-ouia-component-type="PF4/Button"
904
+ data-ouia-safe={true}
905
+ disabled={true}
906
+ onClick={[Function]}
907
+ role={null}
908
+ tabIndex={null}
909
+ type="button"
897
910
  >
898
- <MinusIcon
899
- aria-hidden="true"
900
- color="currentColor"
901
- noVerticalAlign={false}
902
- size="sm"
911
+ <span
912
+ className="pf-c-number-input__icon"
903
913
  >
904
- <svg
914
+ <MinusIcon
905
915
  aria-hidden="true"
906
- aria-labelledby={null}
907
- fill="currentColor"
908
- height="1em"
909
- role="img"
910
- style={
911
- Object {
912
- "verticalAlign": "-0.125em",
913
- }
914
- }
915
- viewBox="0 0 448 512"
916
- width="1em"
916
+ color="currentColor"
917
+ noVerticalAlign={false}
918
+ size="sm"
917
919
  >
918
- <path
919
- d="M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
920
- />
921
- </svg>
922
- </MinusIcon>
923
- </span>
924
- </button>
925
- </ButtonBase>
926
- </Button>
927
- <input
928
- aria-label="Input"
929
- className="pf-c-form-control"
930
- disabled={true}
931
- onKeyDown={[Function]}
932
- readOnly={true}
933
- type="number"
934
- value={90}
935
- />
936
- <Button
937
- aria-label="Plus"
938
- isDisabled={true}
939
- onClick={[Function]}
940
- variant="control"
941
- >
942
- <ButtonBase
920
+ <svg
921
+ aria-hidden="true"
922
+ aria-labelledby={null}
923
+ fill="currentColor"
924
+ height="1em"
925
+ role="img"
926
+ style={
927
+ Object {
928
+ "verticalAlign": "-0.125em",
929
+ }
930
+ }
931
+ viewBox="0 0 448 512"
932
+ width="1em"
933
+ >
934
+ <path
935
+ d="M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
936
+ />
937
+ </svg>
938
+ </MinusIcon>
939
+ </span>
940
+ </button>
941
+ </ButtonBase>
942
+ </Button>
943
+ <input
944
+ aria-label="Input"
945
+ className="pf-c-form-control"
946
+ disabled={true}
947
+ onKeyDown={[Function]}
948
+ readOnly={true}
949
+ type="number"
950
+ value={90}
951
+ />
952
+ <Button
943
953
  aria-label="Plus"
944
- innerRef={null}
945
954
  isDisabled={true}
946
955
  onClick={[Function]}
947
956
  variant="control"
948
957
  >
949
- <button
950
- aria-disabled={true}
958
+ <ButtonBase
951
959
  aria-label="Plus"
952
- className="pf-c-button pf-m-control pf-m-disabled"
953
- data-ouia-component-id="OUIA-Generated-Button-control-6"
954
- data-ouia-component-type="PF4/Button"
955
- data-ouia-safe={true}
956
- disabled={true}
960
+ innerRef={null}
961
+ isDisabled={true}
957
962
  onClick={[Function]}
958
- role={null}
959
- tabIndex={null}
960
- type="button"
963
+ variant="control"
961
964
  >
962
- <span
963
- className="pf-c-number-input__icon"
965
+ <button
966
+ aria-disabled={true}
967
+ aria-label="Plus"
968
+ className="pf-c-button pf-m-control pf-m-disabled"
969
+ data-ouia-component-id="OUIA-Generated-Button-control-6"
970
+ data-ouia-component-type="PF4/Button"
971
+ data-ouia-safe={true}
972
+ disabled={true}
973
+ onClick={[Function]}
974
+ role={null}
975
+ tabIndex={null}
976
+ type="button"
964
977
  >
965
- <PlusIcon
966
- aria-hidden="true"
967
- color="currentColor"
968
- noVerticalAlign={false}
969
- size="sm"
978
+ <span
979
+ className="pf-c-number-input__icon"
970
980
  >
971
- <svg
981
+ <PlusIcon
972
982
  aria-hidden="true"
973
- aria-labelledby={null}
974
- fill="currentColor"
975
- height="1em"
976
- role="img"
977
- style={
978
- Object {
979
- "verticalAlign": "-0.125em",
980
- }
981
- }
982
- viewBox="0 0 448 512"
983
- width="1em"
983
+ color="currentColor"
984
+ noVerticalAlign={false}
985
+ size="sm"
984
986
  >
985
- <path
986
- d="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
987
- />
988
- </svg>
989
- </PlusIcon>
990
- </span>
991
- </button>
992
- </ButtonBase>
993
- </Button>
994
- </div>
987
+ <svg
988
+ aria-hidden="true"
989
+ aria-labelledby={null}
990
+ fill="currentColor"
991
+ height="1em"
992
+ role="img"
993
+ style={
994
+ Object {
995
+ "verticalAlign": "-0.125em",
996
+ }
997
+ }
998
+ viewBox="0 0 448 512"
999
+ width="1em"
1000
+ >
1001
+ <path
1002
+ d="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
1003
+ />
1004
+ </svg>
1005
+ </PlusIcon>
1006
+ </span>
1007
+ </button>
1008
+ </ButtonBase>
1009
+ </Button>
1010
+ </div>
1011
+ </InputGroup>
995
1012
  </div>
996
1013
  </NumberInput>
997
1014
  `;
@@ -1010,132 +1027,134 @@ exports[`numberInput renders unit & position 1`] = `
1010
1027
  >
1011
1028
  $
1012
1029
  </div>
1013
- <div
1014
- className="pf-c-input-group"
1015
- >
1016
- <Button
1017
- aria-label="Minus"
1018
- isDisabled={false}
1019
- onClick={[Function]}
1020
- variant="control"
1030
+ <InputGroup>
1031
+ <div
1032
+ className="pf-c-input-group"
1021
1033
  >
1022
- <ButtonBase
1034
+ <Button
1023
1035
  aria-label="Minus"
1024
- innerRef={null}
1025
1036
  isDisabled={false}
1026
1037
  onClick={[Function]}
1027
1038
  variant="control"
1028
1039
  >
1029
- <button
1030
- aria-disabled={false}
1040
+ <ButtonBase
1031
1041
  aria-label="Minus"
1032
- className="pf-c-button pf-m-control"
1033
- data-ouia-component-id="OUIA-Generated-Button-control-13"
1034
- data-ouia-component-type="PF4/Button"
1035
- data-ouia-safe={true}
1036
- disabled={false}
1042
+ innerRef={null}
1043
+ isDisabled={false}
1037
1044
  onClick={[Function]}
1038
- role={null}
1039
- type="button"
1045
+ variant="control"
1040
1046
  >
1041
- <span
1042
- className="pf-c-number-input__icon"
1047
+ <button
1048
+ aria-disabled={false}
1049
+ aria-label="Minus"
1050
+ className="pf-c-button pf-m-control"
1051
+ data-ouia-component-id="OUIA-Generated-Button-control-13"
1052
+ data-ouia-component-type="PF4/Button"
1053
+ data-ouia-safe={true}
1054
+ disabled={false}
1055
+ onClick={[Function]}
1056
+ role={null}
1057
+ type="button"
1043
1058
  >
1044
- <MinusIcon
1045
- aria-hidden="true"
1046
- color="currentColor"
1047
- noVerticalAlign={false}
1048
- size="sm"
1059
+ <span
1060
+ className="pf-c-number-input__icon"
1049
1061
  >
1050
- <svg
1062
+ <MinusIcon
1051
1063
  aria-hidden="true"
1052
- aria-labelledby={null}
1053
- fill="currentColor"
1054
- height="1em"
1055
- role="img"
1056
- style={
1057
- Object {
1058
- "verticalAlign": "-0.125em",
1059
- }
1060
- }
1061
- viewBox="0 0 448 512"
1062
- width="1em"
1064
+ color="currentColor"
1065
+ noVerticalAlign={false}
1066
+ size="sm"
1063
1067
  >
1064
- <path
1065
- d="M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
1066
- />
1067
- </svg>
1068
- </MinusIcon>
1069
- </span>
1070
- </button>
1071
- </ButtonBase>
1072
- </Button>
1073
- <input
1074
- aria-label="Input"
1075
- className="pf-c-form-control"
1076
- onKeyDown={[Function]}
1077
- readOnly={true}
1078
- type="number"
1079
- value={5}
1080
- />
1081
- <Button
1082
- aria-label="Plus"
1083
- isDisabled={false}
1084
- onClick={[Function]}
1085
- variant="control"
1086
- >
1087
- <ButtonBase
1068
+ <svg
1069
+ aria-hidden="true"
1070
+ aria-labelledby={null}
1071
+ fill="currentColor"
1072
+ height="1em"
1073
+ role="img"
1074
+ style={
1075
+ Object {
1076
+ "verticalAlign": "-0.125em",
1077
+ }
1078
+ }
1079
+ viewBox="0 0 448 512"
1080
+ width="1em"
1081
+ >
1082
+ <path
1083
+ d="M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
1084
+ />
1085
+ </svg>
1086
+ </MinusIcon>
1087
+ </span>
1088
+ </button>
1089
+ </ButtonBase>
1090
+ </Button>
1091
+ <input
1092
+ aria-label="Input"
1093
+ className="pf-c-form-control"
1094
+ onKeyDown={[Function]}
1095
+ readOnly={true}
1096
+ type="number"
1097
+ value={5}
1098
+ />
1099
+ <Button
1088
1100
  aria-label="Plus"
1089
- innerRef={null}
1090
1101
  isDisabled={false}
1091
1102
  onClick={[Function]}
1092
1103
  variant="control"
1093
1104
  >
1094
- <button
1095
- aria-disabled={false}
1105
+ <ButtonBase
1096
1106
  aria-label="Plus"
1097
- className="pf-c-button pf-m-control"
1098
- data-ouia-component-id="OUIA-Generated-Button-control-14"
1099
- data-ouia-component-type="PF4/Button"
1100
- data-ouia-safe={true}
1101
- disabled={false}
1107
+ innerRef={null}
1108
+ isDisabled={false}
1102
1109
  onClick={[Function]}
1103
- role={null}
1104
- type="button"
1110
+ variant="control"
1105
1111
  >
1106
- <span
1107
- className="pf-c-number-input__icon"
1112
+ <button
1113
+ aria-disabled={false}
1114
+ aria-label="Plus"
1115
+ className="pf-c-button pf-m-control"
1116
+ data-ouia-component-id="OUIA-Generated-Button-control-14"
1117
+ data-ouia-component-type="PF4/Button"
1118
+ data-ouia-safe={true}
1119
+ disabled={false}
1120
+ onClick={[Function]}
1121
+ role={null}
1122
+ type="button"
1108
1123
  >
1109
- <PlusIcon
1110
- aria-hidden="true"
1111
- color="currentColor"
1112
- noVerticalAlign={false}
1113
- size="sm"
1124
+ <span
1125
+ className="pf-c-number-input__icon"
1114
1126
  >
1115
- <svg
1127
+ <PlusIcon
1116
1128
  aria-hidden="true"
1117
- aria-labelledby={null}
1118
- fill="currentColor"
1119
- height="1em"
1120
- role="img"
1121
- style={
1122
- Object {
1123
- "verticalAlign": "-0.125em",
1124
- }
1125
- }
1126
- viewBox="0 0 448 512"
1127
- width="1em"
1129
+ color="currentColor"
1130
+ noVerticalAlign={false}
1131
+ size="sm"
1128
1132
  >
1129
- <path
1130
- d="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
1131
- />
1132
- </svg>
1133
- </PlusIcon>
1134
- </span>
1135
- </button>
1136
- </ButtonBase>
1137
- </Button>
1138
- </div>
1133
+ <svg
1134
+ aria-hidden="true"
1135
+ aria-labelledby={null}
1136
+ fill="currentColor"
1137
+ height="1em"
1138
+ role="img"
1139
+ style={
1140
+ Object {
1141
+ "verticalAlign": "-0.125em",
1142
+ }
1143
+ }
1144
+ viewBox="0 0 448 512"
1145
+ width="1em"
1146
+ >
1147
+ <path
1148
+ d="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
1149
+ />
1150
+ </svg>
1151
+ </PlusIcon>
1152
+ </span>
1153
+ </button>
1154
+ </ButtonBase>
1155
+ </Button>
1156
+ </div>
1157
+ </InputGroup>
1139
1158
  </div>
1140
1159
  </NumberInput>
1141
1160
  `;
@@ -1149,132 +1168,134 @@ exports[`numberInput renders unit 1`] = `
1149
1168
  <div
1150
1169
  className="pf-c-number-input"
1151
1170
  >
1152
- <div
1153
- className="pf-c-input-group"
1154
- >
1155
- <Button
1156
- aria-label="Minus"
1157
- isDisabled={false}
1158
- onClick={[Function]}
1159
- variant="control"
1171
+ <InputGroup>
1172
+ <div
1173
+ className="pf-c-input-group"
1160
1174
  >
1161
- <ButtonBase
1175
+ <Button
1162
1176
  aria-label="Minus"
1163
- innerRef={null}
1164
1177
  isDisabled={false}
1165
1178
  onClick={[Function]}
1166
1179
  variant="control"
1167
1180
  >
1168
- <button
1169
- aria-disabled={false}
1181
+ <ButtonBase
1170
1182
  aria-label="Minus"
1171
- className="pf-c-button pf-m-control"
1172
- data-ouia-component-id="OUIA-Generated-Button-control-11"
1173
- data-ouia-component-type="PF4/Button"
1174
- data-ouia-safe={true}
1175
- disabled={false}
1183
+ innerRef={null}
1184
+ isDisabled={false}
1176
1185
  onClick={[Function]}
1177
- role={null}
1178
- type="button"
1186
+ variant="control"
1179
1187
  >
1180
- <span
1181
- className="pf-c-number-input__icon"
1188
+ <button
1189
+ aria-disabled={false}
1190
+ aria-label="Minus"
1191
+ className="pf-c-button pf-m-control"
1192
+ data-ouia-component-id="OUIA-Generated-Button-control-11"
1193
+ data-ouia-component-type="PF4/Button"
1194
+ data-ouia-safe={true}
1195
+ disabled={false}
1196
+ onClick={[Function]}
1197
+ role={null}
1198
+ type="button"
1182
1199
  >
1183
- <MinusIcon
1184
- aria-hidden="true"
1185
- color="currentColor"
1186
- noVerticalAlign={false}
1187
- size="sm"
1200
+ <span
1201
+ className="pf-c-number-input__icon"
1188
1202
  >
1189
- <svg
1203
+ <MinusIcon
1190
1204
  aria-hidden="true"
1191
- aria-labelledby={null}
1192
- fill="currentColor"
1193
- height="1em"
1194
- role="img"
1195
- style={
1196
- Object {
1197
- "verticalAlign": "-0.125em",
1198
- }
1199
- }
1200
- viewBox="0 0 448 512"
1201
- width="1em"
1205
+ color="currentColor"
1206
+ noVerticalAlign={false}
1207
+ size="sm"
1202
1208
  >
1203
- <path
1204
- d="M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
1205
- />
1206
- </svg>
1207
- </MinusIcon>
1208
- </span>
1209
- </button>
1210
- </ButtonBase>
1211
- </Button>
1212
- <input
1213
- aria-label="Input"
1214
- className="pf-c-form-control"
1215
- onKeyDown={[Function]}
1216
- readOnly={true}
1217
- type="number"
1218
- value={5}
1219
- />
1220
- <Button
1221
- aria-label="Plus"
1222
- isDisabled={false}
1223
- onClick={[Function]}
1224
- variant="control"
1225
- >
1226
- <ButtonBase
1209
+ <svg
1210
+ aria-hidden="true"
1211
+ aria-labelledby={null}
1212
+ fill="currentColor"
1213
+ height="1em"
1214
+ role="img"
1215
+ style={
1216
+ Object {
1217
+ "verticalAlign": "-0.125em",
1218
+ }
1219
+ }
1220
+ viewBox="0 0 448 512"
1221
+ width="1em"
1222
+ >
1223
+ <path
1224
+ d="M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
1225
+ />
1226
+ </svg>
1227
+ </MinusIcon>
1228
+ </span>
1229
+ </button>
1230
+ </ButtonBase>
1231
+ </Button>
1232
+ <input
1233
+ aria-label="Input"
1234
+ className="pf-c-form-control"
1235
+ onKeyDown={[Function]}
1236
+ readOnly={true}
1237
+ type="number"
1238
+ value={5}
1239
+ />
1240
+ <Button
1227
1241
  aria-label="Plus"
1228
- innerRef={null}
1229
1242
  isDisabled={false}
1230
1243
  onClick={[Function]}
1231
1244
  variant="control"
1232
1245
  >
1233
- <button
1234
- aria-disabled={false}
1246
+ <ButtonBase
1235
1247
  aria-label="Plus"
1236
- className="pf-c-button pf-m-control"
1237
- data-ouia-component-id="OUIA-Generated-Button-control-12"
1238
- data-ouia-component-type="PF4/Button"
1239
- data-ouia-safe={true}
1240
- disabled={false}
1248
+ innerRef={null}
1249
+ isDisabled={false}
1241
1250
  onClick={[Function]}
1242
- role={null}
1243
- type="button"
1251
+ variant="control"
1244
1252
  >
1245
- <span
1246
- className="pf-c-number-input__icon"
1253
+ <button
1254
+ aria-disabled={false}
1255
+ aria-label="Plus"
1256
+ className="pf-c-button pf-m-control"
1257
+ data-ouia-component-id="OUIA-Generated-Button-control-12"
1258
+ data-ouia-component-type="PF4/Button"
1259
+ data-ouia-safe={true}
1260
+ disabled={false}
1261
+ onClick={[Function]}
1262
+ role={null}
1263
+ type="button"
1247
1264
  >
1248
- <PlusIcon
1249
- aria-hidden="true"
1250
- color="currentColor"
1251
- noVerticalAlign={false}
1252
- size="sm"
1265
+ <span
1266
+ className="pf-c-number-input__icon"
1253
1267
  >
1254
- <svg
1268
+ <PlusIcon
1255
1269
  aria-hidden="true"
1256
- aria-labelledby={null}
1257
- fill="currentColor"
1258
- height="1em"
1259
- role="img"
1260
- style={
1261
- Object {
1262
- "verticalAlign": "-0.125em",
1263
- }
1264
- }
1265
- viewBox="0 0 448 512"
1266
- width="1em"
1270
+ color="currentColor"
1271
+ noVerticalAlign={false}
1272
+ size="sm"
1267
1273
  >
1268
- <path
1269
- d="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
1270
- />
1271
- </svg>
1272
- </PlusIcon>
1273
- </span>
1274
- </button>
1275
- </ButtonBase>
1276
- </Button>
1277
- </div>
1274
+ <svg
1275
+ aria-hidden="true"
1276
+ aria-labelledby={null}
1277
+ fill="currentColor"
1278
+ height="1em"
1279
+ role="img"
1280
+ style={
1281
+ Object {
1282
+ "verticalAlign": "-0.125em",
1283
+ }
1284
+ }
1285
+ viewBox="0 0 448 512"
1286
+ width="1em"
1287
+ >
1288
+ <path
1289
+ d="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
1290
+ />
1291
+ </svg>
1292
+ </PlusIcon>
1293
+ </span>
1294
+ </button>
1295
+ </ButtonBase>
1296
+ </Button>
1297
+ </div>
1298
+ </InputGroup>
1278
1299
  <div
1279
1300
  className="pf-c-number-input__unit"
1280
1301
  >
@@ -1291,132 +1312,134 @@ exports[`numberInput renders value 1`] = `
1291
1312
  <div
1292
1313
  className="pf-c-number-input"
1293
1314
  >
1294
- <div
1295
- className="pf-c-input-group"
1296
- >
1297
- <Button
1298
- aria-label="Minus"
1299
- isDisabled={false}
1300
- onClick={[Function]}
1301
- variant="control"
1315
+ <InputGroup>
1316
+ <div
1317
+ className="pf-c-input-group"
1302
1318
  >
1303
- <ButtonBase
1319
+ <Button
1304
1320
  aria-label="Minus"
1305
- innerRef={null}
1306
1321
  isDisabled={false}
1307
1322
  onClick={[Function]}
1308
1323
  variant="control"
1309
1324
  >
1310
- <button
1311
- aria-disabled={false}
1325
+ <ButtonBase
1312
1326
  aria-label="Minus"
1313
- className="pf-c-button pf-m-control"
1314
- data-ouia-component-id="OUIA-Generated-Button-control-3"
1315
- data-ouia-component-type="PF4/Button"
1316
- data-ouia-safe={true}
1317
- disabled={false}
1327
+ innerRef={null}
1328
+ isDisabled={false}
1318
1329
  onClick={[Function]}
1319
- role={null}
1320
- type="button"
1330
+ variant="control"
1321
1331
  >
1322
- <span
1323
- className="pf-c-number-input__icon"
1332
+ <button
1333
+ aria-disabled={false}
1334
+ aria-label="Minus"
1335
+ className="pf-c-button pf-m-control"
1336
+ data-ouia-component-id="OUIA-Generated-Button-control-3"
1337
+ data-ouia-component-type="PF4/Button"
1338
+ data-ouia-safe={true}
1339
+ disabled={false}
1340
+ onClick={[Function]}
1341
+ role={null}
1342
+ type="button"
1324
1343
  >
1325
- <MinusIcon
1326
- aria-hidden="true"
1327
- color="currentColor"
1328
- noVerticalAlign={false}
1329
- size="sm"
1344
+ <span
1345
+ className="pf-c-number-input__icon"
1330
1346
  >
1331
- <svg
1347
+ <MinusIcon
1332
1348
  aria-hidden="true"
1333
- aria-labelledby={null}
1334
- fill="currentColor"
1335
- height="1em"
1336
- role="img"
1337
- style={
1338
- Object {
1339
- "verticalAlign": "-0.125em",
1340
- }
1341
- }
1342
- viewBox="0 0 448 512"
1343
- width="1em"
1349
+ color="currentColor"
1350
+ noVerticalAlign={false}
1351
+ size="sm"
1344
1352
  >
1345
- <path
1346
- d="M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
1347
- />
1348
- </svg>
1349
- </MinusIcon>
1350
- </span>
1351
- </button>
1352
- </ButtonBase>
1353
- </Button>
1354
- <input
1355
- aria-label="Input"
1356
- className="pf-c-form-control"
1357
- onKeyDown={[Function]}
1358
- readOnly={true}
1359
- type="number"
1360
- value={90}
1361
- />
1362
- <Button
1363
- aria-label="Plus"
1364
- isDisabled={false}
1365
- onClick={[Function]}
1366
- variant="control"
1367
- >
1368
- <ButtonBase
1353
+ <svg
1354
+ aria-hidden="true"
1355
+ aria-labelledby={null}
1356
+ fill="currentColor"
1357
+ height="1em"
1358
+ role="img"
1359
+ style={
1360
+ Object {
1361
+ "verticalAlign": "-0.125em",
1362
+ }
1363
+ }
1364
+ viewBox="0 0 448 512"
1365
+ width="1em"
1366
+ >
1367
+ <path
1368
+ d="M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
1369
+ />
1370
+ </svg>
1371
+ </MinusIcon>
1372
+ </span>
1373
+ </button>
1374
+ </ButtonBase>
1375
+ </Button>
1376
+ <input
1377
+ aria-label="Input"
1378
+ className="pf-c-form-control"
1379
+ onKeyDown={[Function]}
1380
+ readOnly={true}
1381
+ type="number"
1382
+ value={90}
1383
+ />
1384
+ <Button
1369
1385
  aria-label="Plus"
1370
- innerRef={null}
1371
1386
  isDisabled={false}
1372
1387
  onClick={[Function]}
1373
1388
  variant="control"
1374
1389
  >
1375
- <button
1376
- aria-disabled={false}
1390
+ <ButtonBase
1377
1391
  aria-label="Plus"
1378
- className="pf-c-button pf-m-control"
1379
- data-ouia-component-id="OUIA-Generated-Button-control-4"
1380
- data-ouia-component-type="PF4/Button"
1381
- data-ouia-safe={true}
1382
- disabled={false}
1392
+ innerRef={null}
1393
+ isDisabled={false}
1383
1394
  onClick={[Function]}
1384
- role={null}
1385
- type="button"
1395
+ variant="control"
1386
1396
  >
1387
- <span
1388
- className="pf-c-number-input__icon"
1397
+ <button
1398
+ aria-disabled={false}
1399
+ aria-label="Plus"
1400
+ className="pf-c-button pf-m-control"
1401
+ data-ouia-component-id="OUIA-Generated-Button-control-4"
1402
+ data-ouia-component-type="PF4/Button"
1403
+ data-ouia-safe={true}
1404
+ disabled={false}
1405
+ onClick={[Function]}
1406
+ role={null}
1407
+ type="button"
1389
1408
  >
1390
- <PlusIcon
1391
- aria-hidden="true"
1392
- color="currentColor"
1393
- noVerticalAlign={false}
1394
- size="sm"
1409
+ <span
1410
+ className="pf-c-number-input__icon"
1395
1411
  >
1396
- <svg
1412
+ <PlusIcon
1397
1413
  aria-hidden="true"
1398
- aria-labelledby={null}
1399
- fill="currentColor"
1400
- height="1em"
1401
- role="img"
1402
- style={
1403
- Object {
1404
- "verticalAlign": "-0.125em",
1405
- }
1406
- }
1407
- viewBox="0 0 448 512"
1408
- width="1em"
1414
+ color="currentColor"
1415
+ noVerticalAlign={false}
1416
+ size="sm"
1409
1417
  >
1410
- <path
1411
- d="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
1412
- />
1413
- </svg>
1414
- </PlusIcon>
1415
- </span>
1416
- </button>
1417
- </ButtonBase>
1418
- </Button>
1419
- </div>
1418
+ <svg
1419
+ aria-hidden="true"
1420
+ aria-labelledby={null}
1421
+ fill="currentColor"
1422
+ height="1em"
1423
+ role="img"
1424
+ style={
1425
+ Object {
1426
+ "verticalAlign": "-0.125em",
1427
+ }
1428
+ }
1429
+ viewBox="0 0 448 512"
1430
+ width="1em"
1431
+ >
1432
+ <path
1433
+ d="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"
1434
+ />
1435
+ </svg>
1436
+ </PlusIcon>
1437
+ </span>
1438
+ </button>
1439
+ </ButtonBase>
1440
+ </Button>
1441
+ </div>
1442
+ </InputGroup>
1420
1443
  </div>
1421
1444
  </NumberInput>
1422
1445
  `;