@patternfly/patternfly 6.0.0-alpha.107 → 6.0.0-alpha.109

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 (137) hide show
  1. package/README.md +0 -1
  2. package/base/_common.scss +4 -4
  3. package/base/_globals.scss +2 -2
  4. package/base/_themes.scss +3 -3
  5. package/base/_variables.scss +14 -14
  6. package/base/patternfly-variables.css +18 -12
  7. package/base/themes/dark/_globals.scss +1 -1
  8. package/base/tokens/_tokens-charts.scss +1 -1
  9. package/base/tokens/_tokens-dark.scss +3 -3
  10. package/base/tokens/_tokens-default.scss +17 -11
  11. package/base/tokens/_tokens-palette.scss +1 -1
  12. package/components/AboutModalBox/about-modal-box.scss +12 -12
  13. package/components/Accordion/accordion.scss +2 -2
  14. package/components/Alert/alert.css +4 -4
  15. package/components/Alert/alert.scss +6 -8
  16. package/components/AppLauncher/app-launcher.scss +2 -2
  17. package/components/AppLauncher/themes/dark/app-launcher.scss +1 -1
  18. package/components/Avatar/avatar.scss +5 -5
  19. package/components/BackToTop/back-to-top.scss +1 -1
  20. package/components/BackgroundImage/background-image.scss +1 -1
  21. package/components/Banner/banner.scss +1 -1
  22. package/components/Brand/brand.scss +3 -3
  23. package/components/Breadcrumb/breadcrumb.css +2 -2
  24. package/components/Breadcrumb/breadcrumb.scss +3 -3
  25. package/components/CalendarMonth/calendar-month.scss +1 -1
  26. package/components/Card/card.css +5 -5
  27. package/components/Card/card.scss +6 -6
  28. package/components/Chip/chip-group.scss +2 -2
  29. package/components/Chip/chip.scss +4 -4
  30. package/components/Chip/themes/dark/chip.scss +1 -1
  31. package/components/ClipboardCopy/clipboard-copy.scss +1 -1
  32. package/components/Content/content.scss +4 -4
  33. package/components/ContextSelector/context-selector.scss +5 -5
  34. package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
  35. package/components/DataList/data-list-grid.scss +6 -6
  36. package/components/DataList/data-list.css +17 -17
  37. package/components/DataList/data-list.scss +6 -6
  38. package/components/DescriptionList/description-list-order.scss +1 -1
  39. package/components/DescriptionList/description-list.scss +5 -5
  40. package/components/Divider/divider.css +15 -15
  41. package/components/Divider/divider.scss +16 -16
  42. package/components/Drawer/drawer.css +2 -2
  43. package/components/Drawer/drawer.scss +27 -27
  44. package/components/Dropdown/dropdown.scss +6 -6
  45. package/components/Dropdown/themes/dark/dropdown.scss +1 -1
  46. package/components/DualListSelector/dual-list-selector.scss +4 -4
  47. package/components/ExpandableSection/expandable-section.scss +1 -1
  48. package/components/Form/form.scss +8 -8
  49. package/components/FormControl/form-control.css +3 -3
  50. package/components/FormControl/form-control.scss +3 -3
  51. package/components/Hint/hint.css +1 -1
  52. package/components/Hint/hint.scss +1 -1
  53. package/components/JumpLinks/jump-links.css +2 -2
  54. package/components/JumpLinks/jump-links.scss +6 -6
  55. package/components/Label/label-group.scss +1 -1
  56. package/components/Label/label.scss +2 -2
  57. package/components/LogViewer/log-viewer.scss +3 -3
  58. package/components/LogViewer/themes/dark/log-viewer.scss +2 -2
  59. package/components/Login/login.scss +13 -13
  60. package/components/Masthead/masthead.scss +15 -15
  61. package/components/Menu/menu.css +17 -17
  62. package/components/Menu/menu.scss +9 -9
  63. package/components/MenuToggle/menu-toggle.scss +1 -1
  64. package/components/ModalBox/modal-box.scss +3 -3
  65. package/components/Nav/nav.scss +3 -3
  66. package/components/NotificationDrawer/notification-drawer.scss +3 -3
  67. package/components/NumberInput/number-input.scss +1 -1
  68. package/components/OptionsMenu/options-menu.scss +3 -3
  69. package/components/OptionsMenu/themes/dark/options-menu.scss +1 -1
  70. package/components/Page/page.css +16 -16
  71. package/components/Page/page.scss +19 -19
  72. package/components/Pagination/pagination.scss +10 -10
  73. package/components/Popover/popover.css +1 -1
  74. package/components/Popover/popover.scss +1 -1
  75. package/components/Progress/progress.scss +1 -1
  76. package/components/ProgressStepper/progress-stepper.scss +11 -11
  77. package/components/Select/select.scss +5 -5
  78. package/components/Select/themes/dark/select.scss +1 -1
  79. package/components/Sidebar/sidebar.css +84 -84
  80. package/components/Sidebar/sidebar.scss +12 -12
  81. package/components/Skeleton/skeleton.scss +1 -1
  82. package/components/Slider/slider.scss +11 -11
  83. package/components/Switch/switch.scss +2 -2
  84. package/components/TabContent/tab-content.scss +1 -1
  85. package/components/Table/table-grid.scss +6 -6
  86. package/components/Table/table-tree-view.scss +6 -6
  87. package/components/Table/table.css +15 -15
  88. package/components/Table/table.scss +2 -2
  89. package/components/Tabs/tabs.scss +10 -10
  90. package/components/TextInputGroup/text-input-group.scss +1 -1
  91. package/components/ToggleGroup/toggle-group.css +2 -2
  92. package/components/ToggleGroup/toggle-group.scss +2 -2
  93. package/components/Toolbar/toolbar.css +15 -15
  94. package/components/Toolbar/toolbar.scss +20 -20
  95. package/components/TreeView/tree-view.scss +5 -5
  96. package/components/Truncate/truncate.scss +3 -3
  97. package/components/Wizard/wizard.scss +10 -10
  98. package/docs/components/Badge/examples/Badge.md +0 -21
  99. package/docs/components/Breadcrumb/examples/Breadcrumb.md +17 -58
  100. package/docs/components/Menu/examples/Menu.md +14 -6
  101. package/docs/components/MenuToggle/examples/MenuToggle.md +19 -0
  102. package/layouts/Flex/flex.scss +12 -12
  103. package/layouts/Gallery/gallery.scss +2 -2
  104. package/layouts/Grid/grid.scss +5 -5
  105. package/package.json +1 -1
  106. package/patternfly-base-no-globals-theme-dark-unversioned.css +18 -12
  107. package/patternfly-base-no-globals-theme-dark-unversioned.scss +1 -1
  108. package/patternfly-base-no-globals.css +18 -12
  109. package/patternfly-base-theme-dark-unversioned.css +18 -12
  110. package/patternfly-base.css +18 -12
  111. package/patternfly-charts-theme-dark-unversioned.scss +4 -4
  112. package/patternfly-charts-theme-dark.css +2 -2
  113. package/patternfly-charts-theme-dark.scss +4 -4
  114. package/patternfly-no-globals.css +163 -157
  115. package/patternfly-theme-dark-unversioned.css +163 -157
  116. package/patternfly.css +163 -157
  117. package/patternfly.min.css +1 -1
  118. package/patternfly.min.css.map +1 -1
  119. package/sass-utilities/_init.scss +3 -3
  120. package/sass-utilities/functions.scss +11 -11
  121. package/sass-utilities/mixins.scss +55 -54
  122. package/sass-utilities/placeholders.scss +12 -12
  123. package/sass-utilities/scss-variables.scss +27 -27
  124. package/sass-utilities/themes/dark/mixins.scss +2 -2
  125. package/sass-utilities/themes/dark/placeholders.scss +1 -1
  126. package/themes/dark/_patternfly-charts-theme-dark.scss +1 -1
  127. package/utilities/Accessibility/accessibility.scss +6 -6
  128. package/utilities/Alignment/alignment.scss +1 -1
  129. package/utilities/BackgroundColor/BackgroundColor.scss +1 -1
  130. package/utilities/BoxShadow/box-shadow.scss +1 -1
  131. package/utilities/Display/display.scss +1 -1
  132. package/utilities/Flex/flex.scss +10 -10
  133. package/utilities/Float/float.scss +1 -1
  134. package/utilities/Sizing/sizing.scss +6 -6
  135. package/utilities/Spacing/spacing.scss +3 -3
  136. package/utilities/Text/text.scss +5 -5
  137. package/docs/components/Breadcrumb/examples/Breadcrumb.css +0 -3
