@patternfly/patternfly 4.210.2 → 4.211.0

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 (38) hide show
  1. package/components/Masthead/masthead.css +1 -1
  2. package/components/Masthead/masthead.scss +1 -1
  3. package/components/NotificationBadge/notification-badge.css +13 -1
  4. package/components/NotificationBadge/notification-badge.scss +13 -1
  5. package/components/NotificationBadge/themes/dark/notification-badge.scss +2 -0
  6. package/components/Page/page.css +1 -0
  7. package/components/Page/page.scss +1 -0
  8. package/docs/components/Dropdown/examples/Dropdown.md +2 -2
  9. package/docs/components/NotificationBadge/examples/NotificationBadge.md +81 -24
  10. package/docs/components/Tabs/examples/Tabs.md +866 -139
  11. package/docs/demos/AboutModal/examples/AboutModal.md +1 -12
  12. package/docs/demos/Alert/examples/Alert.md +3 -36
  13. package/docs/demos/BackToTop/examples/BackToTop.md +1 -12
  14. package/docs/demos/Banner/examples/Banner.md +2 -24
  15. package/docs/demos/Card/examples/Card.md +15 -3
  16. package/docs/demos/CardView/examples/CardView.md +1 -12
  17. package/docs/demos/ContextSelector/examples/ContextSelector.md +3 -36
  18. package/docs/demos/Dashboard/examples/Dashboard.md +1 -12
  19. package/docs/demos/DataList/examples/DataList.md +4 -48
  20. package/docs/demos/DescriptionList/examples/DescriptionList.md +5 -36
  21. package/docs/demos/Drawer/examples/Drawer.md +7 -60
  22. package/docs/demos/JumpLinks/examples/JumpLinks.md +6 -72
  23. package/docs/demos/Masthead/examples/Masthead.md +2 -24
  24. package/docs/demos/Modal/examples/Modal.md +6 -72
  25. package/docs/demos/Nav/examples/Nav.md +8 -96
  26. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +30 -23
  27. package/docs/demos/Page/examples/Page.md +9 -108
  28. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +19 -85
  29. package/docs/demos/Skeleton/examples/Skeleton.md +1 -12
  30. package/docs/demos/Table/examples/Table.md +14 -168
  31. package/docs/demos/Tabs/examples/Tabs.md +56 -96
  32. package/docs/demos/Toolbar/examples/Toolbar.md +1 -12
  33. package/docs/demos/Wizard/examples/Wizard.md +8 -96
  34. package/package.json +2 -2
  35. package/patternfly-no-reset.css +15 -2
  36. package/patternfly.css +15 -2
  37. package/patternfly.min.css +1 -1
  38. package/patternfly.min.css.map +1 -1
@@ -50,17 +50,6 @@ wrapperTag: div
50
50
  <div
51
51
  class="pf-c-toolbar__group pf-m-icon-button-group pf-m-align-right pf-m-spacer-none pf-m-spacer-md-on-md"
52
52
  >
53
- <div class="pf-c-toolbar__item">
54
- <button
55
- class="pf-c-button pf-m-plain"
56
- type="button"
57
- aria-label="Notifications"
58
- >
59
- <span class="pf-c-notification-badge">
60
- <i class="pf-icon-bell" aria-hidden="true"></i>
61
- </span>
62
- </button>
63
- </div>
64
53
  <div
65
54
  class="pf-c-toolbar__group pf-m-icon-button-group pf-m-hidden pf-m-visible-on-lg"
66
55
  >
@@ -68,7 +57,7 @@ wrapperTag: div
68
57
  <nav
69
58
  class="pf-c-app-launcher"
70
59
  aria-label="Application launcher"
71
- id="wizard-basic-example-masthead-icon-group--app-launcher"
60
+ id="wizard-basic-example-masthead-application-launcher"
72
61
  >
73
62
  <button
74
63
  class="pf-c-app-launcher__toggle"
@@ -1212,17 +1201,6 @@ wrapperTag: div
1212
1201
  <div
1213
1202
  class="pf-c-toolbar__group pf-m-icon-button-group pf-m-align-right pf-m-spacer-none pf-m-spacer-md-on-md"
1214
1203
  >
1215
- <div class="pf-c-toolbar__item">
1216
- <button
1217
- class="pf-c-button pf-m-plain"
1218
- type="button"
1219
- aria-label="Notifications"
1220
- >
1221
- <span class="pf-c-notification-badge">
1222
- <i class="pf-icon-bell" aria-hidden="true"></i>
1223
- </span>
1224
- </button>
1225
- </div>
1226
1204
  <div
