@patternfly/react-core 4.228.1 → 4.230.1

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 (104) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/esm/components/ContextSelector/ContextSelector.d.ts +4 -2
  3. package/dist/esm/components/ContextSelector/ContextSelector.d.ts.map +1 -1
  4. package/dist/esm/components/ContextSelector/ContextSelector.js.map +1 -1
  5. package/dist/esm/components/ContextSelector/ContextSelectorToggle.d.ts +4 -2
  6. package/dist/esm/components/ContextSelector/ContextSelectorToggle.d.ts.map +1 -1
  7. package/dist/esm/components/ContextSelector/ContextSelectorToggle.js.map +1 -1
  8. package/dist/esm/components/DescriptionList/DescriptionList.d.ts +4 -0
  9. package/dist/esm/components/DescriptionList/DescriptionList.d.ts.map +1 -1
  10. package/dist/esm/components/DescriptionList/DescriptionList.js +5 -2
  11. package/dist/esm/components/DescriptionList/DescriptionList.js.map +1 -1
  12. package/dist/esm/components/DescriptionList/DescriptionListGroup.js.map +1 -1
  13. package/dist/esm/components/Page/Page.d.ts +13 -0
  14. package/dist/esm/components/Page/Page.d.ts.map +1 -1
  15. package/dist/esm/components/Page/Page.js +18 -19
  16. package/dist/esm/components/Page/Page.js.map +1 -1
  17. package/dist/esm/components/Page/PageBreadcrumb.d.ts +11 -2
  18. package/dist/esm/components/Page/PageBreadcrumb.d.ts.map +1 -1
  19. package/dist/esm/components/Page/PageBreadcrumb.js +5 -2
  20. package/dist/esm/components/Page/PageBreadcrumb.js.map +1 -1
  21. package/dist/esm/components/Page/PageGroup.d.ts +11 -2
  22. package/dist/esm/components/Page/PageGroup.d.ts.map +1 -1
  23. package/dist/esm/components/Page/PageGroup.js +5 -2
  24. package/dist/esm/components/Page/PageGroup.js.map +1 -1
  25. package/dist/esm/components/Page/PageNavigation.d.ts +11 -2
  26. package/dist/esm/components/Page/PageNavigation.d.ts.map +1 -1
  27. package/dist/esm/components/Page/PageNavigation.js +5 -2
  28. package/dist/esm/components/Page/PageNavigation.js.map +1 -1
  29. package/dist/esm/components/Page/PageSection.d.ts +10 -1
  30. package/dist/esm/components/Page/PageSection.d.ts.map +1 -1
  31. package/dist/esm/components/Page/PageSection.js +4 -2
  32. package/dist/esm/components/Page/PageSection.js.map +1 -1
  33. package/dist/esm/helpers/constants.d.ts +14 -0
  34. package/dist/esm/helpers/constants.d.ts.map +1 -1
  35. package/dist/esm/helpers/constants.js +24 -0
  36. package/dist/esm/helpers/constants.js.map +1 -1
  37. package/dist/esm/helpers/util.d.ts +8 -1
  38. package/dist/esm/helpers/util.d.ts.map +1 -1
  39. package/dist/esm/helpers/util.js +36 -9
  40. package/dist/esm/helpers/util.js.map +1 -1
  41. package/dist/js/components/ContextSelector/ContextSelector.d.ts +4 -2
  42. package/dist/js/components/ContextSelector/ContextSelector.d.ts.map +1 -1
  43. package/dist/js/components/ContextSelector/ContextSelector.js.map +1 -1
  44. package/dist/js/components/ContextSelector/ContextSelectorToggle.d.ts +4 -2
  45. package/dist/js/components/ContextSelector/ContextSelectorToggle.d.ts.map +1 -1
  46. package/dist/js/components/ContextSelector/ContextSelectorToggle.js.map +1 -1
  47. package/dist/js/components/DescriptionList/DescriptionList.d.ts +4 -0
  48. package/dist/js/components/DescriptionList/DescriptionList.d.ts.map +1 -1
  49. package/dist/js/components/DescriptionList/DescriptionList.js +5 -2
  50. package/dist/js/components/DescriptionList/DescriptionList.js.map +1 -1
  51. package/dist/js/components/DescriptionList/DescriptionListGroup.js.map +1 -1
  52. package/dist/js/components/Page/Page.d.ts +13 -0
  53. package/dist/js/components/Page/Page.d.ts.map +1 -1
  54. package/dist/js/components/Page/Page.js +17 -18
  55. package/dist/js/components/Page/Page.js.map +1 -1
  56. package/dist/js/components/Page/PageBreadcrumb.d.ts +11 -2
  57. package/dist/js/components/Page/PageBreadcrumb.d.ts.map +1 -1
  58. package/dist/js/components/Page/PageBreadcrumb.js +5 -2
  59. package/dist/js/components/Page/PageBreadcrumb.js.map +1 -1
  60. package/dist/js/components/Page/PageGroup.d.ts +11 -2
  61. package/dist/js/components/Page/PageGroup.d.ts.map +1 -1
  62. package/dist/js/components/Page/PageGroup.js +5 -2
  63. package/dist/js/components/Page/PageGroup.js.map +1 -1
  64. package/dist/js/components/Page/PageNavigation.d.ts +11 -2
  65. package/dist/js/components/Page/PageNavigation.d.ts.map +1 -1
  66. package/dist/js/components/Page/PageNavigation.js +5 -2
  67. package/dist/js/components/Page/PageNavigation.js.map +1 -1
  68. package/dist/js/components/Page/PageSection.d.ts +10 -1
  69. package/dist/js/components/Page/PageSection.d.ts.map +1 -1
  70. package/dist/js/components/Page/PageSection.js +4 -2
  71. package/dist/js/components/Page/PageSection.js.map +1 -1
  72. package/dist/js/helpers/constants.d.ts +14 -0
  73. package/dist/js/helpers/constants.d.ts.map +1 -1
  74. package/dist/js/helpers/constants.js +26 -1
  75. package/dist/js/helpers/constants.js.map +1 -1
  76. package/dist/js/helpers/util.d.ts +8 -1
  77. package/dist/js/helpers/util.d.ts.map +1 -1
  78. package/dist/js/helpers/util.js +37 -9
  79. package/dist/js/helpers/util.js.map +1 -1
  80. package/dist/umd/react-core.css +119 -69
  81. package/dist/umd/react-core.js +160 -67
  82. package/dist/umd/react-core.min.css +438 -388
  83. package/dist/umd/react-core.min.js +6 -5
  84. package/package.json +6 -6
  85. package/src/components/ContextSelector/ContextSelector.tsx +4 -2
  86. package/src/components/ContextSelector/ContextSelectorToggle.tsx +4 -2
  87. package/src/components/DescriptionList/DescriptionList.tsx +14 -0
  88. package/src/components/DescriptionList/DescriptionListGroup.tsx +1 -0
  89. package/src/components/DescriptionList/examples/DescriptionList.md +31 -1
  90. package/src/components/DescriptionList/examples/DescriptionListDisplaySizeAndCard.tsx +63 -0
  91. package/src/components/DescriptionList/examples/DescriptionListDisplaySizeAndCardHorizontalTermWidth.tsx +34 -0
  92. package/src/components/DescriptionList/examples/DescriptionListDisplaySizeAndCardThreeColumn.tsx +34 -0
  93. package/src/components/DescriptionList/examples/DescriptionListWithCard.tsx +62 -0
  94. package/src/components/DescriptionList/examples/DescriptionListWithDisplaySize.tsx +63 -0
  95. package/src/components/Page/Page.tsx +58 -21
  96. package/src/components/Page/PageBreadcrumb.tsx +37 -20
  97. package/src/components/Page/PageGroup.tsx +35 -19
  98. package/src/components/Page/PageNavigation.tsx +37 -20
  99. package/src/components/Page/PageSection.tsx +41 -25
  100. package/src/components/Page/__tests__/Page.test.tsx +126 -2
  101. package/src/components/Page/__tests__/__snapshots__/Page.test.tsx.snap +683 -14
  102. package/src/demos/Page/Page.md +356 -3
  103. package/src/helpers/constants.ts +28 -0
  104. package/src/helpers/util.ts +44 -9
