@patternfly/patternfly 6.3.0-prerelease.55 → 6.3.0-prerelease.56

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.
@@ -132,185 +132,6 @@ cssPrefix: pf-v6-c-progress
132
132
 
133
133
  ```
134
134
 
135
- ### Success
136
-
137
- ```html
138
- <div class="pf-v6-c-progress pf-m-success" id="progress-success-example">
139
- <div
140
- class="pf-v6-c-progress__description"
141
- id="progress-success-example-description"
142
- >Title</div>
143
- <div class="pf-v6-c-progress__status" aria-hidden="true">
144
- <span class="pf-v6-c-progress__measure">100%</span>
145
- <span class="pf-v6-c-progress__status-icon">
146
- <i class="fas fa-fw fa-check-circle" aria-hidden="true"></i>
147
- </span>
148
- </div>
149
- <div
150
- class="pf-v6-c-progress__bar"
151
- role="progressbar"
152
- aria-valuemin="0"
153
- aria-valuemax="100"
154
- aria-valuenow="100"
155
- aria-labelledby="progress-success-example-description"
156
- >
157
- <div class="pf-v6-c-progress__indicator" style="width:100%;"></div>
158
- </div>
159
- </div>
160
-
161
- ```
162
-
163
- ### Warning
164
-
165
- ```html
166
- <div class="pf-v6-c-progress pf-m-warning" id="progress-warning-example">
167
- <div
168
- class="pf-v6-c-progress__description"
169
- id="progress-warning-example-description"
170
- >Title</div>
171
- <div class="pf-v6-c-progress__status" aria-hidden="true">
172
- <span class="pf-v6-c-progress__measure">100%</span>
173
- <span class="pf-v6-c-progress__status-icon">
174
- <i class="fas fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
175
- </span>
176
- </div>
177
- <div
178
- class="pf-v6-c-progress__bar"
179
- role="progressbar"
180
- aria-valuemin="0"
181
- aria-valuemax="100"
182
- aria-valuenow="100"
183
- aria-labelledby="progress-warning-example-description"
184
- >
185
- <div class="pf-v6-c-progress__indicator" style="width:100%;"></div>
186
- </div>
187
- </div>
188
-
189
- ```
190
-
191
- ### Failure
192
-
193
- ```html
194
- <div class="pf-v6-c-progress pf-m-danger" id="progress-failure-example">
195
- <div
196
- class="pf-v6-c-progress__description"
197
- id="progress-failure-example-description"
198
- >Title</div>
199
- <div class="pf-v6-c-progress__status" aria-hidden="true">
200
- <span class="pf-v6-c-progress__measure">33%</span>
201
- <span class="pf-v6-c-progress__status-icon">
202
- <i class="fas fa-fw fa-times-circle" aria-hidden="true"></i>
203
- </span>
204
- </div>
205
- <div
206
- class="pf-v6-c-progress__bar"
207
- role="progressbar"
208
- aria-valuemin="0"
209
- aria-valuemax="100"
210
- aria-valuenow="33"
211
- aria-labelledby="progress-failure-example-description"
212
- >
213
- <div class="pf-v6-c-progress__indicator" style="width:33%;"></div>
214
- </div>
215
- </div>
216
-
217
- ```
218
-
219
- ### Inside success
220
-
221
- ```html
222
- <div
223
- class="pf-v6-c-progress pf-m-lg pf-m-inside pf-m-success"
224
- id="progress-inside-success-example"
225
- >
226
- <div
227
- class="pf-v6-c-progress__description"
228
- id="progress-inside-success-example-description"
229
- >Title</div>
230
- <div class="pf-v6-c-progress__status" aria-hidden="true">
231
- <span class="pf-v6-c-progress__status-icon">
232
- <i class="fas fa-fw fa-check-circle" aria-hidden="true"></i>
233
- </span>
234
- </div>
235
- <div
236
- class="pf-v6-c-progress__bar"
237
- role="progressbar"
238
- aria-valuemin="0"
239
- aria-valuemax="100"
240
- aria-valuenow="100"
241
- aria-labelledby="progress-inside-success-example-description"
242
- >
243
- <div class="pf-v6-c-progress__indicator" style="width:100%;">
244
- <span class="pf-v6-c-progress__measure">100%</span>
245
- </div>
246
- </div>
247
- </div>
248
-
249
- ```
250
-
251
- ### Inside warning
252
-
253
- ```html
254
- <div
255
- class="pf-v6-c-progress pf-m-lg pf-m-inside pf-m-warning"
256
- id="progress-inside-warning-example"
257
- >
258
- <div
259
- class="pf-v6-c-progress__description"
260
- id="progress-inside-warning-example-description"
261
- >Title</div>
262
- <div class="pf-v6-c-progress__status" aria-hidden="true">
263
- <span class="pf-v6-c-progress__status-icon">
264
- <i class="fas fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
265
- </span>
266
- </div>
267
- <div
268
- class="pf-v6-c-progress__bar"
269
- role="progressbar"
270
- aria-valuemin="0"
271
- aria-valuemax="100"
272
- aria-valuenow="100"
273
- aria-labelledby="progress-inside-warning-example-description"
274
- >
275
- <div class="pf-v6-c-progress__indicator" style="width:100%;">
276
- <span class="pf-v6-c-progress__measure">100%</span>
277
- </div>
278
- </div>
279
- </div>
280
-
281
- ```
282
-
283
- ### Outside failure
284
-
285
- ```html
286
- <div
287
- class="pf-v6-c-progress pf-m-outside pf-m-lg pf-m-danger"
288
- id="progress-outside-failure-example"
289
- >
290
- <div
291
- class="pf-v6-c-progress__description"
292
- id="progress-outside-failure-example-description"
293
- >Title</div>
294
- <div class="pf-v6-c-progress__status" aria-hidden="true">
295
- <span class="pf-v6-c-progress__measure">33%</span>
296
- <span class="pf-v6-c-progress__status-icon">
297
- <i class="fas fa-fw fa-times-circle" aria-hidden="true"></i>
298
- </span>
299
- </div>
300
- <div
301
- class="pf-v6-c-progress__bar"
302
- role="progressbar"
303
- aria-valuemin="0"
304
- aria-valuemax="100"
305
- aria-valuenow="33"
306
- aria-labelledby="progress-outside-failure-example-description"
307
- >
308
- <div class="pf-v6-c-progress__indicator" style="width:33%;"></div>
309
- </div>
310
- </div>
311
-
312
- ```
313
-
314
135
  ### Outside static width measure
315
136
 
316
137
  ```html