1227
1205
  class="pf-c-toolbar__group pf-m-icon-button-group pf-m-hidden pf-m-visible-on-lg"
1228
1206
  >
@@ -1230,7 +1208,7 @@ wrapperTag: div
1230
1208
  <nav
1231
1209
  class="pf-c-app-launcher"
1232
1210
  aria-label="Application launcher"
1233
- id="wizard-nav-expanded-example-masthead-icon-group--app-launcher"
1211
+ id="wizard-nav-expanded-example-masthead-application-launcher"
1234
1212
  >
1235
1213
  <button
1236
1214
  class="pf-c-app-launcher__toggle"
@@ -2374,17 +2352,6 @@ wrapperTag: div
2374
2352
  <div
2375
2353
  class="pf-c-toolbar__group pf-m-icon-button-group pf-m-align-right pf-m-spacer-none pf-m-spacer-md-on-md"
2376
2354
  >
2377
- <div class="pf-c-toolbar__item">
2378
- <button
2379
- class="pf-c-button pf-m-plain"
2380
- type="button"
2381
- aria-label="Notifications"
2382
- >
2383
- <span class="pf-c-notification-badge">
2384
- <i class="pf-icon-bell" aria-hidden="true"></i>
2385
- </span>
2386
- </button>
2387
- </div>
2388
2355
  <div
2389
2356
  class="pf-c-toolbar__group pf-m-icon-button-group pf-m-hidden pf-m-visible-on-lg"
2390
2357
  >
@@ -2392,7 +2359,7 @@ wrapperTag: div
2392
2359
  <nav
2393
2360
  class="pf-c-app-launcher"
2394
2361
  aria-label="Application launcher"
2395
- id="wizard-with-drawer-closed-example-masthead-icon-group--app-launcher"
2362
+ id="wizard-with-drawer-closed-example-masthead-application-launcher"
2396
2363
  >
2397
2364
  <button
2398
2365
  class="pf-c-app-launcher__toggle"
@@ -3593,17 +3560,6 @@ wrapperTag: div
3593
3560
  <div
3594
3561
  class="pf-c-toolbar__group pf-m-icon-button-group pf-m-align-right pf-m-spacer-none pf-m-spacer-md-on-md"
3595
3562
  >
3596
- <div class="pf-c-toolbar__item">
3597
- <button
3598
- class="pf-c-button pf-m-plain"
3599
- type="button"
3600
- aria-label="Notifications"
3601
- >
3602
- <span class="pf-c-notification-badge">
3603
- <i class="pf-icon-bell" aria-hidden="true"></i>
3604
- </span>
3605
- </button>
3606
- </div>
3607
3563
  <div
3608
3564
  class="pf-c-toolbar__group pf-m-icon-button-group pf-m-hidden pf-m-visible-on-lg"
3609
3565
  >
@@ -3611,7 +3567,7 @@ wrapperTag: div
3611
3567
  <nav
3612
3568
  class="pf-c-app-launcher"
3613
3569
  aria-label="Application launcher"
3614
- id="wizard-with-drawer-expanded-example-masthead-icon-group--app-launcher"
3570
+ id="wizard-with-drawer-expanded-example-masthead-application-launcher"
3615
3571
  >
3616
3572
  <button
3617
3573
  class="pf-c-app-launcher__toggle"
@@ -4806,17 +4762,6 @@ wrapperTag: div
4806
4762
  <div
4807
4763
  class="pf-c-toolbar__group pf-m-icon-button-group pf-m-align-right pf-m-spacer-none pf-m-spacer-md-on-md"
4808
4764
  >
4809
- <div class="pf-c-toolbar__item">
4810
- <button
4811
- class="pf-c-button pf-m-plain"
4812
- type="button"
4813
- aria-label="Notifications"
4814
- >
4815
- <span class="pf-c-notification-badge">
4816
- <i class="pf-icon-bell" aria-hidden="true"></i>
4817
- </span>
4818
- </button>
4819
- </div>
4820
4765
  <div
4821
4766
  class="pf-c-toolbar__group pf-m-icon-button-group pf-m-hidden pf-m-visible-on-lg"
4822
4767
  >
@@ -4824,7 +4769,7 @@ wrapperTag: div
4824
4769
  <nav
4825
4770
  class="pf-c-app-launcher"
4826
4771
  aria-label="Application launcher"
4827
- id="wizard-with-drawer-info-example-masthead-icon-group--app-launcher"
4772
+ id="wizard-with-drawer-info-example-masthead-application-launcher"
4828
4773
  >
4829
4774
  <button
4830
4775
  class="pf-c-app-launcher__toggle"
@@ -5892,17 +5837,6 @@ wrapperTag: div
5892
5837
  <div
