@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
@@ -23,9 +23,9 @@ $pf-global--theme-light--placeholder--class: 't-light' !default;
23
23
  // stylelint-enable
24
24
 
25
25
  // Dark theme versioned variables
26
- $pf-v5--theme-dark--class: '.' + #{$pf-global--theme--namespace} + #{$pf-global--theme--version} + #{$pf-global--theme-dark--class} !default; // include the operator here
27
- $pf-v5--theme-dark--target: '' !default; // include the operator here
28
- $pf-v5--theme-dark--placeholder--class: '.' + #{$pf-global--theme--namespace} + #{$pf-global--theme--version} + #{$pf-global--theme-dark--placeholder--class} !default; // include the operator here
26
+ $pf-v6--theme-dark--class: '.' + #{$pf-global--theme--namespace} + #{$pf-global--theme--version} + #{$pf-global--theme-dark--class} !default; // include the operator here
27
+ $pf-v6--theme-dark--target: '' !default; // include the operator here
28
+ $pf-v6--theme-dark--placeholder--class: '.' + #{$pf-global--theme--namespace} + #{$pf-global--theme--version} + #{$pf-global--theme-dark--placeholder--class} !default; // include the operator here
29
29
 
30
30
  // Light theme versioned variables
31
31
  $pf-v5--theme-light--class: '.' + #{$pf-global--theme--namespace} + #{$pf-global--theme--version} + #{$pf-global--theme-light--class} !default; // include the operator here
@@ -22,35 +22,35 @@
22
22
  }
23
23
 
24
24
  // Return (width) breakpoint value if it exists
