@patternfly/patternfly 6.1.0-prerelease.1 → 6.1.0-prerelease.3

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 (60) hide show
  1. package/README.md +5 -5
  2. package/components/CodeEditor/code-editor.css +15 -0
  3. package/components/CodeEditor/code-editor.scss +16 -1
  4. package/components/Content/content.css +9 -0
  5. package/components/Content/content.scss +7 -0
  6. package/components/Label/label-group.css +12 -0
  7. package/components/Label/label-group.scss +14 -0
  8. package/components/Label/label.css +2 -0
  9. package/components/Label/label.scss +2 -0
  10. package/components/MenuToggle/menu-toggle.css +3 -7
  11. package/components/MenuToggle/menu-toggle.scss +3 -8
  12. package/components/Table/table-grid.css +12 -12
  13. package/components/Table/table-grid.scss +4 -4
  14. package/components/Table/table-tree-view.css +4 -4
  15. package/components/Table/table-tree-view.scss +4 -4
  16. package/components/Table/table.css +1 -0
  17. package/components/Table/table.scss +2 -0
  18. package/components/Title/title.css +4 -0
  19. package/components/Title/title.scss +7 -0
  20. package/components/Wizard/wizard.css +1 -1
  21. package/components/Wizard/wizard.scss +1 -1
  22. package/components/_index.css +63 -24
  23. package/docs/components/CodeEditor/examples/CodeEditor.css +3 -0
  24. package/docs/components/CodeEditor/examples/CodeEditor.md +158 -7
  25. package/docs/components/Content/examples/Content.md +8 -7
  26. package/docs/components/InlineEdit/examples/InlineEdit.md +3 -18
  27. package/docs/components/Label/examples/Label.css +12 -0
  28. package/docs/components/Label/examples/Label.md +127 -0
  29. package/docs/components/MenuToggle/examples/MenuToggle.md +1193 -536
  30. package/docs/components/Table/examples/Table.md +465 -2523
  31. package/docs/components/Title/examples/Title.md +10 -0
  32. package/docs/demos/AboutModal/examples/AboutModal.md +2 -4
  33. package/docs/demos/Alert/examples/Alert.md +6 -12
  34. package/docs/demos/BackToTop/examples/BackToTop.md +2 -4
  35. package/docs/demos/Banner/examples/Banner.md +4 -8
  36. package/docs/demos/Card/examples/Card.css +4 -0
  37. package/docs/demos/Card/examples/Card.md +13 -21
  38. package/docs/demos/CardView/examples/CardView.md +2 -4
  39. package/docs/demos/Dashboard/examples/Dashboard.md +2 -4
  40. package/docs/demos/DataList/examples/DataList.md +13 -46
  41. package/docs/demos/DescriptionList/examples/DescriptionList.md +11 -42
  42. package/docs/demos/Drawer/examples/Drawer.md +6 -12
  43. package/docs/demos/JumpLinks/examples/JumpLinks.md +8 -16
  44. package/docs/demos/Masthead/examples/Masthead.md +18 -36
  45. package/docs/demos/Modal/examples/Modal.md +12 -24
  46. package/docs/demos/Nav/examples/Nav.md +12 -24
  47. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +10 -20
  48. package/docs/demos/Page/examples/Page.md +24 -48
  49. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +14 -28
  50. package/docs/demos/Skeleton/examples/Skeleton.md +2 -4
  51. package/docs/demos/Table/examples/Table.md +191 -984
  52. package/docs/demos/Tabs/examples/Tabs.md +18 -60
  53. package/docs/demos/Toolbar/examples/Toolbar.md +16 -80
  54. package/docs/demos/Wizard/examples/Wizard.md +18 -36
  55. package/package.json +3 -3
  56. package/patternfly-no-globals.css +63 -24
  57. package/patternfly.css +63 -24
  58. package/patternfly.min.css +1 -1
  59. package/patternfly.min.css.map +1 -1
  60. package/sass-utilities/functions.scss +6 -0
@@ -2805,9 +2805,22 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
2805
2805
  --pf-v6-c-code-editor__tab-icon--text--MarginInlineStart: var(--pf-t--global--spacer--sm);
2806
2806
  }
2807
2807
 
2808
+ .pf-v6-c-code-editor {
2809
+ display: flex;
2810
+ flex-direction: column;
2811
+ }
2808
2812
  .pf-v6-c-code-editor.pf-m-read-only {
2809
2813
  --pf-v6-c-code-editor__main--BackgroundColor: var(--pf-v6-c-code-editor--m-read-only__main--BackgroundColor);
2810
2814
  }
2815
+ .pf-v6-c-code-editor.pf-m-full-height {
2816
+ height: 100%;
2817
+ }
2818
+
2819
+ .pf-v6-c-code-editor__container {
2820
+ display: flex;
2821
+ flex-direction: column;
2822
+ flex-grow: 1;
2823
+ }
2811
2824
 
