@patternfly/patternfly 5.1.0-prerelease.9 → 5.1.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 (110) hide show
  1. package/README.md +6 -6
  2. package/base/_common.scss +9 -8
  3. package/base/_variables.scss +5 -1
  4. package/base/patternfly-common.css +4 -11
  5. package/base/patternfly-variables.css +5 -1
  6. package/components/AboutModalBox/about-modal-box.css +5 -0
  7. package/components/AboutModalBox/about-modal-box.scss +7 -0
  8. package/components/Accordion/accordion.css +3 -0
  9. package/components/Accordion/accordion.scss +2 -0
  10. package/components/Alert/alert.css +3 -0
  11. package/components/Alert/alert.scss +2 -0
  12. package/components/BackgroundImage/background-image.css +4 -1
  13. package/components/BackgroundImage/background-image.scss +6 -1
  14. package/components/Banner/banner.css +0 -3
  15. package/components/Breadcrumb/breadcrumb.css +3 -0
  16. package/components/Breadcrumb/breadcrumb.scss +2 -0
  17. package/components/Button/button.css +3 -0
  18. package/components/Button/button.scss +4 -0
  19. package/components/CalendarMonth/calendar-month.css +4 -0
  20. package/components/CalendarMonth/calendar-month.scss +2 -0
  21. package/components/Card/card.css +4 -1
  22. package/components/Card/card.scss +3 -1
  23. package/components/ClipboardCopy/clipboard-copy.css +3 -0
  24. package/components/ClipboardCopy/clipboard-copy.scss +2 -0
  25. package/components/DataList/data-list.css +3 -0
  26. package/components/DataList/data-list.scss +2 -0
  27. package/components/Drawer/drawer.css +45 -1
  28. package/components/Drawer/drawer.scss +43 -9
  29. package/components/DualListSelector/dual-list-selector.css +6 -2
  30. package/components/DualListSelector/dual-list-selector.scss +7 -2
  31. package/components/ExpandableSection/expandable-section.css +4 -0
  32. package/components/ExpandableSection/expandable-section.scss +2 -0
  33. package/components/Form/form.css +3 -0
  34. package/components/Form/form.scss +2 -0
  35. package/components/Icon/icon.scss +1 -1
  36. package/components/JumpLinks/jump-links.css +3 -0
  37. package/components/JumpLinks/jump-links.scss +2 -0
  38. package/components/Menu/menu.css +11 -0
  39. package/components/Menu/menu.scss +12 -2
  40. package/components/Nav/nav.css +20 -0
  41. package/components/Nav/nav.scss +22 -2
  42. package/components/NotificationDrawer/notification-drawer.css +4 -0
  43. package/components/NotificationDrawer/notification-drawer.scss +2 -0
  44. package/components/Page/page.css +4 -0
  45. package/components/Page/page.scss +6 -1
  46. package/components/Pagination/pagination.css +1 -1
  47. package/components/Pagination/pagination.scss +1 -1
  48. package/components/Popover/popover.css +62 -33
  49. package/components/Popover/popover.scss +88 -71
  50. package/components/Progress/progress.css +6 -4
  51. package/components/Progress/progress.scss +9 -4
  52. package/components/Skeleton/skeleton.css +4 -0
  53. package/components/Skeleton/skeleton.scss +2 -0
  54. package/components/Slider/slider.css +30 -6
  55. package/components/Slider/slider.scss +50 -19
  56. package/components/Switch/switch.css +5 -1
  57. package/components/Switch/switch.scss +5 -1
  58. package/components/Table/table-scrollable.css +2 -2
  59. package/components/Table/table-scrollable.scss +4 -2
  60. package/components/Table/table-tree-view.css +5 -1
  61. package/components/Table/table-tree-view.scss +7 -2
  62. package/components/Table/table.css +4 -0
  63. package/components/Table/table.scss +2 -0
  64. package/components/Tabs/tabs.css +10 -0
  65. package/components/Tabs/tabs.scss +8 -0
  66. package/components/Toolbar/toolbar.scss +2 -0
  67. package/components/Tooltip/tooltip.css +55 -26
  68. package/components/Tooltip/tooltip.scss +71 -54
  69. package/components/TreeView/tree-view.css +6 -0
  70. package/components/TreeView/tree-view.scss +10 -3
  71. package/components/Truncate/truncate.css +9 -0
  72. package/components/Truncate/truncate.scss +16 -3
  73. package/components/Wizard/wizard.css +6 -3
  74. package/components/Wizard/wizard.scss +8 -3
  75. package/docs/components/Button/examples/Button.md +15 -3
  76. package/docs/components/Card/examples/Card.md +2 -2
  77. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
  78. package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
  79. package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
  80. package/docs/components/Menu/examples/Menu.css +8 -0
  81. package/docs/components/Menu/examples/Menu.md +90 -73
  82. package/docs/components/ModalBox/examples/ModalBox.css +3 -8
  83. package/docs/components/Nav/examples/Navigation.css +3 -26
  84. package/docs/components/Nav/examples/Navigation.md +99 -0
  85. package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
  86. package/docs/components/Popover/examples/Popover.css +4 -9
  87. package/docs/components/Table/examples/Table.md +2 -2
  88. package/docs/components/Toolbar/examples/Toolbar.md +76 -60
  89. package/docs/components/Tooltip/examples/Tooltip.css +4 -0
  90. package/docs/components/Tooltip/examples/Tooltip.md +3 -1
  91. package/docs/components/Truncate/examples/Truncate.md +2 -2
  92. package/docs/demos/Card/examples/Card.md +23 -7
  93. package/docs/demos/DataList/examples/DataList.md +8 -2
  94. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +16 -4
  95. package/docs/demos/Skeleton/examples/Skeleton.md +7 -35
  96. package/docs/demos/Table/examples/Table.md +48 -12
  97. package/docs/demos/Tabs/examples/Tabs.md +4 -1
  98. package/package.json +6 -5
  99. package/patternfly-base-no-globals-theme-dark-unversioned.css +9 -12
  100. package/patternfly-base-no-globals.css +9 -12
  101. package/patternfly-base-theme-dark-unversioned.css +9 -12
  102. package/patternfly-base.css +9 -12
  103. package/patternfly-no-globals.css +356 -104
  104. package/patternfly-theme-dark-unversioned.css +356 -104
  105. package/patternfly.css +356 -104
  106. package/patternfly.min.css +1 -1
  107. package/patternfly.min.css.map +1 -1
  108. package/sass-utilities/functions.scss +6 -0
  109. package/sass-utilities/mixins.scss +55 -20
  110. package/sass-utilities/themes/dark/mixins.scss +3 -1
