@patternfly/react-core 4.267.10 → 4.267.12
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/CHANGELOG.md +16 -0
- package/components/FileUpload/FileUpload.d.ts +1 -1
- package/components/FileUpload/FileUpload.d.ts.map +1 -1
- package/components/ProgressStepper/ProgressStep.d.ts +8 -0
- package/components/ProgressStepper/ProgressStep.d.ts.map +1 -1
- package/components/ProgressStepper/ProgressStep.js +9 -0
- package/components/ProgressStepper/ProgressStep.js.map +1 -1
- package/dist/esm/components/FileUpload/FileUpload.d.ts +1 -1
- package/dist/esm/components/FileUpload/FileUpload.d.ts.map +1 -1
- package/dist/esm/components/ProgressStepper/ProgressStep.d.ts +8 -0
- package/dist/esm/components/ProgressStepper/ProgressStep.d.ts.map +1 -1
- package/dist/esm/components/ProgressStepper/ProgressStep.js +9 -0
- package/dist/esm/components/ProgressStepper/ProgressStep.js.map +1 -1
- package/dist/js/components/FileUpload/FileUpload.d.ts +1 -1
- package/dist/js/components/FileUpload/FileUpload.d.ts.map +1 -1
- package/dist/js/components/ProgressStepper/ProgressStep.d.ts +8 -0
- package/dist/js/components/ProgressStepper/ProgressStep.d.ts.map +1 -1
- package/dist/js/components/ProgressStepper/ProgressStep.js +10 -1
- package/dist/js/components/ProgressStepper/ProgressStep.js.map +1 -1
- package/dist/umd/react-core.min.js +1 -1
- package/package.json +2 -2
- package/src/components/FileUpload/FileUpload.tsx +1 -1
- package/src/components/ProgressStepper/ProgressStep.tsx +9 -0
- package/src/components/ProgressStepper/__tests__/ProgressStep.test.tsx +178 -0
- package/src/components/ProgressStepper/__tests__/ProgressStepper.test.tsx +40 -126
- package/src/components/ProgressStepper/__tests__/__snapshots__/ProgressStep.test.tsx.snap +26 -0
- package/src/components/ProgressStepper/__tests__/__snapshots__/ProgressStepper.test.tsx.snap +2 -722
package/src/components/ProgressStepper/__tests__/__snapshots__/ProgressStepper.test.tsx.snap
CHANGED
|
@@ -1,731 +1,11 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`
|
|
4
|
-
<DocumentFragment>
|
|
5
|
-
<li
|
|
6
|
-
class="pf-c-progress-stepper__step"
|
|
7
|
-
>
|
|
8
|
-
<div
|
|
9
|
-
class="pf-c-progress-stepper__step-connector"
|
|
10
|
-
>
|
|
11
|
-
<span
|
|
12
|
-
class="pf-c-progress-stepper__step-icon"
|
|
13
|
-
/>
|
|
14
|
-
</div>
|
|
15
|
-
<div
|
|
16
|
-
class="pf-c-progress-stepper__step-main"
|
|
17
|
-
>
|
|
18
|
-
<div
|
|
19
|
-
class="pf-c-progress-stepper__step-title"
|
|
20
|
-
>
|
|
21
|
-
Title
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
</li>
|
|
25
|
-
</DocumentFragment>
|
|
26
|
-
`;
|
|
27
|
-
|
|
28
|
-
exports[`ProgressStep renders current 1`] = `
|
|
29
|
-
<DocumentFragment>
|
|
30
|
-
<li
|
|
31
|
-
aria-current="step"
|
|
32
|
-
class="pf-c-progress-stepper__step pf-m-current"
|
|
33
|
-
>
|
|
34
|
-
<div
|
|
35
|
-
class="pf-c-progress-stepper__step-connector"
|
|
36
|
-
>
|
|
37
|
-
<span
|
|
38
|
-
class="pf-c-progress-stepper__step-icon"
|
|
39
|
-
/>
|
|
40
|
-
</div>
|
|
41
|
-
<div
|
|
42
|
-
class="pf-c-progress-stepper__step-main"
|
|
43
|
-
>
|
|
44
|
-
<div
|
|
45
|
-
class="pf-c-progress-stepper__step-title"
|
|
46
|
-
>
|
|
47
|
-
Title
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
</li>
|
|
51
|
-
</DocumentFragment>
|
|
52
|
-
`;
|
|
53
|
-
|
|
54
|
-
exports[`ProgressStep renders custom icon 1`] = `
|
|
55
|
-
<DocumentFragment>
|
|
56
|
-
<li
|
|
57
|
-
class="pf-c-progress-stepper__step"
|
|
58
|
-
>
|
|
59
|
-
<div
|
|
60
|
-
class="pf-c-progress-stepper__step-connector"
|
|
61
|
-
>
|
|
62
|
-
<span
|
|
63
|
-
class="pf-c-progress-stepper__step-icon"
|
|
64
|
-
>
|
|
65
|
-
<svg
|
|
66
|
-
aria-hidden="true"
|
|
67
|
-
fill="currentColor"
|
|
68
|
-
height="1em"
|
|
69
|
-
role="img"
|
|
70
|
-
style="vertical-align: -0.125em;"
|
|
71
|
-
viewBox="0 0 1024 1024"
|
|
72
|
-
width="1em"
|
|
73
|
-
>
|
|
74
|
-
<path
|
|
75
|
-
d="M513.417211,16.013668 L513.417211,112.013668 C513.406007,120.539653 520.082422,127.576718 528.597211,128.013668 C732.697211,136.513668 896.147211,305.013668 896.147211,511.343668 C896.147211,723.013668 724.007211,895.163668 512.417211,895.163668 C437.186239,895.277345 363.602574,873.135095 300.927211,831.523668 C294.58293,827.2982 286.138663,828.135095 280.747211,833.523668 L211.807211,902.353668 C208.502935,905.676185 206.82123,910.280199 207.20607,914.950237 C207.590911,919.620275 210.00361,923.886884 213.807211,926.623668 C300.709573,989.398037 405.213535,1023.13146 512.417211,1023.01398 C794.537211,1023.01398 1023.91724,793.433668 1023.91724,511.413668 C1024.00721,235.103668 804.007211,9.22366802 529.897211,0.00645736761 C525.571205,-0.116171039 521.377128,1.51204372 518.271915,4.52681369 C515.166702,7.54158367 513.415263,11.6857144 513.417211,16.013668 M97.1272107,212.923668 C64.2190689,258.479443 39.0698895,309.162997 22.6972107,362.923668 C21.2705092,367.756559 22.2039184,372.979173 25.2163356,377.018685 C28.2287528,381.058197 32.9681443,383.442545 38.0072107,383.453683 L139.407211,383.453683 C145.970195,383.46249 151.873012,379.462528 154.297211,373.363668 C164.307669,347.593304 177.068112,322.977652 192.357211,299.943668 C196.579666,293.633658 195.741339,285.216847 190.357211,279.863668 L121.497211,211.013668 C118.186635,207.662531 113.567544,205.940538 108.871166,206.30669 C104.174788,206.672841 99.8783994,209.089927 97.1272107,212.913668 M112.907211,511.433663 L17.0072107,511.433663 C12.679257,511.433663 8.5351263,513.183159 5.52035633,516.288373 C2.50558635,519.393586 0.877371594,523.587662 1.00721065,527.913668 C4.13104542,629.408217 37.6085847,727.635936 97.1172107,809.913668 C99.8539943,813.717268 104.120603,816.129968 108.790642,816.514809 C113.46068,816.899649 118.064693,815.217944 121.387211,811.913668 L190.217211,743.073668 C195.605784,737.682216 196.442679,729.237949 192.217211,722.893668 C153.520825,664.580171 131.611534,596.745437 128.887211,526.813668 C128.553964,518.220138 121.487197,511.427209 112.887211,511.433663"
|
|
76
|
-
/>
|
|
77
|
-
</svg>
|
|
78
|
-
</span>
|
|
79
|
-
</div>
|
|
80
|
-
<div
|
|
81
|
-
class="pf-c-progress-stepper__step-main"
|
|
82
|
-
>
|
|
83
|
-
<div
|
|
84
|
-
class="pf-c-progress-stepper__step-title"
|
|
85
|
-
>
|
|
86
|
-
Title
|
|
87
|
-
</div>
|
|
88
|
-
</div>
|
|
89
|
-
</li>
|
|
90
|
-
</DocumentFragment>
|
|
91
|
-
`;
|
|
92
|
-
|
|
93
|
-
exports[`ProgressStep renders custom null icon - removing default from variant 1`] = `
|
|
94
|
-
<DocumentFragment>
|
|
95
|
-
<li
|
|
96
|
-
class="pf-c-progress-stepper__step pf-m-success"
|
|
97
|
-
>
|
|
98
|
-
<div
|
|
99
|
-
class="pf-c-progress-stepper__step-connector"
|
|
100
|
-
>
|
|
101
|
-
<span
|
|
102
|
-
class="pf-c-progress-stepper__step-icon"
|
|
103
|
-
/>
|
|
104
|
-
</div>
|
|
105
|
-
<div
|
|
106
|
-
class="pf-c-progress-stepper__step-main"
|
|
107
|
-
>
|
|
108
|
-
<div
|
|
109
|
-
class="pf-c-progress-stepper__step-title"
|
|
110
|
-
>
|
|
111
|
-
Title
|
|
112
|
-
</div>
|
|
113
|
-
</div>
|
|
114
|
-
</li>
|
|
115
|
-
</DocumentFragment>
|
|
116
|
-
`;
|
|
117
|
-
|
|
118
|
-
exports[`ProgressStep renders danger variant 1`] = `
|
|
119
|
-
<DocumentFragment>
|
|
120
|
-
<li
|
|
121
|
-
aria-label="danger"
|
|
122
|
-
class="pf-c-progress-stepper__step pf-m-danger"
|
|
123
|
-
>
|
|
124
|
-
<div
|
|
125
|
-
class="pf-c-progress-stepper__step-connector"
|
|
126
|
-
>
|
|
127
|
-
<span
|
|
128
|
-
class="pf-c-progress-stepper__step-icon"
|
|
129
|
-
>
|
|
130
|
-
<svg
|
|
131
|
-
aria-hidden="true"
|
|
132
|
-
fill="currentColor"
|
|
133
|
-
height="1em"
|
|
134
|
-
role="img"
|
|
135
|
-
style="vertical-align: -0.125em;"
|
|
136
|
-
viewBox="0 0 512 512"
|
|
137
|
-
width="1em"
|
|
138
|
-
>
|
|
139
|
-
<path
|
|
140
|
-
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"
|
|
141
|
-
/>
|
|
142
|
-
</svg>
|
|
143
|
-
</span>
|
|
144
|
-
</div>
|
|
145
|
-
<div
|
|
146
|
-
class="pf-c-progress-stepper__step-main"
|
|
147
|
-
>
|
|
148
|
-
<div
|
|
149
|
-
class="pf-c-progress-stepper__step-title"
|
|
150
|
-
>
|
|
151
|
-
danger step
|
|
152
|
-
</div>
|
|
153
|
-
</div>
|
|
154
|
-
</li>
|
|
155
|
-
</DocumentFragment>
|
|
156
|
-
`;
|
|
157
|
-
|
|
158
|
-
exports[`ProgressStep renders default variant 1`] = `
|
|
159
|
-
<DocumentFragment>
|
|
160
|
-
<li
|
|
161
|
-
aria-label="default"
|
|
162
|
-
class="pf-c-progress-stepper__step"
|
|
163
|
-
>
|
|
164
|
-
<div
|
|
165
|
-
class="pf-c-progress-stepper__step-connector"
|
|
166
|
-
>
|
|
167
|
-
<span
|
|
168
|
-
class="pf-c-progress-stepper__step-icon"
|
|
169
|
-
/>
|
|
170
|
-
</div>
|
|
171
|
-
<div
|
|
172
|
-
class="pf-c-progress-stepper__step-main"
|
|
173
|
-
>
|
|
174
|
-
<div
|
|
175
|
-
class="pf-c-progress-stepper__step-title"
|
|
176
|
-
>
|
|
177
|
-
default step
|
|
178
|
-
</div>
|
|
179
|
-
</div>
|
|
180
|
-
</li>
|
|
181
|
-
</DocumentFragment>
|
|
182
|
-
`;
|
|
183
|
-
|
|
184
|
-
exports[`ProgressStep renders description 1`] = `
|
|
185
|
-
<DocumentFragment>
|
|
186
|
-
<li
|
|
187
|
-
class="pf-c-progress-stepper__step"
|
|
188
|
-
>
|
|
189
|
-
<div
|
|
190
|
-
class="pf-c-progress-stepper__step-connector"
|
|
191
|
-
>
|
|
192
|
-
<span
|
|
193
|
-
class="pf-c-progress-stepper__step-icon"
|
|
194
|
-
/>
|
|
195
|
-
</div>
|
|
196
|
-
<div
|
|
197
|
-
class="pf-c-progress-stepper__step-main"
|
|
198
|
-
>
|
|
199
|
-
<div
|
|
200
|
-
class="pf-c-progress-stepper__step-title"
|
|
201
|
-
>
|
|
202
|
-
Title
|
|
203
|
-
</div>
|
|
204
|
-
<div
|
|
205
|
-
class="pf-c-progress-stepper__step-description"
|
|
206
|
-
>
|
|
207
|
-
This is a description
|
|
208
|
-
</div>
|
|
209
|
-
</div>
|
|
210
|
-
</li>
|
|
211
|
-
</DocumentFragment>
|
|
212
|
-
`;
|
|
213
|
-
|
|
214
|
-
exports[`ProgressStep renders help text styling 1`] = `
|
|
215
|
-
<DocumentFragment>
|
|
216
|
-
<li
|
|
217
|
-
class="pf-c-progress-stepper__step"
|
|
218
|
-
>
|
|
219
|
-
<div
|
|
220
|
-
class="pf-c-progress-stepper__step-connector"
|
|
221
|
-
>
|
|
222
|
-
<span
|
|
223
|
-
class="pf-c-progress-stepper__step-icon"
|
|
224
|
-
/>
|
|
225
|
-
</div>
|
|
226
|
-
<div
|
|
227
|
-
class="pf-c-progress-stepper__step-main"
|
|
228
|
-
>
|
|
229
|
-
<button
|
|
230
|
-
class="pf-c-progress-stepper__step-title pf-m-help-text"
|
|
231
|
-
type="button"
|
|
232
|
-
>
|
|
233
|
-
Title
|
|
234
|
-
<div />
|
|
235
|
-
</button>
|
|
236
|
-
</div>
|
|
237
|
-
</li>
|
|
238
|
-
</DocumentFragment>
|
|
239
|
-
`;
|
|
240
|
-
|
|
241
|
-
exports[`ProgressStep renders info variant 1`] = `
|
|
242
|
-
<DocumentFragment>
|
|
243
|
-
<li
|
|
244
|
-
aria-label="info"
|
|
245
|
-
class="pf-c-progress-stepper__step pf-m-info"
|
|
246
|
-
>
|
|
247
|
-
<div
|
|
248
|
-
class="pf-c-progress-stepper__step-connector"
|
|
249
|
-
>
|
|
250
|
-
<span
|
|
251
|
-
class="pf-c-progress-stepper__step-icon"
|
|
252
|
-
>
|
|
253
|
-
<svg
|
|
254
|
-
aria-hidden="true"
|
|
255
|
-
fill="currentColor"
|
|
256
|
-
height="1em"
|
|
257
|
-
role="img"
|
|
258
|
-
style="vertical-align: -0.125em;"
|
|
259
|
-
viewBox="0 0 1024 1024"
|
|
260
|
-
width="1em"
|
|
261
|
-
>
|
|
262
|
-
<path
|
|
263
|
-
d="M512.1,0 C229.7,0 0,229.8 0,512 C0,794.3 229.8,1024 512.1,1024 C794.4,1024 1024,794.3 1024,512 C1024,229.7 794.4,0 512.1,0 Z M512,896 C300.2,896 128,723.9 128,512 C128,300.3 300.2,128 512,128 C723.7,128 896,300.2 896,512 C896,723.8 723.7,896 512,896 Z M512,224 C671.1,224 800,352.9 800,512 C800,671.1 671.1,800 512,800 C352.9,800 224,671.1 224,512 C224,352.9 352.9,224 512,224"
|
|
264
|
-
/>
|
|
265
|
-
</svg>
|
|
266
|
-
</span>
|
|
267
|
-
</div>
|
|
268
|
-
<div
|
|
269
|
-
class="pf-c-progress-stepper__step-main"
|
|
270
|
-
>
|
|
271
|
-
<div
|
|
272
|
-
class="pf-c-progress-stepper__step-title"
|
|
273
|
-
>
|
|
274
|
-
info step
|
|
275
|
-
</div>
|
|
276
|
-
</div>
|
|
277
|
-
</li>
|
|
278
|
-
</DocumentFragment>
|
|
279
|
-
`;
|
|
280
|
-
|
|
281
|
-
exports[`ProgressStep renders pending variant 1`] = `
|
|
282
|
-
<DocumentFragment>
|
|
283
|
-
<li
|
|
284
|
-
aria-label="pending"
|
|
285
|
-
class="pf-c-progress-stepper__step pf-m-pending"
|
|
286
|
-
>
|
|
287
|
-
<div
|
|
288
|
-
class="pf-c-progress-stepper__step-connector"
|
|
289
|
-
>
|
|
290
|
-
<span
|
|
291
|
-
class="pf-c-progress-stepper__step-icon"
|
|
292
|
-
/>
|
|
293
|
-
</div>
|
|
294
|
-
<div
|
|
295
|
-
class="pf-c-progress-stepper__step-main"
|
|
296
|
-
>
|
|
297
|
-
<div
|
|
298
|
-
class="pf-c-progress-stepper__step-title"
|
|
299
|
-
>
|
|
300
|
-
pending step
|
|
301
|
-
</div>
|
|
302
|
-
</div>
|
|
303
|
-
</li>
|
|
304
|
-
</DocumentFragment>
|
|
305
|
-
`;
|
|
306
|
-
|
|
307
|
-
exports[`ProgressStep renders success variant 1`] = `
|
|
308
|
-
<DocumentFragment>
|
|
309
|
-
<li
|
|
310
|
-
aria-label="success"
|
|
311
|
-
class="pf-c-progress-stepper__step pf-m-success"
|
|
312
|
-
>
|
|
313
|
-
<div
|
|
314
|
-
class="pf-c-progress-stepper__step-connector"
|
|
315
|
-
>
|
|
316
|
-
<span
|
|
317
|
-
class="pf-c-progress-stepper__step-icon"
|
|
318
|
-
>
|
|
319
|
-
<svg
|
|
320
|
-
aria-hidden="true"
|
|
321
|
-
fill="currentColor"
|
|
322
|
-
height="1em"
|
|
323
|
-
role="img"
|
|
324
|
-
style="vertical-align: -0.125em;"
|
|
325
|
-
viewBox="0 0 512 512"
|
|
326
|
-
width="1em"
|
|
327
|
-
>
|
|
328
|
-
<path
|
|
329
|
-
d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"
|
|
330
|
-
/>
|
|
331
|
-
</svg>
|
|
332
|
-
</span>
|
|
333
|
-
</div>
|
|
334
|
-
<div
|
|
335
|
-
class="pf-c-progress-stepper__step-main"
|
|
336
|
-
>
|
|
337
|
-
<div
|
|
338
|
-
class="pf-c-progress-stepper__step-title"
|
|
339
|
-
>
|
|
340
|
-
success step
|
|
341
|
-
</div>
|
|
342
|
-
</div>
|
|
343
|
-
</li>
|
|
344
|
-
</DocumentFragment>
|
|
345
|
-
`;
|
|
346
|
-
|
|
347
|
-
exports[`ProgressStep renders warning variant 1`] = `
|
|
348
|
-
<DocumentFragment>
|
|
349
|
-
<li
|
|
350
|
-
aria-label="warning"
|
|
351
|
-
class="pf-c-progress-stepper__step pf-m-warning"
|
|
352
|
-
>
|
|
353
|
-
<div
|
|
354
|
-
class="pf-c-progress-stepper__step-connector"
|
|
355
|
-
>
|
|
356
|
-
<span
|
|
357
|
-
class="pf-c-progress-stepper__step-icon"
|
|
358
|
-
>
|
|
359
|
-
<svg
|
|
360
|
-
aria-hidden="true"
|
|
361
|
-
fill="currentColor"
|
|
362
|
-
height="1em"
|
|
363
|
-
role="img"
|
|
364
|
-
style="vertical-align: -0.125em;"
|
|
365
|
-
viewBox="0 0 576 512"
|
|
366
|
-
width="1em"
|
|
367
|
-
>
|
|
368
|
-
<path
|
|
369
|
-
d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"
|
|
370
|
-
/>
|
|
371
|
-
</svg>
|
|
372
|
-
</span>
|
|
373
|
-
</div>
|
|
374
|
-
<div
|
|
375
|
-
class="pf-c-progress-stepper__step-main"
|
|
376
|
-
>
|
|
377
|
-
<div
|
|
378
|
-
class="pf-c-progress-stepper__step-title"
|
|
379
|
-
>
|
|
380
|
-
warning step
|
|
381
|
-
</div>
|
|
382
|
-
</div>
|
|
383
|
-
</li>
|
|
384
|
-
</DocumentFragment>
|
|
385
|
-
`;
|
|
386
|
-
|
|
387
|
-
exports[`ProgressStepper gets custom class and id 1`] = `
|
|
388
|
-
<DocumentFragment>
|
|
389
|
-
<ol
|
|
390
|
-
class="pf-c-progress-stepper custom-class"
|
|
391
|
-
id="test-id"
|
|
392
|
-
>
|
|
393
|
-
<li
|
|
394
|
-
class="pf-c-progress-stepper__step"
|
|
395
|
-
>
|
|
396
|
-
<div
|
|
397
|
-
class="pf-c-progress-stepper__step-connector"
|
|
398
|
-
>
|
|
399
|
-
<span
|
|
400
|
-
class="pf-c-progress-stepper__step-icon"
|
|
401
|
-
/>
|
|
402
|
-
</div>
|
|
403
|
-
<div
|
|
404
|
-
class="pf-c-progress-stepper__step-main"
|
|
405
|
-
>
|
|
406
|
-
<div
|
|
407
|
-
class="pf-c-progress-stepper__step-title"
|
|
408
|
-
>
|
|
409
|
-
First
|
|
410
|
-
</div>
|
|
411
|
-
</div>
|
|
412
|
-
</li>
|
|
413
|
-
<li
|
|
414
|
-
class="pf-c-progress-stepper__step"
|
|
415
|
-
>
|
|
416
|
-
<div
|
|
417
|
-
class="pf-c-progress-stepper__step-connector"
|
|
418
|
-
>
|
|
419
|
-
<span
|
|
420
|
-
class="pf-c-progress-stepper__step-icon"
|
|
421
|
-
/>
|
|
422
|
-
</div>
|
|
423
|
-
<div
|
|
424
|
-
class="pf-c-progress-stepper__step-main"
|
|
425
|
-
>
|
|
426
|
-
<div
|
|
427
|
-
class="pf-c-progress-stepper__step-title"
|
|
428
|
-
>
|
|
429
|
-
Second
|
|
430
|
-
</div>
|
|
431
|
-
</div>
|
|
432
|
-
</li>
|
|
433
|
-
<li
|
|
434
|
-
class="pf-c-progress-stepper__step"
|
|
435
|
-
>
|
|
436
|
-
<div
|
|
437
|
-
class="pf-c-progress-stepper__step-connector"
|
|
438
|
-
>
|
|
439
|
-
<span
|
|
440
|
-
class="pf-c-progress-stepper__step-icon"
|
|
441
|
-
/>
|
|
442
|
-
</div>
|
|
443
|
-
<div
|
|
444
|
-
class="pf-c-progress-stepper__step-main"
|
|
445
|
-
>
|
|
446
|
-
<div
|
|
447
|
-
class="pf-c-progress-stepper__step-title"
|
|
448
|
-
>
|
|
449
|
-
Third
|
|
450
|
-
</div>
|
|
451
|
-
</div>
|
|
452
|
-
</li>
|
|
453
|
-
</ol>
|
|
454
|
-
</DocumentFragment>
|
|
455
|
-
`;
|
|
456
|
-
|
|
457
|
-
exports[`ProgressStepper renders center aligned 1`] = `
|
|
458
|
-
<DocumentFragment>
|
|
459
|
-
<ol
|
|
460
|
-
class="pf-c-progress-stepper pf-m-center"
|
|
461
|
-
>
|
|
462
|
-
<li
|
|
463
|
-
class="pf-c-progress-stepper__step"
|
|
464
|
-
>
|
|
465
|
-
<div
|
|
466
|
-
class="pf-c-progress-stepper__step-connector"
|
|
467
|
-
>
|
|
468
|
-
<span
|
|
469
|
-
class="pf-c-progress-stepper__step-icon"
|
|
470
|
-
/>
|
|
471
|
-
</div>
|
|
472
|
-
<div
|
|
473
|
-
class="pf-c-progress-stepper__step-main"
|
|
474
|
-
>
|
|
475
|
-
<div
|
|
476
|
-
class="pf-c-progress-stepper__step-title"
|
|
477
|
-
>
|
|
478
|
-
First
|
|
479
|
-
</div>
|
|
480
|
-
</div>
|
|
481
|
-
</li>
|
|
482
|
-
<li
|
|
483
|
-
class="pf-c-progress-stepper__step"
|
|
484
|
-
>
|
|
485
|
-
<div
|
|
486
|
-
class="pf-c-progress-stepper__step-connector"
|
|
487
|
-
>
|
|
488
|
-
<span
|
|
489
|
-
class="pf-c-progress-stepper__step-icon"
|
|
490
|
-
/>
|
|
491
|
-
</div>
|
|
492
|
-
<div
|
|
493
|
-
class="pf-c-progress-stepper__step-main"
|
|
494
|
-
>
|
|
495
|
-
<div
|
|
496
|
-
class="pf-c-progress-stepper__step-title"
|
|
497
|
-
>
|
|
498
|
-
Second
|
|
499
|
-
</div>
|
|
500
|
-
</div>
|
|
501
|
-
</li>
|
|
502
|
-
<li
|
|
503
|
-
class="pf-c-progress-stepper__step"
|
|
504
|
-
>
|
|
505
|
-
<div
|
|
506
|
-
class="pf-c-progress-stepper__step-connector"
|
|
507
|
-
>
|
|
508
|
-
<span
|
|
509
|
-
class="pf-c-progress-stepper__step-icon"
|
|
510
|
-
/>
|
|
511
|
-
</div>
|
|
512
|
-
<div
|
|
513
|
-
class="pf-c-progress-stepper__step-main"
|
|
514
|
-
>
|
|
515
|
-
<div
|
|
516
|
-
class="pf-c-progress-stepper__step-title"
|
|
517
|
-
>
|
|
518
|
-
Third
|
|
519
|
-
</div>
|
|
520
|
-
</div>
|
|
521
|
-
</li>
|
|
522
|
-
</ol>
|
|
523
|
-
</DocumentFragment>
|
|
524
|
-
`;
|
|
525
|
-
|
|
526
|
-
exports[`ProgressStepper renders compact 1`] = `
|
|
527
|
-
<DocumentFragment>
|
|
528
|
-
<ol
|
|
529
|
-
class="pf-c-progress-stepper pf-m-compact"
|
|
530
|
-
>
|
|
531
|
-
<li
|
|
532
|
-
class="pf-c-progress-stepper__step"
|
|
533
|
-
>
|
|
534
|
-
<div
|
|
535
|
-
class="pf-c-progress-stepper__step-connector"
|
|
536
|
-
>
|
|
537
|
-
<span
|
|
538
|
-
class="pf-c-progress-stepper__step-icon"
|
|
539
|
-
/>
|
|
540
|
-
</div>
|
|
541
|
-
<div
|
|
542
|
-
class="pf-c-progress-stepper__step-main"
|
|
543
|
-
>
|
|
544
|
-
<div
|
|
545
|
-
class="pf-c-progress-stepper__step-title"
|
|
546
|
-
>
|
|
547
|
-
First
|
|
548
|
-
</div>
|
|
549
|
-
</div>
|
|
550
|
-
</li>
|
|
551
|
-
<li
|
|
552
|
-
class="pf-c-progress-stepper__step"
|
|
553
|
-
>
|
|
554
|
-
<div
|
|
555
|
-
class="pf-c-progress-stepper__step-connector"
|
|
556
|
-
>
|
|
557
|
-
<span
|
|
558
|
-
class="pf-c-progress-stepper__step-icon"
|
|
559
|
-
/>
|
|
560
|
-
</div>
|
|
561
|
-
<div
|
|
562
|
-
class="pf-c-progress-stepper__step-main"
|
|
563
|
-
>
|
|
564
|
-
<div
|
|
565
|
-
class="pf-c-progress-stepper__step-title"
|
|
566
|
-
>
|
|
567
|
-
Second
|
|
568
|
-
</div>
|
|
569
|
-
</div>
|
|
570
|
-
</li>
|
|
571
|
-
<li
|
|
572
|
-
class="pf-c-progress-stepper__step"
|
|
573
|
-
>
|
|
574
|
-
<div
|
|
575
|
-
class="pf-c-progress-stepper__step-connector"
|
|
576
|
-
>
|
|
577
|
-
<span
|
|
578
|
-
class="pf-c-progress-stepper__step-icon"
|
|
579
|
-
/>
|
|
580
|
-
</div>
|
|
581
|
-
<div
|
|
582
|
-
class="pf-c-progress-stepper__step-main"
|
|
583
|
-
>
|
|
584
|
-
<div
|
|
585
|
-
class="pf-c-progress-stepper__step-title"
|
|
586
|
-
>
|
|
587
|
-
Third
|
|
588
|
-
</div>
|
|
589
|
-
</div>
|
|
590
|
-
</li>
|
|
591
|
-
</ol>
|
|
592
|
-
</DocumentFragment>
|
|
593
|
-
`;
|
|
594
|
-
|
|
595
|
-
exports[`ProgressStepper renders content 1`] = `
|
|
3
|
+
exports[`Matches the snapshot 1`] = `
|
|
596
4
|
<DocumentFragment>
|
|
597
5
|
<ol
|
|
598
6
|
class="pf-c-progress-stepper"
|
|
599
7
|
>
|
|
600
|
-
|
|
601
|
-
class="pf-c-progress-stepper__step"
|
|
602
|
-
>
|
|
603
|
-
<div
|
|
604
|
-
class="pf-c-progress-stepper__step-connector"
|
|
605
|
-
>
|
|
606
|
-
<span
|
|
607
|
-
class="pf-c-progress-stepper__step-icon"
|
|
608
|
-
/>
|
|
609
|
-
</div>
|
|
610
|
-
<div
|
|
611
|
-
class="pf-c-progress-stepper__step-main"
|
|
612
|
-
>
|
|
613
|
-
<div
|
|
614
|
-
class="pf-c-progress-stepper__step-title"
|
|
615
|
-
>
|
|
616
|
-
First
|
|
617
|
-
</div>
|
|
618
|
-
</div>
|
|
619
|
-
</li>
|
|
620
|
-
<li
|
|
621
|
-
class="pf-c-progress-stepper__step"
|
|
622
|
-
>
|
|
623
|
-
<div
|
|
624
|
-
class="pf-c-progress-stepper__step-connector"
|
|
625
|
-
>
|
|
626
|
-
<span
|
|
627
|
-
class="pf-c-progress-stepper__step-icon"
|
|
628
|
-
/>
|
|
629
|
-
</div>
|
|
630
|
-
<div
|
|
631
|
-
class="pf-c-progress-stepper__step-main"
|
|
632
|
-
>
|
|
633
|
-
<div
|
|
634
|
-
class="pf-c-progress-stepper__step-title"
|
|
635
|
-
>
|
|
636
|
-
Second
|
|
637
|
-
</div>
|
|
638
|
-
</div>
|
|
639
|
-
</li>
|
|
640
|
-
<li
|
|
641
|
-
class="pf-c-progress-stepper__step"
|
|
642
|
-
>
|
|
643
|
-
<div
|
|
644
|
-
class="pf-c-progress-stepper__step-connector"
|
|
645
|
-
>
|
|
646
|
-
<span
|
|
647
|
-
class="pf-c-progress-stepper__step-icon"
|
|
648
|
-
/>
|
|
649
|
-
</div>
|
|
650
|
-
<div
|
|
651
|
-
class="pf-c-progress-stepper__step-main"
|
|
652
|
-
>
|
|
653
|
-
<div
|
|
654
|
-
class="pf-c-progress-stepper__step-title"
|
|
655
|
-
>
|
|
656
|
-
Third
|
|
657
|
-
</div>
|
|
658
|
-
</div>
|
|
659
|
-
</li>
|
|
660
|
-
</ol>
|
|
661
|
-
</DocumentFragment>
|
|
662
|
-
`;
|
|
663
|
-
|
|
664
|
-
exports[`ProgressStepper renders vertically 1`] = `
|
|
665
|
-
<DocumentFragment>
|
|
666
|
-
<ol
|
|
667
|
-
class="pf-c-progress-stepper pf-m-vertical"
|
|
668
|
-
>
|
|
669
|
-
<li
|
|
670
|
-
class="pf-c-progress-stepper__step"
|
|
671
|
-
>
|
|
672
|
-
<div
|
|
673
|
-
class="pf-c-progress-stepper__step-connector"
|
|
674
|
-
>
|
|
675
|
-
<span
|
|
676
|
-
class="pf-c-progress-stepper__step-icon"
|
|
677
|
-
/>
|
|
678
|
-
</div>
|
|
679
|
-
<div
|
|
680
|
-
class="pf-c-progress-stepper__step-main"
|
|
681
|
-
>
|
|
682
|
-
<div
|
|
683
|
-
class="pf-c-progress-stepper__step-title"
|
|
684
|
-
>
|
|
685
|
-
First
|
|
686
|
-
</div>
|
|
687
|
-
</div>
|
|
688
|
-
</li>
|
|
689
|
-
<li
|
|
690
|
-
class="pf-c-progress-stepper__step"
|
|
691
|
-
>
|
|
692
|
-
<div
|
|
693
|
-
class="pf-c-progress-stepper__step-connector"
|
|
694
|
-
>
|
|
695
|
-
<span
|
|
696
|
-
class="pf-c-progress-stepper__step-icon"
|
|
697
|
-
/>
|
|
698
|
-
</div>
|
|
699
|
-
<div
|
|
700
|
-
class="pf-c-progress-stepper__step-main"
|
|
701
|
-
>
|
|
702
|
-
<div
|
|
703
|
-
class="pf-c-progress-stepper__step-title"
|
|
704
|
-
>
|
|
705
|
-
Second
|
|
706
|
-
</div>
|
|
707
|
-
</div>
|
|
708
|
-
</li>
|
|
709
|
-
<li
|
|
710
|
-
class="pf-c-progress-stepper__step"
|
|
711
|
-
>
|
|
712
|
-
<div
|
|
713
|
-
class="pf-c-progress-stepper__step-connector"
|
|
714
|
-
>
|
|
715
|
-
<span
|
|
716
|
-
class="pf-c-progress-stepper__step-icon"
|
|
717
|
-
/>
|
|
718
|
-
</div>
|
|
719
|
-
<div
|
|
720
|
-
class="pf-c-progress-stepper__step-main"
|
|
721
|
-
>
|
|
722
|
-
<div
|
|
723
|
-
class="pf-c-progress-stepper__step-title"
|
|
724
|
-
>
|
|
725
|
-
Third
|
|
726
|
-
</div>
|
|
727
|
-
</div>
|
|
728
|
-
</li>
|
|
8
|
+
Test
|
|
729
9
|
</ol>
|
|
730
10
|
</DocumentFragment>
|
|
731
11
|
`;
|