@@ -5,25 +5,25 @@
5
5
  }
6
6
 
7
7
  .pf-m-grid-md.#{$table} {
8
- @media screen and (max-width: $pf-v5-global--breakpoint--md) {
8
+ @media screen and (max-width: $pf-v6-global--breakpoint--md) {
9
9
  @content;
10
10
  }
11
11
  }
12
12
 
13
13
  .pf-m-grid-lg.#{$table} {
14
- @media screen and (max-width: $pf-v5-global--breakpoint--lg) {
14
+ @media screen and (max-width: $pf-v6-global--breakpoint--lg) {
15
15
  @content;
16
16
  }
17
17
  }
18
18
 
19
19
  .pf-m-grid-xl.#{$table} {
20
- @media screen and (max-width: $pf-v5-global--breakpoint--xl) {
20
+ @media screen and (max-width: $pf-v6-global--breakpoint--xl) {
21
21
  @content;
22
22
  }
23
23
  }
24
24
 
25
25
  .pf-m-grid-2xl.#{$table} {
26
- @media screen and (max-width: $pf-v5-global--breakpoint--2xl) {
26
+ @media screen and (max-width: $pf-v6-global--breakpoint--2xl) {
27
27
  @content;
28
28
  }
29
29
  }
@@ -267,7 +267,7 @@
267
267
 
268
268
  // - Table grid th td data label