@@ -365,7 +365,10 @@ wrapperTag: div
365
365
  type="button"
366
366
  aria-label="Sort"
367
367
  >
368
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
368
+ <i
369
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
370
+ aria-hidden="true"
371
+ ></i>
369
372
  </button>
370
373
  </div>
371
374
 
@@ -1565,7 +1568,10 @@ wrapperTag: div
1565
1568
  aria-expanded="true"
1566
1569
  aria-label="Sort by"
1567
1570
  >
1568
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
1571
+ <i
1572
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
1573
+ aria-hidden="true"
1574
+ ></i>
1569
1575
  </button>
1570
1576
  <ul
1571
1577
  class="pf-v5-c-options-menu__menu"
@@ -3128,7 +3134,10 @@ wrapperTag: div
3128
3134
  type="button"
3129
3135
  aria-label="Sort"
3130
3136
  >
3131
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
3137
+ <i
3138
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
3139
+ aria-hidden="true"
3140
+ ></i>
3132
3141
  </button>
3133
3142
  </div>
3134
3143
 
@@ -4724,7 +4733,10 @@ wrapperTag: div
4724
4733
  type="button"
4725
4734
  aria-label="Sort"
4726
4735
  >
4727
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
4736
+ <i
4737
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
4738
+ aria-hidden="true"
4739
+ ></i>
4728
4740
  </button>
4729
4741
  </div>
4730
4742
 
@@ -5981,7 +5993,10 @@ wrapperTag: div
5981
5993
  type="button"
5982
5994
  aria-label="Sort"
5983
5995
  >
5984
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
5996
+ <i
5997
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
5998
+ aria-hidden="true"
5999
+ ></i>
5985
6000
  </button>
5986
6001
  </div>
5987
6002
 
@@ -11923,7 +11938,10 @@ wrapperTag: div
11923
11938
  type="button"
11924
11939
  aria-label="Sort"
11925
11940
  >
11926
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
11941
+ <i
11942
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
11943
+ aria-hidden="true"
11944
+ ></i>
11927
11945
  </button>
11928
11946
  </div>
11929
11947
 
@@ -13284,7 +13302,10 @@ wrapperTag: div
13284
13302
  type="button"
13285
13303
  aria-label="Sort"
13286
13304
  >
13287
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
13305
+ <i
13306
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
13307
+ aria-hidden="true"
13308
+ ></i>
13288
13309
  </button>
13289
13310
  </div>
13290
13311
 
@@ -14741,7 +14762,10 @@ wrapperTag: div
14741
14762
  type="button"
14742
14763
  aria-label="Sort"
14743
14764
  >
14744
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
14765
+ <i
14766
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
14767
+ aria-hidden="true"
14768
+ ></i>
14745
14769
  </button>
14746
14770
  </div>
14747
14771
 
@@ -15897,7 +15921,10 @@ wrapperTag: div
15897
15921
  type="button"
15898
15922
  aria-label="Sort"
15899
15923
  >