@@ -4,7 +4,7 @@ exports[`Page Check dark page against snapshot 1`] = `
4
4
  <DocumentFragment>
5
5
  <div
6
6
  aria-label="Page layout"
7
- class="pf-c-page pf-m-resize-observer pf-m-breakpoint-default my-page-class"
7
+ class="pf-c-page pf-m-resize-observer pf-m-breakpoint-default pf-m-height-breakpoint-sm my-page-class"
8
8
  id="PageId"
9
9
  >
10
10
  <header
@@ -65,7 +65,7 @@ exports[`Page Check page horizontal layout example against snapshot 1`] = `
65
65
  <DocumentFragment>
66
66
  <div
67
67
  aria-label="Page layout"
68
- class="pf-c-page pf-m-resize-observer pf-m-breakpoint-default my-page-class"
68
+ class="pf-c-page pf-m-resize-observer pf-m-breakpoint-default pf-m-height-breakpoint-sm my-page-class"
69
69
  id="PageId"
70
70
  >
71
71
  <header
@@ -129,7 +129,7 @@ exports[`Page Check page to verify breadcrumb is created - PageBreadcrumb syntax
129
129
  <DocumentFragment>
130
130
  <div
131
131
  aria-label="Page layout"
132
- class="pf-c-page pf-m-resize-observer pf-m-breakpoint-default my-page-class"
132
+ class="pf-c-page pf-m-resize-observer pf-m-breakpoint-default pf-m-height-breakpoint-sm my-page-class"
133
133
  id="PageId"
134
134
  >
135
135
  <header
@@ -170,7 +170,7 @@ exports[`Page Check page to verify breadcrumb is created - PageBreadcrumb syntax
170
170
  <nav
171
171
  aria-label="Breadcrumb"
172
172
  class="pf-c-breadcrumb"
173
- data-ouia-component-id="OUIA-Generated-Breadcrumb-2"
173
+ data-ouia-component-id="OUIA-Generated-Breadcrumb-4"
174
174
  data-ouia-component-type="PF4/Breadcrumb"
175
175
  data-ouia-safe="true"
176
176
  >
@@ -296,7 +296,7 @@ exports[`Page Check page to verify breadcrumb is created 1`] = `
296
296
  <DocumentFragment>
297
297
  <div
298
298
  aria-label="Page layout"
299
- class="pf-c-page pf-m-resize-observer pf-m-breakpoint-default my-page-class"
299
+ class="pf-c-page pf-m-resize-observer pf-m-breakpoint-default pf-m-height-breakpoint-sm my-page-class"
300
300
  id="PageId"
301
301
  >
302
302
  <header
@@ -463,7 +463,7 @@ exports[`Page Check page to verify grouped nav and breadcrumb - new components s
463
463
  <DocumentFragment>
464
464
  <div
465
465
  aria-label="Page layout"
466
- class="pf-c-page pf-m-resize-observer pf-m-breakpoint-default my-page-class"
466
+ class="pf-c-page pf-m-resize-observer pf-m-breakpoint-default pf-m-height-breakpoint-sm my-page-class"
467
467
  id="PageId"
468
468
  >
469
469
  <header
@@ -507,7 +507,7 @@ exports[`Page Check page to verify grouped nav and breadcrumb - new components s
507
507
  <nav
508
508
  aria-label="Breadcrumb"
509
509
  class="pf-c-breadcrumb"
510
- data-ouia-component-id="OUIA-Generated-Breadcrumb-3"
510
+ data-ouia-component-id="OUIA-Generated-Breadcrumb-7"
511
511
  data-ouia-component-type="PF4/Breadcrumb"
512
512
  data-ouia-safe="true"
513
513
  >
@@ -749,7 +749,7 @@ exports[`Page Check page to verify grouped nav and breadcrumb - old / props synt
749
749
  <DocumentFragment>
750
750
  <div
751
751
  aria-label="Page layout"
752
- class="pf-c-page pf-m-resize-observer pf-m-breakpoint-default my-page-class"
752
+ class="pf-c-page pf-m-resize-observer pf-m-breakpoint-default pf-m-height-breakpoint-sm my-page-class"
753
753
  id="PageId"
754
754
  >
755
755
  <header
@@ -785,7 +785,8 @@ exports[`Page Check page to verify grouped nav and breadcrumb - old / props synt
785
785
  tabindex="-1"
786
786
  >
787
787
  <div
788
- class="pf-c-page__main-group pf-m-sticky-bottom pf-m-shadow-top"
788
+ class="pf-c-page__main-group pf-m-sticky-bottom"
789
+ stickyonbreakpoint="[object Object]"
789
790
  >
790
791
  <div
791
792
  class="pf-c-page__main-nav"
@@ -911,7 +912,7 @@ exports[`Page Check page to verify grouped nav and breadcrumb - old / props synt
911
912
  <nav
912
913
  aria-label="Breadcrumb"
913
914
  class="pf-c-breadcrumb"
914
- data-ouia-component-id="OUIA-Generated-Breadcrumb-4"
915
+ data-ouia-component-id="OUIA-Generated-Breadcrumb-8"
915
916
  data-ouia-component-type="PF4/Breadcrumb"
916
917
  data-ouia-safe="true"
917
918
  >
@@ -1039,7 +1040,7 @@ exports[`Page Check page to verify nav is created - PageNavigation syntax 1`] =
1039
1040
  <DocumentFragment>
1040
1041
  <div
1041
1042
  aria-label="Page layout"
1042
- class="pf-c-page pf-m-resize-observer pf-m-breakpoint-default my-page-class"
1043
+ class="pf-c-page pf-m-resize-observer pf-m-breakpoint-default pf-m-height-breakpoint-sm my-page-class"
1043
1044
  id="PageId"
1044
1045
  >
1045
1046
  <header
@@ -1218,7 +1219,7 @@ exports[`Page Check page to verify skip to content points to main content region
1218
1219
  <DocumentFragment>
1219
1220
  <div
1220
1221
  aria-label="Page layout"
1221
- class="pf-c-page pf-m-resize-observer pf-m-breakpoint-default my-page-class"
1222
+ class="pf-c-page pf-m-resize-observer pf-m-breakpoint-default pf-m-height-breakpoint-sm my-page-class"
1222
1223
  data-testid="page-test-id"
1223
1224
  id="PageId"
1224
1225
  >
@@ -1267,7 +1268,7 @@ exports[`Page Check page to verify skip to content points to main content region
1267
1268
  <nav
1268
1269
  aria-label="Breadcrumb"
1269
1270
  class="pf-c-breadcrumb"
1270
- data-ouia-component-id="OUIA-Generated-Breadcrumb-5"
1271
+ data-ouia-component-id="OUIA-Generated-Breadcrumb-9"
1271
1272
  data-ouia-component-type="PF4/Breadcrumb"
1272
1273
  data-ouia-safe="true"
1273
1274
  >
@@ -1393,7 +1394,68 @@ exports[`Page Check page vertical layout example against snapshot 1`] = `
1393
1394
  <DocumentFragment>
1394
1395
  <div
1395
1396
  aria-label="Page layout"
1396
- class="pf-c-page pf-m-resize-observer pf-m-breakpoint-default my-page-class"
1397
+ class="pf-c-page pf-m-resize-observer pf-m-breakpoint-default pf-m-height-breakpoint-sm my-page-class"
1398
+ id="PageId"
1399
+ >
1400
+ <header
1401
+ class="pf-c-page__header"
1402
+ >
1403
+ <div
1404
+ class="pf-c-page__header-brand"
1405
+ >
1406
+ <a
1407
+ class="pf-c-page__header-brand-link"
1408
+ >
1409
+ Logo
1410
+ </a>
1411
+ </div>
1412
+ PageHeaderTools | Avatar
1413
+ </header>
1414
+ <div
1415
+ aria-hidden="false"
1416
+ class="pf-c-page__sidebar pf-m-expanded"
1417
+ id="page-sidebar"
1418
+ >
1419
+ <div
1420
+ class="pf-c-page__sidebar-body"
1421
+ >
1422
+ Navigation
1423
+ </div>
1424
+ </div>
1425
+ <main
1426
+ class="pf-c-page__main"
1427
+ tabindex="-1"
1428
+ >
1429
+ <section
1430
+ class="pf-c-page__main-section"
1431
+ >
1432
+ Section with default background
1433
+ </section>
1434
+ <section
1435
+ class="pf-c-page__main-section pf-m-light"
1436
+ >
1437
+ Section with light background
1438
+ </section>
1439
+ <section
1440
+ class="pf-c-page__main-section pf-m-dark-200"
1441
+ >
1442
+ Section with dark background
1443
+ </section>
1444
+ <section
1445
+ class="pf-c-page__main-section pf-m-dark-100"
1446
+ >
1447
+ Section with darker background
1448
+ </section>
1449
+ </main>
1450
+ </div>
1451
+ </DocumentFragment>
1452
+ `;
1453
+
1454
+ exports[`Page Sticky bottom breadcrumb on all height breakpoints - PageBreadcrumb syntax 1`] = `
1455
+ <DocumentFragment>
1456
+ <div
1457
+ aria-label="Page layout"
1458
+ class="pf-c-page pf-m-resize-observer pf-m-breakpoint-default pf-m-height-breakpoint-sm my-page-class"
1397
1459
  id="PageId"
1398
1460
  >
1399
1461
  <header
@@ -1408,6 +1470,11 @@ exports[`Page Check page vertical layout example against snapshot 1`] = `
1408
1470
  Logo
1409
1471
  </a>
1410
1472
  </div>
1473
+ <div
1474
+ class="pf-c-page__header-nav"
1475
+ >
1476
+ Navigation
1477
+ </div>
1411
1478
  PageHeaderTools | Avatar
1412
1479
  </header>
1413
1480
  <div
@@ -1417,14 +1484,616 @@ exports[`Page Check page vertical layout example against snapshot 1`] = `
1417
1484
  >
1418
1485
  <div
1419
1486
  class="pf-c-page__sidebar-body"
1487
+ />
1488
+ </div>
1489
+ <main
1490
+ class="pf-c-page__main"
1491
+ tabindex="-1"
1492
+ >
1493
+ <section
1494
+ class="pf-c-page__main-breadcrumb pf-m-sticky-bottom-on-sm-height pf-m-sticky-bottom-on-md-height pf-m-sticky-bottom-on-lg-height pf-m-sticky-bottom-on-xl-height pf-m-sticky-bottom-on-2xl-height"
1495
+ >
1496
+ <nav
1497
+ aria-label="Breadcrumb"
1498
+ class="pf-c-breadcrumb"
1499
+ data-ouia-component-id="OUIA-Generated-Breadcrumb-6"
1500
+ data-ouia-component-type="PF4/Breadcrumb"
1501
+ data-ouia-safe="true"
1502
+ >
1503
+ <ol
1504
+ class="pf-c-breadcrumb__list"
1505
+ >
1506
+ <li
1507
+ class="pf-c-breadcrumb__item"
1508
+ >
1509
+ Section Home
1510
+ </li>
1511
+ <li
1512
+ class="pf-c-breadcrumb__item"
1513
+ >
1514
+ <span
1515
+ class="pf-c-breadcrumb__item-divider"
1516
+ >
1517
+ <svg
1518
+ aria-hidden="true"
1519
+ fill="currentColor"
1520
+ height="1em"
1521
+ role="img"
1522
+ style="vertical-align: -0.125em;"
1523
+ viewBox="0 0 256 512"
1524
+ width="1em"
1525
+ >
1526
+ <path
1527
+ d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
1528
+ />
1529
+ </svg>
1530
+ </span>
1531
+ <a
1532
+ class="pf-c-breadcrumb__link"
1533
+ href="#"
1534
+ >
1535
+ Section Title
1536
+ </a>
1537
+ </li>
1538
+ <li
1539
+ class="pf-c-breadcrumb__item"
1540
+ >
1541
+ <span
1542
+ class="pf-c-breadcrumb__item-divider"
1543
+ >
1544
+ <svg
1545
+ aria-hidden="true"
1546
+ fill="currentColor"
1547
+ height="1em"
1548
+ role="img"
1549
+ style="vertical-align: -0.125em;"
1550
+ viewBox="0 0 256 512"
1551
+ width="1em"
1552
+ >
1553
+ <path
1554
+ d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
1555
+ />
1556
+ </svg>
1557
+ </span>
1558
+ <a
1559
+ class="pf-c-breadcrumb__link"
1560
+ href="#"
1561
+ >
1562
+ Section Title
1563
+ </a>
1564
+ </li>
1565
+ <li
1566
+ class="pf-c-breadcrumb__item"
1567
+ >
1568
+ <span
1569
+ class="pf-c-breadcrumb__item-divider"
1570
+ >
1571
+ <svg
1572
+ aria-hidden="true"
1573
+ fill="currentColor"
1574
+ height="1em"
1575
+ role="img"
1576
+ style="vertical-align: -0.125em;"
1577
+ viewBox="0 0 256 512"
1578
+ width="1em"
1579
+ >
1580
+ <path
1581
+ d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
1582
+ />
1583
+ </svg>
1584
+ </span>
1585
+ <a
1586
+ aria-current="page"
1587
+ class="pf-c-breadcrumb__link pf-m-current"
1588
+ href="#"
1589
+ >
1590
+ Section Landing
1591
+ </a>
1592
+ </li>
1593
+ </ol>
1594
+ </nav>
1595
+ </section>
1596
+ <section
1597
+ class="pf-c-page__main-section"
1598
+ >
1599
+ Section with default background
1600
+ </section>
1601
+ <section
1602
+ class="pf-c-page__main-section pf-m-light"
1603
+ >
1604
+ Section with light background
1605
+ </section>
1606
+ <section
1607
+ class="pf-c-page__main-section pf-m-dark-200"
1608
+ >
1609
+ Section with dark background
1610
+ </section>
1611
+ <section
1612
+ class="pf-c-page__main-section pf-m-dark-100"
1613
+ >
1614
+ Section with darker background
1615
+ </section>
1616
+ </main>
1617
+ </div>
1618
+ </DocumentFragment>
1619
+ `;
1620
+
1621
+ exports[`Page Verify sticky bottom breadcrumb on all height breakpoints 1`] = `
1622
+ <DocumentFragment>
1623
+ <div
1624
+ aria-label="Page layout"
1625
+ class="pf-c-page pf-m-resize-observer pf-m-breakpoint-default pf-m-height-breakpoint-sm my-page-class"
1626
+ id="PageId"
1627
+ >
1628
+ <header
1629
+ class="pf-c-page__header"
1630
+ >
1631
+ <div
1632
+ class="pf-c-page__header-brand"
1633
+ >
1634
+ <a
1635
+ class="pf-c-page__header-brand-link"
1636
+ >
1637
+ Logo
1638
+ </a>
1639
+ </div>
1640
+ <div
1641
+ class="pf-c-page__header-nav"
1420
1642
  >
1421
1643
  Navigation
1422
1644
  </div>
1645
+ PageHeaderTools | Avatar
1646
+ </header>
1647
+ <div
1648
+ aria-hidden="false"
1649
+ class="pf-c-page__sidebar pf-m-expanded"
1650
+ id="page-sidebar"
1651
+ >
1652
+ <div
1653
+ class="pf-c-page__sidebar-body"
1654
+ />
1423
1655
  </div>
1424
1656
  <main
1425
1657
  class="pf-c-page__main"
1426
1658
  tabindex="-1"
1427
1659
  >
1660
+ <section
1661
+ class="pf-c-page__main-breadcrumb pf-m-sticky-bottom-on-sm-height pf-m-sticky-bottom-on-md-height pf-m-sticky-bottom-on-lg-height pf-m-sticky-bottom-on-xl-height pf-m-sticky-bottom-on-2xl-height"
1662
+ >
1663
+ <nav
1664
+ aria-label="Breadcrumb"
1665
+ class="pf-c-breadcrumb"
1666
+ data-ouia-component-id="OUIA-Generated-Breadcrumb-3"
1667
+ data-ouia-component-type="PF4/Breadcrumb"
1668
+ data-ouia-safe="true"
1669
+ >
1670
+ <ol
1671
+ class="pf-c-breadcrumb__list"
1672
+ >
1673
+ <li
1674
+ class="pf-c-breadcrumb__item"
1675
+ >
1676
+ Section Home
1677
+ </li>
1678
+ <li
1679
+ class="pf-c-breadcrumb__item"
1680
+ >
1681
+ <span
1682
+ class="pf-c-breadcrumb__item-divider"
1683
+ >
1684
+ <svg
1685
+ aria-hidden="true"
1686
+ fill="currentColor"
1687
+ height="1em"
1688
+ role="img"
1689
+ style="vertical-align: -0.125em;"
1690
+ viewBox="0 0 256 512"
1691
+ width="1em"
1692
+ >
1693
+ <path
1694
+ d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
1695
+ />
1696
+ </svg>
1697
+ </span>
1698
+ <a
1699
+ class="pf-c-breadcrumb__link"
1700
+ href="#"
1701
+ >
1702
+ Section Title
1703
+ </a>
1704
+ </li>
1705
+ <li
1706
+ class="pf-c-breadcrumb__item"
1707
+ >
1708
+ <span
1709
+ class="pf-c-breadcrumb__item-divider"
1710
+ >
1711
+ <svg
1712
+ aria-hidden="true"
1713
+ fill="currentColor"
1714
+ height="1em"
1715
+ role="img"
1716
+ style="vertical-align: -0.125em;"
1717
+ viewBox="0 0 256 512"
1718
+ width="1em"
1719
+ >
1720
+ <path
1721
+ d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
1722
+ />
1723
+ </svg>
1724
+ </span>
1725
+ <a
1726
+ class="pf-c-breadcrumb__link"
1727
+ href="#"
1728
+ >
1729
+ Section Title
1730
+ </a>
1731
+ </li>
1732
+ <li
1733
+ class="pf-c-breadcrumb__item"
1734
+ >
1735
+ <span
1736
+ class="pf-c-breadcrumb__item-divider"
1737
+ >
1738
+ <svg
1739
+ aria-hidden="true"
1740
+ fill="currentColor"
1741
+ height="1em"
1742
+ role="img"
1743
+ style="vertical-align: -0.125em;"
1744
+ viewBox="0 0 256 512"
1745
+ width="1em"
1746
+ >
1747
+ <path
1748
+ d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
1749
+ />
1750
+ </svg>
1751
+ </span>
1752
+ <a
1753
+ aria-current="page"
1754
+ class="pf-c-breadcrumb__link pf-m-current"
1755
+ href="#"
1756
+ >
1757
+ Section Landing
1758
+ </a>
1759
+ </li>
1760
+ </ol>
1761
+ </nav>
1762
+ </section>
1763
+ <section
1764
+ class="pf-c-page__main-section"
1765
+ >
1766
+ Section with default background
1767
+ </section>
1768
+ <section
1769
+ class="pf-c-page__main-section pf-m-light"
1770
+ >
1771
+ Section with light background
1772
+ </section>
1773
+ <section
1774
+ class="pf-c-page__main-section pf-m-dark-200"
1775
+ >
1776
+ Section with dark background
1777
+ </section>
1778
+ <section
1779
+ class="pf-c-page__main-section pf-m-dark-100"
1780
+ >
1781
+ Section with darker background
1782
+ </section>
1783
+ </main>
1784
+ </div>
1785
+ </DocumentFragment>
1786
+ `;
1787
+
1788
+ exports[`Page Verify sticky top breadcrumb on all height breakpoints - PageBreadcrumb syntax 1`] = `
1789
+ <DocumentFragment>
1790
+ <div
1791
+ aria-label="Page layout"
1792
+ class="pf-c-page pf-m-resize-observer pf-m-breakpoint-default pf-m-height-breakpoint-sm my-page-class"
1793
+ id="PageId"
1794
+ >
1795
+ <header
1796
+ class="pf-c-page__header"
1797
+ >
1798
+ <div
1799
+ class="pf-c-page__header-brand"
1800
+ >
1801
+ <a
1802
+ class="pf-c-page__header-brand-link"
1803
+ >
1804
+ Logo
1805
+ </a>
1806
+ </div>
1807
+ <div
1808
+ class="pf-c-page__header-nav"
1809
+ >
1810
+ Navigation
1811
+ </div>
1812
+ PageHeaderTools | Avatar
1813
+ </header>
1814
+ <div
1815
+ aria-hidden="false"
1816
+ class="pf-c-page__sidebar pf-m-expanded"
1817
+ id="page-sidebar"
1818
+ >
1819
+ <div
1820
+ class="pf-c-page__sidebar-body"
1821
+ />
1822
+ </div>
1823
+ <main
1824
+ class="pf-c-page__main"
1825
+ tabindex="-1"
1826
+ >
1827
+ <section
1828
+ class="pf-c-page__main-breadcrumb pf-m-sticky-top-on-sm-height pf-m-sticky-top-on-md-height pf-m-sticky-top-on-lg-height pf-m-sticky-top-on-xl-height pf-m-sticky-top-on-2xl-height"
1829
+ >
1830
+ <nav
1831
+ aria-label="Breadcrumb"
1832
+ class="pf-c-breadcrumb"
1833
+ data-ouia-component-id="OUIA-Generated-Breadcrumb-5"
1834
+ data-ouia-component-type="PF4/Breadcrumb"
1835
+ data-ouia-safe="true"
1836
+ >
1837
+ <ol
1838
+ class="pf-c-breadcrumb__list"
1839
+ >
1840
+ <li
1841
+ class="pf-c-breadcrumb__item"
1842
+ >
1843
+ Section Home
1844
+ </li>
1845
+ <li
1846
+ class="pf-c-breadcrumb__item"
1847
+ >
1848
+ <span
1849
+ class="pf-c-breadcrumb__item-divider"
1850
+ >
1851
+ <svg
1852
+ aria-hidden="true"
1853
+ fill="currentColor"
1854
+ height="1em"
1855
+ role="img"
1856
+ style="vertical-align: -0.125em;"
1857
+ viewBox="0 0 256 512"
1858
+ width="1em"
1859
+ >
1860
+ <path
1861
+ d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
1862
+ />
1863
+ </svg>
1864
+ </span>
1865
+ <a
1866
+ class="pf-c-breadcrumb__link"
1867
+ href="#"
1868
+ >
1869
+ Section Title
1870
+ </a>
1871
+ </li>
1872
+ <li
1873
+ class="pf-c-breadcrumb__item"
1874
+ >
1875
+ <span
1876
+ class="pf-c-breadcrumb__item-divider"
1877
+ >
1878
+ <svg
1879
+ aria-hidden="true"
1880
+ fill="currentColor"
1881
+ height="1em"
1882
+ role="img"
1883
+ style="vertical-align: -0.125em;"
1884
+ viewBox="0 0 256 512"
1885
+ width="1em"
1886
+ >
1887
+ <path
1888
+ d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
1889
+ />
1890
+ </svg>
1891
+ </span>
1892
+ <a
1893
+ class="pf-c-breadcrumb__link"
1894
+ href="#"
1895
+ >
1896
+ Section Title
1897
+ </a>
1898
+ </li>
1899
+ <li
1900
+ class="pf-c-breadcrumb__item"
1901
+ >
1902
+ <span
1903
+ class="pf-c-breadcrumb__item-divider"
1904
+ >
1905
+ <svg
1906
+ aria-hidden="true"
1907
+ fill="currentColor"
1908
+ height="1em"
1909
+ role="img"
1910
+ style="vertical-align: -0.125em;"
1911
+ viewBox="0 0 256 512"
1912
+ width="1em"
1913
+ >
1914
+ <path
1915
+ d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
1916
+ />
1917
+ </svg>
1918
+ </span>
1919
+ <a
1920
+ aria-current="page"
1921
+ class="pf-c-breadcrumb__link pf-m-current"
1922
+ href="#"
1923
+ >
1924
+ Section Landing
1925
+ </a>
1926
+ </li>
1927
+ </ol>
1928
+ </nav>
1929
+ </section>
1930
+ <section
1931
+ class="pf-c-page__main-section"
1932
+ >
1933
+ Section with default background
1934
+ </section>
1935
+ <section
1936
+ class="pf-c-page__main-section pf-m-light"
1937
+ >
1938
+ Section with light background
1939
+ </section>
1940
+ <section
1941
+ class="pf-c-page__main-section pf-m-dark-200"
1942
+ >
1943
+ Section with dark background
1944
+ </section>
1945
+ <section
1946
+ class="pf-c-page__main-section pf-m-dark-100"
1947
+ >
1948
+ Section with darker background
1949
+ </section>
1950
+ </main>
1951
+ </div>
1952
+ </DocumentFragment>
1953
+ `;
1954
+
1955
+ exports[`Page Verify sticky top breadcrumb on all height breakpoints 1`] = `
1956
+ <DocumentFragment>
1957
+ <div
1958
+ aria-label="Page layout"
1959
+ class="pf-c-page pf-m-resize-observer pf-m-breakpoint-default pf-m-height-breakpoint-sm my-page-class"
1960
+ id="PageId"
1961
+ >
1962
+ <header
1963
+ class="pf-c-page__header"
1964
+ >
1965
+ <div
1966
+ class="pf-c-page__header-brand"
1967
+ >
1968
+ <a
1969
+ class="pf-c-page__header-brand-link"
1970
+ >
1971
+ Logo
1972
+ </a>
1973
+ </div>
1974
+ <div
1975
+ class="pf-c-page__header-nav"
1976
+ >
1977
+ Navigation
1978
+ </div>
1979
+ PageHeaderTools | Avatar
1980
+ </header>
1981
+ <div
1982
+ aria-hidden="false"
1983
+ class="pf-c-page__sidebar pf-m-expanded"
1984
+ id="page-sidebar"
1985
+ >
1986
+ <div
1987
+ class="pf-c-page__sidebar-body"
1988
+ />
1989
+ </div>
1990
+ <main
1991
+ class="pf-c-page__main"
1992
+ tabindex="-1"
1993
+ >
1994
+ <section
1995
+ class="pf-c-page__main-breadcrumb pf-m-sticky-top-on-sm-height pf-m-sticky-top-on-md-height pf-m-sticky-top-on-lg-height pf-m-sticky-top-on-xl-height pf-m-sticky-top-on-2xl-height"
1996
+ >
1997
+ <nav
1998
+ aria-label="Breadcrumb"
1999
+ class="pf-c-breadcrumb"
2000
+ data-ouia-component-id="OUIA-Generated-Breadcrumb-2"
2001
+ data-ouia-component-type="PF4/Breadcrumb"
2002
+ data-ouia-safe="true"
2003
+ >
2004
+ <ol
2005
+ class="pf-c-breadcrumb__list"
2006
+ >
2007
+ <li
2008
+ class="pf-c-breadcrumb__item"
2009
+ >
2010
+ Section Home
2011
+ </li>
2012
+ <li
2013
+ class="pf-c-breadcrumb__item"
2014
+ >
2015
+ <span
2016
+ class="pf-c-breadcrumb__item-divider"
2017
+ >
2018
+ <svg
2019
+ aria-hidden="true"
2020
+ fill="currentColor"
2021
+ height="1em"
2022
+ role="img"
2023
+ style="vertical-align: -0.125em;"
2024
+ viewBox="0 0 256 512"
2025
+ width="1em"
2026
+ >
2027
+ <path
2028
+ d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
2029
+ />
2030
+ </svg>
2031
+ </span>
2032
+ <a
2033
+ class="pf-c-breadcrumb__link"
2034
+ href="#"
2035
+ >
2036
+ Section Title
2037
+ </a>
2038
+ </li>
2039
+ <li
2040
+ class="pf-c-breadcrumb__item"
2041
+ >
2042
+ <span
2043
+ class="pf-c-breadcrumb__item-divider"
2044
+ >
2045
+ <svg
2046
+ aria-hidden="true"
2047
+ fill="currentColor"
2048
+ height="1em"
2049
+ role="img"
2050
+ style="vertical-align: -0.125em;"
2051
+ viewBox="0 0 256 512"
2052
+ width="1em"
2053
+ >
2054
+ <path
2055
+ d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
2056
+ />
2057
+ </svg>
2058
+ </span>
2059
+ <a
2060
+ class="pf-c-breadcrumb__link"
2061
+ href="#"
2062
+ >
2063
+ Section Title
2064
+ </a>
2065
+ </li>
2066
+ <li
2067
+ class="pf-c-breadcrumb__item"
2068
+ >
2069
+ <span
2070
+ class="pf-c-breadcrumb__item-divider"
2071
+ >
2072
+ <svg
2073
+ aria-hidden="true"
2074
+ fill="currentColor"
2075
+ height="1em"
2076
+ role="img"
2077
+ style="vertical-align: -0.125em;"
2078
+ viewBox="0 0 256 512"
2079
+ width="1em"
2080
+ >
2081
+ <path
2082
+ d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
2083
+ />
2084
+ </svg>
2085
+ </span>
2086
+ <a
2087
+ aria-current="page"
2088
+ class="pf-c-breadcrumb__link pf-m-current"
2089
+ href="#"
2090
+ >
2091
+ Section Landing
2092
+ </a>
2093
+ </li>
2094
+ </ol>
2095
+ </nav>
2096
+ </section>
1428
2097
  <section
1429
2098
  class="pf-c-page__main-section"
1430
2099
  >