25
- @function pf-breakpoint-value($breakpoint, $breakpoint-map: $pf-v5-global--breakpoint-name-map) {
25
+ @function pf-breakpoint-value($breakpoint, $breakpoint-map: $pf-v6-global--breakpoint-name-map) {
26
26
  $breakpoint-value: if(map-has-key($breakpoint-map, #{$breakpoint}), map-get($breakpoint-map, #{$breakpoint}), false);
27
27
 
28
28
  @return #{$breakpoint-value};
29
29
  }
30
30
 
31
31
  // Return height breakpoint value if it exists
32
- @function pf-height-breakpoint-value($height-breakpoint, $height-breakpoint-map: $pf-v5-global--height-breakpoint-name-map) {
32
+ @function pf-height-breakpoint-value($height-breakpoint, $height-breakpoint-map: $pf-v6-global--height-breakpoint-name-map) {
33
33
  $height-breakpoint-value: if(map-has-key($height-breakpoint-map, #{$height-breakpoint}), map-get($height-breakpoint-map, #{$height-breakpoint}), false);
34
34
 
35
35
  @return #{$height-breakpoint-value};
36
36
  }
37
37
 
38
38
  // Build breakpoint map
39
- // Based on $pf-v5-global--breakpoint-name-map
39
+ // Based on $pf-v6-global--breakpoint-name-map
40
40
  @function build-breakpoint-map($map-items...) {
41
41
  $map: ();
42
42
 
43
43
  @if length($map-items) == 0 {
44
44
  $map: ("base": null);
45
- $map: map-merge($map, $pf-v5-global--breakpoint-name-map);
45
+ $map: map-merge($map, $pf-v6-global--breakpoint-name-map);
46
46
  } @else {
47
47
  @each $breakpoint in $map-items {
48
- @if not map-has-key($pf-v5-global--breakpoint-name-map, $breakpoint) and $breakpoint != "base" {
48
+ @if not map-has-key($pf-v6-global--breakpoint-name-map, $breakpoint) and $breakpoint != "base" {
49
49
  $map: map-merge($map, ("invalid breakpoint #{$breakpoint}": null));
50
50
  } @else if $breakpoint == "base" {
51
51
  $map: map-merge($map, ($breakpoint: null));
52
52
  } @else {
53
- $map: map-merge($map, ($breakpoint: map-get($pf-v5-global--breakpoint-name-map, #{$breakpoint})));
53
+ $map: map-merge($map, ($breakpoint: map-get($pf-v6-global--breakpoint-name-map, #{$breakpoint})));
54
54
  }
55
55
  }
56
56
  }
@@ -59,21 +59,21 @@
59
59
  }
60
60
 
61
61
  // Build height breakpoint map
62
- // Based on $pf-v5-global--height-breakpoint-name-map
62
+ // Based on $pf-v6-global--height-breakpoint-name-map
63
63
  @function build-height-breakpoint-map($map-items...) {
64
64
  $map: ();
65
65
 
66
66
  @if length($map-items) == 0 {
67
67
  $map: ("base": null);
68
- $map: map-merge($map, $pf-v5-global--height-breakpoint-name-map);
68
+ $map: map-merge($map, $pf-v6-global--height-breakpoint-name-map);
69
69
  } @else {
70
70
  @each $breakpoint in $map-items {
71
- @if not map-has-key($pf-v5-global--height-breakpoint-name-map, $breakpoint) and $breakpoint != "base" {
71
+ @if not map-has-key($pf-v6-global--height-breakpoint-name-map, $breakpoint) and $breakpoint != "base" {
72
72
  $map: map-merge($map, ("invalid breakpoint #{$breakpoint}": null));
73
73
  } @else if $breakpoint == "base" {
74
74
  $map: map-merge($map, ($breakpoint: null));
75
75
  } @else {
76
- $map: map-merge($map, ($breakpoint: map-get($pf-v5-global--height-breakpoint-name-map, #{$breakpoint})));
76
+ $map: map-merge($map, ($breakpoint: map-get($pf-v6-global--height-breakpoint-name-map, #{$breakpoint})));
77
77
  }
78
78
  }
79
79
  }
@@ -118,6 +118,6 @@
118
118
 
119
119
  // Returns a calc() with the inverse of a value used for RTL. Most commonly used as the inverse/negative of a value in a transform function (eg, translate(), rotate(), scale(), etc)
120
120
  // Shouldn't be used on an existing LTR style as adding a calc() in an existing style could be breaking. Should used within an RTL selector, which is basically an opt-in.
121
- @function pf-v5-calc-inverse($val, $multiplier: var(--#{$pf-global}--inverse--multiplier)) {
121
+ @function pf-v6-calc-inverse($val, $multiplier: var(--#{$pf-global}--inverse--multiplier)) {
122
122
  @return calc(#{$val} * #{$multiplier});
123
123
  }
@@ -1,52 +1,52 @@
1
1
  // Media query used to create responsive classes
2
- @mixin pf-v5-media-query($point) {
2
+ @mixin pf-v6-media-query($point) {
3
3
  @if $point == "" or not $point or $point == "base" {
4
4
  @content;
5
5
  } @else if $point == "sm" {
6
- @media screen and (min-width: $pf-v5-global--breakpoint--sm) {
6
+ @media screen and (min-width: $pf-v6-global--breakpoint--sm) {
7
7
  @content;
8
8
  }
9
9
  } @else if $point == "md" {
10
- @media screen and (min-width: $pf-v5-global--breakpoint--md) {
10
+ @media screen and (min-width: $pf-v6-global--breakpoint--md) {
11
11
  @content;
12
12
  }
13
13
  } @else if $point == "lg" {
14
- @media screen and (min-width: $pf-v5-global--breakpoint--lg) {
14
+ @media screen and (min-width: $pf-v6-global--breakpoint--lg) {
15
15
  @content;
16
16
  }
17
17
  } @else if $point == "xl" {
18
- @media screen and (min-width: $pf-v5-global--breakpoint--xl) {
18
+ @media screen and (min-width: $pf-v6-global--breakpoint--xl) {
19
19
  @content;
20
20
  }
21
21
  } @else if $point == "2xl" {
22
- @media screen and (min-width: $pf-v5-global--breakpoint--2xl) {
22
+ @media screen and (min-width: $pf-v6-global--breakpoint--2xl) {
23
23
  @content;
24
24
  }
25
25
  }
26
26
  }
27
27
 
28
28
  // Media query used to create responsive classes
29
- @mixin pf-v5-height-media-query($point) {
29
+ @mixin pf-v6-height-media-query($point) {
30
30
  @if $point == "" or not $point or $point == "base" {
31
31
  @content;
32
32
  } @else if $point == "sm" {
33
- @media screen and (min-height: $pf-v5-global--height-breakpoint--sm) {
33
+ @media screen and (min-height: $pf-v6-global--height-breakpoint--sm) {
34
34
  @content;
35
35
  }
36
36
  } @else if $point == "md" {
37
- @media screen and (min-height: $pf-v5-global--height-breakpoint--md) {
37
+ @media screen and (min-height: $pf-v6-global--height-breakpoint--md) {
38
38
  @content;
39
39
  }
40
40
  } @else if $point == "lg" {
41
- @media screen and (min-height: $pf-v5-global--height-breakpoint--lg) {
41
+ @media screen and (min-height: $pf-v6-global--height-breakpoint--lg) {
42
42
  @content;
43
43
  }
44
44
  } @else if $point == "xl" {
45
- @media screen and (min-height: $pf-v5-global--height-breakpoint--xl) {
45
+ @media screen and (min-height: $pf-v6-global--height-breakpoint--xl) {
46
46
  @content;
47
47
  }
48
48
  } @else if $point == "2xl" {
49
- @media screen and (min-height: $pf-v5-global--height-breakpoint--2xl) {
49
+ @media screen and (min-height: $pf-v6-global--height-breakpoint--2xl) {
50
50
  @content;
51
51
  }
52
52
  }
@@ -56,28 +56,28 @@
56
56
  // @group mixins
57
57
  // @moduleType mixin
58
58
  // @parameter: [Suffix] xs, sm, md, lg, xl, base or null
59
- // @usage: @include pf-v5-utility-builder(class-name, base sm md lg xl);
59
+ // @usage: @include pf-v6-utility-builder(class-name, base sm md lg xl);
60
60
  // ===============================================================================================
61
61
 
62
62
  // ## Example sass map:
63
63
  // this must be used when order matters or a cluster of similar utilties need to overwrite each other
64
64
 
65
65
  // Justify content options
66
- // $pf-v5-u-flex-options: (
66
+ // $pf-v6-u-flex-options: (
67
67
  // flex-none: (flex none),
68
68
  // flex-1: (flex 1)
69
69
  // );
70
70
 
71
- // non-responsive, base only @include pf-v5-utility-builder($sass-map)
72
- // responsive, including all breakpoints @include pf-v5-utility-builder($sass-map, $pf-v5-global--breakpoint-list)
73
- // responsive height breakpoints @include pf-v5-utility-builder($sass-map, $pf-v5-global--height-breakpoint-list, 'height')
71
+ // non-responsive, base only @include pf-v6-utility-builder($sass-map)
72
+ // responsive, including all breakpoints @include pf-v6-utility-builder($sass-map, $pf-v6-global--breakpoint-list)
73
+ // responsive height breakpoints @include pf-v6-utility-builder($sass-map, $pf-v6-global--height-breakpoint-list, 'height')
74
74
 
75
75
  // ## Passing individual utilities values
76
76
  // ===============================================================================================
77
77
  // Example individual utility:
78
- // @include pf-v5-utility-builder(flex-fill flex "1 1 auto", $pf-v5-global--breakpoint-list);
78
+ // @include pf-v6-utility-builder(flex-fill flex "1 1 auto", $pf-v6-global--breakpoint-list);
79
79
 
80
- @mixin pf-v5-utility-builder($props, $breakpoints: null, $direction: "width") {
80
+ @mixin pf-v6-utility-builder($props, $breakpoints: null, $direction: "width") {
81
81
  // if $class-name is a map
82
82
 
83
83
  // stylelint-disable
@@ -97,7 +97,7 @@
97
97
  $suffix: -on-#{$breakpoint};
98
98
 
99
99
  @if $direction == 'height' {
100
- @include pf-v5-height-media-query($breakpoint) {
100
+ @include pf-v6-height-media-query($breakpoint) {
101
101
  @each $class, $val in $props {
102
102
  $property: nth($val, 1);
103
103
  $value: #{nth($val, 2) !important};
@@ -109,7 +109,7 @@
109
109
  }
110
110
  }
111
111
  @else if $direction == 'width' {
112
- @include pf-v5-media-query($breakpoint) {
112
+ @include pf-v6-media-query($breakpoint) {
113
113
  @each $class, $val in $props {
114
114
  $property: nth($val, 1);
115
115
  $value: #{nth($val, 2) !important};
@@ -138,7 +138,7 @@
138
138
  $suffix: -on-#{$breakpoint};
139
139
 
140
140
  .#{$pf-prefix}u-#{$class}#{$suffix} {
141
- @include pf-v5-media-query($breakpoint) {
141
+ @include pf-v6-media-query($breakpoint) {
142
142
  #{$property}: #{$value};
143
143
  }
144
144
  }
@@ -149,7 +149,7 @@
149
149
 
150
150
  // stylelint-enable
151
151
 
152
- @mixin pf-v5-u-screen-reader {
152
+ @mixin pf-v6-u-screen-reader {
153
153
  position: fixed;
154
154
  inset-block-start: 0;
155
155
  inset-inline-start: 0;
@@ -159,7 +159,7 @@
159
159
  border: 0;
160
160
  }
161
161
 
162
- @mixin pf-v5-u-visible {
162
+ @mixin pf-v6-u-visible {
163
163
  position: static;
164
164
  overflow: visible;
165
165
  clip: auto;
@@ -167,27 +167,28 @@
167
167
  border: inherit;
168
168
  }
169
169
 
170
- @mixin pf-v5-t-light($color: "--#{$pf-global}--Color--100") {
170
+ // Remove when deprecated components are removed
171
+ @mixin pf-v6-t-light($color: "--#{$pf-global}--Color--100") {
171
172
  @if $color {
172
173
  color: var(#{$color});
173
174
  }
174
175
 
175
- @extend %pf-v5-t-light;
176
+ @extend %pf-v6-t-light;
176
177
  }
177
178
 
178
- @mixin pf-v5-t-dark($color: "--#{$pf-global}--Color--100") {
179
+ @mixin pf-v6-t-dark($color: "--#{$pf-global}--Color--100") {
179
180
  color: var(#{$color});
180
181
 
181
- @extend %pf-v5-t-dark;
182
+ @extend %pf-v6-t-dark;
182
183
  }
183
184
 
184
- @mixin pf-v5-text-overflow {
185
+ @mixin pf-v6-text-overflow {
185
186
  overflow: hidden;
186
187
  text-overflow: ellipsis;
187
188
  white-space: nowrap;
188
189
  }
189
190
 
190
- @mixin pf-v5-line-clamp($line-clamp-val: 1) {
191
+ @mixin pf-v6-line-clamp($line-clamp-val: 1) {
191
192
  // stylelint-disable
192
193
  display: -webkit-box;
193
194
  -webkit-box-orient: vertical;
@@ -196,7 +197,7 @@
196
197
  overflow: hidden;
197
198
  }
198
199
 
199
- @mixin pf-v5-overflow-hide-scroll {
200
+ @mixin pf-v6-overflow-hide-scroll {
200
201
  &::-webkit-scrollbar {
201
202
  display: none;
202
203
  } // hides scrollbars in Chrome
@@ -205,15 +206,15 @@
205
206
  -ms-overflow-style: -ms-autohiding-scrollbar; // auto hides scrollbars in Edge
206
207
  }
207
208
 
208
- @mixin pf-v5-hidden-visible($val: "block") {
209
+ @mixin pf-v6-hidden-visible($val: "block") {
209
210
  // stylelint-disable-next-line
210
- --pf-v5-hidden-visible--visible--Display: #{$val};
211
+ --pf-v6-hidden-visible--visible--Display: #{$val};
211
212
 
212
- @extend %pf-v5-hidden-visible;
213
+ @extend %pf-v6-hidden-visible;
213
214
  }
214
215
 
215
216
  // Apply media query if value is passed
216
- @mixin pf-v5-apply-breakpoint($breakpoint) {
217
+ @mixin pf-v6-apply-breakpoint($breakpoint) {
217
218
  @if $breakpoint == "null" or $breakpoint == "base" or $breakpoint == "" {
218
219
  @content;
219
220
  } @else {
@@ -226,7 +227,7 @@
226
227
  }
227
228
 
228
229
  // Apply height media query if value is passed
229
- @mixin pf-v5-apply-height-breakpoint($breakpoint) {
230
+ @mixin pf-v6-apply-height-breakpoint($breakpoint) {
230
231
  @if $breakpoint == "null" or $breakpoint == "base" or $breakpoint == "" {
231
232
  @content;
232
233
  } @else {
@@ -238,14 +239,14 @@
238
239
  }
239
240
  }
240
241
 
241
- @mixin pf-v5-emit-properties($map) {
242
+ @mixin pf-v6-emit-properties($map) {
242
243
  @each $prop, $value in $map {
243
244
  #{$value}: #{$prop};
244
245
  }
245
246
  }
246
247
 
247
248
  // Animate tab focus removal
248
- @mixin pf-v5-animate-remove-tab-focus($element, $delay: $pf-v5-global--TransitionDuration) {
249
+ @mixin pf-v6-animate-remove-tab-focus($element, $delay: $pf-v5-global--TransitionDuration) {
249
250
  @keyframes pf-remove-tab-focus {
250
251
  to {
251
252
  visibility: hidden;
@@ -260,7 +261,7 @@
260
261
  }
261
262
 
262
263
  // Build variable stack
263
- @mixin pf-v5-build-css-variable-stack($prop, $css-var, $breakpoint-map: $pf-v5-global--breakpoint-map, $important: false) {
264
+ @mixin pf-v6-build-css-variable-stack($prop, $css-var, $breakpoint-map: $pf-v6-global--breakpoint-map, $important: false) {
264
265
  $list: ();
265
266
 
266
267
  @each $breakpoint, $breakpoint-value in $breakpoint-map {
@@ -283,7 +284,7 @@
283
284
  }
284
285
 
285
286
  // Assign variable stack to $prop
286
- @include pf-v5-apply-breakpoint($breakpoint) {
287
+ @include pf-v6-apply-breakpoint($breakpoint) {
287
288
  @if $important == true {
288
289
  // stylelint-disable declaration-no-important
289
290
  #{$prop}: #{$variable-list} !important;
@@ -296,7 +297,7 @@
296
297
  }
297
298
 
298
299
  // Build variable stack
299
- @mixin pf-v5-output-root-variables($css-var, $breakpoint-map: $pf-v5-global--breakpoint-map) {
300
+ @mixin pf-v6-output-root-variables($css-var, $breakpoint-map: $pf-v6-global--breakpoint-map) {
300
301
  $list: ();
301
302
 
302
303
  @each $breakpoint, $breakpoint-value in $breakpoint-map {
@@ -314,13 +315,13 @@
314
315
  }
315
316
 
316
317
  // Dark theme style block
317
- @mixin pf-v5-theme-dark($theme-dark-class: $pf-v5--theme-dark--class, $theme-dark-target: $pf-v5--theme-dark--target) {
318
+ @mixin pf-v6-theme-dark($theme-dark-class: $pf-v6--theme-dark--class, $theme-dark-target: $pf-v6--theme-dark--target) {
318
319
  #{$theme-dark-target}:where(#{$theme-dark-class}) {
319
320
  @content;
320
321
  }
321
322
  }
322
323
 
323
- @mixin pf-v5-construct-global-vars($prefix: $pf-prefix--version, $maps...) {
324
+ @mixin pf-v6-construct-global-vars($prefix: $pf-prefix--version, $maps...) {
324
325
  @each $map in $maps {
325
326
  @each $name, $val in $map {
326
327
  #{$prefix}#{$name}: #{$val};
@@ -332,7 +333,7 @@
332
333
 
333
334
  // Used to create the RTL selector for RTL specific styles
334
335
 
335
- // @include pf-v5-rtl {
336
+ // @include pf-v6-rtl {
336
337
  // background: red;
337
338
  // }
338
339
 
@@ -341,14 +342,14 @@
341
342
  // [dir="rtl"] {
342
343
  // background: red;
343
344
  // }
344
- @mixin pf-v5-rtl {
345
+ @mixin pf-v6-rtl {
345
346
  @at-root :where(.#{$pf-prefix}m-dir-rtl, [dir="rtl"]) #{&} {
346
347
  @content;
347
348
  }
348
349
  }
349
350
 
350
351
  // Used to create the LTR selector for LTR specific styles
351
- @mixin pf-v5-ltr {
352
+ @mixin pf-v6-ltr {
352
353
  @at-root :where(.#{$pf-prefix}m-dir-ltr, [dir="ltr"]) #{&} {
353
354
  @content;
354
355
  }
@@ -356,7 +357,7 @@
356
357
 
357
358
  // Creates a default/LTR declaration, and an RTL declaration.
358
359
 
359
- // @include pf-v5-bidirectional-style(background, blue, red)
360
+ // @include pf-v6-bidirectional-style(background, blue, red)
360
361
 
361
362
  // renders as
362
363
 
@@ -364,26 +365,26 @@
364
365
  // [dir="rtl"] {
365
366
  // background: red;
366
367
  // }
367
- @mixin pf-v5-bidirectional-style($prop, $ltr-val, $rtl-val) {
368
+ @mixin pf-v6-bidirectional-style($prop, $ltr-val, $rtl-val) {
368
369
  #{$prop}: #{$ltr-val};
369
370
 
370
- @include pf-v5-rtl {
371
+ @include pf-v6-rtl {
371
372
  #{$prop}: #{$rtl-val};
372
373
  }
373
374
  }
374
375
 
375
376
  // Mirrors/flips something horizontally/inline. Relies upon scale/scale() not already being used for the element. Can be extended to take arguments to use different methods other than scale().
376
- @mixin pf-v5-mirror-inline {
377
+ @mixin pf-v6-mirror-inline {
377
378
  scale: -1 1;
378
379
  }
379
380
 
380
- @mixin pf-v5-mirror-inline-on-rtl {
381
- @include pf-v5-rtl {
382
- @include pf-v5-mirror-inline;
381
+ @mixin pf-v6-mirror-inline-on-rtl {
382
+ @include pf-v6-rtl {
383
+ @include pf-v6-mirror-inline;
383
384
  }
384
385
  }
385
386
 
386
387
  // Declares a global inverse multiplier var used for returning the inverse of a number. Defined within blocks that reference the global var in calc() functions to conditionally return the default or inverse value of a number.
387
- @mixin pf-v5-set-inverse($val: true) {
388
+ @mixin pf-v6-set-inverse($val: true) {
388
389
  --#{$pf-global}--inverse--multiplier: #{if($val, -1, 1)};
389
390
  }
@@ -1,4 +1,4 @@
1
- %pf-v5-t-light {
1
+ %pf-v6-t-light {
2
2
  --#{$pf-global}--Color--100: var(--#{$pf-global}--Color--dark-100);
3
3
  --#{$pf-global}--Color--200: var(--#{$pf-global}--Color--dark-200);
4
4
  --#{$pf-global}--BorderColor--100: var(--#{$pf-global}--BorderColor--dark-100);
@@ -10,7 +10,7 @@
10
10
  --#{$pf-global}--icon--Color--dark: var(--#{$pf-global}--icon--Color--dark--dark);
11
11
  }
12
12
 
13
- %pf-v5-t-dark {
13
+ %pf-v6-t-dark {
14
14
  --#{$pf-global}--Color--100: var(--#{$pf-global}--Color--light-100);
15
15
  --#{$pf-global}--Color--200: var(--#{$pf-global}--Color--light-200);
16
16
  --#{$pf-global}--BorderColor--100: var(--#{$pf-global}--BorderColor--light-100);
@@ -27,39 +27,39 @@
27
27
  }
28
28
 
29
29
  // stylelint-disable
30
- %pf-v5-hidden-visible {
30
+ %pf-v6-hidden-visible {
31
31
  // base value for visible display property is set to 'block' by default and passed in to
32
- // placeholder via `pf-v5-hidden-visible` mixin
32
+ // placeholder via `pf-v6-hidden-visible` mixin
33
33
 
34
34
  // set hidden var values
35
- --pf-v5-hidden-visible--hidden--Display: none;
35
+ --pf-v6-hidden-visible--hidden--Display: none;
36
36
 
37
37
  // set visibile var values
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
  // set default state to visible
41
- display: var(--pf-v5-hidden-visible--Display);
41
+ display: var(--pf-v6-hidden-visible--Display);
42
42
 
43
43
  // toggle values based on state
44
44
  &.pf-m-hidden {
45
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--hidden--Display);
45
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
46
46
  }
47
47
 
48
- @each $size, $bp in $pf-v5-global--breakpoint-name-map {
48
+ @each $size, $bp in $pf-v6-global--breakpoint-name-map {
49
49
  @media screen and (min-width: $bp) {
50
50
  &.pf-m-hidden-on-#{$size} {
51
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--hidden--Display);
51
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
52
52
  }
53
53
 
54
54
  &.pf-m-visible-on-#{$size} {
55
- --pf-v5-hidden-visible--Display: var(--pf-v5-hidden-visible--visible--Display);
55
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
56
56
  }
57
57
  }
58
58
  }
59
59
  }
60
60
  // stylelint-enable
61
61
 
62
- %pf-v5-remove-num-arrows {
62
+ %pf-v6-remove-num-arrows {
63
63
  appearance: textfield;
64
64
 
65
65
  // stylelint-disable
@@ -155,19 +155,19 @@ $pf-v5-global--ZIndex--xl: 500;
155
155
  $pf-v5-global--ZIndex--2xl: 600;
156
156
 
157
157
  // Grid breakpoints
158
- $pf-v5-global--breakpoint--xs: 0 !default;
159
- $pf-v5-global--breakpoint--sm: 576px !default;
160
- $pf-v5-global--breakpoint--md: 768px !default;
161
- $pf-v5-global--breakpoint--lg: 992px !default;
162
- $pf-v5-global--breakpoint--xl: 1200px !default;
163
- $pf-v5-global--breakpoint--2xl: 1450px !default;
158
+ $pf-v6-global--breakpoint--xs: 0 !default;
159
+ $pf-v6-global--breakpoint--sm: 576px !default;
160
+ $pf-v6-global--breakpoint--md: 768px !default;
161
+ $pf-v6-global--breakpoint--lg: 992px !default;
162
+ $pf-v6-global--breakpoint--xl: 1200px !default;
163
+ $pf-v6-global--breakpoint--2xl: 1450px !default;
164
164
 
165
165
  // Height breakpoints
166
- $pf-v5-global--height-breakpoint--sm: 0 !default;
167
- $pf-v5-global--height-breakpoint--md: 40rem !default; // 640px
168
- $pf-v5-global--height-breakpoint--lg: 48rem !default; // 768px
169
- $pf-v5-global--height-breakpoint--xl: 60rem !default; // 960px
170
- $pf-v5-global--height-breakpoint--2xl: 80rem !default; // 1280px
166
+ $pf-v6-global--height-breakpoint--sm: 0 !default;
167
+ $pf-v6-global--height-breakpoint--md: 40rem !default; // 640px
168
+ $pf-v6-global--height-breakpoint--lg: 48rem !default; // 768px
169
+ $pf-v6-global--height-breakpoint--xl: 60rem !default; // 960px
170
+ $pf-v6-global--height-breakpoint--2xl: 80rem !default; // 1280px
171
171
 
172
172
  // Borders
173
173
  $pf-v5-global--BorderWidth--sm: 1px !default;
@@ -255,7 +255,7 @@ $pf-v5-global--target-size--MinHeight: 44px !default;
255
255
  // animations
256
256
 
257
257
  // Global breakpoint map - used for @pf-grid-item-modifiers
258
- $pf-v5-global--breakpoint-map: (
258
+ $pf-v6-global--breakpoint-map: (
259
259
  "": null,
260
260
  "sm": "-on-sm",
261
261
  "md": "-on-md",
@@ -264,8 +264,8 @@ $pf-v5-global--breakpoint-map: (
264
264
  "2xl": "-on-2xl"
265
265
  );
266
266
 
267
- // Global breakpoint list - used for @pf-v5-utility-builder
268
- $pf-v5-global--breakpoint-list: (
267
+ // Global breakpoint list - used for @pf-v6-utility-builder
268
+ $pf-v6-global--breakpoint-list: (
269
269
  "sm",
270
270
  "md",
271
271
  "lg",
@@ -274,25 +274,25 @@ $pf-v5-global--breakpoint-list: (
274
274
  );
275
275
 
276
276
  // Global breakpoint name map - used for %pf-v5-hidden-visible
277
- $pf-v5-global--breakpoint-name-map: (
278
- "sm": $pf-v5-global--breakpoint--sm,
279
- "md": $pf-v5-global--breakpoint--md,
280
- "lg": $pf-v5-global--breakpoint--lg,
281
- "xl": $pf-v5-global--breakpoint--xl,
282
- "2xl": $pf-v5-global--breakpoint--2xl
277
+ $pf-v6-global--breakpoint-name-map: (
278
+ "sm": $pf-v6-global--breakpoint--sm,
279
+ "md": $pf-v6-global--breakpoint--md,
280
+ "lg": $pf-v6-global--breakpoint--lg,
281
+ "xl": $pf-v6-global--breakpoint--xl,
282
+ "2xl": $pf-v6-global--breakpoint--2xl
283
283
  );
284
284
 
285
285
  // Global breakpoint name map - used for %pf-v5-hidden-visible
286
- $pf-v5-global--height-breakpoint-name-map: (
287
- "sm": $pf-v5-global--height-breakpoint--sm,
288
- "md": $pf-v5-global--height-breakpoint--md,
289
- "lg": $pf-v5-global--height-breakpoint--lg,
290
- "xl": $pf-v5-global--height-breakpoint--xl,
291
- "2xl": $pf-v5-global--height-breakpoint--2xl
286
+ $pf-v6-global--height-breakpoint-name-map: (
287
+ "sm": $pf-v6-global--height-breakpoint--sm,
288
+ "md": $pf-v6-global--height-breakpoint--md,
289
+ "lg": $pf-v6-global--height-breakpoint--lg,
290
+ "xl": $pf-v6-global--height-breakpoint--xl,
291
+ "2xl": $pf-v6-global--height-breakpoint--2xl
292
292
  );
293
293
 
294
294
  // Spacer properties
295
- $pf-v5-global--spacer-properties-map: (
295
+ $pf-v6-global--spacer-properties-map: (
296
296
  "m": "margin",
297
297
  "mt": "margin-block-start",
298
298
  "mr": "margin-inline-end",
@@ -1,7 +1,7 @@
1
- @mixin pf-v5-theme-dark--t-dark($color: "--#{$pf-global}--Color--100") {
1
+ @mixin pf-v6-theme-dark--t-dark($color: "--#{$pf-global}--Color--100") {
2
2
  @if $color {
3
3
  color: var(#{$color});
4
4
  }
5
5
 
6
- @extend %pf-v5-theme-dark--t-dark;
6
+ @extend %pf-v6-theme-dark--t-dark;
7
7
  }
@@ -1,4 +1,4 @@
1
- %pf-v5-theme-dark--t-dark {
1
+ %pf-v6-theme-dark--t-dark {
2
2
  .#{$button} {
3
3
  --#{$button}--m-primary--BackgroundColor: var(--#{$pf-global}--primary-color--300);
4
4
  }
@@ -1,6 +1,6 @@
1
1
  @import "../../base/themes/dark/chart-globals";
2
2
 
3
- @mixin pf-v5-charts-theme-dark($pf-v5-charts-theme-dark-class: "") {
3
+ @mixin pf-v6-charts-theme-dark($pf-v6-charts-theme-dark-class: "") {
4
4
  // stylelint-disable
5
5
  .#{$chart} {
6
6
  svg g[clip-path] {
@@ -1,19 +1,19 @@
1
1
  // screen-reader - visually hide, but expose to screen readers
2
- @each $breakpoint, $breakpoint-value in $pf-v5-global--breakpoint-map {
2
+ @each $breakpoint, $breakpoint-value in $pf-v6-global--breakpoint-map {
3
3
  .#{$pf-prefix}u-screen-reader#{$breakpoint-value} {
4
- @include pf-v5-media-query($breakpoint) {
5
- @include pf-v5-u-screen-reader;
4
+ @include pf-v6-media-query($breakpoint) {
5
+ @include pf-v6-u-screen-reader;
6
6
  }
7
7
  }
8
8
 
9
9
  .#{$pf-prefix}u-visible#{$breakpoint-value} {
10
- @include pf-v5-media-query($breakpoint) {
11
- @include pf-v5-u-visible;
10
+ @include pf-v6-media-query($breakpoint) {
11
+ @include pf-v6-u-visible;
12
12
  }
13
13
  }
14
14
 
15
15
  .#{$pf-prefix}u-hidden#{$breakpoint-value} {
16
- @include pf-v5-media-query($breakpoint) {
16
+ @include pf-v6-media-query($breakpoint) {
17
17
  // stylelint-disable
18
18
  display: none !important;
19
19
  // stylelint-enable
@@ -7,6 +7,6 @@ $pf-v6-u-alignment-options: (
7
7
  );
8
8
 
9
9
  // Text utilities
10
- @include pf-v5-utility-builder($pf-v6-u-alignment-options, $pf-v5-global--breakpoint-list);
10
+ @include pf-v6-utility-builder($pf-v6-u-alignment-options, $pf-v6-global--breakpoint-list);
11
11
 
12
12
  // stylelint-enable
@@ -52,7 +52,7 @@ $pf-v6-u-background-color-options: (
52
52
  )
53
53
  );
54
54
 
55
- @include pf-v5-utility-builder($pf-v6-u-background-color-options, $pf-v5-global--breakpoint-list);
55
+ @include pf-v6-utility-builder($pf-v6-u-background-color-options, $pf-v6-global--breakpoint-list);
56
56
 
57
57
  // stylelint-enable
58
58
 
@@ -24,6 +24,6 @@ $pf-v6-u-box-shadow-options: (
24
24
  );
25
25
 
26
26
  // Text utilities
27
- @include pf-v5-utility-builder($pf-v6-u-box-shadow-options);
27
+ @include pf-v6-utility-builder($pf-v6-u-box-shadow-options);
28
28
 
29
29
  // stylelint-enable