15900
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
15924
+ <i
15925
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
15926
+ aria-hidden="true"
15927
+ ></i>
15901
15928
  </button>
15902
15929
  </div>
15903
15930
 
@@ -17051,7 +17078,10 @@ wrapperTag: div
17051
17078
  type="button"
17052
17079
  aria-label="Sort"
17053
17080
  >
17054
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
17081
+ <i
17082
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
17083
+ aria-hidden="true"
17084
+ ></i>
17055
17085
  </button>
17056
17086
  </div>
17057
17087
 
@@ -18226,7 +18256,10 @@ wrapperTag: div
18226
18256
  type="button"
18227
18257
  aria-label="Sort"
18228
18258
  >
18229
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
18259
+ <i
18260
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
18261
+ aria-hidden="true"
18262
+ ></i>
18230
18263
  </button>
18231
18264
  </div>
18232
18265
 
@@ -19400,7 +19433,10 @@ wrapperTag: div
19400
19433
  type="button"
19401
19434
  aria-label="Sort"
19402
19435
  >
19403
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
19436
+ <i
19437
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
19438
+ aria-hidden="true"
19439
+ ></i>
19404
19440
  </button>
19405
19441
  </div>
19406
19442
 
@@ -1717,7 +1717,10 @@ section: components
1717
1717
  type="button"
1718
1718
  aria-label="Sort"
1719
1719
  >
1720
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
1720
+ <i
1721
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
1722
+ aria-hidden="true"
1723
+ ></i>
1721
1724
  </button>
1722
1725
  </div>
1723
1726
 
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": "5.1.0-prerelease.9",
4
+ "version": "5.1.0",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -45,12 +45,13 @@
45
45
  "@commitlint/config-conventional": "^17.6.7",
46
46
  "@fortawesome/fontawesome": "^1.1.8",
47
47
  "@octokit/rest": "^20.0.1",
48
- "@patternfly/documentation-framework": "5.1.7",
48
+ "@patternfly/documentation-framework": "5.2.3",
49
49
  "@patternfly/patternfly-a11y": "4.3.1",
50
- "@patternfly/react-code-editor": "5.0.0",
51
- "@patternfly/react-core": "5.0.0",
52
- "@patternfly/react-table": "5.0.0",
50
+ "@patternfly/react-code-editor": "5.0.1",
51
+ "@patternfly/react-core": "5.0.1",
52
+ "@patternfly/react-table": "5.0.1",
53
53
  "@starptech/prettyhtml": "^0.10.0",
54
+ "backstopjs": "^6.2.2",
54
55
  "cheerio": "^1.0.0-rc.12",
55
56
  "commander": "^11.0.0",
56
57
  "cssnano": "^6.0.1",
@@ -259,7 +259,11 @@
259
259
  --pf-v5-global--arrow--width-lg: 1.5625rem;
260
260
  --pf-v5-global--target-size--MinWidth: 44px;
261
261
  --pf-v5-global--target-size--MinHeight: 44px;
262
- --pf-v5-global--rtl--transform--flip: 1;
262
+ --pf-v5-global--inverse--multiplier: 1;
263
+ }
264
+
265
+ :where(.pf-v5-m-dir-rtl, [dir=rtl]) {
266
+ --pf-v5-global--inverse--multiplier: -1;
263
267
  }
264
268
 
265
269
  :where(.pf-theme-dark) {
@@ -492,26 +496,19 @@
492
496
  }
493
497
 
494
498
  .pf-v5-m-dir-rtl {
499
+ --pf-v5-global--inverse--multiplier: -1;
495
500
  direction: rtl;
496
501
  }
497
- :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-m-dir-rtl {
498
- --pf-v5-global--rtl--transform--flip: -1;
499
- }
500
502
 
501
- .pf-v5-m-dir-ltr,
502
- .ws-dir-ltr {
503
- --pf-v5-global--rtl--transform--flip: 1;
503
+ .pf-v5-m-dir-ltr {
504
+ --pf-v5-global--inverse--multiplier: 1;
504
505
  direction: ltr;
505
506
  }
506
507
 
507
- :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-m-rtl-flip-inline {
508
+ :where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-m-mirror-inline-rtl {
508
509
  scale: -1 1;
509
510
  }
510
511
 
511
- :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) {
512
- --pf-v5-global--rtl--transform--flip: -1;
513
- }
514
-
515
512
  :where(.pf-theme-dark) {
516
513
  color-scheme: dark;
517
514
  }
@@ -259,7 +259,11 @@
259
259
  --pf-v5-global--arrow--width-lg: 1.5625rem;
260
260
  --pf-v5-global--target-size--MinWidth: 44px;
261
261
  --pf-v5-global--target-size--MinHeight: 44px;
262
- --pf-v5-global--rtl--transform--flip: 1;
262
+ --pf-v5-global--inverse--multiplier: 1;
263
+ }
264
+
265
+ :where(.pf-v5-m-dir-rtl, [dir=rtl]) {
266
+ --pf-v5-global--inverse--multiplier: -1;
263
267
  }
