@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
@@ -1,6 +1,6 @@
1
1
  // @debug $pagination; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
2
- $pf-v5-c-pagination--breakpoint-map: build-breakpoint-map();
3
- $pf-v5-c-pagination--variable-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
2
+ $pf-v6-c-pagination--breakpoint-map: build-breakpoint-map();
3
+ $pf-v6-c-pagination--variable-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
4
4
 
5
5
  :where(:root),
6
6
  :where(.#{$pagination}) {
@@ -51,14 +51,14 @@ $pf-v5-c-pagination--variable-map: build-spacer-map("none", "sm", "md", "lg", "x
51
51
  --#{$pagination}--m-display-summary__page-menu--Display: none;
52
52
  --#{$pagination}--m-display-full__page-menu--Display: inline-flex;
53
53
 
54
- @media screen and (min-width: $pf-v5-global--breakpoint--md) {
54
+ @media screen and (min-width: $pf-v6-global--breakpoint--md) {
55
55
  --#{$pagination}--m-bottom--BoxShadow: none;
56
56
  --#{$pagination}__page-menu--Display: inline-flex;
57
57
  --#{$pagination}__nav--Display: inline-flex;
58
58
  --#{$pagination}__total-items--Display: none;
59
59
  }
60
60
 
61
- @media screen and (min-width: $pf-v5-global--breakpoint--xl) {
61
+ @media screen and (min-width: $pf-v6-global--breakpoint--xl) {
62
62
  --#{$pagination}__scroll-button--Width: var(--#{$pagination}__scroll-button--xl--Width);
63
63
  }
64
64
  }
@@ -113,7 +113,7 @@ $pf-v5-c-pagination--variable-map: build-spacer-map("none", "sm", "md", "lg", "x
113
113
  justify-content: space-between;
114
114
  }
115
115
 
116
- @media screen and (min-width: $pf-v5-global--breakpoint--md) {
116
+ @media screen and (min-width: $pf-v6-global--breakpoint--md) {
117
117
  --#{$pagination}--m-bottom--BorderTopWidth: 0;
118
118
  --#{$pagination}--m-bottom--MarginTop: 0;
119
119
  --#{$pagination}--m-bottom--Bottom: auto;
@@ -171,7 +171,7 @@ $pf-v5-c-pagination--variable-map: build-spacer-map("none", "sm", "md", "lg", "x
171
171
 
172
172
  // nav control
173
173
  .#{$pagination}__nav-control {
174
- @include pf-v5-mirror-inline-on-rtl;
174
+ @include pf-v6-mirror-inline-on-rtl;
175
175
  }
176
176
 
177
177
  // nav page element
@@ -189,7 +189,7 @@ $pf-v5-c-pagination--variable-map: build-spacer-map("none", "sm", "md", "lg", "x
189
189
  width: var(--#{$pagination}__nav-page-select--c-form-control--Width);
190
190
 
191
191
  > :is(input) {
192
- @extend %pf-v5-remove-num-arrows;
192
+ @extend %pf-v6-remove-num-arrows;
193
193
  }
194
194
  }
195
195
  }
@@ -201,10 +201,10 @@ $pf-v5-c-pagination--variable-map: build-spacer-map("none", "sm", "md", "lg", "x
201
201
 
202
202
  // stylelint-disable no-duplicate-selectors
203
203
  .#{$pagination} {
204
- @each $breakpoint, $breakpoint-value in $pf-v5-c-pagination--breakpoint-map {
204
+ @each $breakpoint, $breakpoint-value in $pf-v6-c-pagination--breakpoint-map {
205
205
  $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
206
206
 
207
- @include pf-v5-apply-breakpoint($breakpoint) {
207
+ @include pf-v6-apply-breakpoint($breakpoint) {
208
208
  &.pf-m-display-summary#{$breakpoint-name} {
209
209
  --#{$pagination}__nav--Display: var(--#{$pagination}--m-display-summary__nav--Display);
210
210
  --#{$pagination}__page-menu--Display: var(--#{$pagination}--m-display-summary__page-menu--Display);
@@ -217,7 +217,7 @@ $pf-v5-c-pagination--variable-map: build-spacer-map("none", "sm", "md", "lg", "x
217
217
  --#{$pagination}__total-items--Display: var(--#{$pagination}--m-display-full__total-items--Display);
218
218
  }
219
219
 
220
- @each $spacer, $spacer-value in $pf-v5-c-pagination--variable-map {
220
+ @each $spacer, $spacer-value in $pf-v6-c-pagination--variable-map {
221
221
  &.pf-m-inset-#{$spacer}#{$breakpoint-name} {
222
222
  --#{$pagination}--inset: #{$spacer-value};
223
223
  }
@@ -35,7 +35,7 @@
35
35
  --pf-v6-c-popover__arrow--m-inline-bottom--Bottom: var(--pf-t--global--border--radius--medium);
36
36
  --pf-v6-c-popover__arrow--m-block-left--Left: var(--pf-t--global--border--radius--medium);
37
37
  --pf-v6-c-popover__arrow--m-block-right--Right: var(--pf-t--global--border--radius--medium);
38
- --pf-v6-c-popover__close--Top: calc(var(--pf-v6-c-popover__content--PaddingTop) - (var(--pf-t--global--spacer--xs) * 1.5));
38
+ --pf-v6-c-popover__close--Top: calc(var(--pf-v6-c-popover__content--PaddingTop) - (var(--pf-t--global--spacer--control--vertical--compact) * 1.5));
39
39
  --pf-v6-c-popover__close--Right: var(--pf-v6-c-popover__content--PaddingRight);
40
40
  --pf-v6-c-popover__close--sibling--PaddingRight: var(--pf-t--global--spacer--2xl);
41
41
  --pf-v6-c-popover__header--MarginBottom: var(--pf-t--global--spacer--sm);
@@ -47,7 +47,7 @@
47
47
  --#{$popover}__arrow--m-block-right--Right: var(--pf-t--global--border--radius--medium);
48
48
 
49
49
  // Close
50
- --#{$popover}__close--Top: calc(var(--#{$popover}__content--PaddingTop) - (var(--pf-t--global--spacer--xs) * 1.5)); // align top of button with top of text - TODO: replace with form element token
50
+ --#{$popover}__close--Top: calc(var(--#{$popover}__content--PaddingTop) - (var(--pf-t--global--spacer--control--vertical--compact) * 1.5)); // align top of button with top of text
51
51
  --#{$popover}__close--Right: var(--#{$popover}__content--PaddingRight); // align right of content
52
52
  --#{$popover}__close--sibling--PaddingRight: var(--pf-t--global--spacer--2xl);
53
53
 
@@ -151,7 +151,7 @@
151
151
  word-break: break-word;
152
152
 
153
153
  &.pf-m-truncate {
154
- @include pf-v5-text-overflow;
154
+ @include pf-v6-text-overflow;
155
155
  }
156
156
  }
157
157
 
@@ -1,8 +1,8 @@
1
1
  // @debug $progress-stepper; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
2
- $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
2
+ $pf-v6-c-progress-stepper--breakpoint-map: build-breakpoint-map();
3
3
 
4
4
  // Default layout is vertical
5
- @mixin pf-v5-c-progress-stepper--m-vertical {
5
+ @mixin pf-v6-c-progress-stepper--m-vertical {
6
6
  --#{$progress-stepper}--GridAutoFlow: var(--#{$progress-stepper}--m-vertical--GridAutoFlow);
7
7
  --#{$progress-stepper}--GridTemplateColumns: var(--#{$progress-stepper}--m-vertical--GridTemplateColumns);
8
8
  --#{$progress-stepper}__step-connector--before--Top: var(--#{$progress-stepper}--m-vertical__step-connector--before--Top);
@@ -29,7 +29,7 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
29
29
  --#{$progress-stepper}--m-center__step-main--before--Content: ""; // border swap
30
30
  }
31
31
 
32
- @mixin pf-v5-c-progress-stepper--m-horizontal {
32
+ @mixin pf-v6-c-progress-stepper--m-horizontal {
33
33
  --#{$progress-stepper}--GridAutoFlow: var(--#{$progress-stepper}--m-horizontal--GridAutoFlow);
34
34
  --#{$progress-stepper}--GridTemplateColumns: var(--#{$progress-stepper}--m-horizontal--GridTemplateColumns);
35
35
  --#{$progress-stepper}__step-connector--before--Top: var(--#{$progress-stepper}--m-horizontal__step-connector--before--Top);
@@ -186,11 +186,11 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
186
186
  --#{$progress-stepper}__step-description--TextAlign: start;
187
187
 
188
188
  // Vertical by default
189
- @include pf-v5-c-progress-stepper--m-vertical;
189
+ @include pf-v6-c-progress-stepper--m-vertical;
190
190
 
191
191
  // Horizontal at md breakpoint
192
- @media screen and (min-width: $pf-v5-global--breakpoint--md) {
193
- @include pf-v5-c-progress-stepper--m-horizontal;
192
+ @media screen and (min-width: $pf-v6-global--breakpoint--md) {
193
+ @include pf-v6-c-progress-stepper--m-horizontal;
194
194
  }
195
195
  }
196
196
 
@@ -265,7 +265,7 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
265
265
  }
266
266
 
267
267
  .#{$progress-stepper}__step:not(.pf-m-current) .#{$progress-stepper}__step-main {
268
- @include pf-v5-u-screen-reader;
268
+ @include pf-v6-u-screen-reader;
269
269
  }
270
270
 
271
271
  // For this compact variant only, move the main content for the current step to above the icons
@@ -428,16 +428,16 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
428
428
 
429
429
  // stylelint-disable no-duplicate-selectors
430
430
  .#{$progress-stepper} {
431
- @each $breakpoint, $breakpoint-value in $pf-v5-c-progress-stepper--breakpoint-map {
431
+ @each $breakpoint, $breakpoint-value in $pf-v6-c-progress-stepper--breakpoint-map {
432
432
  $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
433
433
 
434
- @include pf-v5-apply-breakpoint($breakpoint) {
434
+ @include pf-v6-apply-breakpoint($breakpoint) {
435
435
  &.pf-m-horizontal#{$breakpoint-name} {
436
- @include pf-v5-c-progress-stepper--m-horizontal;
436
+ @include pf-v6-c-progress-stepper--m-horizontal;
437
437
  }
438
438
 
439
439
  &.pf-m-vertical#{$breakpoint-name} {
440
- @include pf-v5-c-progress-stepper--m-vertical;
440
+ @include pf-v6-c-progress-stepper--m-vertical;
441
441
  }
442
442
  }
443
443
  }
@@ -1,7 +1,7 @@
1
1
  // @debug $select; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
2
2
 
3
3
  .#{$select} {
4
- @include pf-v5-t-light; // force the container follow the light theme
4
+ @include pf-v6-t-light; // force the container follow the light theme
5
5
 
6
6
  // Toggle
7
7
  --#{$select}__toggle--PaddingTop: var(--#{$pf-global}--spacer--form-element);
@@ -350,7 +350,7 @@
350
350
  --#{$select}__toggle--PaddingBottom: 0;
351
351
 
352
352
  .#{$form-control} {
353
- @include pf-v5-text-overflow;
353
+ @include pf-v6-text-overflow;
354
354
 
355
355
  --#{$form-control}--invalid--BackgroundUrl: none;
356
356
 
@@ -391,7 +391,7 @@
391
391
  }
392
392
 
393
393
  .#{$select}__toggle-text {
394
- @include pf-v5-text-overflow;
394
+ @include pf-v6-text-overflow;
395
395
 
396
396
  color: var(--#{$select}__toggle-text--Color, inherit);
397
397
  }
@@ -708,6 +708,6 @@
708
708
  // stylelint-disable no-invalid-position-at-import-rule
709
709
  @import "themes/dark/select";
710
710
 
711
- @include pf-v5-theme-dark {
712
- @include pf-v5-theme-dark-select;
711
+ @include pf-v6-theme-dark {
712
+ @include pf-v6-theme-dark-select;
713
713
  }
@@ -1,6 +1,6 @@
1
1
  @import "../../../../sass-utilities/themes/dark/all";
2
2
 
3
- @mixin pf-v5-theme-dark-select() {
3
+ @mixin pf-v6-theme-dark-select() {
4
4
  .#{$select} {
5
5
  --#{$select}__toggle--disabled--BackgroundColor: var(--#{$pf-global}--palette--black-500);
6
6
  --#{$select}__toggle--BackgroundColor: var(--#{$pf-global}--BackgroundColor--400);
@@ -200,146 +200,146 @@
200
200
  background-color: transparent;
201
201
  }
202
202
 
203
- .pf-v5-c-sidebar__panel.pf-m-width-default {
204
- --pf-v5-c-sidebar__panel--FlexBasis: var(--pf-v5-c-sidebar__panel--FlexBasis--base);
203
+ .pf-v6-c-sidebar__panel.pf-m-width-default {
204
+ --pf-v6-c-sidebar__panel--FlexBasis: var(--pf-v6-c-sidebar__panel--FlexBasis--base);
205
205
  }
206
206
 
207
- .pf-v5-c-sidebar__panel.pf-m-width-25 {
208
- --pf-v5-c-sidebar__panel--FlexBasis: 25%;
207
+ .pf-v6-c-sidebar__panel.pf-m-width-25 {
208
+ --pf-v6-c-sidebar__panel--FlexBasis: 25%;
209
209
  }
210
210
 
211
- .pf-v5-c-sidebar__panel.pf-m-width-33 {
212
- --pf-v5-c-sidebar__panel--FlexBasis: 33%;
211
+ .pf-v6-c-sidebar__panel.pf-m-width-33 {
212
+ --pf-v6-c-sidebar__panel--FlexBasis: 33%;
213
213
  }
214
214
 
215
- .pf-v5-c-sidebar__panel.pf-m-width-50 {
216
- --pf-v5-c-sidebar__panel--FlexBasis: 50%;
215
+ .pf-v6-c-sidebar__panel.pf-m-width-50 {
216
+ --pf-v6-c-sidebar__panel--FlexBasis: 50%;
217
217
  }
218
218
 
219
- .pf-v5-c-sidebar__panel.pf-m-width-66 {
220
- --pf-v5-c-sidebar__panel--FlexBasis: 66%;
219
+ .pf-v6-c-sidebar__panel.pf-m-width-66 {
220
+ --pf-v6-c-sidebar__panel--FlexBasis: 66%;
221
221
  }
222
222
 
223
- .pf-v5-c-sidebar__panel.pf-m-width-75 {
224
- --pf-v5-c-sidebar__panel--FlexBasis: 75%;
223
+ .pf-v6-c-sidebar__panel.pf-m-width-75 {
224
+ --pf-v6-c-sidebar__panel--FlexBasis: 75%;
225
225
  }
226
226
 
227
- .pf-v5-c-sidebar__panel.pf-m-width-100 {
228
- --pf-v5-c-sidebar__panel--FlexBasis: 100%;
227
+ .pf-v6-c-sidebar__panel.pf-m-width-100 {
228
+ --pf-v6-c-sidebar__panel--FlexBasis: 100%;
229
229
  }
230
230
 
231
231
  @media (min-width: 576px) {
232
- .pf-v5-c-sidebar__panel.pf-m-width-default-on-sm {
233
- --pf-v5-c-sidebar__panel--FlexBasis: var(--pf-v5-c-sidebar__panel--FlexBasis--base);
232
+ .pf-v6-c-sidebar__panel.pf-m-width-default-on-sm {
233
+ --pf-v6-c-sidebar__panel--FlexBasis: var(--pf-v6-c-sidebar__panel--FlexBasis--base);
234
234
  }
235
- .pf-v5-c-sidebar__panel.pf-m-width-25-on-sm {
236
- --pf-v5-c-sidebar__panel--FlexBasis: 25%;
235
+ .pf-v6-c-sidebar__panel.pf-m-width-25-on-sm {
236
+ --pf-v6-c-sidebar__panel--FlexBasis: 25%;
237
237
  }
238
- .pf-v5-c-sidebar__panel.pf-m-width-33-on-sm {
239
- --pf-v5-c-sidebar__panel--FlexBasis: 33%;
238
+ .pf-v6-c-sidebar__panel.pf-m-width-33-on-sm {
239
+ --pf-v6-c-sidebar__panel--FlexBasis: 33%;
240
240
  }
241
- .pf-v5-c-sidebar__panel.pf-m-width-50-on-sm {
242
- --pf-v5-c-sidebar__panel--FlexBasis: 50%;
241
+ .pf-v6-c-sidebar__panel.pf-m-width-50-on-sm {
242
+ --pf-v6-c-sidebar__panel--FlexBasis: 50%;
243
243
  }
244
- .pf-v5-c-sidebar__panel.pf-m-width-66-on-sm {
245
- --pf-v5-c-sidebar__panel--FlexBasis: 66%;
244
+ .pf-v6-c-sidebar__panel.pf-m-width-66-on-sm {
245
+ --pf-v6-c-sidebar__panel--FlexBasis: 66%;
246
246
  }
247
- .pf-v5-c-sidebar__panel.pf-m-width-75-on-sm {
248
- --pf-v5-c-sidebar__panel--FlexBasis: 75%;
247
+ .pf-v6-c-sidebar__panel.pf-m-width-75-on-sm {
248
+ --pf-v6-c-sidebar__panel--FlexBasis: 75%;
249
249
  }
250
- .pf-v5-c-sidebar__panel.pf-m-width-100-on-sm {
251
- --pf-v5-c-sidebar__panel--FlexBasis: 100%;
250
+ .pf-v6-c-sidebar__panel.pf-m-width-100-on-sm {
251
+ --pf-v6-c-sidebar__panel--FlexBasis: 100%;
252
252
  }
253
253
  }
254
254
  @media (min-width: 768px) {
255
- .pf-v5-c-sidebar__panel.pf-m-width-default-on-md {
256
- --pf-v5-c-sidebar__panel--FlexBasis: var(--pf-v5-c-sidebar__panel--FlexBasis--base);
255
+ .pf-v6-c-sidebar__panel.pf-m-width-default-on-md {
256
+ --pf-v6-c-sidebar__panel--FlexBasis: var(--pf-v6-c-sidebar__panel--FlexBasis--base);
257
257
  }
258
- .pf-v5-c-sidebar__panel.pf-m-width-25-on-md {
259
- --pf-v5-c-sidebar__panel--FlexBasis: 25%;
258
+ .pf-v6-c-sidebar__panel.pf-m-width-25-on-md {
259
+ --pf-v6-c-sidebar__panel--FlexBasis: 25%;
260
260
  }
261
- .pf-v5-c-sidebar__panel.pf-m-width-33-on-md {
262
- --pf-v5-c-sidebar__panel--FlexBasis: 33%;
261
+ .pf-v6-c-sidebar__panel.pf-m-width-33-on-md {
262
+ --pf-v6-c-sidebar__panel--FlexBasis: 33%;
263
263
  }
264
- .pf-v5-c-sidebar__panel.pf-m-width-50-on-md {
265
- --pf-v5-c-sidebar__panel--FlexBasis: 50%;
264
+ .pf-v6-c-sidebar__panel.pf-m-width-50-on-md {
265
+ --pf-v6-c-sidebar__panel--FlexBasis: 50%;
266
266
  }
267
- .pf-v5-c-sidebar__panel.pf-m-width-66-on-md {
268
- --pf-v5-c-sidebar__panel--FlexBasis: 66%;
267
+ .pf-v6-c-sidebar__panel.pf-m-width-66-on-md {
268
+ --pf-v6-c-sidebar__panel--FlexBasis: 66%;
269
269
  }
270
- .pf-v5-c-sidebar__panel.pf-m-width-75-on-md {
271
- --pf-v5-c-sidebar__panel--FlexBasis: 75%;
270
+ .pf-v6-c-sidebar__panel.pf-m-width-75-on-md {
271
+ --pf-v6-c-sidebar__panel--FlexBasis: 75%;
272
272
  }
273
- .pf-v5-c-sidebar__panel.pf-m-width-100-on-md {
274
- --pf-v5-c-sidebar__panel--FlexBasis: 100%;
273
+ .pf-v6-c-sidebar__panel.pf-m-width-100-on-md {
274
+ --pf-v6-c-sidebar__panel--FlexBasis: 100%;
275
275
  }
276
276
  }
277
277
  @media (min-width: 992px) {
278
- .pf-v5-c-sidebar__panel.pf-m-width-default-on-lg {
279
- --pf-v5-c-sidebar__panel--FlexBasis: var(--pf-v5-c-sidebar__panel--FlexBasis--base);
278
+ .pf-v6-c-sidebar__panel.pf-m-width-default-on-lg {
279
+ --pf-v6-c-sidebar__panel--FlexBasis: var(--pf-v6-c-sidebar__panel--FlexBasis--base);
280
280
  }
281
- .pf-v5-c-sidebar__panel.pf-m-width-25-on-lg {
282
- --pf-v5-c-sidebar__panel--FlexBasis: 25%;
281
+ .pf-v6-c-sidebar__panel.pf-m-width-25-on-lg {
282
+ --pf-v6-c-sidebar__panel--FlexBasis: 25%;
283
283
  }
284
- .pf-v5-c-sidebar__panel.pf-m-width-33-on-lg {
285
- --pf-v5-c-sidebar__panel--FlexBasis: 33%;
284
+ .pf-v6-c-sidebar__panel.pf-m-width-33-on-lg {
285
+ --pf-v6-c-sidebar__panel--FlexBasis: 33%;
286
286
  }
287
- .pf-v5-c-sidebar__panel.pf-m-width-50-on-lg {
288
- --pf-v5-c-sidebar__panel--FlexBasis: 50%;
287
+ .pf-v6-c-sidebar__panel.pf-m-width-50-on-lg {
288
+ --pf-v6-c-sidebar__panel--FlexBasis: 50%;
289
289
  }
290
- .pf-v5-c-sidebar__panel.pf-m-width-66-on-lg {
291
- --pf-v5-c-sidebar__panel--FlexBasis: 66%;
290
+ .pf-v6-c-sidebar__panel.pf-m-width-66-on-lg {
291
+ --pf-v6-c-sidebar__panel--FlexBasis: 66%;
292
292
  }
293
- .pf-v5-c-sidebar__panel.pf-m-width-75-on-lg {
294
- --pf-v5-c-sidebar__panel--FlexBasis: 75%;
293
+ .pf-v6-c-sidebar__panel.pf-m-width-75-on-lg {
294
+ --pf-v6-c-sidebar__panel--FlexBasis: 75%;
295
295
  }
296
- .pf-v5-c-sidebar__panel.pf-m-width-100-on-lg {
297
- --pf-v5-c-sidebar__panel--FlexBasis: 100%;
296
+ .pf-v6-c-sidebar__panel.pf-m-width-100-on-lg {
297
+ --pf-v6-c-sidebar__panel--FlexBasis: 100%;
298
298
  }
299
299
  }
300
300
  @media (min-width: 1200px) {
301
- .pf-v5-c-sidebar__panel.pf-m-width-default-on-xl {
302
- --pf-v5-c-sidebar__panel--FlexBasis: var(--pf-v5-c-sidebar__panel--FlexBasis--base);
301
+ .pf-v6-c-sidebar__panel.pf-m-width-default-on-xl {
302
+ --pf-v6-c-sidebar__panel--FlexBasis: var(--pf-v6-c-sidebar__panel--FlexBasis--base);
303
303
  }
304
- .pf-v5-c-sidebar__panel.pf-m-width-25-on-xl {
305
- --pf-v5-c-sidebar__panel--FlexBasis: 25%;
304
+ .pf-v6-c-sidebar__panel.pf-m-width-25-on-xl {
305
+ --pf-v6-c-sidebar__panel--FlexBasis: 25%;
306
306
  }
307
- .pf-v5-c-sidebar__panel.pf-m-width-33-on-xl {
308
- --pf-v5-c-sidebar__panel--FlexBasis: 33%;
307
+ .pf-v6-c-sidebar__panel.pf-m-width-33-on-xl {
308
+ --pf-v6-c-sidebar__panel--FlexBasis: 33%;
309
309
  }
310
- .pf-v5-c-sidebar__panel.pf-m-width-50-on-xl {
311
- --pf-v5-c-sidebar__panel--FlexBasis: 50%;
310
+ .pf-v6-c-sidebar__panel.pf-m-width-50-on-xl {
311
+ --pf-v6-c-sidebar__panel--FlexBasis: 50%;
312
312
  }
313
- .pf-v5-c-sidebar__panel.pf-m-width-66-on-xl {
314
- --pf-v5-c-sidebar__panel--FlexBasis: 66%;
313
+ .pf-v6-c-sidebar__panel.pf-m-width-66-on-xl {
314
+ --pf-v6-c-sidebar__panel--FlexBasis: 66%;
315
315
  }
316
- .pf-v5-c-sidebar__panel.pf-m-width-75-on-xl {
317
- --pf-v5-c-sidebar__panel--FlexBasis: 75%;
316
+ .pf-v6-c-sidebar__panel.pf-m-width-75-on-xl {
317
+ --pf-v6-c-sidebar__panel--FlexBasis: 75%;
318
318
  }
319
- .pf-v5-c-sidebar__panel.pf-m-width-100-on-xl {
320
- --pf-v5-c-sidebar__panel--FlexBasis: 100%;
319
+ .pf-v6-c-sidebar__panel.pf-m-width-100-on-xl {
320
+ --pf-v6-c-sidebar__panel--FlexBasis: 100%;
321
321
  }
322
322
  }
323
323
  @media (min-width: 1450px) {
324
- .pf-v5-c-sidebar__panel.pf-m-width-default-on-2xl {
325
- --pf-v5-c-sidebar__panel--FlexBasis: var(--pf-v5-c-sidebar__panel--FlexBasis--base);
324
+ .pf-v6-c-sidebar__panel.pf-m-width-default-on-2xl {
325
+ --pf-v6-c-sidebar__panel--FlexBasis: var(--pf-v6-c-sidebar__panel--FlexBasis--base);
326
326
  }
327
- .pf-v5-c-sidebar__panel.pf-m-width-25-on-2xl {
328
- --pf-v5-c-sidebar__panel--FlexBasis: 25%;
327
+ .pf-v6-c-sidebar__panel.pf-m-width-25-on-2xl {
328
+ --pf-v6-c-sidebar__panel--FlexBasis: 25%;
329
329
  }
330
- .pf-v5-c-sidebar__panel.pf-m-width-33-on-2xl {
331
- --pf-v5-c-sidebar__panel--FlexBasis: 33%;
330
+ .pf-v6-c-sidebar__panel.pf-m-width-33-on-2xl {
331
+ --pf-v6-c-sidebar__panel--FlexBasis: 33%;
332
332
  }
333
- .pf-v5-c-sidebar__panel.pf-m-width-50-on-2xl {
334
- --pf-v5-c-sidebar__panel--FlexBasis: 50%;
333
+ .pf-v6-c-sidebar__panel.pf-m-width-50-on-2xl {
334
+ --pf-v6-c-sidebar__panel--FlexBasis: 50%;
335
335
  }
336
- .pf-v5-c-sidebar__panel.pf-m-width-66-on-2xl {
337
- --pf-v5-c-sidebar__panel--FlexBasis: 66%;
336
+ .pf-v6-c-sidebar__panel.pf-m-width-66-on-2xl {
337
+ --pf-v6-c-sidebar__panel--FlexBasis: 66%;
338
338
  }
339
- .pf-v5-c-sidebar__panel.pf-m-width-75-on-2xl {
340
- --pf-v5-c-sidebar__panel--FlexBasis: 75%;
339
+ .pf-v6-c-sidebar__panel.pf-m-width-75-on-2xl {
340
+ --pf-v6-c-sidebar__panel--FlexBasis: 75%;
341
341
  }
342
- .pf-v5-c-sidebar__panel.pf-m-width-100-on-2xl {
343
- --pf-v5-c-sidebar__panel--FlexBasis: 100%;
342
+ .pf-v6-c-sidebar__panel.pf-m-width-100-on-2xl {
343
+ --pf-v6-c-sidebar__panel--FlexBasis: 100%;
344
344
  }
345
345
  }
@@ -1,6 +1,6 @@
1
1
  // @debug $sidebar; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
2
- $pf-v5-c-sidebar--breakpoint-map--width: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
3
- $pf-v5-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
2
+ $pf-v6-c-sidebar--breakpoint-map--width: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
3
+ $pf-v6-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
4
4
 
5
5
  :root,
6
6
  :where(.#{$sidebar}) {
@@ -74,7 +74,7 @@ $pf-v5-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
74
74
 
75
75
  // Panel
76
76
  --#{$sidebar}__panel--FlexBasis--base: auto;
77
- --#{$sidebar}__panel--BoxShadow--base: #{0 pf-size-prem(4px) pf-size-prem(4px) pf-size-prem(-4px) rgba($pf-v5-color-black-1000, .16)}; // modified so the shadow is only visible on the bottom of the element
77
+ --#{$sidebar}__panel--BoxShadow--base: #{0 pf-size-prem(4px) pf-size-prem(4px) pf-size-prem(-4px) rgba($pf-v5-color-black-1000, .16)}; // TODO NEEDS TOKEN. previous comment:modified so the shadow is only visible on the bottom of the element
78
78
  --#{$sidebar}__panel--BoxShadow: var(--#{$sidebar}__panel--BoxShadow--base);
79
79
  --#{$sidebar}__panel--Top: 0;
80
80
  --#{$sidebar}__panel--md--Top: auto;
@@ -101,7 +101,7 @@ $pf-v5-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
101
101
  .#{$sidebar} {
102
102
  height: 100%;
103
103
 
104
- @media (min-width: $pf-v5-global--breakpoint--md) {
104
+ @media (min-width: $pf-v6-global--breakpoint--md) {
105
105
  --#{$sidebar}__main--FlexDirection: var(--#{$sidebar}__main--md--FlexDirection);
106
106
  --#{$sidebar}__main--AlignItems: var(--#{$sidebar}__main--md--AlignItems);
107
107
  --#{$sidebar}__main--m-border--before--Display: var(--#{$sidebar}__main--m-border--before--md--Display); // show border starting at md breakpoint
@@ -111,7 +111,7 @@ $pf-v5-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
111
111
  --#{$sidebar}__panel--Position: var(--#{$sidebar}__panel--md--Position);
112
112
  }
113
113
 
114
- @media (min-width: $pf-v5-global--breakpoint--xl) {
114
+ @media (min-width: $pf-v6-global--breakpoint--xl) {
115
115
  --#{$sidebar}--inset: var(--#{$sidebar}--xl--inset);
116
116
  }
117
117
 
@@ -123,7 +123,7 @@ $pf-v5-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
123
123
  --#{$sidebar}__panel--Order: var(--#{$sidebar}--m-panel-right__panel--Order);
124
124
  --#{$sidebar}__content--Order: var(--#{$sidebar}--m-panel-right__content--Order);
125
125
 
126
- @media (min-width: $pf-v5-global--breakpoint--md) {
126
+ @media (min-width: $pf-v6-global--breakpoint--md) {
127
127
  --#{$sidebar}--m-panel-right__panel--Order: var(--#{$sidebar}--m-panel-right__panel--md--Order);
128
128
  --#{$sidebar}--m-panel-right__content--Order: var(--#{$sidebar}--m-panel-right__content--md--Order);
129
129
  }
@@ -245,16 +245,16 @@ $pf-v5-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
245
245
 
246
246
 
247
247
  // Responsive width modifiers
248
- @each $breakpoint, $breakpoint-value in $pf-v5-c-sidebar--breakpoint-map--width {
248
+ @each $breakpoint, $breakpoint-value in $pf-v6-c-sidebar--breakpoint-map--width {
249
249
  $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
250
250
 
251
- @include pf-v5-apply-breakpoint($breakpoint) {
252
- @each $width-value in $pf-v5-c-sidebar__panel--list--width {
253
- .pf-v5-c-sidebar__panel.pf-m-width-#{$width-value}#{$breakpoint-name} {
251
+ @include pf-v6-apply-breakpoint($breakpoint) {
252
+ @each $width-value in $pf-v6-c-sidebar__panel--list--width {
253
+ .pf-v6-c-sidebar__panel.pf-m-width-#{$width-value}#{$breakpoint-name} {
254
254
  @if $width-value == "default" {
255
- --pf-v5-c-sidebar__panel--FlexBasis: var(--pf-v5-c-sidebar__panel--FlexBasis--base);
255
+ --pf-v6-c-sidebar__panel--FlexBasis: var(--pf-v6-c-sidebar__panel--FlexBasis--base);
256
256
  } @else {
257
- --pf-v5-c-sidebar__panel--FlexBasis: #{percentage(div($width-value, 100))};
257
+ --pf-v6-c-sidebar__panel--FlexBasis: #{percentage(div($width-value, 100))};
258
258
  }
259
259
  }
260
260
  }
@@ -76,7 +76,7 @@
76
76
  }
77
77
 
78
78
  &::after {
79
- @include pf-v5-mirror-inline-on-rtl;
79
+ @include pf-v6-mirror-inline-on-rtl;
80
80
 
81
81
  position: absolute;
82
82
  inset: 0;
@@ -79,7 +79,7 @@
79
79
  }
80
80
 
81
81
  .#{$slider} {
82
- @include pf-v5-bidirectional-style(
82
+ @include pf-v6-bidirectional-style(
83
83
  $prop: --#{$slider}__rail-track--before--fill--direction,
84
84
  $ltr-val: right,
85
85
  $rtl-val: left
@@ -160,10 +160,10 @@
160
160
  }
161
161
 
162
162
  .#{$slider}__step-tick {
163
- @include pf-v5-bidirectional-style(
163
+ @include pf-v6-bidirectional-style(
164
164
  $prop: transform,
165
165
  $ltr-val: translateX(var(--#{$slider}__step-tick--TranslateX)),
166
- $rtl-val: translateX(#{pf-v5-calc-inverse(var(--#{$slider}__step-tick--TranslateX))})
166
+ $rtl-val: translateX(#{pf-v6-calc-inverse(var(--#{$slider}__step-tick--TranslateX))})
167
167
  );
168
168
 
169
169
  position: absolute;
@@ -176,10 +176,10 @@
176
176
  }
177
177
 
178
178
  .#{$slider}__step-label {
179
- @include pf-v5-bidirectional-style(
179
+ @include pf-v6-bidirectional-style(
180
180
  $prop: transform,
181
181
  $ltr-val: translateX(var(--#{$slider}__step-label--TranslateX)),
182
- $rtl-val: translateX(#{pf-v5-calc-inverse(var(--#{$slider}__step-label--TranslateX))})
182
+ $rtl-val: translateX(#{pf-v6-calc-inverse(var(--#{$slider}__step-label--TranslateX))})
183
183
  );
184
184
 
185
185
  position: absolute;
@@ -188,10 +188,10 @@
188
188
  }
189
189
 
190
190
  .#{$slider}__thumb {
191
- @include pf-v5-bidirectional-style(
191
+ @include pf-v6-bidirectional-style(
192
192
  $prop: transform,
193
193
  $ltr-val: translate(var(--#{$slider}__thumb--TranslateX), var(--#{$slider}__thumb--TranslateY)),
194
- $rtl-val: translate(#{pf-v5-calc-inverse(var(--#{$slider}__thumb--TranslateX))}, var(--#{$slider}__thumb--TranslateY))
194
+ $rtl-val: translate(#{pf-v6-calc-inverse(var(--#{$slider}__thumb--TranslateX))}, var(--#{$slider}__thumb--TranslateY))
195
195
  );
196
196
 
197
197
  position: absolute;
@@ -205,10 +205,10 @@
205
205
  box-shadow: var(--#{$slider}__thumb--BoxShadow);
206
206
 
207
207
  &::before {
208
- @include pf-v5-bidirectional-style(
208
+ @include pf-v6-bidirectional-style(
209
209
  $prop: transform,
210
210
  $ltr-val: translate(var(--#{$slider}__thumb--before--TranslateX), var(--#{$slider}__thumb--before--TranslateY)),
211
- $rtl-val: translate(#{pf-v5-calc-inverse(var(--#{$slider}__thumb--before--TranslateX))}, var(--#{$slider}__thumb--before--TranslateY))
211
+ $rtl-val: translate(#{pf-v6-calc-inverse(var(--#{$slider}__thumb--before--TranslateX))}, var(--#{$slider}__thumb--before--TranslateY))
212
212
  );
213
213
 
214
214
  position: absolute;
@@ -239,10 +239,10 @@
239
239
  margin-inline-start: var(--#{$slider}__value--MarginLeft);
240
240
 
241
241
  &.pf-m-floating {
242
- @include pf-v5-bidirectional-style(
242
+ @include pf-v6-bidirectional-style(
243
243
  $prop: transform,
244
244
  $ltr-val: translate(var(--#{$slider}__value--m-floating--TranslateX), var(--#{$slider}__value--m-floating--TranslateY)),
245
- $rtl-val: translate(#{pf-v5-calc-inverse(var(--#{$slider}__value--m-floating--TranslateX))}, var(--#{$slider}__value--m-floating--TranslateY)),
245
+ $rtl-val: translate(#{pf-v6-calc-inverse(var(--#{$slider}__value--m-floating--TranslateX))}, var(--#{$slider}__value--m-floating--TranslateY)),
246
246
  );
247
247
 
248
248
  --#{$slider}__value--MarginLeft: 0;
@@ -91,10 +91,10 @@
91
91
  background-color: var(--#{$switch}__input--checked__toggle--BackgroundColor);
92
92
 
93
93
  &::before {
94
- @include pf-v5-bidirectional-style(
94
+ @include pf-v6-bidirectional-style(
95
95
  $prop: transform,
96
96
  $ltr-val: translate(var(--#{$switch}__input--checked__toggle--before--TranslateX), -50%),
97
- $rtl-val: translate(#{pf-v5-calc-inverse(var(--#{$switch}__input--checked__toggle--before--TranslateX))}, -50%)
97
+ $rtl-val: translate(#{pf-v6-calc-inverse(var(--#{$switch}__input--checked__toggle--before--TranslateX))}, -50%)
98
98
  );
99
99
 
100
100
  background-color: var(--#{$switch}__input--checked__toggle--before--BackgroundColor);
@@ -26,7 +26,7 @@
26
26
  .#{$tab-content} {
27
27
  background-color: var(--#{$tab-content}--BackgroundColor);
28
28
 
29
- @media screen and (min-width: $pf-v5-global--breakpoint--xl) {
29
+ @media screen and (min-width: $pf-v6-global--breakpoint--xl) {
30
30
  --#{$tab-content}__body--m-padding--PaddingTop: var(--#{$tab-content}__body--m-padding--xl--PaddingTop);
31
31
  --#{$tab-content}__body--m-padding--PaddingRight: var(--#{$tab-content}__body--m-padding--xl--PaddingRight);
32
32
  --#{$tab-content}__body--m-padding--PaddingBottom: var(--#{$tab-content}__body--m-padding--xl--PaddingBottom);