@@ -482,36 +303,6 @@ cssPrefix: pf-v6-c-progress
482
303
 
483
304
  ```
484
305
 
485
- ### Failure without measure
486
-
487
- ```html
488
- <div
489
- class="pf-v6-c-progress pf-m-danger"
490
- id="progress-no-measure-failure-example"
491
- >
492
- <div
493
- class="pf-v6-c-progress__description"
494
- id="progress-no-measure-failure-example-description"
495
- >Title</div>
496
- <div class="pf-v6-c-progress__status" aria-hidden="true">
497
- <span class="pf-v6-c-progress__status-icon">
498
- <i class="fas fa-fw fa-times-circle" aria-hidden="true"></i>
499
- </span>
500
- </div>
501
- <div
502
- class="pf-v6-c-progress__bar"
503
- role="progressbar"
504
- aria-valuemin="0"
505
- aria-valuemax="100"
506
- aria-valuenow="33"
507
- aria-labelledby="progress-no-measure-failure-example-description"
508
- >
509
- <div class="pf-v6-c-progress__indicator" style="width:33%;"></div>
510
- </div>
511
- </div>
512
-
513
- ```
514
-
515
306
  ### Finite step
516
307
 
517
308
  ```html
@@ -580,12 +371,16 @@ cssPrefix: pf-v6-c-progress
580
371
  aria-valuemin="0"
581
372
  aria-valuemax="100"
582
373
  aria-valuenow="33"
374
+ aria-describedby="progress-helper-text-example-help-text"
583
375
  aria-labelledby="progress-helper-text-example-description"
584
376
  >
585
377
  <div class="pf-v6-c-progress__indicator" style="width:33%;"></div>
586
378
  </div>
587
379
  <div class="pf-v6-c-progress__helper-text">