5893
5838
  class="pf-c-toolbar__group pf-m-icon-button-group pf-m-align-right pf-m-spacer-none pf-m-spacer-md-on-md"
5894
5839
  >
5895
- <div class="pf-c-toolbar__item">
5896
- <button
5897
- class="pf-c-button pf-m-plain"
5898
- type="button"
5899
- aria-label="Notifications"
5900
- >
5901
- <span class="pf-c-notification-badge">
5902
- <i class="pf-icon-bell" aria-hidden="true"></i>
5903
- </span>
5904
- </button>
5905
- </div>
5906
5840
  <div
5907
5841
  class="pf-c-toolbar__group pf-m-icon-button-group pf-m-hidden pf-m-visible-on-lg"
5908
5842
  >
@@ -5910,7 +5844,7 @@ wrapperTag: div
5910
5844
  <nav
5911
5845
  class="pf-c-app-launcher"
5912
5846
  aria-label="Application launcher"
5913
- id="wizard-in-page-example-masthead-icon-group--app-launcher"
5847
+ id="wizard-in-page-example-masthead-application-launcher"
5914
5848
  >
5915
5849
  <button
5916
5850
  class="pf-c-app-launcher__toggle"
@@ -6998,17 +6932,6 @@ wrapperTag: div
6998
6932
  <div
6999
6933
  class="pf-c-toolbar__group pf-m-icon-button-group pf-m-align-right pf-m-spacer-none pf-m-spacer-md-on-md"
7000
6934
  >
7001
- <div class="pf-c-toolbar__item">
7002
- <button
7003
- class="pf-c-button pf-m-plain"
7004
- type="button"
7005
- aria-label="Notifications"
7006
- >
7007
- <span class="pf-c-notification-badge">
7008
- <i class="pf-icon-bell" aria-hidden="true"></i>
7009
- </span>
7010
- </button>
7011
- </div>
7012
6935
  <div
7013
6936
  class="pf-c-toolbar__group pf-m-icon-button-group pf-m-hidden pf-m-visible-on-lg"
7014
6937
  >
@@ -7016,7 +6939,7 @@ wrapperTag: div
7016
6939
  <nav
7017
6940
  class="pf-c-app-launcher"
7018
6941
  aria-label="Application launcher"
7019
- id="in-page-nav-expanded-example-masthead-icon-group--app-launcher"
6942
+ id="in-page-nav-expanded-example-masthead-application-launcher"
7020
6943
  >
7021
6944
  <button
7022
6945
  class="pf-c-app-launcher__toggle"
@@ -8107,17 +8030,6 @@ wrapperTag: div
8107
8030
  <div
8108
8031
  class="pf-c-toolbar__group pf-m-icon-button-group pf-m-align-right pf-m-spacer-none pf-m-spacer-md-on-md"
8109
8032
  >
8110
- <div class="pf-c-toolbar__item">
8111
- <button
8112
- class="pf-c-button pf-m-plain"
8113
- type="button"
8114
- aria-label="Notifications"
8115
- >
8116
- <span class="pf-c-notification-badge">
8117
- <i class="pf-icon-bell" aria-hidden="true"></i>
8118
- </span>
8119
- </button>
8120
- </div>
8121
8033
  <div
8122
8034
  class="pf-c-toolbar__group pf-m-icon-button-group pf-m-hidden pf-m-visible-on-lg"
8123
8035
  >
@@ -8125,7 +8037,7 @@ wrapperTag: div
8125
8037
  <nav
8126
8038
  class="pf-c-app-launcher"
8127
8039
  aria-label="Application launcher"
8128
- id="wizard-with-drawer-in-page-example-masthead-icon-group--app-launcher"
8040
+ id="wizard-with-drawer-in-page-example-masthead-application-launcher"
8129
8041
  >
8130
8042
  <button
8131
8043
  class="pf-c-app-launcher__toggle"
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": "4.210.2",
4
+ "version": "4.211.0",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -34,7 +34,7 @@
34
34
  "@fortawesome/fontawesome": "^1.1.8",
35
35
  "@octokit/rest": "^16.40.1",
36
36
  "@patternfly/patternfly-a11y": "4.3.1",
37
- "@patternfly/react-charts": "6.84.8",
37
+ "@patternfly/react-charts": "6.88.7",
38
38
  "@patternfly/react-code-editor": "4.72.8",
39
39
  "@patternfly/react-table": "4.100.8",
40
40
  "@starptech/prettyhtml": "^0.10.0",
@@ -17756,7 +17756,7 @@ ul.pf-c-list {
17756
17756
  align-self: stretch;
17757
17757
  }
