@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,7 +1,7 @@
1
1
  // @debug $drawer; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
2
- $pf-v5-c-drawer--breakpoint-map: build-breakpoint-map("base", "lg", "xl", "2xl");
3
- $pf-v5-c-drawer--breakpoint-map--width: build-breakpoint-map("base", "lg", "xl", "2xl");
4
- $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
2
+ $pf-v6-c-drawer--breakpoint-map: build-breakpoint-map("base", "lg", "xl", "2xl");
3
+ $pf-v6-c-drawer--breakpoint-map--width: build-breakpoint-map("base", "lg", "xl", "2xl");
4
+ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
5
5
 
6
6
  :where(:root),
7
7
  :where(.#{$drawer}) {
@@ -125,7 +125,7 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
125
125
  --#{$drawer}__splitter--m-vertical__splitter-handle--after--Width: #{pf-size-prem(4px)};
126
126
  --#{$drawer}__splitter--m-vertical__splitter-handle--after--Height: #{pf-size-prem(12px)};
127
127
 
128
- @media screen and (min-width: $pf-v5-global--breakpoint--xl) {
128
+ @media screen and (min-width: $pf-v6-global--breakpoint--xl) {
129
129
  --#{$drawer}__panel--MinWidth: var(--#{$drawer}__panel--xl--MinWidth);
130
130
 
131
131
  &.pf-m-panel-bottom {
@@ -135,8 +135,8 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
135
135
  }
136
136
 
137
137
  // Actions
138
- --#{$drawer}__actions--MarginTop: calc(var(--pf-t--global--spacer--xs) * -1.5); // TODO: add form element var
139
- --#{$drawer}__actions--MarginRight: calc(var(--pf-t--global--spacer--xs) * -1.5); // TODO: add form element var
138
+ --#{$drawer}__actions--MarginTop: calc(var(--pf-t--global--spacer--control--vertical--compact) * -1.5);
139
+ --#{$drawer}__actions--MarginRight: calc(var(--pf-t--global--spacer--control--horizontal--compact) * -1.5);
140
140
 
141
141
  // Box shadow
142
142
  --#{$drawer}__panel--BoxShadow: none;
@@ -153,12 +153,12 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
153
153
  }
154
154
 
155
155
  .#{$drawer} {
156
- @include pf-v5-bidirectional-style(
156
+ @include pf-v6-bidirectional-style(
157
157
  $prop: --#{$drawer}--m-expanded__panel--BoxShadow,
158
158
  $ltr-val: var(--pf-t--global--box-shadow--lg--left),
159
159
  $rtl-val: var(--pf-t--global--box-shadow--lg--right)
160
160
  );
161
- @include pf-v5-bidirectional-style(
161
+ @include pf-v6-bidirectional-style(
162
162
  $prop: --#{$drawer}--m-expanded--m-panel-left__panel--BoxShadow,
163
163
  $ltr-val: var(--#{$pf-global}--BoxShadow--lg-right),
164
164
  $rtl-val: var(--#{$pf-global}--BoxShadow--lg-left)
@@ -181,10 +181,10 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
181
181
  order: 0;
182
182
  margin-inline-end: calc(var(--#{$drawer}__panel--FlexBasis) * -1);
183
183
 
184
- @include pf-v5-bidirectional-style(
184
+ @include pf-v6-bidirectional-style(
185
185
  $prop: transform,
186
186
  $ltr-val: translateX(-100%),
187
- $rtl-val: translateX(#{pf-v5-calc-inverse(-100%)}),
187
+ $rtl-val: translateX(#{pf-v6-calc-inverse(-100%)}),
188
188
  );
189
189
  }
190
190
 
@@ -201,10 +201,10 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
201
201
  // stylelint-disable selector-max-class
202
202
  &.pf-m-expanded {
203
203
  > .#{$drawer}__main > .#{$drawer}__panel {
204
- @include pf-v5-bidirectional-style(
204
+ @include pf-v6-bidirectional-style(
205
205
  $prop: transform,
206
206
  $ltr-val: translateX(-100%),
207
- $rtl-val: translateX(#{pf-v5-calc-inverse(-100%)}),
207
+ $rtl-val: translateX(#{pf-v6-calc-inverse(-100%)}),
208
208
  );
209
209
  }
210
210
 
@@ -321,7 +321,7 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
321
321
  --#{$drawer}__panel--BackgroundColor: transparent;
322
322
  }
323
323
 
324
- @media screen and (min-width: $pf-v5-global--breakpoint--md) {
324
+ @media screen and (min-width: $pf-v6-global--breakpoint--md) {
325
325
  --#{$drawer}__panel--FlexBasis:
326
326
  max(
327
327
  var(--#{$drawer}__panel--md--FlexBasis--min),
@@ -329,7 +329,7 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
329
329
  );
330
330
  }
331
331
 
332
- @media screen and (min-width: $pf-v5-global--breakpoint--xl) {
332
+ @media screen and (min-width: $pf-v6-global--breakpoint--xl) {
333
333
  --#{$drawer}__panel--md--FlexBasis: var(--#{$drawer}__panel--xl--FlexBasis);
334
334
 
335
335
  .#{$drawer}.pf-m-panel-bottom & {
@@ -355,7 +355,7 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
355
355
  }
356
356
 
357
357
  // Remove tab focus
358
- @include pf-v5-animate-remove-tab-focus(".#{$drawer}__panel", var(--#{$drawer}__panel--TransitionDuration));
358
+ @include pf-v6-animate-remove-tab-focus(".#{$drawer}__panel", var(--#{$drawer}__panel--TransitionDuration));
359
359
 
360
360
  // Panel head
361
361
  .#{$drawer}__head {
@@ -463,10 +463,10 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
463
463
  inset-block-start: var(--#{$drawer}__splitter-handle--Top);
464
464
  inset-inline-start: var(--#{$drawer}__splitter-handle--Left);
465
465
 
466
- @include pf-v5-bidirectional-style(
466
+ @include pf-v6-bidirectional-style(
467
467
  $prop: transform,
468
468
  $ltr-val: translate(-50%, -50%),
469
- $rtl-val: translate(#{pf-v5-calc-inverse(-50%)}, -50%),
469
+ $rtl-val: translate(#{pf-v6-calc-inverse(-50%)}, -50%),
470
470
  );
471
471
 
472
472
 
@@ -485,7 +485,7 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
485
485
  }
486
486
 
487
487
  // Layout modifications happen after md breakpoint
488
- @media screen and (min-width: $pf-v5-global--breakpoint--md) {
488
+ @media screen and (min-width: $pf-v6-global--breakpoint--md) {
489
489
  // Default
490
490
  .#{$drawer} {
491
491
  min-width: var(--#{$drawer}__panel--MinWidth);
@@ -625,15 +625,15 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
625
625
  }
626
626
 
627
627
  // Responsive width modifiers
628
- @each $breakpoint, $breakpoint-value in $pf-v5-c-drawer--breakpoint-map--width {
628
+ @each $breakpoint, $breakpoint-value in $pf-v6-c-drawer--breakpoint-map--width {
629
629
  $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
630
630
 
631
631
  @if $breakpoint == "base" {
632
632
  $breakpoint: "md";
633
633
  }
634
634
 
635
- @include pf-v5-apply-breakpoint($breakpoint) {
636
- @each $width-value in $pf-v5-c-drawer__panel--list--width {
635
+ @include pf-v6-apply-breakpoint($breakpoint) {
636
+ @each $width-value in $pf-v6-c-drawer__panel--list--width {
637
637
  .#{$drawer}__panel.pf-m-width-#{$width-value}#{$breakpoint-name} {
638
638
  --#{$drawer}__panel--md--FlexBasis: #{percentage(div($width-value, 100))};
639
639
  }
@@ -642,14 +642,14 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
642
642
  }
643
643
 
644
644
  // Responsive modifiers
645
- @each $breakpoint, $breakpoint-value in $pf-v5-c-drawer--breakpoint-map {
645
+ @each $breakpoint, $breakpoint-value in $pf-v6-c-drawer--breakpoint-map {
646
646
  $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
647
647
 
648
648
  @if $breakpoint == "base" {
649
649
  $breakpoint: "md";
650
650
  }
651
651
 
652
- @include pf-v5-apply-breakpoint($breakpoint) {
652
+ @include pf-v6-apply-breakpoint($breakpoint) {
653
653
  // Drawer and inline
654
654
  .#{$drawer}.pf-m-inline#{$breakpoint-name},
655
655
  .#{$drawer}.pf-m-static#{$breakpoint-name} {
@@ -675,10 +675,10 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
675
675
  > .#{$drawer}__main > .#{$drawer}__panel {
676
676
  margin-inline-start: calc(var(--#{$drawer}__panel--FlexBasis) * -1);
677
677
 
678
- @include pf-v5-bidirectional-style(
678
+ @include pf-v6-bidirectional-style(
679
679
  $prop: transform,
680
680
  $ltr-val: translateX(100%),
681
- $rtl-val: translateX(#{pf-v5-calc-inverse(100%)}),
681
+ $rtl-val: translateX(#{pf-v6-calc-inverse(100%)}),
682
682
  );
683
683
  }
684
684
 
@@ -699,10 +699,10 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
699
699
  margin-inline-start: 0;
700
700
  margin-inline-end: calc(var(--#{$drawer}__panel--FlexBasis) * -1);
701
701
 
702
- @include pf-v5-bidirectional-style(
702
+ @include pf-v6-bidirectional-style(
703
703
  $prop: transform,
704
704
  $ltr-val: translateX(-100%),
705
- $rtl-val: translateX(#{pf-v5-calc-inverse(-100%)}),
705
+ $rtl-val: translateX(#{pf-v6-calc-inverse(-100%)}),
706
706
  );
707
707
  }
708
708
 
@@ -1,5 +1,5 @@
1
1
  // @debug $dropdown; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
2
- $pf-v5-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
2
+ $pf-v6-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
3
3
 
4
4
  .#{$dropdown} {
5
5
  // Toggle
@@ -613,7 +613,7 @@ $pf-v5-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg"
613
613
  }
614
614
 
615
615
  .#{$dropdown}__toggle-text {
616
- @include pf-v5-text-overflow;
616
+ @include pf-v6-text-overflow;
617
617
  }
618
618
  }
619
619
 
@@ -684,10 +684,10 @@ $pf-v5-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg"
684
684
  .#{$dropdown}__menu {
685
685
  min-width: 100%;
686
686
 
687
- @each $breakpoint, $breakpoint-value in $pf-v5-c-dropdown--breakpoint-map {
687
+ @each $breakpoint, $breakpoint-value in $pf-v6-c-dropdown--breakpoint-map {
688
688
  $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
689
689
 
690
- @include pf-v5-apply-breakpoint($breakpoint) {
690
+ @include pf-v6-apply-breakpoint($breakpoint) {
691
691
  &.pf-m-align-right#{$breakpoint-name} {
692
692
  inset-inline-end: 0;
693
693
  }
@@ -815,6 +815,6 @@ $pf-v5-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg"
815
815
  // stylelint-disable no-invalid-position-at-import-rule
816
816
  @import "themes/dark/dropdown";
817
817
 
818
- @include pf-v5-theme-dark {
819
- @include pf-v5-theme-dark-dropdown;
818
+ @include pf-v6-theme-dark {
819
+ @include pf-v6-theme-dark-dropdown;
820
820
  }
@@ -1,6 +1,6 @@
1
1
  @import "../../../../sass-utilities/themes/dark/all";
2
2
 
3
- @mixin pf-v5-theme-dark-dropdown() {
3
+ @mixin pf-v6-theme-dark-dropdown() {
4
4
  .#{$dropdown} {
5
5
  --#{$dropdown}__toggle--BackgroundColor: var(--#{$pf-global}--BackgroundColor--400);
6
6
  --#{$dropdown}__toggle--before--BorderTopColor: transparent;
@@ -170,10 +170,10 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
170
170
  --#{$dual-list-selector}__item-toggle--MarginBottom: 0;
171
171
 
172
172
  .#{$dual-list-selector}__item-toggle {
173
- @include pf-v5-bidirectional-style(
173
+ @include pf-v6-bidirectional-style(
174
174
  $prop: transform,
175
175
  $ltr-val: translateX(var(--#{$dual-list-selector}__list__list__item-toggle--TranslateX)),
176
- $rtl-val: translateX(#{pf-v5-calc-inverse(var(--#{$dual-list-selector}__list__list__item-toggle--TranslateX))}),
176
+ $rtl-val: translateX(#{pf-v6-calc-inverse(var(--#{$dual-list-selector}__list__list__item-toggle--TranslateX))}),
177
177
  );
178
178
 
179
179
  position: absolute;
@@ -288,7 +288,7 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
288
288
  }
289
289
 
290
290
  .#{$dual-list-selector}__item-text {
291
- @include pf-v5-text-overflow;
291
+ @include pf-v6-text-overflow;
292
292
 
293
293
  flex-grow: 1;
294
294
  color: var(--#{$dual-list-selector}__item-text--Color);
@@ -308,7 +308,7 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
308
308
  }
309
309
 
310
310
  :is(.#{$dual-list-selector}__controls-item, .#{$dual-list-selector}__item-toggle-icon) {
311
- @include pf-v5-mirror-inline-on-rtl;
311
+ @include pf-v6-mirror-inline-on-rtl;
312
312
  }
313
313
 
314
314
  .#{$dual-list-selector}__item-main {
@@ -144,7 +144,7 @@
144
144
  }
145
145
 
146
146
  .#{$expandable-section}__toggle-icon {
147
- @include pf-v5-mirror-inline-on-rtl;
147
+ @include pf-v6-mirror-inline-on-rtl;
148
148
 
149
149
  min-width: var(--#{$expandable-section}__toggle-icon--MinWidth);
150
150
  color: var(--#{$expandable-section}__toggle-icon--Color);
@@ -1,23 +1,23 @@
1
1
  // @debug $form; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
2
- $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "lg", "xl", "2xl");
2
+ $pf-v6-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "lg", "xl", "2xl");
3
3
 
4
- @mixin pf-v5-c-form--m-horizontal {
4
+ @mixin pf-v6-c-form--m-horizontal {
5
5
  // default horizontal styles applied at medium breakpoint
6
- @media screen and (min-width: $pf-v5-global--breakpoint--md) {
6
+ @media screen and (min-width: $pf-v6-global--breakpoint--md) {
7
7
  @content;
8
8
  }
9
9
 
10
10
  // custom xs style since this isn't in our maps - maps are based on mobile first design. This may not even be a valid option based on design but I guess it doesn't hurt to add.
11
11
  &-on-xs {
12
- @media screen and (min-width: $pf-v5-global--breakpoint--xs) {
12
+ @media screen and (min-width: $pf-v6-global--breakpoint--xs) {
13
13
  @content;
14
14
  }
15
15
  }
16
16
 
17
17
  // loop to build the rest of the breakpoints
18
- @each $breakpoint, $breakpoint-value in $pf-v5-c-form--m-horizontal--breakpoint-map {
18
+ @each $breakpoint, $breakpoint-value in $pf-v6-c-form--m-horizontal--breakpoint-map {
19
19
  &-on-#{$breakpoint} {
20
- @include pf-v5-apply-breakpoint($breakpoint) {
20
+ @include pf-v6-apply-breakpoint($breakpoint) {
21
21
  @content;
22
22
  }
23
23
  }
@@ -167,7 +167,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
167
167
  }
168
168
  }
169
169
 
170
- @include pf-v5-c-form--m-horizontal {
170
+ @include pf-v6-c-form--m-horizontal {
171
171
  --#{$form}__group-label--PaddingBottom: 0;
172
172
 
173
173
  .#{$form}__group {
@@ -409,7 +409,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
409
409
  transition: var(--#{$form}__field-group-toggle-icon--Transition);
410
410
  transform: rotate(var(--#{$form}__field-group-toggle-icon--Rotate));
411
411
 
412
- @include pf-v5-mirror-inline-on-rtl;
412
+ @include pf-v6-mirror-inline-on-rtl;
413
413
  }
414
414
 
415
415
  .#{$form}__field-group-header {
@@ -16,8 +16,8 @@
16
16
  --pf-v6-c-form-control--BackgroundColor: var(--pf-t--global--background--color--control--default);
17
17
  --pf-v6-c-form-control--Width: 100%;
18
18
  --pf-v6-c-form-control--inset--base: var(--pf-t--global--spacer--md);
19
- --pf-v6-c-form-control--PaddingTop: var(--pf-t--global--spacer--sm);
20
- --pf-v6-c-form-control--PaddingBottom: var(--pf-t--global--spacer--sm);
19
+ --pf-v6-c-form-control--PaddingTop: var(--pf-t--global--spacer--control--vertical--default);
20
+ --pf-v6-c-form-control--PaddingBottom: var(--pf-t--global--spacer--control--vertical--default);
21
21
  --pf-v6-c-form-control--PaddingRight: var(--pf-v6-c-form-control--inset--base);
22
22
  --pf-v6-c-form-control--PaddingLeft: var(--pf-v6-c-form-control--inset--base);
23
23
  --pf-v6-c-form-control--hover--after--BorderWidth: var(--pf-t--global--border--width--control--hover);
@@ -265,5 +265,5 @@
265
265
  }
266
266
 
267
267
  select ~ .pf-v6-c-form-control__utilities {
268
- --pf-v5-c-form-control__utilities--PaddingRight: 0;
268
+ --pf-v6-c-form-control__utilities--PaddingRight: 0;
269
269
  }
@@ -18,8 +18,8 @@
18
18
 
19
19
  // padding
20
20
  --#{$form-control}--inset--base: var(--pf-t--global--spacer--md);
21
- --#{$form-control}--PaddingTop: var(--pf-t--global--spacer--sm); // (--#{$pf-global}--spacer--form-element);
22
- --#{$form-control}--PaddingBottom: var(--pf-t--global--spacer--sm); // var(--#{$pf-global}--spacer--form-element);
21
+ --#{$form-control}--PaddingTop: var(--pf-t--global--spacer--control--vertical--default);
22
+ --#{$form-control}--PaddingBottom: var(--pf-t--global--spacer--control--vertical--default);
23
23
  --#{$form-control}--PaddingRight: var(--#{$form-control}--inset--base);
24
24
  --#{$form-control}--PaddingLeft: var(--#{$form-control}--inset--base);
25
25
 
@@ -350,5 +350,5 @@
350
350
  }
351
351
 
352
352
  select ~ .#{$form-control}__utilities {
353
- --pf-v5-c-form-control__utilities--PaddingRight: 0;
353
+ --#{$form-control}__utilities--PaddingRight: 0;
354
354
  }
@@ -17,7 +17,7 @@
17
17
  --pf-v6-c-hint__footer--MarginTop: var(--pf-t--global--spacer--sm);
18
18
  --pf-v6-c-hint__footer--child--MarginRight: var(--pf-t--global--spacer--md);
19
19
  --pf-v6-c-hint__actions--MarginLeft: var(--pf-t--global--spacer--2xl);
20
- --pf-v6-c-hint__actions--c-dropdown--MarginTop: calc(var(--pf-v6-global--spacer--form-element) * -1);
20
+ --pf-v6-c-hint__actions--c-dropdown--MarginTop: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
21
21
  }
22
22
 
23
23
  .pf-v6-c-hint {
@@ -27,7 +27,7 @@
27
27
 
28
28
  // Hint Actions
29
29
  --#{$hint}__actions--MarginLeft: var(--pf-t--global--spacer--2xl);
30
- --#{$hint}__actions--c-dropdown--MarginTop: calc(var(--#{$pf-global}--spacer--form-element) * -1); // TODO form element spacer
30
+ --#{$hint}__actions--c-dropdown--MarginTop: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
31
31
  }
32
32
 
33
33
  .#{$hint} {
@@ -42,8 +42,8 @@
42
42
  --pf-v6-c-jump-links__item--m-current__link-text--Color: var(--pf-t--global--text--color--regular);
43
43
  --pf-v6-c-jump-links__label--MarginBottom: var(--pf-t--global--spacer--md);
44
44
  --pf-v6-c-jump-links__label--Display: block;
45
- --pf-v6-c-jump-links__toggle--MarginTop: calc(-1 * var(--pf-v6-global--spacer--form-element));
46
- --pf-v6-c-jump-links__toggle--MarginBottom--base: calc(-1 * var(--pf-v6-global--spacer--form-element));
45
+ --pf-v6-c-jump-links__toggle--MarginTop: calc(-1 * var(--pf-t--global--spacer--button--vertical--default));
46
+ --pf-v6-c-jump-links__toggle--MarginBottom--base: calc(-1 * var(--pf-t--global--spacer--button--vertical--default));
47
47
  --pf-v6-c-jump-links__toggle--MarginBottom: var(--pf-v6-c-jump-links__toggle--MarginBottom--base);
48
48
  --pf-v6-c-jump-links--m-expanded__toggle--MarginBottom: calc(var(--pf-v6-c-jump-links__toggle--MarginBottom--base) + var(--pf-t--global--spacer--md));
49
49
  --pf-v6-c-jump-links__toggle--MarginLeft: calc(-1 * var(--pf-t--global--spacer--md));
@@ -1,5 +1,5 @@
1
1
  // @debug $jump-links; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
2
- $pf-v5-c-jump-links--m-expandable--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
2
+ $pf-v6-c-jump-links--m-expandable--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
3
3
 
4
4
  :where(:root),
5
5
  :where(.#{$jump-links}) {
@@ -56,8 +56,8 @@ $pf-v5-c-jump-links--m-expandable--breakpoint-map: build-breakpoint-map("base",
56
56
  --#{$jump-links}__label--Display: block;
57
57
 
58
58
  // toggle
59
- --#{$jump-links}__toggle--MarginTop: calc(-1 * var(--#{$pf-global}--spacer--form-element));
60
- --#{$jump-links}__toggle--MarginBottom--base: calc(-1 * var(--#{$pf-global}--spacer--form-element));
59
+ --#{$jump-links}__toggle--MarginTop: calc(-1 * var(--pf-t--global--spacer--button--vertical--default));
60
+ --#{$jump-links}__toggle--MarginBottom--base: calc(-1 * var(--pf-t--global--spacer--button--vertical--default));
61
61
  --#{$jump-links}__toggle--MarginBottom: var(--#{$jump-links}__toggle--MarginBottom--base);
62
62
  --#{$jump-links}--m-expanded__toggle--MarginBottom: calc(var(--#{$jump-links}__toggle--MarginBottom--base) + var(--pf-t--global--spacer--md));
63
63
  --#{$jump-links}__toggle--MarginLeft: calc(-1 * var(--pf-t--global--spacer--md));
@@ -101,10 +101,10 @@ $pf-v5-c-jump-links--m-expandable--breakpoint-map: build-breakpoint-map("base",
101
101
  flex-direction: column;
102
102
  }
103
103
 
104
- @each $breakpoint, $breakpoint-value in $pf-v5-c-jump-links--m-expandable--breakpoint-map {
104
+ @each $breakpoint, $breakpoint-value in $pf-v6-c-jump-links--m-expandable--breakpoint-map {
105
105
  $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
106
106
 
107
- @include pf-v5-apply-breakpoint($breakpoint) {
107
+ @include pf-v6-apply-breakpoint($breakpoint) {
108
108
  &.pf-m-expandable#{$breakpoint-name} {
109
109
  --#{$jump-links}__list--Display: none;
110
110
  --#{$jump-links}__toggle--Display: block;
@@ -229,7 +229,7 @@ $pf-v5-c-jump-links--m-expandable--breakpoint-map: build-breakpoint-map("base",
229
229
  }
230
230
 
231
231
  .#{$jump-links}__toggle-icon {
232
- @include pf-v5-mirror-inline-on-rtl;
232
+ @include pf-v6-mirror-inline-on-rtl;
233
233
 
234
234
  display: inline-block;
235
235
  color: var(--#{$jump-links}__toggle-icon--Color);
@@ -124,7 +124,7 @@
124
124
  }
125
125
 
126
126
  .#{$label-group}__label {
127
- @include pf-v5-text-overflow;
127
+ @include pf-v6-text-overflow;
128
128
 
129
129
  max-width: var(--#{$label-group}__label--MaxWidth);
130
130
  }
@@ -536,7 +536,7 @@
536
536
  }
537
537
 
538
538
  .#{$label}__text {
539
- @include pf-v5-text-overflow;
539
+ @include pf-v6-text-overflow;
540
540
 
541
541
  max-width: var(--#{$label}__text--MaxWidth);
542
542
  }
@@ -564,7 +564,7 @@
564
564
 
565
565
  // truncate input fields
566
566
  @at-root input#{&} {
567
- @include pf-v5-text-overflow;
567
+ @include pf-v6-text-overflow;
568
568
  }
569
569
  }
570
570
 
@@ -72,7 +72,7 @@
72
72
  --#{$log-viewer}__main--BorderWidth: var(--#{$log-viewer}--m-dark__main--BorderWidth);
73
73
 
74
74
  .#{$log-viewer}__main {
75
- @include pf-v5-t-dark;
75
+ @include pf-v6-t-dark;
76
76
 
77
77
  --#{$log-viewer}__main--BackgroundColor: var(--#{$pf-global}--BackgroundColor--100);
78
78
  --#{$log-viewer}__main--BorderColor: var(--#{$pf-global}--BorderColor--100);
@@ -221,6 +221,6 @@
221
221
  // stylelint-disable no-invalid-position-at-import-rule
222
222
  @import "themes/dark/log-viewer";
223
223
 
224
- @include pf-v5-theme-dark {
225
- @include pf-v5-theme-dark-log-viewer;
224
+ @include pf-v6-theme-dark {
225
+ @include pf-v6-theme-dark-log-viewer;
226
226
  }
@@ -1,7 +1,7 @@
1
1
  @import "../../../../sass-utilities/themes/dark/all";
2
2
 
3
- @mixin pf-v5-theme-dark-log-viewer() {
3
+ @mixin pf-v6-theme-dark-log-viewer() {
4
4
  .#{$log-viewer}.pf-m-dark .#{$log-viewer}__main {
5
- @include pf-v5-theme-dark--t-dark;
5
+ @include pf-v6-theme-dark--t-dark;
6
6
  }
7
7
  }
@@ -12,7 +12,7 @@
12
12
  --#{$login}__container--PaddingRight: #{pf-size-prem(98px)};
13
13
  --#{$login}__container--xl--GridTemplateColumns: #{pf-size-prem(544px)} minmax(auto, #{pf-size-prem(544px)}); // unique to the login layout
14
14
 
15
- @media (min-width: $pf-v5-global--breakpoint--xl) {
15
+ @media (min-width: $pf-v6-global--breakpoint--xl) {
16
16
  --#{$login}__container--MaxWidth: var(--#{$login}__container--xl--MaxWidth);
17
17
  }
18
18
 
@@ -21,7 +21,7 @@
21
21
  --#{$login}__header--PaddingLeft: var(--pf-t--global--spacer--md);
22
22
  --#{$login}__header--PaddingRight: var(--pf-t--global--spacer--md);
23
23
 
24
- @media (min-width: $pf-v5-global--breakpoint--sm) {
24
+ @media (min-width: $pf-v6-global--breakpoint--sm) {
25
25
  --#{$login}__header--PaddingRight: 0;
26
26
  --#{$login}__header--PaddingLeft: 0;
27
27
  }
@@ -31,7 +31,7 @@
31
31
  --#{$login}__header--c-brand--MarginBottom: var(--pf-t--global--spacer--lg);
32
32
  --#{$login}__header--c-brand--xl--MarginBottom: var(--pf-t--global--spacer--2xl);
33
33
 
34
- @media (min-width: $pf-v5-global--breakpoint--xl) {
34
+ @media (min-width: $pf-v6-global--breakpoint--xl) {
35
35
  --#{$login}__header--MarginBottom: var(--#{$login}__header--xl--MarginBottom);
36
36
  --#{$login}__header--c-brand--MarginBottom: var(--#{$login}__header--c-brand--xl--MarginBottom);
37
37
  }
@@ -41,7 +41,7 @@
41
41
  --#{$login}__main--MarginBottom: var(--pf-t--global--spacer--lg);
42
42
  --#{$login}__main--BorderRadius: var(--pf-t--global--border--radius--large);
43
43
 
44
- @media (min-width: $pf-v5-global--breakpoint--xl) {
44
+ @media (min-width: $pf-v6-global--breakpoint--xl) {
45
45
  --#{$login}__main--MarginBottom: 0;
46
46
  }
47
47
 
@@ -61,7 +61,7 @@
61
61
  --#{$login}__main-header-desc--FontSize: var(--pf-t--global--font--size--body--default);
62
62
 
63
63
 
64
- @media (min-width: $pf-v5-global--breakpoint--md) {
64
+ @media (min-width: $pf-v6-global--breakpoint--md) {
65
65
  --#{$login}__main-header--PaddingRight: var(--#{$login}__main-header--md--PaddingRight);
66
66
  --#{$login}__main-header--PaddingLeft: var(--#{$login}__main-header--md--PaddingLeft);
67
67
  --#{$login}__main-header-desc--MarginBottom: var(--#{$login}__main-header-desc--md--MarginBottom);
@@ -74,7 +74,7 @@
74
74
  --#{$login}__main-body--md--PaddingRight: var(--pf-t--global--spacer--2xl);
75
75
  --#{$login}__main-body--md--PaddingLeft: var(--pf-t--global--spacer--2xl);
76
76
 
77
- @media (min-width: $pf-v5-global--breakpoint--md) {
77
+ @media (min-width: $pf-v6-global--breakpoint--md) {
78
78
  --#{$login}__main-body--PaddingRight: var(--#{$login}__main-body--md--PaddingRight);
79
79
  --#{$login}__main-body--PaddingLeft: var(--#{$login}__main-body--md--PaddingLeft);
80
80
  }
@@ -100,7 +100,7 @@
100
100
  --#{$login}__footer--PaddingLeft: var(--pf-t--global--spacer--md);
101
101
  --#{$login}__footer--PaddingRight: var(--pf-t--global--spacer--md);
102
102
 
103
- @media (min-width: $pf-v5-global--breakpoint--sm) {
103
+ @media (min-width: $pf-v6-global--breakpoint--sm) {
104
104
  --#{$login}__footer--PaddingRight: 0;
105
105
  --#{$login}__footer--PaddingLeft: 0;
106
106
  }
@@ -108,7 +108,7 @@
108
108
  --#{$login}__footer--c-list--PaddingTop: var(--pf-t--global--spacer--md);
109
109
  --#{$login}__footer--c-list--xl--PaddingTop: var(--pf-t--global--spacer--2xl);
110
110
 
111
- @media (min-width: $pf-v5-global--breakpoint--xl) {
111
+ @media (min-width: $pf-v6-global--breakpoint--xl) {
112
112
  --#{$login}__footer--c-list--PaddingTop: var(--#{$login}__footer--c-list--xl--PaddingTop);
113
113
  }
114
114
  }
@@ -120,7 +120,7 @@
120
120
  padding-block-start: var(--#{$login}--PaddingTop);
121
121
  padding-block-end: var(--#{$login}--PaddingBottom);
122
122
 
123
- @media (min-width: $pf-v5-global--breakpoint--sm) {
123
+ @media (min-width: $pf-v6-global--breakpoint--sm) {
124
124
  align-items: center;
125
125
  }
126
126
  }
@@ -130,7 +130,7 @@
130
130
  max-width: var(--#{$login}__container--MaxWidth);
131
131
 
132
132
  // Large viewports
133
- @media (min-width: $pf-v5-global--breakpoint--xl) {
133
+ @media (min-width: $pf-v6-global--breakpoint--xl) {
134
134
  display: grid;
135
135
  grid-template-areas:
136
136
  "main header"
@@ -149,7 +149,7 @@
149
149
  padding-inline-start: var(--#{$login}__header--PaddingLeft);
150
150
  padding-inline-end: var(--#{$login}__header--PaddingRight);
151
151
 
152
- @media (min-width: $pf-v5-global--breakpoint--xl) {
152
+ @media (min-width: $pf-v6-global--breakpoint--xl) {
153
153
  margin-block-start: var(--#{$login}__header--xl--MarginTop);
154
154
  }
155
155
 
@@ -187,7 +187,7 @@
187
187
  padding-inline-start: var(--#{$login}__main-header--PaddingLeft);
188
188
  padding-inline-end: var(--#{$login}__main-header--PaddingRight);
189
189
 
190
- @media (min-width: $pf-v5-global--breakpoint--md) {
190
+ @media (min-width: $pf-v6-global--breakpoint--md) {
191
191
  grid-template-columns: 1fr auto;
192
192
  }
193
193
  }
@@ -197,7 +197,7 @@
197
197
  grid-row: auto;
198
198
  grid-column: auto;
199
199
 
200
- @media (min-width: $pf-v5-global--breakpoint--md) {
200
+ @media (min-width: $pf-v6-global--breakpoint--md) {
201
201
  grid-row: 1;
202
202
  grid-column: 2 / 3;
203
203
  }