2812
2825
  .pf-v6-c-code-editor__header {
2813
2826
  position: relative;
@@ -2874,6 +2887,7 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
2874
2887
 
2875
2888
  .pf-v6-c-code-editor__main {
2876
2889
  position: relative;
2890
+ flex-grow: 1;
2877
2891
  color: var(--pf-v6-c-code-editor__main--Color, inherit);
2878
2892
  background-color: var(--pf-v6-c-code-editor__main--BackgroundColor);
2879
2893
  border: var(--pf-v6-c-code-editor__main--BorderWidth) solid;
@@ -2895,6 +2909,7 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
2895
2909
 
2896
2910
  .pf-v6-c-code-editor__code {
2897
2911
  position: relative;
2912
+ height: 100%;
2898
2913
  padding-block-start: var(--pf-v6-c-code-editor__code--PaddingBlockStart);
2899
2914
  padding-block-end: var(--pf-v6-c-code-editor__code--PaddingBlockEnd);
2900
2915
  padding-inline-start: var(--pf-v6-c-code-editor__code--PaddingInlineStart);
@@ -2967,6 +2982,7 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
2967
2982
  --pf-v6-c-content--h6--LineHeight: var(--pf-t--global--font--line-height--heading);
2968
2983
  --pf-v6-c-content--h6--FontSize: var(--pf-t--global--font--size--heading--h6);
2969
2984
  --pf-v6-c-content--h6--FontWeight: var(--pf-t--global--font--weight--heading--default);
2985
+ --pf-v6-c-content--heading--m-page-title--FontWeight: var(--pf-t--global--font--weight--heading--bold);
2970
2986
  --pf-v6-c-content--small--MarginBlockEnd: var(--pf-t--global--spacer--md);
2971
2987
  --pf-v6-c-content--small--LineHeight: var(--pf-t--global--font--line-height--body);
2972
2988
  --pf-v6-c-content--small--FontSize: var(--pf-t--global--font--size--body--sm);
@@ -3066,6 +3082,14 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
3066
3082
  .pf-v6-c-content--h6, .pf-v6-c-content h1, .pf-v6-c-content h2, .pf-v6-c-content h3, .pf-v6-c-content h4, .pf-v6-c-content h5, .pf-v6-c-content h6):last-child {
3067
3083
  margin-block-end: 0;
3068
3084
  }
3085
+ :is(.pf-v6-c-content--h1,
3086
+ .pf-v6-c-content--h2,
3087
+ .pf-v6-c-content--h3,
3088
+ .pf-v6-c-content--h4,
3089
+ .pf-v6-c-content--h5,
3090
+ .pf-v6-c-content--h6, .pf-v6-c-content h1, .pf-v6-c-content h2, .pf-v6-c-content h3, .pf-v6-c-content h4, .pf-v6-c-content h5, .pf-v6-c-content h6).pf-m-page-title {
3091
+ font-weight: var(--pf-v6-c-content--heading--m-page-title--FontWeight);
3092
+ }
3069
3093
 
3070
3094
  :is(.pf-v6-c-content--h1, .pf-v6-c-content h1) {
3071
3095
  margin-block-start: var(--pf-v6-c-content--h1--MarginBlockStart);
@@ -7836,6 +7860,7 @@ label.pf-v6-c-input-group__text {
7836
7860
  --pf-v6-c-label--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
7837
7861
  --pf-v6-c-label--PaddingInlineStart: var(--pf-t--global--spacer--sm);
7838
7862
  --pf-v6-c-label--MaxWidth: 100%;
7863
+ --pf-v6-c-label--MinWidth: 3em;
7839
7864
  --pf-v6-c-label--BorderWidth: 0;
7840
7865
  --pf-v6-c-label--BorderColor: transparent;
7841
7866
  --pf-v6-c-label--BorderRadius: var(--pf-t--global--border--radius--pill);
@@ -8025,6 +8050,7 @@ label.pf-v6-c-input-group__text {
8025
8050
 
8026
8051
  .pf-v6-c-label {
8027
8052
  position: relative;
8053
+ min-width: var(--pf-v6-c-label--MinWidth);
8028
8054
  max-width: var(--pf-v6-c-label--MaxWidth);
8029
8055
  padding-block-start: var(--pf-v6-c-label--PaddingBlockStart);
8030
8056
  padding-block-end: var(--pf-v6-c-label--PaddingBlockEnd);
@@ -8327,16 +8353,22 @@ input.pf-v6-c-label__content {
8327
8353
  .pf-v6-c-label-group {
8328
8354
  --pf-v6-c-label-group--RowGap: var(--pf-t--global--spacer--sm);
8329
8355
  --pf-v6-c-label-group--ColumnGap: var(--pf-t--global--spacer--xs);
8356
+ --pf-v6-c-label-group--MaxWidth: 100%;
8330
8357
  --pf-v6-c-label-group--m-vertical--RowGap: var(--pf-t--global--spacer--sm);
8331
8358
  --pf-v6-c-label-group--m-vertical--ColumnGap: var(--pf-t--global--spacer--sm);
8332
8359
  --pf-v6-c-label-group__main--RowGap: var(--pf-t--global--spacer--xs);
8333
8360
  --pf-v6-c-label-group__main--ColumnGap: var(--pf-t--global--spacer--sm);
8361
+ --pf-v6-c-label-group__main--MaxWidth: 100%;
8362
+ --pf-v6-c-label-group__main--MinWidth: 0;
8334
8363
  --pf-v6-c-label-group--m-vertical__main--RowGap: var(--pf-t--global--spacer--sm);
8335
8364
  --pf-v6-c-label-group--m-vertical__main--ColumnGap: var(--pf-t--global--spacer--xs);
8336
8365
  --pf-v6-c-label-group__list--RowGap: var(--pf-t--global--spacer--xs);
8337
8366
  --pf-v6-c-label-group__list--ColumnGap: var(--pf-t--global--spacer--xs);
8367
+ --pf-v6-c-label-group__list--MaxWidth: 100%;
8368
+ --pf-v6-c-label-group__list--MinWidth: 0;
8338
8369
  --pf-v6-c-label-group--m-vertical__list--RowGap: var(--pf-t--global--spacer--xs);
8339
8370
  --pf-v6-c-label-group--m-vertical__list--ColumnGap: var(--pf-t--global--spacer--xs);
8371
+ --pf-v6-c-label-group__list-item--MaxWidth: 100%;
8340
8372
  --pf-v6-c-label-group--m-category--PaddingBlockStart: var(--pf-t--global--spacer--xs);
8341
8373
  --pf-v6-c-label-group--m-category--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
8342
8374
  --pf-v6-c-label-group--m-category--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
@@ -8363,6 +8395,7 @@ input.pf-v6-c-label__content {
8363
8395
  row-gap: var(--pf-v6-c-label-group--RowGap);
8364
8396
  column-gap: var(--pf-v6-c-label-group--ColumnGap);
8365
8397
  align-items: center;
8398
+ max-width: var(--pf-v6-c-label-group--MaxWidth);
8366
8399
  }
8367
8400
  .pf-v6-c-label-group.pf-m-category {
8368
8401
  padding-block-start: var(--pf-v6-c-label-group--m-category--PaddingBlockStart);
@@ -8388,9 +8421,11 @@ input.pf-v6-c-label__content {
8388
8421
  .pf-v6-c-label-group.pf-m-vertical .pf-v6-c-label-group__list {
8389
8422
  flex-direction: column;
8390
8423
  align-items: flex-start;
8424
+ max-width: var(--pf-v6-c-label-group__list--MaxWidth);
8391
8425
  }
8392
8426
  .pf-v6-c-label-group.pf-m-vertical .pf-v6-c-label-group__main {
8393
8427
  flex-direction: column;
8428
+ min-width: var(--pf-v6-c-label-group__main--MinWidth);
8394
8429
  }
8395
8430
  .pf-v6-c-label-group.pf-m-editable,
8396
8431
  .pf-v6-c-label-group.pf-m-editable .pf-v6-c-label-group__main,
@@ -8411,6 +8446,7 @@ input.pf-v6-c-label__content {
8411
8446
  row-gap: var(--pf-v6-c-label-group__main--RowGap);
8412
8447
  column-gap: var(--pf-v6-c-label-group__main--ColumnGap);
8413
8448
  align-items: baseline;
8449
+ min-width: var(--pf-v6-c-label-group__main--MinWidth);
8414
8450
  }
8415
8451
 
8416
8452
  .pf-v6-c-label-group__list {
@@ -8418,10 +8454,12 @@ input.pf-v6-c-label__content {
8418
8454
  flex-wrap: wrap;
8419
8455
  row-gap: var(--pf-v6-c-label-group__list--RowGap);
8420
8456
  column-gap: var(--pf-v6-c-label-group__list--ColumnGap);
8457
+ min-width: var(--pf-v6-c-label-group__list--MinWidth);
8421
8458
  }
8422
8459
 
8423
8460
  .pf-v6-c-label-group__list-item {
8424
8461
  display: inline-flex;
8462
+ max-width: var(--pf-v6-c-label-group__list-item--MaxWidth);
8425
8463
  }
8426
8464
 
8427
8465
  .pf-v6-c-label-group__label {
@@ -10283,13 +10321,6 @@ ul.pf-v6-c-list {
10283
10321
  flex-wrap: nowrap;
10284
10322
  }
10285
10323
 
10286
- .pf-v6-c-menu-toggle__controls,
10287
- .pf-v6-c-menu-toggle__toggle-icon {
10288
- display: flex;
10289
- align-items: center;
10290
- justify-content: center;
10291
- }
10292
-
10293
10324
  .pf-v6-c-menu-toggle__icon {
10294
10325
  flex-shrink: 0;
10295
10326
  }
@@ -10301,7 +10332,10 @@ ul.pf-v6-c-list {
10301
10332
  }
10302
10333
 
10303
10334
  .pf-v6-c-menu-toggle__controls {
10335
+ display: flex;
10304
10336
  gap: var(--pf-v6-c-menu-toggle__controls--Gap);
10337
+ align-items: center;
10338
+ justify-content: center;
10305
10339
  margin-inline-start: auto;
10306
10340
  }
10307
10341
 
@@ -14927,7 +14961,7 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
14927
14961
  --pf-v6-c-table--cell--Width: auto;
14928
14962
  }
14929
14963
 
14930
- @media screen and (max-width: 48rem) {
14964
+ @media screen and (max-width: calc(48rem - 1px)) {
14931
14965
  .pf-m-grid-md.pf-v6-c-table {
14932
14966
  --pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table--m-grid--cell--PaddingBlockStart);
14933
14967
  --pf-v6-c-table--cell--PaddingInlineEnd: var(--pf-v6-c-table--m-grid--cell--PaddingInlineEnd);
@@ -15197,14 +15231,14 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
15197
15231
  text-align: end;
15198
15232
  }
15199
15233
  }
15200
- @media screen and (max-width: 48rem) and (max-width: 36rem) {
15234
+ @media screen and (max-width: calc(48rem - 1px)) and (max-width: 36rem) {
15201
15235
  .pf-m-grid-md.pf-v6-c-table .pf-v6-c-table__action {
15202
15236
  grid-row-start: 1;
15203
15237
  grid-column-start: 2;
15204
15238
  margin-inline-start: 0;
15205
15239
  }
15206
15240
  }
15207
- @media screen and (max-width: 48rem) {
15241
+ @media screen and (max-width: calc(48rem - 1px)) {
15208
15242
  .pf-m-grid-md.pf-v6-c-table .pf-v6-c-table__inline-edit-action {
15209
15243
  grid-column: 2;
15210
15244
  grid-row: 2;
@@ -15230,7 +15264,7 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
15230
15264
  }
15231
15265
  }
15232
15266
 
15233
- @media screen and (max-width: 62rem) {
15267
+ @media screen and (max-width: calc(62rem - 1px)) {
15234
15268
  .pf-m-grid-lg.pf-v6-c-table {
15235
15269
  --pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table--m-grid--cell--PaddingBlockStart);
15236
15270
  --pf-v6-c-table--cell--PaddingInlineEnd: var(--pf-v6-c-table--m-grid--cell--PaddingInlineEnd);
@@ -15500,14 +15534,14 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
15500
15534
  text-align: end;
15501
15535
  }
15502
15536
  }
15503
- @media screen and (max-width: 62rem) and (max-width: 36rem) {
15537
+ @media screen and (max-width: calc(62rem - 1px)) and (max-width: 36rem) {
15504
15538
  .pf-m-grid-lg.pf-v6-c-table .pf-v6-c-table__action {
15505
15539
  grid-row-start: 1;
15506
15540
  grid-column-start: 2;
15507
15541
  margin-inline-start: 0;
15508
15542
  }
15509
15543
  }
15510
- @media screen and (max-width: 62rem) {
15544
+ @media screen and (max-width: calc(62rem - 1px)) {
15511
15545
  .pf-m-grid-lg.pf-v6-c-table .pf-v6-c-table__inline-edit-action {
15512
15546
  grid-column: 2;
15513
15547
  grid-row: 2;
@@ -15533,7 +15567,7 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
15533
15567
  }
15534
15568
  }
15535
15569
 
15536
- @media screen and (max-width: 75rem) {
15570
+ @media screen and (max-width: calc(75rem - 1px)) {
15537
15571
  .pf-m-grid-xl.pf-v6-c-table {
15538
15572
  --pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table--m-grid--cell--PaddingBlockStart);
15539
15573
  --pf-v6-c-table--cell--PaddingInlineEnd: var(--pf-v6-c-table--m-grid--cell--PaddingInlineEnd);
@@ -15803,14 +15837,14 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
15803
15837
  text-align: end;
15804
15838
  }
15805
15839
  }
15806
- @media screen and (max-width: 75rem) and (max-width: 36rem) {
15840
+ @media screen and (max-width: calc(75rem - 1px)) and (max-width: 36rem) {
15807
15841
  .pf-m-grid-xl.pf-v6-c-table .pf-v6-c-table__action {
15808
15842
  grid-row-start: 1;
15809
15843
  grid-column-start: 2;
15810
15844
  margin-inline-start: 0;
15811
15845
  }
15812
15846
  }
15813
- @media screen and (max-width: 75rem) {
15847
+ @media screen and (max-width: calc(75rem - 1px)) {
15814
15848
  .pf-m-grid-xl.pf-v6-c-table .pf-v6-c-table__inline-edit-action {
15815
15849
  grid-column: 2;
15816
15850
  grid-row: 2;
@@ -15836,7 +15870,7 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
15836
15870
  }
15837
15871
  }
15838
15872
 
15839
- @media screen and (max-width: 90.625rem) {
15873
+ @media screen and (max-width: calc(90.625rem - 1px)) {
15840
15874
  .pf-m-grid-2xl.pf-v6-c-table {
15841
15875
  --pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table--m-grid--cell--PaddingBlockStart);
15842
15876
  --pf-v6-c-table--cell--PaddingInlineEnd: var(--pf-v6-c-table--m-grid--cell--PaddingInlineEnd);
@@ -16106,14 +16140,14 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
16106
16140
  text-align: end;
16107
16141
  }
16108
16142
  }
16109
- @media screen and (max-width: 90.625rem) and (max-width: 36rem) {
16143
+ @media screen and (max-width: calc(90.625rem - 1px)) and (max-width: 36rem) {
16110
16144
  .pf-m-grid-2xl.pf-v6-c-table .pf-v6-c-table__action {
16111
16145
  grid-row-start: 1;
16112
16146
  grid-column-start: 2;
16113
16147
  margin-inline-start: 0;
16114
16148
  }
16115
16149
  }
16116
- @media screen and (max-width: 90.625rem) {
16150
+ @media screen and (max-width: calc(90.625rem - 1px)) {
16117
16151
  .pf-m-grid-2xl.pf-v6-c-table .pf-v6-c-table__inline-edit-action {
16118
16152
  grid-column: 2;
16119
16153
  grid-row: 2;
@@ -16667,6 +16701,7 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
16667
16701
  .pf-v6-c-table .pf-v6-c-table__draggable {
16668
16702
  --pf-v6-c-table--cell--MinWidth: 0;
16669
16703
  --pf-v6-c-table--cell--Width: 1%;
16704
+ max-width: none;
16670
16705
  }
16671
16706
 
16672
16707
  .pf-v6-c-table .pf-v6-c-table__favorite {
@@ -17315,7 +17350,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
17315
17350
  --pf-v6-c-table--m-tree-view-grid__tbody--cell--PaddingInlineStart: calc(var(--pf-v6-c-table__tree-view-main--nested-indent--base) * 9 + var(--pf-v6-c-table__tree-view-main--indent--base));
17316
17351
  }
17317
17352
 
17318
- @media screen and (max-width: 48rem) {
17353
+ @media screen and (max-width: calc(48rem - 1px)) {
17319
17354
  .pf-m-tree-view-grid-md.pf-v6-c-table {
17320
17355
  --pf-v6-c-table--m-tree-view-grid--tr--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
17321
17356
  --pf-v6-c-table--m-tree-view-grid__tbody--cell--PaddingBlockStart: var(--pf-t--global--spacer--md);
@@ -17458,7 +17493,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
17458
17493
  }
17459
17494
  }
17460
17495
 
17461
- @media screen and (max-width: 62rem) {
17496
+ @media screen and (max-width: calc(62rem - 1px)) {
17462
17497
  .pf-m-tree-view-grid-lg.pf-v6-c-table {
17463
17498
  --pf-v6-c-table--m-tree-view-grid--tr--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
17464
17499
  --pf-v6-c-table--m-tree-view-grid__tbody--cell--PaddingBlockStart: var(--pf-t--global--spacer--md);
@@ -17601,7 +17636,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
17601
17636
  }
17602
17637
  }
17603
17638
 
17604
- @media screen and (max-width: 75rem) {
17639
+ @media screen and (max-width: calc(75rem - 1px)) {
17605
17640
  .pf-m-tree-view-grid-xl.pf-v6-c-table {
17606
17641
  --pf-v6-c-table--m-tree-view-grid--tr--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
17607
17642
  --pf-v6-c-table--m-tree-view-grid__tbody--cell--PaddingBlockStart: var(--pf-t--global--spacer--md);
@@ -17744,7 +17779,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
17744
17779
  }
17745
17780
  }
17746
17781
 
17747
- @media screen and (max-width: 90.625rem) {
17782
+ @media screen and (max-width: calc(90.625rem - 1px)) {
17748
17783
  .pf-m-tree-view-grid-2xl.pf-v6-c-table {
17749
17784
  --pf-v6-c-table--m-tree-view-grid--tr--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
17750
17785
  --pf-v6-c-table--m-tree-view-grid__tbody--cell--PaddingBlockStart: var(--pf-t--global--spacer--md);
@@ -19072,6 +19107,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
19072
19107
  --pf-v6-c-title--m-h6--LineHeight: var(--pf-t--global--font--line-height--heading);
19073
19108
  --pf-v6-c-title--m-h6--FontSize: var(--pf-t--global--font--size--heading--h6);
19074
19109
  --pf-v6-c-title--m-h6--FontWeight: var(--pf-t--global--font--weight--heading--default);
19110
+ --pf-v6-c-title--m-page-title--FontWeight: var(--pf-t--global--font--weight--heading--bold);
19075
19111
  }
19076
19112
 
19077
19113
  .pf-v6-c-title {
@@ -19138,6 +19174,9 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
19138
19174
  font-weight: var(--pf-v6-c-title--m-h6--FontWeight);
19139
19175
  line-height: var(--pf-v6-c-title--m-h6--LineHeight);
19140
19176
  }
19177
+ .pf-v6-c-title.pf-m-page-title {
19178
+ font-weight: var(--pf-v6-c-title--m-page-title--FontWeight);
19179
+ }
19141
19180
 
19142
19181
  .pf-v6-c-toggle-group {
19143
19182
  --pf-v6-c-toggle-group__button--PaddingBlockStart: var(--pf-t--global--spacer--sm);
@@ -21909,7 +21948,7 @@ label.pf-v6-c-tree-view__node-text {
21909
21948
  --pf-v6-c-wizard__toggle-separator--Color: var(--pf-t--global--border--color--default);
21910
21949
  --pf-v6-c-wizard__toggle-icon--LineHeight: var(--pf-t--global--font--line-height--body);
21911
21950
  --pf-v6-c-wizard__toggle--m-expanded__toggle-icon--Rotate: 180deg;
21912
- --pf-v6-c-wizard__nav--ZIndex: var(--pf-t--global--z-index--xs);
21951
+ --pf-v6-c-wizard__nav--ZIndex: var(--pf-t--global--z-index--sm);
21913
21952
  --pf-v6-c-wizard__nav--BackgroundColor: var(--pf-t--global--background--color--primary--default);
21914
21953
  --pf-v6-c-wizard__nav--BoxShadow: var(--pf-t--global--box-shadow--md--bottom);
21915
21954
  --pf-v6-c-wizard__nav--Width: 100%;
@@ -0,0 +1,3 @@
1
+ #ws-core-c-code-editor-with-full-height-modifier .ws-preview-html {
2
+ height: 400px;
3
+ }
@@ -2,7 +2,9 @@
2
2
  id: Code editor
3
3
  section: components
4
4
  cssPrefix: pf-v6-c-code-editor
5
- ---## Examples
5
+ ---import './CodeEditor.css';
6
+
7
+ ## Examples
6
8
 
7
9
  ### Default
8
10
 
@@ -49,11 +51,11 @@ cssPrefix: pf-v6-c-code-editor
49
51
  </div>
50
52
  </div>
51
53
  <div class="pf-v6-c-code-editor__main">
52
- <code dir="ltr" class="pf-v6-c-code-editor__code">
54
+ <div dir="ltr" class="pf-v6-c-code-editor__code">
53
55
  <pre class="pf-v6-c-code-editor__code-pre">
54
56
  code goes here
55
57
  </pre>
56
- </code>
58
+ </div>
57
59
  </div>
58
60
  </div>
59
61
 
@@ -104,11 +106,11 @@ cssPrefix: pf-v6-c-code-editor
104
106
  </div>
105
107
  </div>
106
108
  <div class="pf-v6-c-code-editor__main">
107
- <code dir="ltr" class="pf-v6-c-code-editor__code">
109
+ <div dir="ltr" class="pf-v6-c-code-editor__code">
108
110
  <pre class="pf-v6-c-code-editor__code-pre">
109
111
  code goes here
110
112
  </pre>
111
- </code>
113
+ </div>
112
114
  </div>
113
115
  </div>
114
116
 
@@ -267,11 +269,158 @@ cssPrefix: pf-v6-c-code-editor
267
269
  </div>
268
270
  </div>
269
271
  <div class="pf-v6-c-code-editor__main">
270
- <code dir="ltr" class="pf-v6-c-code-editor__code">
272
+ <div dir="ltr" class="pf-v6-c-code-editor__code">
271
273
  <pre class="pf-v6-c-code-editor__code-pre">
272
274
  code goes here
273
275
  </pre>
274
- </code>
276
+ </div>
277
+ </div>
278
+ </div>
279
+
280
+ ```
281
+
282
+ ### With optional code editor container
283
+
284
+ This is an extra container used in React to prevent event propagation if upload is enabled or there is a provided empty state.
285
+
286
+ ```html
287
+ <div class="pf-v6-c-code-editor">
288
+ <div role="presentation" tabindex="0" class="pf-v6-c-code-editor__container">
289
+ <div class="pf-v6-c-code-editor__header">
290
+ <div class="pf-v6-c-code-editor__header-content">
291
+ <div class="pf-v6-c-code-editor__controls">
292
+ <button
293
+ class="pf-v6-c-button pf-m-plain"
294
+ type="button"
295
+ aria-label="Copy to clipboard"
296
+ >
297
+ <span class="pf-v6-c-button__icon">
298
+ <i class="fas fa-copy" aria-hidden="true"></i>
299
+ </span>
300
+ </button>
301
+ <button
302
+ class="pf-v6-c-button pf-m-plain"
303
+ type="button"
304
+ aria-label="Download code"
305
+ >
306
+ <span class="pf-v6-c-button__icon">
307
+ <i class="fas fa-download" aria-hidden="true"></i>
308
+ </span>
309
+ </button>
310
+ <button
311
+ class="pf-v6-c-button pf-m-plain"
312
+ type="button"
313
+ aria-label="Upload code"
314
+ >
315
+ <span class="pf-v6-c-button__icon">
316
+ <i class="fas fa-upload" aria-hidden="true"></i>
317
+ </span>
318
+ </button>
319
+ </div>
320
+ </div>
321
+ <div class="pf-v6-c-code-editor__tab">
322
+ <span class="pf-v6-c-code-editor__tab-icon">
323
+ <i class="fas fa-code"></i>
324
+ </span>
325
+ <span class="pf-v6-c-code-editor__tab-text">HTML</span>
326
+ </div>
327
+ </div>
328
+ <div class="pf-v6-c-code-editor__main">
329
+ <div class="pf-v6-c-code-editor__upload">
330
+ <div class="pf-v6-c-empty-state">
331
+ <div class="pf-v6-c-empty-state__content">
332
+ <div class="pf-v6-c-empty-state__header">
333
+ <div class="pf-v6-c-empty-state__icon">
334
+ <i class="fas fa- fa-code" aria-hidden="true"></i>
335
+ </div>
336
+ <div class="pf-v6-c-empty-state__title">
337
+ <h1 class="pf-v6-c-empty-state__title-text">Start editing</h1>
338
+ </div>
339
+ </div>
340
+
341
+ <div
342
+ class="pf-v6-c-empty-state__body"
343
+ >Drag a file here or browse to upload.</div>
344
+
345
+ <div class="pf-v6-c-empty-state__footer">
346
+ <div class="pf-v6-c-empty-state__actions">
347
+ <button class="pf-v6-c-button pf-m-primary" type="button">
348
+ <span class="pf-v6-c-button__text">Browse</span>
349
+ </button>
350
+ </div>
351
+ <div class="pf-v6-c-empty-state__actions">
352
+ <button class="pf-v6-c-button pf-m-link" type="button">
353
+ <span class="pf-v6-c-button__text">Start from scratch</span>
354
+ </button>
355
+ </div>
356
+ </div>
357
+ </div>
358
+ </div>
359
+ </div>
360
+ </div>
361
+ </div>
362
+ </div>
363
+
364
+ ```
365
+
366
+ ### With full height modifier
367
+
368
+ ```html
369
+ <div class="pf-v6-c-code-editor pf-m-full-height">
370
+ <div class="pf-v6-c-code-editor__header">
371
+ <div class="pf-v6-c-code-editor__header-content">
372
+ <div class="pf-v6-c-code-editor__controls">
373
+ <button
374
+ class="pf-v6-c-button pf-m-plain"
375
+ type="button"
376
+ aria-label="Copy to clipboard"
377
+ >
378
+ <span class="pf-v6-c-button__icon">
379
+ <i class="fas fa-copy" aria-hidden="true"></i>
380
+ </span>
381
+ </button>
382
+ <button
383
+ class="pf-v6-c-button pf-m-plain"
384
+ type="button"
385
+ aria-label="Download code"
386
+ >
387
+ <span class="pf-v6-c-button__icon">
388
+ <i class="fas fa-download" aria-hidden="true"></i>
389
+ </span>
390
+ </button>
391
+ <button
392
+ class="pf-v6-c-button pf-m-plain"
393
+ type="button"
394
+ aria-label="Upload code"
395
+ >
396
+ <span class="pf-v6-c-button__icon">
397
+ <i class="fas fa-upload" aria-hidden="true"></i>
398
+ </span>
399
+ </button>
400
+ </div>
401
+ <div class="pf-v6-c-code-editor__header-main">Header main content</div>
402
+ <div class="pf-v6-c-code-editor__keyboard-shortcuts">
403
+ <button class="pf-v6-c-button pf-m-link" type="button">
404
+ <span class="pf-v6-c-button__icon pf-m-start">
405
+ <i class="fas fa-question-circle" aria-hidden="true"></i>
406
+ </span>
407
+ <span class="pf-v6-c-button__text">View shortcuts</span>
408
+ </button>
409
+ </div>
410
+ </div>
411
+ <div class="pf-v6-c-code-editor__tab">
412
+ <span class="pf-v6-c-code-editor__tab-icon">
413
+ <i class="fas fa-code"></i>
414
+ </span>
415
+ <span class="pf-v6-c-code-editor__tab-text">HTML</span>
416
+ </div>
417
+ </div>
418
+ <div class="pf-v6-c-code-editor__main">
419
+ <div dir="ltr" class="pf-v6-c-code-editor__code">
420
+ <pre class="pf-v6-c-code-editor__code-pre">
421
+ code goes here
422
+ </pre>
423
+ </div>
275
424
  </div>
276
425
  </div>
277
426
 
@@ -295,3 +444,5 @@ cssPrefix: pf-v6-c-code-editor
295
444
  | `.pf-v6-c-code-editor__tab-text` | `<span>` | Initiates the code editor tab text. |
296
445
  | `.pf-v6-c-code-editor__tab-icon` | `<span>` | Initiates the code editor tab icon. |
297
446
  | `.pf-v6-c-code-editor__upload` | `<div>` | Initiates the code editor upload border. |
447
+ | `.pf-v6-c-code-editor__container` | `<div>` | Initiates the container used inside `.pf-v6-c-code-editor` in PatternFly React. This is used in PatternFly React to prevent event propagation if upload is enabled or there is a provided empty state. |
448
+ | `.pf-m-full-height` | `.pf-v6-c-code-editor` | Modifies for full-height style. |
@@ -7,7 +7,7 @@ cssPrefix: pf-v6-c-content
7
7
  ### Basic
8
8
 
9
9
  ```html
10
- <h1 class="pf-v6-c-content--h1">Hello world</h1>
10
+ <h1 class="pf-v6-c-content--h1 pf-m-page-title">Hello world</h1>
11
11
  <p
12
12
  class="pf-v6-c-content--p"
13
13
  >Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla accumsan, metus ultrices eleifend gravida, nulla nunc varius lectus, nec rutrum justo nibh eu lectus. Ut vulputate semper dui. Fusce erat odio, sollicitudin vel erat vel, interdum mattis neque. Sub works as well!</p>
@@ -179,7 +179,7 @@ cssPrefix: pf-v6-c-content
179
179
 
180
180
  ```html
181
181
  <div class="pf-v6-c-content">
182
- <h1>Hello world</h1>
182
+ <h1 class="pf-m-page-title">Hello world</h1>
183
183
  <p
184
184
  class
185
185
  >Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla accumsan, metus ultrices eleifend gravida, nulla nunc varius lectus, nec rutrum justo nibh eu lectus. Ut vulputate semper dui. Fusce erat odio, sollicitudin vel erat vel, interdum mattis neque. Sub works as well!</p>
@@ -329,7 +329,7 @@ cssPrefix: pf-v6-c-content
329
329
  ### Long-form/editorial content
330
330
 
331
331
  ```html
332
- <h1 class="pf-v6-c-content--h1 pf-m-editorial">Hello world</h1>
332
+ <h1 class="pf-v6-c-content--h1 pf-m-page-title pf-m-editorial">Hello world</h1>
333
333
  <p
334
334
  class="pf-v6-c-content--p pf-m-editorial"
335
335
  >Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla accumsan, metus ultrices eleifend gravida, nulla nunc varius lectus, nec rutrum justo nibh eu lectus. Ut vulputate semper dui. Fusce erat odio, sollicitudin vel erat vel, interdum mattis neque. Sub works as well!</p>
@@ -425,7 +425,7 @@ cssPrefix: pf-v6-c-content
425
425
  </p>
426
426
  <hr class="pf-v6-c-content--hr pf-m-editorial" />
427
427
  <h3 class="pf-v6-c-content--h3 pf-m-editorial">Plain list example</h3>
428
- <ol class="pf-v6-c-content--ol pf-m-editorial pf-m-plain">
428
+ <ol class="pf-v6-c-content--ol pf-m-plain pf-m-editorial">
429
429
  <li
430
430
  class="pf-v6-c-content--li pf-m-editorial"
431
431
  >Donec blandit a lorem id convallis.</li>
@@ -446,7 +446,7 @@ cssPrefix: pf-v6-c-content
446
446
  >Cras gravida arcu at diam gravida gravida.</li>
447
447
  <li class="pf-v6-c-content--li pf-m-editorial">
448
448
  Integer in volutpat libero.
449
- <ol class="pf-v6-c-content--ol pf-m-editorial pf-m-plain">
449
+ <ol class="pf-v6-c-content--ol pf-m-plain pf-m-editorial">
450
450
  <li class="pf-v6-c-content--li pf-m-editorial">Nested plain list</li>
451
451
  <li
452
452
  class="pf-v6-c-content--li pf-m-editorial"
@@ -469,7 +469,7 @@ cssPrefix: pf-v6-c-content
469
469
  <hr class="pf-v6-c-content--hr pf-m-editorial" />
470
470
  <h3 class="pf-v6-c-content--h3 pf-m-editorial">Visited link example</h3>
471
471
  <p class="pf-v6-c-content--p pf-m-editorial">
472
- <a class="pf-v6-c-content--a pf-m-editorial pf-m-plain" href>Visited link</a>
472
+ <a class="pf-v6-c-content--a pf-m-plain pf-m-editorial" href>Visited link</a>
473
473
  </p>
474
474
  <hr class="pf-v6-c-content--hr pf-m-editorial" />
475
475
  <p class="pf-v6-c-content--p pf-m-editorial">
@@ -533,7 +533,7 @@ cssPrefix: pf-v6-c-content
533
533
 
534
534
  ```html
535
535
  <div class="pf-v6-c-content pf-m-editorial">
536
- <h1>Hello world</h1>
536
+ <h1 class="pf-m-page-title">Hello world</h1>
537
537
  <p
538
538
  class
539
539
  >Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla accumsan, metus ultrices eleifend gravida, nulla nunc varius lectus, nec rutrum justo nibh eu lectus. Ut vulputate semper dui. Fusce erat odio, sollicitudin vel erat vel, interdum mattis neque. Sub works as well!</p>
@@ -704,3 +704,4 @@ This component is an exception to the variable system since we style type select
704
704
  | `.pf-m-visited` | `.pf-v6-c-content`, `<a>` | Modifies all links in a content block to include visited styles. Can also be applied to a single link in a content block. |
705
705
  | `.pf-m-plain` | `<ul>`, `<ol>` | Removes the list marker and indentation. |
706
706
  | `.pf-m-editorial` | `.pf-v6-c-content*` | Applies long-form, editorial content styles to a block of content or individual content elements. |
707
+ | `.pf-m-page-title` | `.pf-v6-c-content--[h1, h2, h3, h4, h5, h6]`, `.pf-v6-c-content [h1, h2, h3, h4, h5, h6]` | Applies page title styles. **Note:** `.pf-m-page-title` should only apply to the heading that serves as the title for the current page. |
@@ -470,12 +470,7 @@ Inline edit **action-group** contains save and cancel actions and is only visibl
470
470
  <caption class="pf-v6-c-table__caption">This is the table caption</caption>
471
471
 
472
472
  <thead class="pf-v6-c-table__thead">
473
- <tr
474
- class="pf-v6-c-table__tr"
475
- role&#x26;#x3D;&#x26;quot;row&#x26;quot;
476
- [object
477
- Object]
478
- >
473
+ <tr class="pf-v6-c-table__tr" role="row">
479
474
  <th class="pf-v6-c-table__th" role="columnheader">Text input</th>
480
475
 
481
476
  <th class="pf-v6-c-table__th" role="columnheader">Disabled text input</th>
@@ -505,12 +500,7 @@ Inline edit **action-group** contains save and cancel actions and is only visibl
505
500
  </thead>
506
501
 
507
502
  <tbody class="pf-v6-c-table__tbody" role="rowgroup">
508
- <tr
509
- class="pf-v6-c-table__tr pf-m-inline-editable"
510
- role&#x26;#x3D;&#x26;quot;row&#x26;quot;
511
- [object
512
- Object]
513
- >
503
+ <tr class="pf-v6-c-table__tr pf-m-inline-editable" role="row">
514
504
  <th
515
505
  class="pf-v6-c-table__th"
516
506
  role="columnheader"
@@ -699,12 +689,7 @@ Inline edit **action-group** contains save and cancel actions and is only visibl
699
689
  </td>
700
690
  </tr>
701
691
 
702
- <tr
703
- class="pf-v6-c-table__tr"
704
- role&#x26;#x3D;&#x26;quot;row&#x26;quot;
705
- [object
706
- Object]
707
- >
692
+ <tr class="pf-v6-c-table__tr" role="row">
708
693
  <th
709
694
  class="pf-v6-c-table__th"
710
695
  role="columnheader"
@@ -11,3 +11,15 @@
11
11
  #ws-core-c-label-overflow .pf-v6-c-label {
12
12
  margin: 4px;
13
13
  }
14
+
15
+ #ws-core-c-label-labels-with-truncation .ws-preview-html {
16
+ max-width: 320px;
17
+ }
18
+
19
+ .pf-v6-c-label-truncate--example {
20
+ max-width: 100%;
21
+ padding: var(--pf-t--global--spacer--sm);
22
+ overflow: auto;
23
+ resize: horizontal;
24
+ border: var(--pf-t--global--border--width--box--default) solid var(--pf-t--global--border--color--default);
25
+ }