17758
17758
  .pf-c-masthead .pf-c-button.pf-m-plain {
17759
- color: var(--pf-global--Color--200);
17759
+ color: var(--pf-c-button--m-plain--Color);
17760
17760
  }
17761
17761
 
17762
17762
  .pf-c-masthead__main {
@@ -20707,12 +20707,15 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
20707
20707
  --pf-c-notification-badge__i--Height: auto;
20708
20708
  --pf-c-notification-badge--m-read--after--BorderColor: transparent;
20709
20709
  --pf-c-notification-badge--m-read--after--BackgroundColor: transparent;
20710
+ --pf-c-notification-badge--m-read--m-expanded--after--BackgroundColor: var(--pf-global--BackgroundColor--dark-200);
20710
20711
  --pf-c-notification-badge--m-unread--Color: var(--pf-global--Color--light-100);
20711
20712
  --pf-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-global--active-color--100);
20712
20713
  --pf-c-notification-badge--m-unread--hover--after--BackgroundColor: var(--pf-global--primary-color--200);
20714
+ --pf-c-notification-badge--m-unread--m-expanded--after--BackgroundColor: var(--pf-global--primary-color--200);
20713
20715
  --pf-c-notification-badge--m-attention--Color: var(--pf-global--Color--light-100);
20714
20716
  --pf-c-notification-badge--m-attention--after--BackgroundColor: var(--pf-global--danger-color--100);
20715
20717
  --pf-c-notification-badge--m-attention--hover--after--BackgroundColor: var(--pf-global--danger-color--200);
20718
+ --pf-c-notification-badge--m-attention--m-expanded--after--BackgroundColor: var(--pf-global--danger-color--200);
20716
20719
  --pf-c-notification-badge__count--MarginLeft: var(--pf-global--spacer--xs);
20717
20720
  --pf-c-notification-badge--pf-icon-attention-bell--LineHeight: var(--pf-global--LineHeight--sm);
20718
20721
  position: relative;
@@ -20754,6 +20757,7 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
20754
20757
  .pf-c-notification-badge.pf-m-read {
20755
20758
  --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-read--after--BackgroundColor);
20756
20759
  --pf-c-notification-badge--after--BorderColor: var(--pf-c-notification-badge--m-read--after--BorderColor);
20760
+ color: var(--pf-c-notification-badge--m-read--Color, inherit);
20757
20761
  }
20758
20762
  .pf-c-notification-badge.pf-m-unread {
20759
20763
  --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-unread--after--BackgroundColor);
@@ -20767,7 +20771,13 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
20767
20771
  color: var(--pf-c-notification-badge--m-attention--Color);
20768
20772
  }
20769
20773
  .pf-c-notification-badge.pf-m-attention:hover {
20770
- --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-attention--hover--after--BackgroundColor);
20774
+ --pf-c-notification-badge--m-attention--after--BackgroundColor: var(--pf-c-notification-badge--m-attention--hover--after--BackgroundColor);
20775
+ }
20776
+ .pf-c-notification-badge.pf-m-expanded {
20777
+ --pf-c-notification-badge--m-read--Color: var(--pf-global--Color--light-100);
20778
+ --pf-c-notification-badge--m-read--after--BackgroundColor: var(--pf-c-notification-badge--m-read--m-expanded--after--BackgroundColor);
20779
+ --pf-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-c-notification-badge--m-unread--m-expanded--after--BackgroundColor);
20780
+ --pf-c-notification-badge--m-attention--after--BackgroundColor: var(--pf-c-notification-badge--m-attention--m-expanded--after--BackgroundColor);
20771
20781
  }
20772
20782
 
20773
20783
  .pf-c-notification-badge__count {
@@ -20811,7 +20821,9 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
20811
20821
  }
20812
20822
 
20813
20823
  :where(.pf-theme-dark) .pf-c-notification-badge {
20824
+ --pf-c-notification-badge--m-read--m-expanded--after--BackgroundColor: var(--pf-global--BackgroundColor--400);
20814
20825
  --pf-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-global--primary-color--300);
20826
+ --pf-c-notification-badge--m-attention--Color: var(--pf-global--palette--black-900);
20815
20827
  }
20816
20828
 
