@patternfly/patternfly 6.0.0-alpha.34 → 6.0.0-alpha.38
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/CODE_OF_CONDUCT.md +1 -2
- package/assets/images/PF-HorizontalLogo-Color.svg +29 -0
- package/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
- package/assets/images/PF-IconLogo-color.svg +17 -0
- package/components/Backdrop/backdrop.css +6 -2
- package/components/Backdrop/backdrop.scss +5 -2
- package/components/Banner/banner.css +4 -0
- package/components/Banner/banner.scss +5 -0
- package/components/Card/card.css +3 -0
- package/components/Card/card.scss +8 -0
- package/components/Form/form.css +6 -0
- package/components/Form/form.scss +4 -1
- package/components/MenuToggle/menu-toggle.css +1 -0
- package/components/MenuToggle/menu-toggle.scss +2 -0
- package/components/Popover/popover.css +0 -2
- package/components/Popover/popover.scss +2 -2
- package/components/SimpleList/simple-list.css +35 -52
- package/components/SimpleList/simple-list.scss +41 -51
- package/components/Table/table.scss +1 -0
- package/components/Tooltip/tooltip.css +0 -2
- package/components/Tooltip/tooltip.scss +3 -3
- package/components/Truncate/truncate.css +4 -0
- package/components/Truncate/truncate.scss +3 -0
- package/docs/components/Accordion/examples/Accordion.md +6 -6
- package/docs/components/Alert/examples/Alert.md +2 -2
- package/docs/components/Brand/examples/Brand.md +9 -33
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
- package/docs/components/Card/examples/Card.md +18 -20
- package/docs/components/Check/examples/Check.md +1 -0
- package/docs/components/Content/examples/Content.md +5 -5
- package/docs/components/InlineEdit/examples/InlineEdit.md +3 -1
- package/docs/components/Label/examples/Label.md +11 -11
- package/docs/components/Nav/examples/Navigation.css +18 -2
- package/docs/components/Nav/examples/Navigation.md +1 -1
- package/docs/components/Radio/examples/Radio.md +1 -1
- package/docs/components/SimpleList/examples/SimpleList.md +3 -3
- package/docs/components/Table/examples/Table.md +8 -8
- package/docs/components/Truncate/examples/Truncate.css +2 -2
- package/docs/layouts/Flex/examples/Flex.md +11 -11
- package/package.json +32 -32
- package/patternfly-no-globals.css +59 -62
- package/patternfly-theme-dark-unversioned.css +59 -62
- package/patternfly.css +59 -62
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/components/SimpleList/themes/dark/simple-list.scss +0 -14
|
@@ -677,8 +677,8 @@ When toast alerts include a link or action, these elements are not announced as
|
|
|
677
677
|
|
|
678
678
|
For sighted users, interactive elements can be included in this message in one of the following ways:
|
|
679
679
|
|
|
680
|
-
*
|
|
681
|
-
*
|
|
680
|
+
* Using a link to the Builds page: "The build is complete. Go to the [Builds](#) page to download" using `<a href="#">Builds</a>`
|
|
681
|
+
* Using a button to download: "The build is complete. Go to the Builds page to <button class="pf-v5-c-button pf-m-link pf-m-inline" type="button">download</button>" using `<button class="pf-v5-c-button pf-m-link pf-m-inline type="button">download</button>`
|
|
682
682
|
|
|
683
683
|
```html isFullscreen
|
|
684
684
|
<ul class="pf-v5-c-alert-group pf-m-toast" role="list">
|
|
@@ -11,7 +11,7 @@ section: components
|
|
|
11
11
|
<div class="show-light">
|
|
12
12
|
<img
|
|
13
13
|
class="pf-v5-c-brand"
|
|
14
|
-
src="/assets/images/
|
|
14
|
+
src="/assets/images/PF-HorizontalLogo-Color.svg"
|
|
15
15
|
alt="PatternFly logo"
|
|
16
16
|
/>
|
|
17
17
|
</div>
|
|
@@ -19,7 +19,7 @@ section: components
|
|
|
19
19
|
<div class="show-dark">
|
|
20
20
|
<img
|
|
21
21
|
class="pf-v5-c-brand"
|
|
22
|
-
src="/assets/images/
|
|
22
|
+
src="/assets/images/PF-HorizontalLogo-Reverse.svg"
|
|
23
23
|
alt="PatternFly logo"
|
|
24
24
|
/>
|
|
25
25
|
</div>
|
|
@@ -32,25 +32,13 @@ section: components
|
|
|
32
32
|
<div class="show-light">
|
|
33
33
|
<picture
|
|
34
34
|
class="pf-v5-c-brand pf-m-picture"
|
|
35
|
-
style="--pf-v5-c-brand--Width: 40px; --pf-v5-c-brand--Width-on-
|
|
35
|
+
style="--pf-v5-c-brand--Width: 40px; --pf-v5-c-brand--Width-on-md: 220px;"
|
|
36
36
|
>
|
|
37
|
-
<source
|
|
38
|
-
media="(min-width: 1200px)"
|
|
39
|
-
srcset="/assets/images/pf-c-brand__logo-on-xl.svg"
|
|
40
|
-
/>
|
|
41
|
-
<source
|
|
42
|
-
media="(min-width: 992px)"
|
|
43
|
-
srcset="/assets/images/pf-c-brand__logo-on-lg.svg"
|
|
44
|
-
/>
|
|
45
37
|
<source
|
|
46
38
|
media="(min-width: 768px)"
|
|
47
|
-
srcset="/assets/images/
|
|
39
|
+
srcset="/assets/images/PF-HorizontalLogo-Color.svg"
|
|
48
40
|
/>
|
|
49
|
-
<source
|
|
50
|
-
media="(min-width: 576px)"
|
|
51
|
-
srcset="/assets/images/pf-c-brand__logo-on-sm.svg"
|
|
52
|
-
/>
|
|
53
|
-
<source srcset="/assets/images/pf-c-brand__logo.svg" />
|
|
41
|
+
<source srcset="/assets/images/PF-IconLogo-color.svg" />
|
|
54
42
|
<img
|
|
55
43
|
src="/assets/images/pf_logo.svg"
|
|
56
44
|
alt="Fallback patternFly default logo"
|
|
@@ -61,27 +49,15 @@ section: components
|
|
|
61
49
|
<div class="show-dark">
|
|
62
50
|
<picture
|
|
63
51
|
class="pf-v5-c-brand pf-m-picture"
|
|
64
|
-
style="--pf-v5-c-brand--Width: 40px; --pf-v5-c-brand--Width-on-
|
|
52
|
+
style="--pf-v5-c-brand--Width: 40px; --pf-v5-c-brand--Width-on-md: 220px;"
|
|
65
53
|
>
|
|
66
|
-
<source
|
|
67
|
-
media="(min-width: 1200px)"
|
|
68
|
-
srcset="/assets/images/pf-c-brand__logo-on-xl-white.svg"
|
|
69
|
-
/>
|
|
70
|
-
<source
|
|
71
|
-
media="(min-width: 992px)"
|
|
72
|
-
srcset="/assets/images/pf-c-brand__logo-on-lg-white.svg"
|
|
73
|
-
/>
|
|
74
54
|
<source
|
|
75
55
|
media="(min-width: 768px)"
|
|
76
|
-
srcset="/assets/images/
|
|
56
|
+
srcset="/assets/images/PF-HorizontalLogo-Reverse.svg"
|
|
77
57
|
/>
|
|
78
|
-
<source
|
|
79
|
-
media="(min-width: 576px)"
|
|
80
|
-
srcset="/assets/images/pf-c-brand__logo-on-sm-white.svg"
|
|
81
|
-
/>
|
|
82
|
-
<source srcset="/assets/images/pf-c-brand__logo-white.svg" />
|
|
58
|
+
<source srcset="/assets/images/PF-IconLogo-Reverse.svg" />
|
|
83
59
|
<img
|
|
84
|
-
src="/assets/images/pf_logo
|
|
60
|
+
src="/assets/images/pf_logo.svg"
|
|
85
61
|
alt="Fallback patternFly default logo"
|
|
86
62
|
/>
|
|
87
63
|
</picture>
|
|
@@ -281,7 +281,7 @@ cssPrefix: pf-v5-c-breadcrumb
|
|
|
281
281
|
|
|
282
282
|
A breadcrumb is a list of links to display a user's navigational hierarchy. The last item of the breadcrumb list indicates the current page's location.
|
|
283
283
|
|
|
284
|
-
*
|
|
284
|
+
* `.pf-v5-c-breadcrumb__list` is the default breadcrumb navigation. It provides links to previous navigation pages and also shows the current page's location.
|
|
285
285
|
|
|
286
286
|
In the event that a page does not have a traditional `<h1>` page title, a heading can be included in the breadcrumbs and an optional link within.
|
|
287
287
|
|
|
@@ -139,6 +139,7 @@ cssPrefix: pf-v5-c-card
|
|
|
139
139
|
<input
|
|
140
140
|
class="pf-v5-c-check__input"
|
|
141
141
|
type="checkbox"
|
|
142
|
+
aria-label="Standalone check"
|
|
142
143
|
id="card-action-example-1-check"
|
|
143
144
|
name="card-action-example-1-check"
|
|
144
145
|
aria-labelledby="card-action-example-1"
|
|
@@ -221,6 +222,7 @@ cssPrefix: pf-v5-c-card
|
|
|
221
222
|
<input
|
|
222
223
|
class="pf-v5-c-check__input"
|
|
223
224
|
type="checkbox"
|
|
225
|
+
aria-label="Standalone check"
|
|
224
226
|
id="card-action-example-2-check"
|
|
225
227
|
name="card-action-example-2-check"
|
|
226
228
|
aria-labelledby="card-action-example-2"
|
|
@@ -305,6 +307,7 @@ cssPrefix: pf-v5-c-card
|
|
|
305
307
|
<input
|
|
306
308
|
class="pf-v5-c-check__input"
|
|
307
309
|
type="checkbox"
|
|
310
|
+
aria-label="Standalone check"
|
|
308
311
|
id="card-action-example-3-check"
|
|
309
312
|
name="card-action-example-3-check"
|
|
310
313
|
aria-labelledby="card-action-example-3"
|
|
@@ -508,7 +511,7 @@ cssPrefix: pf-v5-c-card
|
|
|
508
511
|
<div class="pf-v5-c-card__header">
|
|
509
512
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
510
513
|
<div class="pf-v5-c-card__selectable-actions">
|
|
511
|
-
<div class="pf-v5-c-check
|
|
514
|
+
<div class="pf-v5-c-check">
|
|
512
515
|
<input
|
|
513
516
|
class="pf-v5-c-check__input"
|
|
514
517
|
type="checkbox"
|
|
@@ -516,7 +519,6 @@ cssPrefix: pf-v5-c-card
|
|
|
516
519
|
name="card-selectable-example-check"
|
|
517
520
|
aria-labelledby="card-selectable-example"
|
|
518
521
|
/>
|
|
519
|
-
|
|
520
522
|
<label
|
|
521
523
|
class="pf-v5-c-check__label"
|
|
522
524
|
for="card-selectable-example-check"
|
|
@@ -543,7 +545,7 @@ cssPrefix: pf-v5-c-card
|
|
|
543
545
|
<div class="pf-v5-c-card__header">
|
|
544
546
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
545
547
|
<div class="pf-v5-c-card__selectable-actions">
|
|
546
|
-
<div class="pf-v5-c-check
|
|
548
|
+
<div class="pf-v5-c-check">
|
|
547
549
|
<input
|
|
548
550
|
class="pf-v5-c-check__input"
|
|
549
551
|
type="checkbox"
|
|
@@ -552,7 +554,6 @@ cssPrefix: pf-v5-c-card
|
|
|
552
554
|
name="card-selectable-example-disabled-check"
|
|
553
555
|
aria-labelledby="card-selectable-example-disabled"
|
|
554
556
|
/>
|
|
555
|
-
|
|
556
557
|
<label
|
|
557
558
|
class="pf-v5-c-check__label pf-m-disabled"
|
|
558
559
|
for="card-selectable-example-disabled-check"
|
|
@@ -582,7 +583,7 @@ cssPrefix: pf-v5-c-card
|
|
|
582
583
|
<div class="pf-v5-c-card__header">
|
|
583
584
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
584
585
|
<div class="pf-v5-c-card__selectable-actions">
|
|
585
|
-
<div class="pf-v5-c-check
|
|
586
|
+
<div class="pf-v5-c-check">
|
|
586
587
|
<input
|
|
587
588
|
class="pf-v5-c-check__input"
|
|
588
589
|
type="checkbox"
|
|
@@ -592,7 +593,6 @@ cssPrefix: pf-v5-c-card
|
|
|
592
593
|
name="card-selectable-example-selected-disabled-check"
|
|
593
594
|
aria-labelledby="card-selectable-example-selected-disabled"
|
|
594
595
|
/>
|
|
595
|
-
|
|
596
596
|
<label
|
|
597
597
|
class="pf-v5-c-check__label pf-m-disabled"
|
|
598
598
|
for="card-selectable-example-selected-disabled-check"
|
|
@@ -626,7 +626,7 @@ cssPrefix: pf-v5-c-card
|
|
|
626
626
|
<div class="pf-v5-c-card__header">
|
|
627
627
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
628
628
|
<div class="pf-v5-c-card__selectable-actions">
|
|
629
|
-
<div class="pf-v5-c-radio
|
|
629
|
+
<div class="pf-v5-c-radio">
|
|
630
630
|
<input
|
|
631
631
|
class="pf-v5-c-radio__input"
|
|
632
632
|
type="radio"
|
|
@@ -634,7 +634,6 @@ cssPrefix: pf-v5-c-card
|
|
|
634
634
|
name="card-single-selectable-example-radio"
|
|
635
635
|
aria-labelledby="card-single-selectable-example"
|
|
636
636
|
/>
|
|
637
|
-
|
|
638
637
|
<label
|
|
639
638
|
class="pf-v5-c-radio__label"
|
|
640
639
|
for="card-single-selectable-example-radio"
|
|
@@ -664,7 +663,7 @@ cssPrefix: pf-v5-c-card
|
|
|
664
663
|
<div class="pf-v5-c-card__header">
|
|
665
664
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
666
665
|
<div class="pf-v5-c-card__selectable-actions">
|
|
667
|
-
<div class="pf-v5-c-radio
|
|
666
|
+
<div class="pf-v5-c-radio">
|
|
668
667
|
<input
|
|
669
668
|
class="pf-v5-c-radio__input"
|
|
670
669
|
type="radio"
|
|
@@ -673,7 +672,6 @@ cssPrefix: pf-v5-c-card
|
|
|
673
672
|
aria-labelledby="card-single-selectable-example-disabled"
|
|
674
673
|
disabled
|
|
675
674
|
/>
|
|
676
|
-
|
|
677
675
|
<label
|
|
678
676
|
class="pf-v5-c-radio__label pf-m-disabled"
|
|
679
677
|
for="card-single-selectable-example-disabled-radio"
|
|
@@ -703,7 +701,7 @@ cssPrefix: pf-v5-c-card
|
|
|
703
701
|
<div class="pf-v5-c-card__header">
|
|
704
702
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
705
703
|
<div class="pf-v5-c-card__selectable-actions">
|
|
706
|
-
<div class="pf-v5-c-radio
|
|
704
|
+
<div class="pf-v5-c-radio">
|
|
707
705
|
<input
|
|
708
706
|
class="pf-v5-c-radio__input"
|
|
709
707
|
type="radio"
|
|
@@ -713,7 +711,6 @@ cssPrefix: pf-v5-c-card
|
|
|
713
711
|
disabled
|
|
714
712
|
checked
|
|
715
713
|
/>
|
|
716
|
-
|
|
717
714
|
<label
|
|
718
715
|
class="pf-v5-c-radio__label pf-m-disabled"
|
|
719
716
|
for="card-single-selectable-example-selected-disabled-radio"
|
|
@@ -867,7 +864,7 @@ cssPrefix: pf-v5-c-card
|
|
|
867
864
|
<div class="pf-v5-c-card__header">
|
|
868
865
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
869
866
|
<div class="pf-v5-c-card__selectable-actions">
|
|
870
|
-
<div class="pf-v5-c-check
|
|
867
|
+
<div class="pf-v5-c-check">
|
|
871
868
|
<input
|
|
872
869
|
class="pf-v5-c-check__input"
|
|
873
870
|
type="checkbox"
|
|
@@ -875,7 +872,6 @@ cssPrefix: pf-v5-c-card
|
|
|
875
872
|
name="card-clickable-selectable-example-check"
|
|
876
873
|
aria-labelledby="card-clickable-selectable-example"
|
|
877
874
|
/>
|
|
878
|
-
|
|
879
875
|
<label
|
|
880
876
|
class="pf-v5-c-check__label"
|
|
881
877
|
for="card-clickable-selectable-example-check"
|
|
@@ -908,7 +904,7 @@ cssPrefix: pf-v5-c-card
|
|
|
908
904
|
<div class="pf-v5-c-card__header">
|
|
909
905
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
910
906
|
<div class="pf-v5-c-card__selectable-actions">
|
|
911
|
-
<div class="pf-v5-c-check
|
|
907
|
+
<div class="pf-v5-c-check">
|
|
912
908
|
<input
|
|
913
909
|
class="pf-v5-c-check__input"
|
|
914
910
|
type="checkbox"
|
|
@@ -916,7 +912,6 @@ cssPrefix: pf-v5-c-card
|
|
|
916
912
|
name="card-clickable-selectable-current-example-check"
|
|
917
913
|
aria-labelledby="card-clickable-selectable-current-example"
|
|
918
914
|
/>
|
|
919
|
-
|
|
920
915
|
<label
|
|
921
916
|
class="pf-v5-c-check__label"
|
|
922
917
|
for="card-clickable-selectable-current-example-check"
|
|
@@ -949,7 +944,7 @@ cssPrefix: pf-v5-c-card
|
|
|
949
944
|
<div class="pf-v5-c-card__header">
|
|
950
945
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
951
946
|
<div class="pf-v5-c-card__selectable-actions">
|
|
952
|
-
<div class="pf-v5-c-check
|
|
947
|
+
<div class="pf-v5-c-check">
|
|
953
948
|
<input
|
|
954
949
|
class="pf-v5-c-check__input"
|
|
955
950
|
type="checkbox"
|
|
@@ -958,7 +953,6 @@ cssPrefix: pf-v5-c-card
|
|
|
958
953
|
name="card-clickable-selectable-example-disabled-check"
|
|
959
954
|
aria-labelledby="card-clickable-selectable-example-disabled"
|
|
960
955
|
/>
|
|
961
|
-
|
|
962
956
|
<label
|
|
963
957
|
class="pf-v5-c-check__label pf-m-disabled"
|
|
964
958
|
for="card-clickable-selectable-example-disabled-check"
|
|
@@ -992,7 +986,7 @@ cssPrefix: pf-v5-c-card
|
|
|
992
986
|
<div class="pf-v5-c-card__header">
|
|
993
987
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
994
988
|
<div class="pf-v5-c-card__selectable-actions">
|
|
995
|
-
<div class="pf-v5-c-check
|
|
989
|
+
<div class="pf-v5-c-check">
|
|
996
990
|
<input
|
|
997
991
|
class="pf-v5-c-check__input"
|
|
998
992
|
type="checkbox"
|
|
@@ -1002,7 +996,6 @@ cssPrefix: pf-v5-c-card
|
|
|
1002
996
|
name="card-clickable-selectable-example-selected-disabled-check"
|
|
1003
997
|
aria-labelledby="card-clickable-selectable-example-selected-disabled"
|
|
1004
998
|
/>
|
|
1005
|
-
|
|
1006
999
|
<label
|
|
1007
1000
|
class="pf-v5-c-check__label pf-m-disabled"
|
|
1008
1001
|
for="card-clickable-selectable-example-selected-disabled-check"
|
|
@@ -1233,6 +1226,7 @@ cssPrefix: pf-v5-c-card
|
|
|
1233
1226
|
<input
|
|
1234
1227
|
class="pf-v5-c-check__input"
|
|
1235
1228
|
type="checkbox"
|
|
1229
|
+
aria-label="Standalone check"
|
|
1236
1230
|
id="card-expandable-example-check"
|
|
1237
1231
|
name="card-expandable-example-check"
|
|
1238
1232
|
aria-labelledby="card-expandable-example"
|
|
@@ -1335,6 +1329,7 @@ cssPrefix: pf-v5-c-card
|
|
|
1335
1329
|
<input
|
|
1336
1330
|
class="pf-v5-c-check__input"
|
|
1337
1331
|
type="checkbox"
|
|
1332
|
+
aria-label="Standalone check"
|
|
1338
1333
|
id="card-expandable-image-example-check"
|
|
1339
1334
|
name="card-expandable-image-example-check"
|
|
1340
1335
|
aria-labelledby="card-expandable-image-example"
|
|
@@ -1422,6 +1417,7 @@ cssPrefix: pf-v5-c-card
|
|
|
1422
1417
|
<input
|
|
1423
1418
|
class="pf-v5-c-check__input"
|
|
1424
1419
|
type="checkbox"
|
|
1420
|
+
aria-label="Standalone check"
|
|
1425
1421
|
id="card-expanded-example-check"
|
|
1426
1422
|
name="card-expanded-example-check"
|
|
1427
1423
|
aria-labelledby="card-expanded-example"
|
|
@@ -1506,6 +1502,7 @@ cssPrefix: pf-v5-c-card
|
|
|
1506
1502
|
<input
|
|
1507
1503
|
class="pf-v5-c-check__input"
|
|
1508
1504
|
type="checkbox"
|
|
1505
|
+
aria-label="Standalone check"
|
|
1509
1506
|
id="card-full-height-example-check"
|
|
1510
1507
|
name="card-full-height-example-check"
|
|
1511
1508
|
aria-labelledby="card-full-height-example"
|
|
@@ -1590,6 +1587,7 @@ cssPrefix: pf-v5-c-card
|
|
|
1590
1587
|
<input
|
|
1591
1588
|
class="pf-v5-c-check__input"
|
|
1592
1589
|
type="checkbox"
|
|
1590
|
+
aria-label="Standalone check"
|
|
1593
1591
|
id="card-toggle-on-right-example-check"
|
|
1594
1592
|
name="card-toggle-on-right-example-check"
|
|
1595
1593
|
aria-labelledby="card-toggle-on-right-example"
|
|
@@ -163,11 +163,11 @@ cssPrefix: pf-v5-c-content
|
|
|
163
163
|
|
|
164
164
|
When you can't use the CSS classes you want, or when you just want to directly use HTML tags, use `pf-v5-c-content` as container. It can handle almost any HTML tag:
|
|
165
165
|
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
166
|
+
* `<p>` paragraphs
|
|
167
|
+
* `<ul>` `<ol>` `<dl>` lists
|
|
168
|
+
* `<h1>` to `<h6>` headings
|
|
169
|
+
* `<blockquote>` quotes
|
|
170
|
+
* `<em>` and `<strong>`
|
|
171
171
|
|
|
172
172
|
This `pf-v5-c-content` class can be used in any context where you just want to (or can only) write some text.
|
|
173
173
|
|
|
@@ -930,4 +930,6 @@ All accessibility requirements for inputs apply to elements within inline edit.
|
|
|
930
930
|
| `.pf-m-valid` | `.pf-v5-c-inline-edit__action` | Modifies the action button state. |
|
|
931
931
|
| `.pf-m-enable-editable` | `.pf-v5-c-inline-edit__action` | Exposes an inline edit action by default. |
|
|
932
932
|
|
|
933
|
-
|
|
933
|
+
```
|
|
934
|
+
-->
|
|
935
|
+
```
|
|
@@ -1949,16 +1949,16 @@ This style of label is used to indicate overflow within a label group.
|
|
|
1949
1949
|
|
|
1950
1950
|
**Note: Editable label behavior must be handled with JavaScript.**
|
|
1951
1951
|
|
|
1952
|
-
*
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
*
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
*
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1952
|
+
* `.pf-v5-c-label__editable-text` onClick event should:
|
|
1953
|
+
* Set `.pf-m-editable-active` on `.pf-v5-c-label`
|
|
1954
|
+
* Change `.pf-v5-c-label__editable-text`from a button to an input
|
|
1955
|
+
* Return keypress, when content is editable, should:
|
|
1956
|
+
* Be captured to prevent line wrapping and save updates to label text
|
|
1957
|
+
* Remove `.pf-m-editable-active` from `.pf-v5-c-label`
|
|
1958
|
+
* Esc keypress, when content is editable, should:
|
|
1959
|
+
* Undo any update to label text
|
|
1960
|
+
* Remove `.pf-m-editable-active` from `.pf-v5-c-label`
|
|
1961
|
+
* Change `.pf-v5-c-label__editable-text` back to a button
|
|
1962
1962
|
|
|
1963
1963
|
```html isBeta
|
|
1964
1964
|
<span class="pf-v5-c-label pf-m-editable pf-m-blue">
|
|
@@ -2692,7 +2692,7 @@ The contents of a label group can be modified by removing labels or adding new o
|
|
|
2692
2692
|
|
|
2693
2693
|
In addition to the JavaScript management of [editable labels](/components/label#editable), dynamic label groups also need:
|
|
2694
2694
|
|
|
2695
|
-
*
|
|
2695
|
+
* `.pf-v5-c-label-group.pf-m-editable` onClick event should (excluding labels within) set focus on `.pf-v5-c-label-group__textarea`
|
|
2696
2696
|
|
|
2697
2697
|
### Editable labels, dynamic label group
|
|
2698
2698
|
|
|
@@ -1,6 +1,22 @@
|
|
|
1
|
-
|
|
1
|
+
#ws-core-c-navigation-default,
|
|
2
|
+
#ws-core-c-navigation-basic,
|
|
3
|
+
#ws-core-c-navigation-grouped,
|
|
4
|
+
#ws-core-c-navigation-grouped-nav,
|
|
5
|
+
#ws-core-c-navigation-grouped-nav-no-titles,
|
|
6
|
+
#ws-core-c-navigation-expanded,
|
|
7
|
+
#ws-core-c-navigation-expanded-with-subnav-titles,
|
|
8
|
+
#ws-core-c-navigation-mixed,
|
|
9
|
+
#ws-core-c-navigation-horizontal,
|
|
10
|
+
#ws-core-c-navigation-horizontal-overflow,
|
|
11
|
+
#ws-core-c-navigation-horizontal-subnav,
|
|
12
|
+
#ws-core-c-navigation-horizontal-subnav-overflow,
|
|
13
|
+
#ws-core-c-navigation-drilldown,
|
|
14
|
+
#ws-core-c-navigation-nav-with-drilldown-menu .pf-v5-c-nav,
|
|
15
|
+
#ws-core-c-navigation-level-2-drilldown,
|
|
16
|
+
#ws-core-c-navigation-level-3-drilldown,
|
|
17
|
+
#ws-core-c-navigation-nav-with-flyout .pf-v5-c-nav,
|
|
18
|
+
#ws-core-c-navigation-grouped-nav-no-titles-no-margin-top {
|
|
2
19
|
padding: 0;
|
|
3
|
-
background-color: var(--pf-v5-global--BackgroundColor--dark-300);
|
|
4
20
|
}
|
|
5
21
|
|
|
6
22
|
#ws-core-c-navigation-horizontal-in-masthead,
|
|
@@ -2614,7 +2614,7 @@ When using anything other than a text node for the link text, wrap the link text
|
|
|
2614
2614
|
|
|
2615
2615
|
The navigation system relies on several different sub-components:
|
|
2616
2616
|
|
|
2617
|
-
*
|
|
2617
|
+
* `.pf-v5-c-nav__list` - default navigation list. It is the basis for both default and expandable, vertical navigation.
|
|
2618
2618
|
|
|
2619
2619
|
### Accessibility
|
|
2620
2620
|
|
|
@@ -33,21 +33,21 @@ cssPrefix: pf-v5-c-simple-list
|
|
|
33
33
|
<ul class="pf-v5-c-simple-list__list" role="list">
|
|
34
34
|
<li class="pf-v5-c-simple-list__item">
|
|
35
35
|
<a
|
|
36
|
-
class="pf-v5-c-simple-list__item-link pf-m-current"
|
|
36
|
+
class="pf-v5-c-simple-list__item-link pf-m-link pf-m-current"
|
|
37
37
|
href="#"
|
|
38
38
|
tabindex="0"
|
|
39
39
|
>List item 1</a>
|
|
40
40
|
</li>
|
|
41
41
|
<li class="pf-v5-c-simple-list__item">
|
|
42
42
|
<a
|
|
43
|
-
class="pf-v5-c-simple-list__item-link"
|
|
43
|
+
class="pf-v5-c-simple-list__item-link pf-m-link"
|
|
44
44
|
href="#"
|
|
45
45
|
tabindex="0"
|
|
46
46
|
>List item 2</a>
|
|
47
47
|
</li>
|
|
48
48
|
<li class="pf-v5-c-simple-list__item">
|
|
49
49
|
<a
|
|
50
|
-
class="pf-v5-c-simple-list__item-link"
|
|
50
|
+
class="pf-v5-c-simple-list__item-link pf-m-link"
|
|
51
51
|
href="#"
|
|
52
52
|
tabindex="0"
|
|
53
53
|
>List item 3</a>
|
|
@@ -24703,9 +24703,9 @@ Add a [width modifier](#width-modifiers) to `thead th` to limit string length or
|
|
|
24703
24703
|
|
|
24704
24704
|
There are a few ways this can be handled:
|
|
24705
24705
|
|
|
24706
|
-
*
|
|
24707
|
-
*
|
|
24708
|
-
*
|
|
24706
|
+
* Manipulate the `z-index` of the menu and/or table headers/columns manually.
|
|
24707
|
+
* Use the `menuAppendTo` prop in non-composable react components with menus to append the menu to an element outside of the table (e.g., the `<body>` element) so that the menu has a higher stacking context than - and can appear on top of - sticky headers/columns as well as appear outside of any scrollable content in the table.
|
|
24708
|
+
* In the case where the menu is outside of the table (e.g., above the table in a toolbar, or below the table and the menu expands up), assign the entire table a lower `z-index` than the `z-index` of the menu. This creates a lower stacking context for the entire table compared to the menu, while preserving the stacking context of the elements inside of the table.
|
|
24709
24709
|
|
|
24710
24710
|
### Sticky header
|
|
24711
24711
|
|
|
@@ -30824,8 +30824,8 @@ By default, all table header cells are set to `white-space: nowrap`. If a `<th>`
|
|
|
30824
30824
|
|
|
30825
30825
|
### Implementation support
|
|
30826
30826
|
|
|
30827
|
-
*
|
|
30828
|
-
*
|
|
30829
|
-
*
|
|
30830
|
-
*
|
|
30831
|
-
*
|
|
30827
|
+
* One expandable toggle button, positioned in the first cell of a non-expandable row, preceding an expandable row.
|
|
30828
|
+
* One checkbox or radio input, positioned in the first or second cell of a non-expandable row.
|
|
30829
|
+
* One action button, positioned in the last cell of a non-expandable row.
|
|
30830
|
+
* Tabular data.
|
|
30831
|
+
* Compact presentation modifier (not compatible with expandable table).
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
overflow: auto;
|
|
5
5
|
min-width: 161px;
|
|
6
6
|
max-width: 100%;
|
|
7
|
-
padding: var(--pf-
|
|
8
|
-
border: var(--pf-
|
|
7
|
+
padding: var(--pf-t--global--spacer--sm);
|
|
8
|
+
border: var(--pf-t--global--border--width--box--default) solid var(--pf-t--global--border--color--default);
|
|
9
9
|
}
|
|
@@ -12,11 +12,11 @@ The flex layout is based on the CSS Flex properties where the layout determines
|
|
|
12
12
|
|
|
13
13
|
The flex layout provides two ways of spacing its direct children.
|
|
14
14
|
|
|
15
|
-
*
|
|
16
|
-
|
|
17
|
-
*
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
* [Spacing system](#spacing-system)
|
|
16
|
+
* The spacing system applies a margin between the flex layout's direct children to create space between items along the main axis only. The benefit of the spacing system is that it allows for variable spacing between direct children. Use the spacing system when individual flex items along the main axis require a different spacer than sibling items.
|
|
17
|
+
* [Gap spacing](#gap-spacing)
|
|
18
|
+
* Gap spacing uses flex `gap` to space the flex layout's direct children, and can be applied to space rows (`row-gap`), columns (`column-gap`), or both (`gap`). The benefit of gap spacing is that item wrapping is improved and improved item spacing that works better with CSS flex's logical layout properties. E.g., spacing in RTL layouts that rely on logical properties is improved. Use the gap system when all direct children should use the same spacer for rows, columns, or both.
|
|
19
|
+
* **Note** using `gap` along the main axis will override any other spacing applied using the spacing system.
|
|
20
20
|
|
|
21
21
|
### Breakpoints
|
|
22
22
|
|
|
@@ -24,15 +24,15 @@ The flex layout provides two ways of spacing its direct children.
|
|
|
24
24
|
|
|
25
25
|
### Usefulness
|
|
26
26
|
|
|
27
|
-
*
|
|
28
|
-
*
|
|
27
|
+
* Use when content dictates layout and elements wrap when necessary.
|
|
28
|
+
* Use when a rigid grid is not necessary/wanted.
|
|
29
29
|
|
|
30
30
|
### Differences from utility class
|
|
31
31
|
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
32
|
+
* It contains multiple css declarations and does not use the `!important` tag.
|
|
33
|
+
* It does not require wrapping elements in columns or rows.
|
|
34
|
+
* It breaks the dependency upon adding utility classes to each child.
|
|
35
|
+
* It can be applied to container elements or components.
|
|
36
36
|
|
|
37
37
|
# Examples
|
|
38
38
|
|