588
- <div class="pf-v6-c-helper-text">
380
+ <div
381
+ class="pf-v6-c-helper-text"
382
+ id="progress-helper-text-example-help-text"
383
+ >
589
384
  <div class="pf-v6-c-helper-text__item">
590
385
  <span class="pf-v6-c-helper-text__item-text">Progress helper text</span>
591
386
  </div>
@@ -625,6 +420,223 @@ If the status that displays with the bar is not a percentage, then the ARIA tag
625
420
 
626
421
  ```
627
422
 
423
+ ## Status examples
424
+
425
+ When conveying status, you should ensure:
426
+
427
+ * There is visible helper text that explains the status.
428
+ * The helper text includes the status icon, as seen in our [basic helper text example](/components/helper-text/html#basic).
429
+ * The helper text is linked to the `.pf-v6-c-progress__bar[role="progressbar"]` element via an `aria-describedby` attribute, as seen in the [progress helper text example](#helper-text).
430
+
431
+ ### Success
432
+
433
+ ```html
434
+ <div class="pf-v6-c-progress pf-m-success" id="progress-success-example">
435
+ <div
436
+ class="pf-v6-c-progress__description"
437
+ id="progress-success-example-description"
438
+ >Title</div>
439
+ <div class="pf-v6-c-progress__status" aria-hidden="true">
440
+ <span class="pf-v6-c-progress__measure">100%</span>
441
+ <span class="pf-v6-c-progress__status-icon">
442
+ <i class="fas fa-fw fa-check-circle" aria-hidden="true"></i>
443
+ </span>
444
+ </div>
445
+ <div
446
+ class="pf-v6-c-progress__bar"
447
+ role="progressbar"
448
+ aria-valuemin="0"
449
+ aria-valuemax="100"
450
+ aria-valuenow="100"
451
+ aria-labelledby="progress-success-example-description"
452
+ >
453
+ <div class="pf-v6-c-progress__indicator" style="width:100%;"></div>
454
+ </div>
455
+ </div>
456
+
457
+ ```
458
+
459
+ ### Warning
460
+
461
+ ```html
462
+ <div class="pf-v6-c-progress pf-m-warning" id="progress-warning-example">
463
+ <div
464
+ class="pf-v6-c-progress__description"
465
+ id="progress-warning-example-description"
466
+ >Title</div>
467
+ <div class="pf-v6-c-progress__status" aria-hidden="true">
468
+ <span class="pf-v6-c-progress__measure">100%</span>
469
+ <span class="pf-v6-c-progress__status-icon">
470
+ <i class="fas fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
471
+ </span>
472
+ </div>
473
+ <div
474
+ class="pf-v6-c-progress__bar"
475
+ role="progressbar"
476
+ aria-valuemin="0"
477
+ aria-valuemax="100"
478
+ aria-valuenow="100"
479
+ aria-labelledby="progress-warning-example-description"
480
+ >
481
+ <div class="pf-v6-c-progress__indicator" style="width:100%;"></div>
482
+ </div>
483
+ </div>
484
+
485
+ ```
486
+
487
+ ### Failure
488
+
489
+ ```html
490
+ <div class="pf-v6-c-progress pf-m-danger" id="progress-failure-example">
491
+ <div
492
+ class="pf-v6-c-progress__description"
493
+ id="progress-failure-example-description"
494
+ >Title</div>
495
+ <div class="pf-v6-c-progress__status" aria-hidden="true">
496
+ <span class="pf-v6-c-progress__measure">33%</span>
497
+ <span class="pf-v6-c-progress__status-icon">
498
+ <i class="fas fa-fw fa-times-circle" aria-hidden="true"></i>
499
+ </span>
500
+ </div>
501
+ <div
502
+ class="pf-v6-c-progress__bar"
503
+ role="progressbar"
504
+ aria-valuemin="0"
505
+ aria-valuemax="100"
506
+ aria-valuenow="33"
507
+ aria-labelledby="progress-failure-example-description"
508
+ >
509
+ <div class="pf-v6-c-progress__indicator" style="width:33%;"></div>
510
+ </div>
511
+ </div>
512
+
513
+ ```
514
+
515
+ ### Inside success
516
+
517
+ ```html
518
+ <div
519
+ class="pf-v6-c-progress pf-m-lg pf-m-inside pf-m-success"
520
+ id="progress-inside-success-example"
521
+ >
522
+ <div
523
+ class="pf-v6-c-progress__description"
524
+ id="progress-inside-success-example-description"
525
+ >Title</div>
526
+ <div class="pf-v6-c-progress__status" aria-hidden="true">
527
+ <span class="pf-v6-c-progress__status-icon">
528
+ <i class="fas fa-fw fa-check-circle" aria-hidden="true"></i>
529
+ </span>
530
+ </div>
531
+ <div
532
+ class="pf-v6-c-progress__bar"
533
+ role="progressbar"
534
+ aria-valuemin="0"
535
+ aria-valuemax="100"
536
+ aria-valuenow="100"
537
+ aria-labelledby="progress-inside-success-example-description"
538
+ >
539
+ <div class="pf-v6-c-progress__indicator" style="width:100%;">
540
+ <span class="pf-v6-c-progress__measure">100%</span>
541
+ </div>
542
+ </div>
543
+ </div>
544
+
545
+ ```
546
+
547
+ ### Inside warning
548
+
549
+ ```html
550
+ <div
551
+ class="pf-v6-c-progress pf-m-lg pf-m-inside pf-m-warning"
552
+ id="progress-inside-warning-example"
553
+ >
554
+ <div
555
+ class="pf-v6-c-progress__description"
556
+ id="progress-inside-warning-example-description"
557
+ >Title</div>
558
+ <div class="pf-v6-c-progress__status" aria-hidden="true">
559
+ <span class="pf-v6-c-progress__status-icon">
560
+ <i class="fas fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
561
+ </span>
562
+ </div>
563
+ <div
564
+ class="pf-v6-c-progress__bar"
565
+ role="progressbar"
566
+ aria-valuemin="0"
567
+ aria-valuemax="100"
568
+ aria-valuenow="100"
569
+ aria-labelledby="progress-inside-warning-example-description"
570
+ >
571
+ <div class="pf-v6-c-progress__indicator" style="width:100%;">
572
+ <span class="pf-v6-c-progress__measure">100%</span>
573
+ </div>
574
+ </div>
575
+ </div>
576
+
577
+ ```
578
+
579
+ ### Outside failure
580
+
581
+ ```html
582
+ <div
583
+ class="pf-v6-c-progress pf-m-outside pf-m-lg pf-m-danger"
584
+ id="progress-outside-failure-example"
585
+ >
586
+ <div
587
+ class="pf-v6-c-progress__description"
588
+ id="progress-outside-failure-example-description"
589
+ >Title</div>
590
+ <div class="pf-v6-c-progress__status" aria-hidden="true">
591
+ <span class="pf-v6-c-progress__measure">33%</span>
592
+ <span class="pf-v6-c-progress__status-icon">
593
+ <i class="fas fa-fw fa-times-circle" aria-hidden="true"></i>
594
+ </span>
595
+ </div>
596
+ <div
597
+ class="pf-v6-c-progress__bar"
598
+ role="progressbar"
599
+ aria-valuemin="0"
600
+ aria-valuemax="100"
601
+ aria-valuenow="33"
602
+ aria-labelledby="progress-outside-failure-example-description"
603
+ >
604
+ <div class="pf-v6-c-progress__indicator" style="width:33%;"></div>
605
+ </div>
606
+ </div>
607
+
608
+ ```
609
+
610
+ ### Failure without measure
611
+
612
+ ```html
613
+ <div
614
+ class="pf-v6-c-progress pf-m-danger"
615
+ id="progress-no-measure-failure-example"
616
+ >
617
+ <div
618
+ class="pf-v6-c-progress__description"
619
+ id="progress-no-measure-failure-example-description"
620
+ >Title</div>
621
+ <div class="pf-v6-c-progress__status" aria-hidden="true">
622
+ <span class="pf-v6-c-progress__status-icon">
623
+ <i class="fas fa-fw fa-times-circle" aria-hidden="true"></i>
624
+ </span>
625
+ </div>
626
+ <div
627
+ class="pf-v6-c-progress__bar"
628
+ role="progressbar"
629
+ aria-valuemin="0"
630
+ aria-valuemax="100"
631
+ aria-valuenow="33"
632
+ aria-labelledby="progress-no-measure-failure-example-description"
633
+ >
634
+ <div class="pf-v6-c-progress__indicator" style="width:33%;"></div>
635
+ </div>
636
+ </div>
637
+
638
+ ```
639
+
628
640
  ## Documentation
629
641
 
630
642
  ### Overview
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@patternfly/patternfly",
3
3
  "description": "Assets, source, tooling, and content for PatternFly 4",
4
- "version": "6.3.0-prerelease.55",
4
+ "version": "6.3.0-prerelease.56",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "engines": {
@@ -7173,42 +7173,6 @@
7173
7173
  var(--pf-t--global--box-shadow--color--lg--directional);
7174
7174
  --pf-t--global--list-style: disc outside;
7175
7175
  --pf-t--temp--dev--tbd: #BC11E0;
7176
- --pf-t--global--high-contrast--border--width--action--clicked: 0;
7177
- --pf-t--global--high-contrast--border--width--action--default: 0;
7178
- --pf-t--global--high-contrast--border--width--action--hover: 0;
7179
- --pf-t--global--high-contrast--border--width--box--clicked: 0;
7180
- --pf-t--global--high-contrast--border--width--box--default: 0;
7181
- --pf-t--global--high-contrast--border--width--box--hover: 0;
7182
- --pf-t--global--high-contrast--border--width--box--status--default: 0;
7183
- --pf-t--global--high-contrast--border--width--box--status--read: 0;
7184
- --pf-t--global--high-contrast--border--width--control--clicked: 0;
7185
- --pf-t--global--high-contrast--border--width--control--default: 0;
7186
- --pf-t--global--high-contrast--border--width--control--hover: 0;
7187
- --pf-t--global--high-contrast--border--width--divider--clicked: 0;
7188
- --pf-t--global--high-contrast--border--width--divider--default: 0;
7189
- --pf-t--global--high-contrast--border--width--divider--hover: 0;
7190
- --pf-t--global--high-contrast--border--width--extra-strong: 0;
7191
- --pf-t--global--high-contrast--border--width--regular: 0;
7192
- --pf-t--global--high-contrast--border--width--strong: 0;
7193
- }
7194
- :root:where(.pf-v6-theme-high-contrast) {
7195
- --pf-t--global--high-contrast--border--width--action--clicked: var(--pf-t--global--border--width--action--clicked);
7196
- --pf-t--global--high-contrast--border--width--action--default: var(--pf-t--global--border--width--action--default);
7197
- --pf-t--global--high-contrast--border--width--action--hover: var(--pf-t--global--border--width--action--hover);
7198
- --pf-t--global--high-contrast--border--width--box--clicked: var(--pf-t--global--border--width--box--clicked);
7199
- --pf-t--global--high-contrast--border--width--box--default: var(--pf-t--global--border--width--box--default);
7200
- --pf-t--global--high-contrast--border--width--box--hover: var(--pf-t--global--border--width--box--hover);
7201
- --pf-t--global--high-contrast--border--width--box--status--default: var(--pf-t--global--border--width--box--status--default);
7202
- --pf-t--global--high-contrast--border--width--box--status--read: var(--pf-t--global--border--width--box--status--read);
7203
- --pf-t--global--high-contrast--border--width--control--clicked: var(--pf-t--global--border--width--control--clicked);
7204
- --pf-t--global--high-contrast--border--width--control--default: var(--pf-t--global--border--width--control--default);
7205
- --pf-t--global--high-contrast--border--width--control--hover: var(--pf-t--global--border--width--control--hover);
7206
- --pf-t--global--high-contrast--border--width--divider--clicked: var(--pf-t--global--border--width--divider--clicked);
7207
- --pf-t--global--high-contrast--border--width--divider--default: var(--pf-t--global--border--width--divider--default);
7208
- --pf-t--global--high-contrast--border--width--divider--hover: var(--pf-t--global--border--width--divider--hover);
7209
- --pf-t--global--high-contrast--border--width--extra-strong: var(--pf-t--global--border--width--extra-strong);
7210
- --pf-t--global--high-contrast--border--width--regular: var(--pf-t--global--border--width--regular);
7211
- --pf-t--global--high-contrast--border--width--strong: var(--pf-t--global--border--width--strong);
7212
7176
  }
7213
7177
 
7214
7178
  :root:where(.pf-v6-theme-dark) {
@@ -7313,42 +7313,6 @@ button) {
7313
7313
  var(--pf-t--global--box-shadow--color--lg--directional);
7314
7314
  --pf-t--global--list-style: disc outside;
7315
7315
  --pf-t--temp--dev--tbd: #BC11E0;
7316
- --pf-t--global--high-contrast--border--width--action--clicked: 0;
7317
- --pf-t--global--high-contrast--border--width--action--default: 0;
7318
- --pf-t--global--high-contrast--border--width--action--hover: 0;
7319
- --pf-t--global--high-contrast--border--width--box--clicked: 0;
7320
- --pf-t--global--high-contrast--border--width--box--default: 0;
7321
- --pf-t--global--high-contrast--border--width--box--hover: 0;
7322
- --pf-t--global--high-contrast--border--width--box--status--default: 0;
7323
- --pf-t--global--high-contrast--border--width--box--status--read: 0;
7324
- --pf-t--global--high-contrast--border--width--control--clicked: 0;
7325
- --pf-t--global--high-contrast--border--width--control--default: 0;
7326
- --pf-t--global--high-contrast--border--width--control--hover: 0;
7327
- --pf-t--global--high-contrast--border--width--divider--clicked: 0;
7328
- --pf-t--global--high-contrast--border--width--divider--default: 0;
7329
- --pf-t--global--high-contrast--border--width--divider--hover: 0;
7330
- --pf-t--global--high-contrast--border--width--extra-strong: 0;
7331
- --pf-t--global--high-contrast--border--width--regular: 0;
7332
- --pf-t--global--high-contrast--border--width--strong: 0;
7333
- }
7334
- :root:where(.pf-v6-theme-high-contrast) {
7335
- --pf-t--global--high-contrast--border--width--action--clicked: var(--pf-t--global--border--width--action--clicked);
7336
- --pf-t--global--high-contrast--border--width--action--default: var(--pf-t--global--border--width--action--default);
7337
- --pf-t--global--high-contrast--border--width--action--hover: var(--pf-t--global--border--width--action--hover);
7338
- --pf-t--global--high-contrast--border--width--box--clicked: var(--pf-t--global--border--width--box--clicked);
7339
- --pf-t--global--high-contrast--border--width--box--default: var(--pf-t--global--border--width--box--default);
7340
- --pf-t--global--high-contrast--border--width--box--hover: var(--pf-t--global--border--width--box--hover);
7341
- --pf-t--global--high-contrast--border--width--box--status--default: var(--pf-t--global--border--width--box--status--default);
7342
- --pf-t--global--high-contrast--border--width--box--status--read: var(--pf-t--global--border--width--box--status--read);
7343
- --pf-t--global--high-contrast--border--width--control--clicked: var(--pf-t--global--border--width--control--clicked);
7344
- --pf-t--global--high-contrast--border--width--control--default: var(--pf-t--global--border--width--control--default);
7345
- --pf-t--global--high-contrast--border--width--control--hover: var(--pf-t--global--border--width--control--hover);
7346
- --pf-t--global--high-contrast--border--width--divider--clicked: var(--pf-t--global--border--width--divider--clicked);
7347
- --pf-t--global--high-contrast--border--width--divider--default: var(--pf-t--global--border--width--divider--default);
7348
- --pf-t--global--high-contrast--border--width--divider--hover: var(--pf-t--global--border--width--divider--hover);
7349
- --pf-t--global--high-contrast--border--width--extra-strong: var(--pf-t--global--border--width--extra-strong);
7350
- --pf-t--global--high-contrast--border--width--regular: var(--pf-t--global--border--width--regular);
7351
- --pf-t--global--high-contrast--border--width--strong: var(--pf-t--global--border--width--strong);
7352
7316
  }
7353
7317
 
7354
7318
  :root:where(.pf-v6-theme-dark) {