269
269
  :where(.#{$table}__th, .#{$table}__td)[data-label] {
270
- // default pf-v5-hidden-visible() mixin is called in table.scss. redefining variable here
270
+ // default pf-v6-hidden-visible() mixin is called in table.scss. redefining variable here
271
271
  --#{$table}--cell--hidden-visible--Display: var(--#{$table}--m-grid--cell--hidden-visible--Display);
272
272
 
273
273
  grid-column: 1;
@@ -526,7 +526,7 @@
526
526
  text-align: end;
527
527
 
528
528
  // @smallest breakpoint
529
- @media screen and (max-width: $pf-v5-global--breakpoint--sm) {
529
+ @media screen and (max-width: $pf-v6-global--breakpoint--sm) {
530
530
  grid-row-start: 1;
531
531
  grid-column-start: 2;
532
532
  margin-inline-start: 0;
@@ -69,10 +69,10 @@ $pf-v6-c-tree-view--MaxDepth: 10;
69
69
  cursor: pointer;
70
70
 
71
71
  > .#{$table}__toggle {
72
- @include pf-v5-bidirectional-style (
72
+ @include pf-v6-bidirectional-style (
73
73
  $prop: 'transform',
74
74
  $ltr-val: translateX(var(--#{$table}--m-tree-view__toggle--TranslateX)),
75
- $rtl-val: translateX(#{pf-v5-calc-inverse(var(--#{$table}--m-tree-view__toggle--TranslateX))})
75
+ $rtl-val: translateX(#{pf-v6-calc-inverse(var(--#{$table}--m-tree-view__toggle--TranslateX))})
76
76
  );
77
77
 
78
78
  position: var(--#{$table}--m-tree-view__toggle--Position);
@@ -125,25 +125,25 @@ $pf-v6-c-tree-view--MaxDepth: 10;
125
125
  }
126
126
 
127
127
  .pf-m-tree-view-grid-md.#{$table} {
128
- @media screen and (max-width: $pf-v5-global--breakpoint--md) {
128
+ @media screen and (max-width: $pf-v6-global--breakpoint--md) {
129
129
  @content;
130
130
  }
131
131
  }
132
132
 
133
133
  .pf-m-tree-view-grid-lg.#{$table} {
134
- @media screen and (max-width: $pf-v5-global--breakpoint--lg) {
134
+ @media screen and (max-width: $pf-v6-global--breakpoint--lg) {
135
135
  @content;
136
136
  }
137
137
  }
138
138
 
139
139
  .pf-m-tree-view-grid-xl.#{$table} {
140
- @media screen and (max-width: $pf-v5-global--breakpoint--xl) {
140
+ @media screen and (max-width: $pf-v6-global--breakpoint--xl) {
141
141
  @content;
142
142
  }
143
143
  }
144
144
 
145
145
  .pf-m-tree-view-grid-2xl.#{$table} {
146
- @media screen and (max-width: $pf-v5-global--breakpoint--2xl) {
146
+ @media screen and (max-width: $pf-v6-global--breakpoint--2xl) {
147
147
  @content;
148
148
  }
149
149
  }
@@ -1,49 +1,49 @@
1
1
  .pf-v6-c-table tr:where(.pf-v6-c-table__tr) > :where(th, td) {
2
- --pf-v5-hidden-visible--hidden--Display: none;
3
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--visible--Display);
4
- display: var(--pf-v5-hidden-visible--Display);
2
+ --pf-v6-hidden-visible--hidden--Display: none;
3
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
4
+ display: var(--pf-v6-hidden-visible--Display);
5
5
  }
6
6
  .pf-v6-c-table tr:where(.pf-v6-c-table__tr) > .pf-m-hidden:where(th, td) {
7
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--hidden--Display);
7
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
8
8
  }
9
9
  @media screen and (min-width: 576px) {
10
10
  .pf-v6-c-table tr:where(.pf-v6-c-table__tr) > .pf-m-hidden-on-sm:where(th, td) {
11
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--hidden--Display);
11
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
12
12
  }
13
13
  .pf-v6-c-table tr:where(.pf-v6-c-table__tr) > .pf-m-visible-on-sm:where(th, td) {
14
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--visible--Display);
14
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
15
15
  }
16
16
  }
17
17
  @media screen and (min-width: 768px) {
18
18
  .pf-v6-c-table tr:where(.pf-v6-c-table__tr) > .pf-m-hidden-on-md:where(th, td) {
19
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--hidden--Display);
19
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
20
20
  }
21
21
  .pf-v6-c-table tr:where(.pf-v6-c-table__tr) > .pf-m-visible-on-md:where(th, td) {
22
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--visible--Display);
22
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
23
23
  }
24
24
  }
25
25
  @media screen and (min-width: 992px) {
26
26
  .pf-v6-c-table tr:where(.pf-v6-c-table__tr) > .pf-m-hidden-on-lg:where(th, td) {
27
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--hidden--Display);
27
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
28
28
  }
29
29
  .pf-v6-c-table tr:where(.pf-v6-c-table__tr) > .pf-m-visible-on-lg:where(th, td) {
30
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--visible--Display);
30
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
31
31
  }
32
32
  }
33
33
  @media screen and (min-width: 1200px) {
34
34
  .pf-v6-c-table tr:where(.pf-v6-c-table__tr) > .pf-m-hidden-on-xl:where(th, td) {
35
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--hidden--Display);
35
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
36
36
  }
37
37
  .pf-v6-c-table tr:where(.pf-v6-c-table__tr) > .pf-m-visible-on-xl:where(th, td) {
38
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--visible--Display);
38
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
39
39
  }
40
40
  }
41
41
  @media screen and (min-width: 1450px) {
42
42
  .pf-v6-c-table tr:where(.pf-v6-c-table__tr) > .pf-m-hidden-on-2xl:where(th, td) {
43
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--hidden--Display);
43
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
44
44
  }
45
45
  .pf-v6-c-table tr:where(.pf-v6-c-table__tr) > .pf-m-visible-on-2xl:where(th, td) {
46
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--visible--Display);
46
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
47
47
  }
48
48
  }
49
49
 
@@ -238,7 +238,7 @@
238
238
  opacity: var(--pf-v6-c-table__tr--m-ghost-row--Opacity);
239
239
  }