20817
20829
  .pf-c-notification-drawer {
@@ -21657,6 +21669,7 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
21657
21669
  .pf-c-page.pf-m-full-height {
21658
21670
  height: 100vh;
21659
21671
  height: 100dvh;
21672
+ max-height: 100%;
21660
21673
  }
21661
21674
 
21662
21675
  .pf-c-page__header,
package/patternfly.css CHANGED
@@ -17883,7 +17883,7 @@ ul.pf-c-list {
17883
17883
  align-self: stretch;
17884
17884
  }
17885
17885
  .pf-c-masthead .pf-c-button.pf-m-plain {
17886
- color: var(--pf-global--Color--200);
17886
+ color: var(--pf-c-button--m-plain--Color);
17887
17887
  }
17888
17888
 
17889
17889
  .pf-c-masthead__main {
@@ -20834,12 +20834,15 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
20834
20834
  --pf-c-notification-badge__i--Height: auto;
20835
20835
  --pf-c-notification-badge--m-read--after--BorderColor: transparent;
20836
20836
  --pf-c-notification-badge--m-read--after--BackgroundColor: transparent;
20837
+ --pf-c-notification-badge--m-read--m-expanded--after--BackgroundColor: var(--pf-global--BackgroundColor--dark-200);
20837
20838
  --pf-c-notification-badge--m-unread--Color: var(--pf-global--Color--light-100);
20838
20839
  --pf-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-global--active-color--100);
20839
20840
  --pf-c-notification-badge--m-unread--hover--after--BackgroundColor: var(--pf-global--primary-color--200);
20841
+ --pf-c-notification-badge--m-unread--m-expanded--after--BackgroundColor: var(--pf-global--primary-color--200);
20840
20842
  --pf-c-notification-badge--m-attention--Color: var(--pf-global--Color--light-100);
20841
20843
  --pf-c-notification-badge--m-attention--after--BackgroundColor: var(--pf-global--danger-color--100);
20842
20844
  --pf-c-notification-badge--m-attention--hover--after--BackgroundColor: var(--pf-global--danger-color--200);
20845
+ --pf-c-notification-badge--m-attention--m-expanded--after--BackgroundColor: var(--pf-global--danger-color--200);
20843
20846
  --pf-c-notification-badge__count--MarginLeft: var(--pf-global--spacer--xs);
20844
20847
  --pf-c-notification-badge--pf-icon-attention-bell--LineHeight: var(--pf-global--LineHeight--sm);
20845
20848
  position: relative;
@@ -20881,6 +20884,7 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
20881
20884
  .pf-c-notification-badge.pf-m-read {
20882
20885
  --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-read--after--BackgroundColor);
20883
20886
  --pf-c-notification-badge--after--BorderColor: var(--pf-c-notification-badge--m-read--after--BorderColor);
20887
+ color: var(--pf-c-notification-badge--m-read--Color, inherit);
20884
20888
  }
20885
20889
  .pf-c-notification-badge.pf-m-unread {
20886
20890
  --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-unread--after--BackgroundColor);
@@ -20894,7 +20898,13 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
20894
20898
  color: var(--pf-c-notification-badge--m-attention--Color);
20895
20899
  }
20896
20900
  .pf-c-notification-badge.pf-m-attention:hover {
20897
- --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-attention--hover--after--BackgroundColor);
20901
+ --pf-c-notification-badge--m-attention--after--BackgroundColor: var(--pf-c-notification-badge--m-attention--hover--after--BackgroundColor);
20902
+ }
20903
+ .pf-c-notification-badge.pf-m-expanded {
20904
+ --pf-c-notification-badge--m-read--Color: var(--pf-global--Color--light-100);
20905
+ --pf-c-notification-badge--m-read--after--BackgroundColor: var(--pf-c-notification-badge--m-read--m-expanded--after--BackgroundColor);
20906
+ --pf-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-c-notification-badge--m-unread--m-expanded--after--BackgroundColor);
20907
+ --pf-c-notification-badge--m-attention--after--BackgroundColor: var(--pf-c-notification-badge--m-attention--m-expanded--after--BackgroundColor);
20898
20908
  }
20899
20909
 
20900
20910
  .pf-c-notification-badge__count {
@@ -20938,7 +20948,9 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
20938
20948
  }
20939
20949
 
20940
20950
  :where(.pf-theme-dark) .pf-c-notification-badge {
20951
+ --pf-c-notification-badge--m-read--m-expanded--after--BackgroundColor: var(--pf-global--BackgroundColor--400);
20941
20952
  --pf-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-global--primary-color--300);
20953
+ --pf-c-notification-badge--m-attention--Color: var(--pf-global--palette--black-900);
20942
20954
  }
20943
20955
 
20944
20956
  .pf-c-notification-drawer {
@@ -21784,6 +21796,7 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
21784
21796
  .pf-c-page.pf-m-full-height {
21785
21797
  height: 100vh;
21786
21798
  height: 100dvh;
21799
+ max-height: 100%;
21787
21800
  }
21788
21801
 
21789
21802
  .pf-c-page__header,