264
268
 
265
269
  :where(.pf-v5-theme-dark) {
@@ -492,26 +496,19 @@
492
496
  }
493
497
 
494
498
  .pf-v5-m-dir-rtl {
499
+ --pf-v5-global--inverse--multiplier: -1;
495
500
  direction: rtl;
496
501
  }
497
- :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-m-dir-rtl {
498
- --pf-v5-global--rtl--transform--flip: -1;
499
- }
500
502
 
501
- .pf-v5-m-dir-ltr,
502
- .ws-dir-ltr {
503
- --pf-v5-global--rtl--transform--flip: 1;
503
+ .pf-v5-m-dir-ltr {
504
+ --pf-v5-global--inverse--multiplier: 1;
504
505
  direction: ltr;
505
506
  }
506
507
 
507
- :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-m-rtl-flip-inline {
508
+ :where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-m-mirror-inline-rtl {
508
509
  scale: -1 1;
509
510
  }
510
511
 
511
- :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) {
512
- --pf-v5-global--rtl--transform--flip: -1;
513
- }
514
-
515
512
  :where(.pf-v5-theme-dark) {
516
513
  color-scheme: dark;
517
514
  }
@@ -259,7 +259,11 @@
259
259
  --pf-v5-global--arrow--width-lg: 1.5625rem;
260
260
  --pf-v5-global--target-size--MinWidth: 44px;
261
261
  --pf-v5-global--target-size--MinHeight: 44px;
262
- --pf-v5-global--rtl--transform--flip: 1;
262
+ --pf-v5-global--inverse--multiplier: 1;
263
+ }
264
+
265
+ :where(.pf-v5-m-dir-rtl, [dir=rtl]) {
266
+ --pf-v5-global--inverse--multiplier: -1;
263
267
  }
264
268
 
265
269
  :where(.pf-theme-dark) {
@@ -492,26 +496,19 @@
492
496
  }
493
497
 
494
498
  .pf-v5-m-dir-rtl {
499
+ --pf-v5-global--inverse--multiplier: -1;
495
500
  direction: rtl;
496
501
  }
497
- :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-m-dir-rtl {
498
- --pf-v5-global--rtl--transform--flip: -1;
499
- }
500
502
 
501
- .pf-v5-m-dir-ltr,
502
- .ws-dir-ltr {
503
- --pf-v5-global--rtl--transform--flip: 1;
503
+ .pf-v5-m-dir-ltr {
504
+ --pf-v5-global--inverse--multiplier: 1;
504
505
  direction: ltr;
505
506
  }
506
507
 
507
- :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-m-rtl-flip-inline {
508
+ :where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-m-mirror-inline-rtl {
508
509
  scale: -1 1;
509
510
  }
510
511
 
511
- :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) {
512
- --pf-v5-global--rtl--transform--flip: -1;
513
- }
514
-
515
512
  :where(html,
516
513
  body,
517
514
  p,
@@ -259,7 +259,11 @@
259
259
  --pf-v5-global--arrow--width-lg: 1.5625rem;
260
260
  --pf-v5-global--target-size--MinWidth: 44px;
261
261
  --pf-v5-global--target-size--MinHeight: 44px;
262
- --pf-v5-global--rtl--transform--flip: 1;
262
+ --pf-v5-global--inverse--multiplier: 1;
263
+ }
264
+
265
+ :where(.pf-v5-m-dir-rtl, [dir=rtl]) {
266
+ --pf-v5-global--inverse--multiplier: -1;
263
267
  }
264
268
 
265
269
  :where(.pf-v5-theme-dark) {
@@ -492,26 +496,19 @@
492
496
  }
493
497
 
494
498
  .pf-v5-m-dir-rtl {
499
+ --pf-v5-global--inverse--multiplier: -1;
495
500
  direction: rtl;
496
501
  }
497
- :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-m-dir-rtl {
498
- --pf-v5-global--rtl--transform--flip: -1;
499
- }
500
502
 
501
- .pf-v5-m-dir-ltr,
502
- .ws-dir-ltr {
503
- --pf-v5-global--rtl--transform--flip: 1;
503
+ .pf-v5-m-dir-ltr {
504
+ --pf-v5-global--inverse--multiplier: 1;
504
505
  direction: ltr;
505
506
  }
506
507
 
507
- :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-m-rtl-flip-inline {
508
+ :where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-m-mirror-inline-rtl {
508
509
  scale: -1 1;
509
510
  }
510
511
 
511
- :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) {
512
- --pf-v5-global--rtl--transform--flip: -1;
513
- }
514
-
515
512
  :where(html,
516
513
  body,
517
514
  p,