240
240
  .pf-v6-c-table tr:where(.pf-v6-c-table__tr) > :where(th, td) {
241
- --pf-v5-hidden-visible--visible--Display: var(--pf-v6-c-table--cell--hidden-visible--Display);
241
+ --pf-v6-hidden-visible--visible--Display: var(--pf-v6-c-table--cell--hidden-visible--Display);
242
242
  position: relative;
243
243
  width: var(--pf-v6-c-table--cell--Width);
244
244
  min-width: var(--pf-v6-c-table--cell--MinWidth);
@@ -314,7 +314,7 @@
314
314
 
315
315
  // - Table th - Table td
316
316
  tr:where(.#{$table}__tr) > :where(th, td) {
317
- @include pf-v5-hidden-visible(var(--#{$table}--cell--hidden-visible--Display));
317
+ @include pf-v6-hidden-visible(var(--#{$table}--cell--hidden-visible--Display));
318
318
 
319
319
  position: relative;
320
320
  width: var(--#{$table}--cell--Width);
@@ -724,7 +724,7 @@
724
724
 
725
725
 
726
726
  .#{$table}__toggle-icon {
727
- @include pf-v5-mirror-inline-on-rtl;
727
+ @include pf-v6-mirror-inline-on-rtl;
728
728
 
729
729
  transition: var(--#{$table}__toggle--c-button__toggle-icon--Transition);
730
730
  transform: rotate(var(--#{$table}__toggle--c-button__toggle-icon--Rotate));
@@ -1,6 +1,6 @@
1
1
  // @debug $tabs; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
2
- $pf-v5-c-tabs--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
3
- $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
2
+ $pf-v6-c-tabs--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
3
+ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
4
4
 
5
5
  :where(:root),
6
6
  :where(.#{$tabs}) {
@@ -374,10 +374,10 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
374
374
  overflow-wrap: break-word;
375
375
  }
376
376
 
377
- @each $breakpoint, $breakpoint-value in $pf-v5-c-tabs--breakpoint-map {
377
+ @each $breakpoint, $breakpoint-value in $pf-v6-c-tabs--breakpoint-map {
378
378
  $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
379
379
 
380
- @include pf-v5-apply-breakpoint($breakpoint) {
380
+ @include pf-v6-apply-breakpoint($breakpoint) {
381
381
  // stylelint-disable max-nesting-depth
382
382
  &.pf-m-expandable#{$breakpoint-name} {
383
383
  --#{$tabs}__list--Display: none;
@@ -490,7 +490,7 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
490
490
  }
491
491
 
492
492
  .#{$tabs}__toggle-icon {
493
- @include pf-v5-mirror-inline-on-rtl;
493
+ @include pf-v6-mirror-inline-on-rtl;
494
494
 
495
495
  display: inline-block;
496
496
  color: var(--#{$tabs}__toggle-icon--Color);
@@ -506,7 +506,7 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
506
506
 
507
507
  // Tab list
508
508
  .#{$tabs}__list {
509
- @include pf-v5-overflow-hide-scroll;
509
+ @include pf-v6-overflow-hide-scroll;
510
510
 
511
511
  position: relative;
512
512
  display: var(--#{$tabs}__list--Display);
@@ -677,7 +677,7 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
677
677
  }
678
678
 
679
679
  .#{$tabs}__link-toggle-icon {
680
- @include pf-v5-mirror-inline-on-rtl;
680
+ @include pf-v6-mirror-inline-on-rtl;
681
681
 
682
682
  align-self: end;
683
683
  font-size: var(--#{$tabs}__link-toggle-icon--FontSize);
@@ -750,11 +750,11 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
750
750
 
751
751
  // stylelint-disable no-duplicate-selectors, max-nesting-depth
752
752
  .#{$tabs} {
753
- @each $breakpoint, $breakpoint-value in $pf-v5-c-tabs--breakpoint-map {
753
+ @each $breakpoint, $breakpoint-value in $pf-v6-c-tabs--breakpoint-map {
754
754
  $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
755
755
 
756
- @include pf-v5-apply-breakpoint($breakpoint) {
757
- @each $spacer, $spacer-value in $pf-v5-c-tabs--spacer-map {
756
+ @include pf-v6-apply-breakpoint($breakpoint) {
757
+ @each $spacer, $spacer-value in $pf-v6-c-tabs--spacer-map {
758
758
  &.pf-m-inset-#{$spacer}#{$breakpoint-name} {
759
759
  --#{$tabs}--inset: #{$spacer-value};
760
760
  --#{$tabs}--m-vertical--inset: #{$spacer-value};
@@ -133,7 +133,7 @@
133
133
  }
134
134
 
135
135
  .#{$text-input-group}__text-input {
136
- @include pf-v5-text-overflow;
136
+ @include pf-v6-text-overflow;
137
137
 
138
138
  position: relative;
139
139
  width: 100%;
@@ -109,11 +109,11 @@
109
109
  pointer-events: none;
110
110
  }
111
111
 
112
- .pf-v5-c-toggle-group__item:has(.pf-m-selected) + .pf-v5-c-toggle-group__item:has(.pf-m-selected) {
112
+ .pf-v6-c-toggle-group__item:has(.pf-m-selected) + .pf-v6-c-toggle-group__item:has(.pf-m-selected) {
113
113
  --pf-v6-c-toggle-group__button--before--BorderInlineStartColor: var(--pf-v6-c-toggle-group__button--m-selected-selected--before--BorderInlineStartColor);
114
114
  }
115
115
 
116
- .pf-v5-c-toggle-group__item:has(:disabled, .pf-m-disabled) + .pf-v5-c-toggle-group__item:has(:disabled, .pf-m-disabled) {
116
+ .pf-v6-c-toggle-group__item:has(:disabled, .pf-m-disabled) + .pf-v6-c-toggle-group__item:has(:disabled, .pf-m-disabled) {
117
117
  --pf-v6-c-toggle-group__button--before--BorderInlineStartColor: var(--pf-v6-c-toggle-group__button--disabled-disabled--before--BorderInlineStartColor);
118
118
  }
119
119
 
@@ -146,12 +146,12 @@
146
146
  }
147
147
 
148
148
  // For consecutive selected items, turn the left border back to what it was
149
- .pf-v5-c-toggle-group__item:has(.pf-m-selected) + .pf-v5-c-toggle-group__item:has(.pf-m-selected) {
149
+ .#{$toggle-group}__item:has(.pf-m-selected) + .#{$toggle-group}__item:has(.pf-m-selected) {
150
150
  --#{$toggle-group}__button--before--BorderInlineStartColor: var(--#{$toggle-group}__button--m-selected-selected--before--BorderInlineStartColor);
151
151
  }
152
152
 
153
153
  // For consecutive disabled items, turn the left border back to what it was
154
- .pf-v5-c-toggle-group__item:has(:disabled, .pf-m-disabled) + .pf-v5-c-toggle-group__item:has(:disabled, .pf-m-disabled) {
154
+ .#{$toggle-group}__item:has(:disabled, .pf-m-disabled) + .#{$toggle-group}__item:has(:disabled, .pf-m-disabled) {
155
155
  --#{$toggle-group}__button--before--BorderInlineStartColor: var(--#{$toggle-group}__button--disabled-disabled--before--BorderInlineStartColor);
156
156
  }
157
157
 
@@ -3,73 +3,73 @@
3
3
  .pf-v6-c-toolbar__item,
4
4
  .pf-v6-c-toolbar__group.pf-m-chip-group-container,
5
5
  .pf-v6-c-toolbar__group.pf-m-chip-group {
6
- --pf-v5-hidden-visible--hidden--Display: none;
7
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--visible--Display);
8
- display: var(--pf-v5-hidden-visible--Display);
6
+ --pf-v6-hidden-visible--hidden--Display: none;
7
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
8
+ display: var(--pf-v6-hidden-visible--Display);
9
9
  }
10
10
  .pf-m-hidden.pf-v6-c-toolbar__content-section,
11
11
  .pf-m-hidden.pf-v6-c-toolbar__group,
12
12
  .pf-m-hidden.pf-v6-c-toolbar__item {
13
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--hidden--Display);
13
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
14
14
  }
15
15
  @media screen and (min-width: 576px) {
16
16
  .pf-m-hidden-on-sm.pf-v6-c-toolbar__content-section,
17
17
  .pf-m-hidden-on-sm.pf-v6-c-toolbar__group,
18
18
  .pf-m-hidden-on-sm.pf-v6-c-toolbar__item {
19
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--hidden--Display);
19
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
20
20
  }
21
21
  .pf-m-visible-on-sm.pf-v6-c-toolbar__content-section,
22
22
  .pf-m-visible-on-sm.pf-v6-c-toolbar__group,
23
23
  .pf-m-visible-on-sm.pf-v6-c-toolbar__item {
24
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--visible--Display);
24
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
25
25
  }
26
26
  }
27
27
  @media screen and (min-width: 768px) {
28
28
  .pf-m-hidden-on-md.pf-v6-c-toolbar__content-section,
29
29
  .pf-m-hidden-on-md.pf-v6-c-toolbar__group,
30
30
  .pf-m-hidden-on-md.pf-v6-c-toolbar__item {
31
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--hidden--Display);
31
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
32
32
  }
33
33
  .pf-m-visible-on-md.pf-v6-c-toolbar__content-section,
34
34
  .pf-m-visible-on-md.pf-v6-c-toolbar__group,
35
35
  .pf-m-visible-on-md.pf-v6-c-toolbar__item {
36
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--visible--Display);
36
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
37
37
  }
38
38
  }
39
39
  @media screen and (min-width: 992px) {
40
40
  .pf-m-hidden-on-lg.pf-v6-c-toolbar__content-section,
41
41
  .pf-m-hidden-on-lg.pf-v6-c-toolbar__group,
42
42
  .pf-m-hidden-on-lg.pf-v6-c-toolbar__item {
43
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--hidden--Display);
43
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
44
44
  }
45
45
  .pf-m-visible-on-lg.pf-v6-c-toolbar__content-section,
46
46
  .pf-m-visible-on-lg.pf-v6-c-toolbar__group,
47
47
  .pf-m-visible-on-lg.pf-v6-c-toolbar__item {
48
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--visible--Display);
48
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
49
49
  }
50
50
  }
51
51
  @media screen and (min-width: 1200px) {
52
52
  .pf-m-hidden-on-xl.pf-v6-c-toolbar__content-section,
53
53
  .pf-m-hidden-on-xl.pf-v6-c-toolbar__group,
54
54
  .pf-m-hidden-on-xl.pf-v6-c-toolbar__item {
55
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--hidden--Display);
55
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
56
56
  }
57
57
  .pf-m-visible-on-xl.pf-v6-c-toolbar__content-section,
58
58
  .pf-m-visible-on-xl.pf-v6-c-toolbar__group,
59
59
  .pf-m-visible-on-xl.pf-v6-c-toolbar__item {
60
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--visible--Display);
60
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
61
61
  }
62
62
  }
63
63
  @media screen and (min-width: 1450px) {
64
64
  .pf-m-hidden-on-2xl.pf-v6-c-toolbar__content-section,
65
65
  .pf-m-hidden-on-2xl.pf-v6-c-toolbar__group,
66
66
  .pf-m-hidden-on-2xl.pf-v6-c-toolbar__item {
67
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--hidden--Display);
67
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
68
68
  }
69
69
  .pf-m-visible-on-2xl.pf-v6-c-toolbar__content-section,
70
70
  .pf-m-visible-on-2xl.pf-v6-c-toolbar__group,
71
71
  .pf-m-visible-on-2xl.pf-v6-c-toolbar__item {
72
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--visible--Display);
72
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
73
73
  }
74
74
  }
75
75
 
@@ -107,7 +107,7 @@
107
107
  .pf-v6-c-toolbar__item,
108
108
  .pf-v6-c-toolbar__group.pf-m-chip-group-container,
109
109
  .pf-v6-c-toolbar__group.pf-m-chip-group {
110
- --pf-v5-hidden-visible--visible--Display: flex;
110
+ --pf-v6-hidden-visible--visible--Display: flex;
111
111
  flex-wrap: wrap;
112
112
  }
113
113
 
@@ -1,11 +1,11 @@
1
- $pf-v5-c-toolbar--spacer-map: build-spacer-map();
2
- $pf-v5-c-toolbar--inset-map: build-spacer-map();
3
- $pf-v5-c-toolbar--align-items--alignments: ('stretch', 'baseline', 'start', 'center', 'end');
4
- $pf-v5-c-toolbar--breakpoint-map: build-breakpoint-map('base');
5
- $pf-v5--include-toolbar-breakpoints: true !default;
6
-
7
- @if $pf-v5--include-toolbar-breakpoints {
8
- $pf-v5-c-toolbar--breakpoint-map: build-breakpoint-map('base', 'sm', 'md', 'lg', 'xl', '2xl');
1
+ $pf-v6-c-toolbar--spacer-map: build-spacer-map();
2
+ $pf-v6-c-toolbar--inset-map: build-spacer-map();
3
+ $pf-v6-c-toolbar--align-items--alignments: ('stretch', 'baseline', 'start', 'center', 'end');
4
+ $pf-v6-c-toolbar--breakpoint-map: build-breakpoint-map('base');
5
+ $pf-v6--include-toolbar-breakpoints: true !default;
6
+
7
+ @if $pf-v6--include-toolbar-breakpoints {
8
+ $pf-v6-c-toolbar--breakpoint-map: build-breakpoint-map('base', 'sm', 'md', 'lg', 'xl', '2xl');
9
9
  }
10
10
 
11
11
  :where(:root),
@@ -62,7 +62,7 @@ $pf-v5--include-toolbar-breakpoints: true !default;
62
62
  .#{$toolbar}__item,
63
63
  .#{$toolbar}__group.pf-m-chip-group-container,
64
64
  .#{$toolbar}__group.pf-m-chip-group {
65
- @include pf-v5-hidden-visible(flex);
65
+ @include pf-v6-hidden-visible(flex);
66
66
 
67
67
  flex-wrap: wrap;
68
68
  }
@@ -160,8 +160,8 @@ $pf-v5--include-toolbar-breakpoints: true !default;
160
160
 
161
161
  // - Toolbar item
162
162
  .#{$toolbar}__item {
163
- @include pf-v5-build-css-variable-stack("--#{$toolbar}__item--Width--base", "--#{$toolbar}__item--Width", $pf-v5-c-toolbar--breakpoint-map);
164
- @include pf-v5-build-css-variable-stack("--#{$toolbar}__item--MinWidth--base", "--#{$toolbar}__item--MinWidth", $pf-v5-c-toolbar--breakpoint-map);
163
+ @include pf-v6-build-css-variable-stack("--#{$toolbar}__item--Width--base", "--#{$toolbar}__item--Width", $pf-v6-c-toolbar--breakpoint-map);
164
+ @include pf-v6-build-css-variable-stack("--#{$toolbar}__item--MinWidth--base", "--#{$toolbar}__item--MinWidth", $pf-v6-c-toolbar--breakpoint-map);
165
165
 
166
166
  row-gap: var(--#{$toolbar}__item--RowGap, var(--#{$toolbar}--RowGap));
167
167
  column-gap: var(--#{$toolbar}__item--ColumnGap);
@@ -233,7 +233,7 @@ $pf-v5--include-toolbar-breakpoints: true !default;
233
233
  background-color: var(--#{$toolbar}__expandable-content--BackgroundColor);
234
234
  box-shadow: var(--#{$toolbar}__expandable-content--BoxShadow);
235
235
 
236
- @media screen and (min-width: $pf-v5-global--breakpoint--lg) {
236
+ @media screen and (min-width: $pf-v6-global--breakpoint--lg) {
237
237
  position: static;
238
238
  padding: 0;
239
239
  box-shadow: none;
@@ -255,7 +255,7 @@ $pf-v5--include-toolbar-breakpoints: true !default;
255
255
  transition: var(--#{$toolbar}__expand-all-icon--Transition);
256
256
  transform: rotate(var(--#{$toolbar}__expand-all-icon--Rotate));
257
257
 
258
- @include pf-v5-mirror-inline-on-rtl; // - TODO: mirror this icon in breaking change
258
+ @include pf-v6-mirror-inline-on-rtl; // - TODO: mirror this icon in breaking change
259
259
  }
260
260
 
261
261
  // - Toolbar group - Toolbar item
@@ -269,10 +269,10 @@ $pf-v5--include-toolbar-breakpoints: true !default;
269
269
  }
270
270
  }
271
271
 
272
- @each $breakpoint, $breakpoint-value in $pf-v5-c-toolbar--breakpoint-map {
272
+ @each $breakpoint, $breakpoint-value in $pf-v6-c-toolbar--breakpoint-map {
273
273
  $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
274
274
 
275
- @include pf-v5-apply-breakpoint($breakpoint) {
275
+ @include pf-v6-apply-breakpoint($breakpoint) {
276
276
  .#{$toolbar}__group,
277
277
  .#{$toolbar}__item {
278
278
  &.pf-m-align-start#{$breakpoint-name} {
@@ -292,7 +292,7 @@ $pf-v5--include-toolbar-breakpoints: true !default;
292
292
  flex-grow: 1;
293
293
  }
294
294
 
295
- @each $alignment in $pf-v5-c-toolbar--align-items--alignments {
295
+ @each $alignment in $pf-v6-c-toolbar--align-items--alignments {
296
296
  &.pf-m-align-self-#{$alignment}#{$breakpoint-name} {
297
297
  align-self: #{$alignment};
298
298
  }
@@ -304,7 +304,7 @@ $pf-v5--include-toolbar-breakpoints: true !default;
304
304
  .#{$toolbar}__content,
305
305
  .#{$toolbar}__content-section {
306
306
  // Inset modifiers
307
- @each $inset, $inset-value in $pf-v5-c-toolbar--inset-map {
307
+ @each $inset, $inset-value in $pf-v6-c-toolbar--inset-map {
308
308
  &.pf-m-inset-#{$inset}#{$breakpoint-name} {
309
309
  --#{$toolbar}__content--PaddingInline: #{$inset-value};
310
310
  }
@@ -324,20 +324,20 @@ $pf-v5--include-toolbar-breakpoints: true !default;
324
324
  flex-wrap: nowrap;
325
325
  }
326
326
 
327
- @each $alignment in $pf-v5-c-toolbar--align-items--alignments {
327
+ @each $alignment in $pf-v6-c-toolbar--align-items--alignments {
328
328
  &.pf-m-align-items-#{$alignment}#{$breakpoint-name} {
329
329
  align-items: #{$alignment};
330
330
  }
331
331
  }
332
332
 
333
- @each $gap, $gap-value in $pf-v5-c-toolbar--spacer-map {
333
+ @each $gap, $gap-value in $pf-v6-c-toolbar--spacer-map {
334
334
  &.pf-m-gap-#{$gap}#{$breakpoint-name} {
335
335
  column-gap: #{$gap-value};
336
336
  }
337
337
  }
338
338
 
339
339
  // Row and column gap modifiers
340
- @each $spacer, $spacer-value in $pf-v5-c-toolbar--spacer-map {
340
+ @each $spacer, $spacer-value in $pf-v6-c-toolbar--spacer-map {
341
341
  &.pf-m-column-gap-#{$spacer}#{$breakpoint-name} {
342
342
  column-gap: #{$spacer-value};
343
343
  }
@@ -325,7 +325,7 @@ $pf-v5-c-tree-view--MaxNesting: 10 !default;
325
325
  }
326
326
 
327
327
  .#{$tree-view}__node-toggle-icon {
328
- @include pf-v5-mirror-inline-on-rtl;
328
+ @include pf-v6-mirror-inline-on-rtl;
329
329
 
330
330
  display: inline-block;
331
331
  min-width: var(--#{$tree-view}__node-toggle-icon--MinWidth);
@@ -415,10 +415,10 @@ $pf-v5-c-tree-view--MaxNesting: 10 !default;
415
415
  background-color: var(--#{$tree-view}__node-toggle--BackgroundColor);
416
416
  border: 0;
417
417
 
418
- @include pf-v5-bidirectional-style(
418
+ @include pf-v6-bidirectional-style(
419
419
  $prop: transform,
420
420
  $ltr-val: translateX(var(--#{$tree-view}__list-item__list-item__node-toggle--TranslateX)),
421
- $rtl-val: translateX(#{pf-v5-calc-inverse(var(--#{$tree-view}__list-item__list-item__node-toggle--TranslateX))})
421
+ $rtl-val: translateX(#{pf-v6-calc-inverse(var(--#{$tree-view}__list-item__list-item__node-toggle--TranslateX))})
422
422
  );
423
423
  }
424
424
 
@@ -427,13 +427,13 @@ $pf-v5-c-tree-view--MaxNesting: 10 !default;
427
427
  &.pf-m-truncate {
428
428
  --#{$tree-view}__node-content--Overflow: hidden;
429
429
 
430
- @include pf-v5-text-overflow;
430
+ @include pf-v6-text-overflow;
431
431
  }
432
432
 
433
433
  @at-root .#{$tree-view}.pf-m-truncate & {
434
434
  --#{$tree-view}__node-content--Overflow: hidden;
435
435
 
436
- @include pf-v5-text-overflow;
436
+ @include pf-v6-text-overflow;
437
437
  }
438
438
  }
439
439
 
@@ -26,7 +26,7 @@
26
26
 
27
27
  // End
28
28
  .#{$truncate}__end {
29
- @include pf-v5-bidirectional-style (
29
+ @include pf-v6-bidirectional-style (
30
30
  $prop: direction,
31
31
  $ltr-val: rtl,
32
32
  $rtl-val: ltr
@@ -36,7 +36,7 @@
36
36
  .#{$truncate}__start + .#{$truncate}__end {
37
37
  overflow: visible;
38
38
 
39
- @include pf-v5-bidirectional-style (
39
+ @include pf-v6-bidirectional-style (
40
40
  $prop: direction,
41
41
  $ltr-val: ltr,
42
42
  $rtl-val: rtl
@@ -46,7 +46,7 @@
46
46
  // safari not supported
47
47
  @supports (-webkit-hyphens: none) {
48
48
  .#{$truncate}__end {
49
- @include pf-v5-bidirectional-style (
49
+ @include pf-v6-bidirectional-style (
50
50
  $prop: direction,
51
51
  $ltr-val: ltr,
52
52
  $rtl-val: rtl
@@ -110,7 +110,7 @@
110
110
  --#{$wizard}__nav--lg--BorderRightWidth: var(--pf-t--global--border--width--regular);
111
111
  --#{$wizard}__nav--lg--BorderRightColor: var(--pf-t--global--border--color--default);
112
112
 
113
- @media screen and (min-width: $pf-v5-global--breakpoint--lg) {
113
+ @media screen and (min-width: $pf-v6-global--breakpoint--lg) {
114
114
  --#{$wizard}__nav--Width: var(--#{$wizard}__nav--lg--Width);
115
115
  --#{$wizard}__nav--BoxShadow: none;
116
116
  }
@@ -222,7 +222,7 @@
222
222
  padding-block-start: var(--#{$wizard}__description--PaddingTop);
223
223
  color: var(--#{$wizard}__description--Color);
224
224
 
225
- @media screen and (min-width: $pf-v5-global--breakpoint--lg) {
225
+ @media screen and (min-width: $pf-v6-global--breakpoint--lg) {
226
226
  display: block;
227
227
  }
228
228
  }
@@ -243,7 +243,7 @@
243
243
  border-inline-start: 0;
244
244
  border-inline-end: 0;
245
245
 
246
- @media screen and (min-width: $pf-v5-global--breakpoint--lg) {
246
+ @media screen and (min-width: $pf-v6-global--breakpoint--lg) {
247
247
  display: none;
248
248
  }
249
249
 
@@ -280,7 +280,7 @@
280
280
  }
281
281
 
282
282
  .#{$wizard}__toggle-separator {
283
- @include pf-v5-mirror-inline-on-rtl;
283
+ @include pf-v6-mirror-inline-on-rtl;
284
284
 
285
285
  margin-inline-start: var(--#{$wizard}__toggle-separator--MarginLeft);
286
286
  color: var(--#{$wizard}__toggle-separator--Color);
@@ -298,7 +298,7 @@
298
298
  min-height: var(--#{$wizard}__outer-wrap--MinHeight);
299
299
  background-color: var(--#{$wizard}__outer-wrap--BackgroundColor);
300
300
 
301
- @media screen and (min-width: $pf-v5-global--breakpoint--lg) {
301
+ @media screen and (min-width: $pf-v6-global--breakpoint--lg) {
302
302
  padding-inline-start: var(--#{$wizard}__outer-wrap--lg--PaddingLeft);
303
303
  }
304
304
  }
@@ -310,7 +310,7 @@
310
310
  flex-grow: 1;
311
311
  min-height: 0;
312
312
 
313
- @media screen and (min-width: $pf-v5-global--breakpoint--lg) {
313
+ @media screen and (min-width: $pf-v6-global--breakpoint--lg) {
314
314
  position: static;
315
315
  }
316
316
  }
@@ -332,7 +332,7 @@
332
332
  display: block;
333
333
  }
334
334
 
335
- @media screen and (min-width: $pf-v5-global--breakpoint--lg) {
335
+ @media screen and (min-width: $pf-v6-global--breakpoint--lg) {
336
336
  display: block;
337
337
  height: 100%;
338
338
  border-inline-end: var(--#{$wizard}__nav--lg--BorderRightWidth) solid var(--#{$wizard}__nav--lg--BorderRightColor);
@@ -416,10 +416,10 @@
416
416
  // Common step number styles
417
417
  @at-root .#{$wizard}__toggle-num,
418
418
  &::before {
419
- @include pf-v5-bidirectional-style(
419
+ @include pf-v6-bidirectional-style(
420
420
  $prop: transform,
421
421
  $ltr-val: translateX(var(--#{$wizard}__nav-link--before--TranslateX)) translateY(var(--#{$wizard}__nav-link--before--TranslateY)),
422
- $rtl-val: translateX(#{pf-v5-calc-inverse(var(--#{$wizard}__nav-link--before--TranslateX))}) translateY(var(--#{$wizard}__nav-link--before--TranslateY))
422
+ $rtl-val: translateX(#{pf-v6-calc-inverse(var(--#{$wizard}__nav-link--before--TranslateX))}) translateY(var(--#{$wizard}__nav-link--before--TranslateY))
423
423
  );
424
424
 
425
425
  position: absolute;
@@ -485,7 +485,7 @@
485
485
  }
486
486
 
487
487
  .#{$wizard}__nav-link-toggle-icon {
488
- @include pf-v5-mirror-inline-on-rtl;
488
+ @include pf-v6-mirror-inline-on-rtl;
489
489
 
490
490
  display: inline-block;
491
491
  transition: var(--#{$wizard}__nav-link-toggle-icon--Transition);