@patternfly/patternfly 6.0.0-alpha.106 → 6.0.0-alpha.108

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 (154) 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.scss +2 -2
  15. package/components/AppLauncher/app-launcher.scss +2 -2
  16. package/components/AppLauncher/themes/dark/app-launcher.scss +1 -1
  17. package/components/Avatar/avatar.scss +5 -5
  18. package/components/BackToTop/back-to-top.scss +1 -1
  19. package/components/BackgroundImage/background-image.scss +1 -1
  20. package/components/Banner/banner.scss +1 -1
  21. package/components/Brand/brand.scss +3 -3
  22. package/components/Breadcrumb/breadcrumb.scss +1 -1
  23. package/components/CalendarMonth/calendar-month.scss +1 -1
  24. package/components/Card/card.scss +1 -1
  25. package/components/Chip/chip-group.scss +2 -2
  26. package/components/Chip/chip.scss +4 -4
  27. package/components/Chip/themes/dark/chip.scss +1 -1
  28. package/components/ClipboardCopy/clipboard-copy.scss +1 -1
  29. package/components/Content/content.scss +4 -4
  30. package/components/ContextSelector/context-selector.scss +5 -5
  31. package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
  32. package/components/DataList/data-list-grid.scss +6 -6
  33. package/components/DataList/data-list.css +15 -15
  34. package/components/DataList/data-list.scss +4 -4
  35. package/components/DescriptionList/description-list-order.scss +1 -1
  36. package/components/DescriptionList/description-list.scss +5 -5
  37. package/components/Divider/divider.css +57 -57
  38. package/components/Divider/divider.scss +16 -16
  39. package/components/Drawer/drawer.scss +25 -25
  40. package/components/Dropdown/dropdown.scss +6 -6
  41. package/components/Dropdown/themes/dark/dropdown.scss +1 -1
  42. package/components/DualListSelector/dual-list-selector.scss +4 -4
  43. package/components/ExpandableSection/expandable-section.scss +1 -1
  44. package/components/Form/form.scss +8 -8
  45. package/components/FormControl/form-control.css +1 -1
  46. package/components/FormControl/form-control.scss +1 -1
  47. package/components/JumpLinks/jump-links.scss +4 -4
  48. package/components/Label/label-group.scss +1 -1
  49. package/components/Label/label.scss +2 -2
  50. package/components/LogViewer/log-viewer.scss +3 -3
  51. package/components/LogViewer/themes/dark/log-viewer.scss +2 -2
  52. package/components/Login/login.scss +13 -13
  53. package/components/Masthead/masthead.css +70 -70
  54. package/components/Masthead/masthead.scss +15 -15
  55. package/components/Menu/menu.css +17 -17
  56. package/components/Menu/menu.scss +9 -9
  57. package/components/MenuToggle/menu-toggle.scss +1 -1
  58. package/components/ModalBox/modal-box.scss +3 -3
  59. package/components/Nav/nav.scss +3 -3
  60. package/components/NotificationDrawer/notification-drawer.scss +3 -3
  61. package/components/NumberInput/number-input.scss +1 -1
  62. package/components/OptionsMenu/options-menu.scss +3 -3
  63. package/components/OptionsMenu/themes/dark/options-menu.scss +1 -1
  64. package/components/Page/page.css +16 -16
  65. package/components/Page/page.scss +19 -19
  66. package/components/Pagination/pagination.css +30 -30
  67. package/components/Pagination/pagination.scss +10 -10
  68. package/components/Progress/progress.scss +1 -1
  69. package/components/ProgressStepper/progress-stepper.scss +11 -11
  70. package/components/Select/select.scss +5 -5
  71. package/components/Select/themes/dark/select.scss +1 -1
  72. package/components/Sidebar/sidebar.css +84 -84
  73. package/components/Sidebar/sidebar.scss +12 -12
  74. package/components/Skeleton/skeleton.scss +1 -1
  75. package/components/Slider/slider.scss +11 -11
  76. package/components/Switch/switch.scss +2 -2
  77. package/components/TabContent/tab-content.scss +1 -1
  78. package/components/Table/table-grid.scss +6 -6
  79. package/components/Table/table-tree-view.scss +6 -6
  80. package/components/Table/table.css +15 -15
  81. package/components/Table/table.scss +2 -2
  82. package/components/Tabs/tabs.css +90 -90
  83. package/components/Tabs/tabs.scss +10 -10
  84. package/components/TextInputGroup/text-input-group.scss +1 -1
  85. package/components/ToggleGroup/toggle-group.css +2 -2
  86. package/components/ToggleGroup/toggle-group.scss +2 -2
  87. package/components/Toolbar/toolbar.css +303 -303
  88. package/components/Toolbar/toolbar.scss +20 -20
  89. package/components/TreeView/tree-view.scss +5 -5
  90. package/components/Truncate/truncate.scss +3 -3
  91. package/components/Wizard/wizard.scss +10 -10
  92. package/docs/components/Badge/examples/Badge.md +0 -21
  93. package/docs/components/Breadcrumb/examples/Breadcrumb.md +17 -58
  94. package/docs/components/Menu/examples/Menu.md +14 -6
  95. package/docs/components/MenuToggle/examples/MenuToggle.md +19 -0
  96. package/docs/layouts/Bullseye/examples/Bullseye.css +4 -4
  97. package/docs/layouts/Flex/examples/Flex.css +4 -4
  98. package/docs/layouts/Flex/examples/Flex.md +50 -50
  99. package/docs/layouts/Gallery/examples/Gallery.css +4 -4
  100. package/docs/layouts/Gallery/examples/Gallery.md +6 -6
  101. package/docs/layouts/Grid/examples/Grid.css +3 -3
  102. package/docs/layouts/Grid/examples/Grid.md +33 -33
  103. package/docs/layouts/Level/examples/Level.css +5 -5
  104. package/docs/layouts/Split/examples/Split.css +4 -4
  105. package/docs/layouts/Stack/examples/Stack.css +5 -5
  106. package/layouts/Bullseye/bullseye.css +5 -1
  107. package/layouts/Bullseye/bullseye.scss +4 -1
  108. package/layouts/Flex/flex.css +207 -203
  109. package/layouts/Flex/flex.scss +45 -42
  110. package/layouts/Gallery/gallery.css +6 -2
  111. package/layouts/Gallery/gallery.scss +8 -5
  112. package/layouts/Grid/grid.css +6 -2
  113. package/layouts/Grid/grid.scss +11 -8
  114. package/layouts/Level/level.css +5 -1
  115. package/layouts/Level/level.scss +5 -2
  116. package/layouts/Split/split.css +5 -1
  117. package/layouts/Split/split.scss +5 -2
  118. package/layouts/Stack/stack.css +5 -1
  119. package/layouts/Stack/stack.scss +5 -2
  120. package/package.json +1 -1
  121. package/patternfly-addons.css +672 -672
  122. package/patternfly-base-no-globals-theme-dark-unversioned.css +18 -12
  123. package/patternfly-base-no-globals-theme-dark-unversioned.scss +1 -1
  124. package/patternfly-base-no-globals.css +18 -12
  125. package/patternfly-base-theme-dark-unversioned.css +18 -12
  126. package/patternfly-base.css +18 -12
  127. package/patternfly-charts-theme-dark-unversioned.scss +4 -4
  128. package/patternfly-charts-theme-dark.css +2 -2
  129. package/patternfly-charts-theme-dark.scss +4 -4
  130. package/patternfly-no-globals.css +901 -867
  131. package/patternfly-theme-dark-unversioned.css +901 -867
  132. package/patternfly.css +901 -867
  133. package/patternfly.min.css +1 -1
  134. package/patternfly.min.css.map +1 -1
  135. package/sass-utilities/_init.scss +3 -3
  136. package/sass-utilities/functions.scss +14 -14
  137. package/sass-utilities/mixins.scss +55 -54
  138. package/sass-utilities/placeholders.scss +12 -12
  139. package/sass-utilities/scss-variables.scss +36 -36
  140. package/sass-utilities/themes/dark/mixins.scss +2 -2
  141. package/sass-utilities/themes/dark/placeholders.scss +1 -1
  142. package/themes/dark/_patternfly-charts-theme-dark.scss +1 -1
  143. package/utilities/Accessibility/accessibility.scss +6 -6
  144. package/utilities/Alignment/alignment.scss +1 -1
  145. package/utilities/BackgroundColor/BackgroundColor.scss +1 -1
  146. package/utilities/BoxShadow/box-shadow.scss +1 -1
  147. package/utilities/Display/display.scss +1 -1
  148. package/utilities/Flex/flex.scss +10 -10
  149. package/utilities/Float/float.scss +1 -1
  150. package/utilities/Sizing/sizing.scss +6 -6
  151. package/utilities/Spacing/spacing.css +672 -672
  152. package/utilities/Spacing/spacing.scss +4 -4
  153. package/utilities/Text/text.scss +5 -5
  154. package/docs/components/Breadcrumb/examples/Breadcrumb.css +0 -3
@@ -1,11 +1,11 @@
1
- $pf-v5-c-toolbar--spacer-map: build-spacer-map();
2
- $pf-v5-c-toolbar--inset-map: build-spacer-map();
3
- $pf-v5-c-toolbar--align-items--alignments: ('stretch', 'baseline', 'start', 'center', 'end');
4
- $pf-v5-c-toolbar--breakpoint-map: build-breakpoint-map('base');
5
- $pf-v5--include-toolbar-breakpoints: true !default;
6
-
7
- @if $pf-v5--include-toolbar-breakpoints {
8
- $pf-v5-c-toolbar--breakpoint-map: build-breakpoint-map('base', 'sm', 'md', 'lg', 'xl', '2xl');
1
+ $pf-v6-c-toolbar--spacer-map: build-spacer-map();
2
+ $pf-v6-c-toolbar--inset-map: build-spacer-map();
3
+ $pf-v6-c-toolbar--align-items--alignments: ('stretch', 'baseline', 'start', 'center', 'end');
4
+ $pf-v6-c-toolbar--breakpoint-map: build-breakpoint-map('base');
5
+ $pf-v6--include-toolbar-breakpoints: true !default;
6
+
7
+ @if $pf-v6--include-toolbar-breakpoints {
8
+ $pf-v6-c-toolbar--breakpoint-map: build-breakpoint-map('base', 'sm', 'md', 'lg', 'xl', '2xl');
9
9
  }
10
10
 
11
11
  :where(:root),
@@ -62,7 +62,7 @@ $pf-v5--include-toolbar-breakpoints: true !default;
62
62
  .#{$toolbar}__item,
63
63
  .#{$toolbar}__group.pf-m-chip-group-container,
64
64
  .#{$toolbar}__group.pf-m-chip-group {
65
- @include pf-v5-hidden-visible(flex);
65
+ @include pf-v6-hidden-visible(flex);
66
66
 
67
67
  flex-wrap: wrap;
68
68
  }
@@ -160,8 +160,8 @@ $pf-v5--include-toolbar-breakpoints: true !default;
160
160
 
161
161
  // - Toolbar item
162
162
  .#{$toolbar}__item {
163
- @include pf-v5-build-css-variable-stack("--#{$toolbar}__item--Width--base", "--#{$toolbar}__item--Width", $pf-v5-c-toolbar--breakpoint-map);
164
- @include pf-v5-build-css-variable-stack("--#{$toolbar}__item--MinWidth--base", "--#{$toolbar}__item--MinWidth", $pf-v5-c-toolbar--breakpoint-map);
163
+ @include pf-v6-build-css-variable-stack("--#{$toolbar}__item--Width--base", "--#{$toolbar}__item--Width", $pf-v6-c-toolbar--breakpoint-map);
164
+ @include pf-v6-build-css-variable-stack("--#{$toolbar}__item--MinWidth--base", "--#{$toolbar}__item--MinWidth", $pf-v6-c-toolbar--breakpoint-map);
165
165
 
166
166
  row-gap: var(--#{$toolbar}__item--RowGap, var(--#{$toolbar}--RowGap));
167
167
  column-gap: var(--#{$toolbar}__item--ColumnGap);
@@ -233,7 +233,7 @@ $pf-v5--include-toolbar-breakpoints: true !default;
233
233
  background-color: var(--#{$toolbar}__expandable-content--BackgroundColor);
234
234
  box-shadow: var(--#{$toolbar}__expandable-content--BoxShadow);
235
235
 
236
- @media screen and (min-width: $pf-v5-global--breakpoint--lg) {
236
+ @media screen and (min-width: $pf-v6-global--breakpoint--lg) {
237
237
  position: static;
238
238
  padding: 0;
239
239
  box-shadow: none;
@@ -255,7 +255,7 @@ $pf-v5--include-toolbar-breakpoints: true !default;
255
255
  transition: var(--#{$toolbar}__expand-all-icon--Transition);
256
256
  transform: rotate(var(--#{$toolbar}__expand-all-icon--Rotate));
257
257
 
258
- @include pf-v5-mirror-inline-on-rtl; // - TODO: mirror this icon in breaking change
258
+ @include pf-v6-mirror-inline-on-rtl; // - TODO: mirror this icon in breaking change
259
259
  }
260
260
 
261
261
  // - Toolbar group - Toolbar item
@@ -269,10 +269,10 @@ $pf-v5--include-toolbar-breakpoints: true !default;
269
269
  }
270
270
  }
271
271
 
272
- @each $breakpoint, $breakpoint-value in $pf-v5-c-toolbar--breakpoint-map {
272
+ @each $breakpoint, $breakpoint-value in $pf-v6-c-toolbar--breakpoint-map {
273
273
  $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
274
274
 
275
- @include pf-v5-apply-breakpoint($breakpoint) {
275
+ @include pf-v6-apply-breakpoint($breakpoint) {
276
276
  .#{$toolbar}__group,
277
277
  .#{$toolbar}__item {
278
278
  &.pf-m-align-start#{$breakpoint-name} {
@@ -292,7 +292,7 @@ $pf-v5--include-toolbar-breakpoints: true !default;
292
292
  flex-grow: 1;
293
293
  }
294
294
 
295
- @each $alignment in $pf-v5-c-toolbar--align-items--alignments {
295
+ @each $alignment in $pf-v6-c-toolbar--align-items--alignments {
296
296
  &.pf-m-align-self-#{$alignment}#{$breakpoint-name} {
297
297
  align-self: #{$alignment};
298
298
  }
@@ -304,7 +304,7 @@ $pf-v5--include-toolbar-breakpoints: true !default;
304
304
  .#{$toolbar}__content,
305
305
  .#{$toolbar}__content-section {
306
306
  // Inset modifiers
307
- @each $inset, $inset-value in $pf-v5-c-toolbar--inset-map {
307
+ @each $inset, $inset-value in $pf-v6-c-toolbar--inset-map {
308
308
  &.pf-m-inset-#{$inset}#{$breakpoint-name} {
309
309
  --#{$toolbar}__content--PaddingInline: #{$inset-value};
310
310
  }
@@ -324,20 +324,20 @@ $pf-v5--include-toolbar-breakpoints: true !default;
324
324
  flex-wrap: nowrap;
325
325
  }
326
326
 
327
- @each $alignment in $pf-v5-c-toolbar--align-items--alignments {
327
+ @each $alignment in $pf-v6-c-toolbar--align-items--alignments {
328
328
  &.pf-m-align-items-#{$alignment}#{$breakpoint-name} {
329
329
  align-items: #{$alignment};
330
330
  }
331
331
  }
332
332
 
333
- @each $gap, $gap-value in $pf-v5-c-toolbar--spacer-map {
333
+ @each $gap, $gap-value in $pf-v6-c-toolbar--spacer-map {
334
334
  &.pf-m-gap-#{$gap}#{$breakpoint-name} {
335
335
  column-gap: #{$gap-value};
336
336
  }
337
337
  }
338
338
 
339
339
  // Row and column gap modifiers
340
- @each $spacer, $spacer-value in $pf-v5-c-toolbar--spacer-map {
340
+ @each $spacer, $spacer-value in $pf-v6-c-toolbar--spacer-map {
341
341
  &.pf-m-column-gap-#{$spacer}#{$breakpoint-name} {
342
342
  column-gap: #{$spacer-value};
343
343
  }
@@ -325,7 +325,7 @@ $pf-v5-c-tree-view--MaxNesting: 10 !default;
325
325
  }
326
326
 
327
327
  .#{$tree-view}__node-toggle-icon {
328
- @include pf-v5-mirror-inline-on-rtl;
328
+ @include pf-v6-mirror-inline-on-rtl;
329
329
 
330
330
  display: inline-block;
331
331
  min-width: var(--#{$tree-view}__node-toggle-icon--MinWidth);
@@ -415,10 +415,10 @@ $pf-v5-c-tree-view--MaxNesting: 10 !default;
415
415
  background-color: var(--#{$tree-view}__node-toggle--BackgroundColor);
416
416
  border: 0;
417
417
 
418
- @include pf-v5-bidirectional-style(
418
+ @include pf-v6-bidirectional-style(
419
419
  $prop: transform,
420
420
  $ltr-val: translateX(var(--#{$tree-view}__list-item__list-item__node-toggle--TranslateX)),
421
- $rtl-val: translateX(#{pf-v5-calc-inverse(var(--#{$tree-view}__list-item__list-item__node-toggle--TranslateX))})
421
+ $rtl-val: translateX(#{pf-v6-calc-inverse(var(--#{$tree-view}__list-item__list-item__node-toggle--TranslateX))})
422
422
  );
423
423
  }
424
424
 
@@ -427,13 +427,13 @@ $pf-v5-c-tree-view--MaxNesting: 10 !default;
427
427
  &.pf-m-truncate {
428
428
  --#{$tree-view}__node-content--Overflow: hidden;
429
429
 
430
- @include pf-v5-text-overflow;
430
+ @include pf-v6-text-overflow;
431
431
  }
432
432
 
433
433
  @at-root .#{$tree-view}.pf-m-truncate & {
434
434
  --#{$tree-view}__node-content--Overflow: hidden;
435
435
 
436
- @include pf-v5-text-overflow;
436
+ @include pf-v6-text-overflow;
437
437
  }
438
438
  }
439
439
 
@@ -26,7 +26,7 @@
26
26
 
27
27
  // End
28
28
  .#{$truncate}__end {
29
- @include pf-v5-bidirectional-style (
29
+ @include pf-v6-bidirectional-style (
30
30
  $prop: direction,
31
31
  $ltr-val: rtl,
32
32
  $rtl-val: ltr
@@ -36,7 +36,7 @@
36
36
  .#{$truncate}__start + .#{$truncate}__end {
37
37
  overflow: visible;
38
38
 
39
- @include pf-v5-bidirectional-style (
39
+ @include pf-v6-bidirectional-style (
40
40
  $prop: direction,
41
41
  $ltr-val: ltr,
42
42
  $rtl-val: rtl
@@ -46,7 +46,7 @@
46
46
  // safari not supported
47
47
  @supports (-webkit-hyphens: none) {
48
48
  .#{$truncate}__end {
49
- @include pf-v5-bidirectional-style (
49
+ @include pf-v6-bidirectional-style (
50
50
  $prop: direction,
51
51
  $ltr-val: ltr,
52
52
  $rtl-val: rtl
@@ -110,7 +110,7 @@
110
110
  --#{$wizard}__nav--lg--BorderRightWidth: var(--pf-t--global--border--width--regular);
111
111
  --#{$wizard}__nav--lg--BorderRightColor: var(--pf-t--global--border--color--default);
112
112
 
113
- @media screen and (min-width: $pf-v5-global--breakpoint--lg) {
113
+ @media screen and (min-width: $pf-v6-global--breakpoint--lg) {
114
114
  --#{$wizard}__nav--Width: var(--#{$wizard}__nav--lg--Width);
115
115
  --#{$wizard}__nav--BoxShadow: none;
116
116
  }
@@ -222,7 +222,7 @@
222
222
  padding-block-start: var(--#{$wizard}__description--PaddingTop);
223
223
  color: var(--#{$wizard}__description--Color);
224
224
 
225
- @media screen and (min-width: $pf-v5-global--breakpoint--lg) {
225
+ @media screen and (min-width: $pf-v6-global--breakpoint--lg) {
226
226
  display: block;
227
227
  }
228
228
  }
@@ -243,7 +243,7 @@
243
243
  border-inline-start: 0;
244
244
  border-inline-end: 0;
245
245
 
246
- @media screen and (min-width: $pf-v5-global--breakpoint--lg) {
246
+ @media screen and (min-width: $pf-v6-global--breakpoint--lg) {
247
247
  display: none;
248
248
  }
249
249
 
@@ -280,7 +280,7 @@
280
280
  }
281
281
 
282
282
  .#{$wizard}__toggle-separator {
283
- @include pf-v5-mirror-inline-on-rtl;
283
+ @include pf-v6-mirror-inline-on-rtl;
284
284
 
285
285
  margin-inline-start: var(--#{$wizard}__toggle-separator--MarginLeft);
286
286
  color: var(--#{$wizard}__toggle-separator--Color);
@@ -298,7 +298,7 @@
298
298
  min-height: var(--#{$wizard}__outer-wrap--MinHeight);
299
299
  background-color: var(--#{$wizard}__outer-wrap--BackgroundColor);
300
300
 
301
- @media screen and (min-width: $pf-v5-global--breakpoint--lg) {
301
+ @media screen and (min-width: $pf-v6-global--breakpoint--lg) {
302
302
  padding-inline-start: var(--#{$wizard}__outer-wrap--lg--PaddingLeft);
303
303
  }
304
304
  }
@@ -310,7 +310,7 @@
310
310
  flex-grow: 1;
311
311
  min-height: 0;
312
312
 
313
- @media screen and (min-width: $pf-v5-global--breakpoint--lg) {
313
+ @media screen and (min-width: $pf-v6-global--breakpoint--lg) {
314
314
  position: static;
315
315
  }
316
316
  }
@@ -332,7 +332,7 @@
332
332
  display: block;
333
333
  }
334
334
 
335
- @media screen and (min-width: $pf-v5-global--breakpoint--lg) {
335
+ @media screen and (min-width: $pf-v6-global--breakpoint--lg) {
336
336
  display: block;
337
337
  height: 100%;
338
338
  border-inline-end: var(--#{$wizard}__nav--lg--BorderRightWidth) solid var(--#{$wizard}__nav--lg--BorderRightColor);
@@ -416,10 +416,10 @@
416
416
  // Common step number styles
417
417
  @at-root .#{$wizard}__toggle-num,
418
418
  &::before {
419
- @include pf-v5-bidirectional-style(
419
+ @include pf-v6-bidirectional-style(
420
420
  $prop: transform,
421
421
  $ltr-val: translateX(var(--#{$wizard}__nav-link--before--TranslateX)) translateY(var(--#{$wizard}__nav-link--before--TranslateY)),
422
- $rtl-val: translateX(#{pf-v5-calc-inverse(var(--#{$wizard}__nav-link--before--TranslateX))}) translateY(var(--#{$wizard}__nav-link--before--TranslateY))
422
+ $rtl-val: translateX(#{pf-v6-calc-inverse(var(--#{$wizard}__nav-link--before--TranslateX))}) translateY(var(--#{$wizard}__nav-link--before--TranslateY))
423
423
  );
424
424
 
425
425
  position: absolute;
@@ -485,7 +485,7 @@
485
485
  }
486
486
 
487
487
  .#{$wizard}__nav-link-toggle-icon {
488
- @include pf-v5-mirror-inline-on-rtl;
488
+ @include pf-v6-mirror-inline-on-rtl;
489
489
 
490
490
  display: inline-block;
491
491
  transition: var(--#{$wizard}__nav-link-toggle-icon--Transition);
@@ -36,26 +36,6 @@ cssPrefix: pf-v6-c-badge
36
36
 
37
37
  ```
38
38
 
39
- ### Badge as toggle
40
-
41
- ```html
42
- <span class="pf-v6-c-badge pf-m-read">
43
- 7
44
- <span class="pf-v6-c-badge__toggle-icon">
45
- <i class="fas fa-caret-down"></i>
46
- </span>
47
- </span>
48
- <span class="pf-v6-c-badge pf-m-unread">
49
- 7
50
- <span class="pf-v6-screen-reader">unread messages</span>
51
-
52
- <span class="pf-v6-c-badge__toggle-icon">
53
- <i class="fas fa-caret-down"></i>
54
- </span>
55
- </span>
56
-
57
- ```
58
-
59
39
  ## Documentation
60
40
 
61
41
  ### Overview
@@ -67,6 +47,5 @@ Always add a modifier class. Never use the class `.pf-v6-c-badge` on its own.
67
47
  | Class | Applied to | Outcome |
68
48
  | -- | -- | -- |
69
49
  | `.pf-v6-c-badge` | `<span>` | Initiates a badge. **Always use with a modifier class.** |
70
- | `.pf-v6-c-badge__toggle-icon` | `<span>` | Initiates a badge toggle icon. |
71
50
  | `.pf-m-read` | `.pf-v6-c-badge` | Applies read badge styling. |
72
51
  | `.pf-m-unread` | `.pf-v6-c-badge` | Applies unread badge styling. |
@@ -2,9 +2,7 @@
2
2
  id: Breadcrumb
3
3
  section: components
4
4
  cssPrefix: pf-v6-c-breadcrumb
5
- ---import './Breadcrumb.css'
6
-
7
- ## Examples
5
+ ---## Examples
8
6
 
9
7
  ### Basic
10
8
 
@@ -162,62 +160,23 @@ cssPrefix: pf-v6-c-breadcrumb
162
160
  <i class="fas fa-angle-right" aria-hidden="true"></i>
163
161
  </span>
164
162
  <span class="pf-v6-c-breadcrumb__dropdown">
165
- <div class="pf-v6-c-dropdown pf-m-expanded">
166
- <button
167
- class="pf-v6-c-dropdown__toggle pf-m-plain"
168
- id="dropdown-badge-toggle-button"
169
- aria-expanded="true"
170
- type="button"
171
- >
172
- <span class="pf-v6-c-badge pf-m-read">
173
- 5
174
- <span class="pf-v6-c-dropdown__toggle-icon">
175
- <i class="fas fa-caret-down" aria-hidden="true"></i>
176
- </span>
163
+ <button
164
+ class="pf-v6-c-menu-toggle pf-m-plain"
165
+ type="button"
166
+ aria-expanded="false"
167
+ >
168
+ <span class="pf-v6-c-menu-toggle__count">
169
+ <span class="pf-v6-c-badge pf-m-unread">
170
+ 4
171
+ <span class="pf-v6-screen-reader">additional items</span>
172
+ </span>
173
+ </span>
174
+ <span class="pf-v6-c-menu-toggle__controls">
175
+ <span class="pf-v6-c-menu-toggle__toggle-icon">
176
+ <i class="fas fa-caret-down" aria-hidden="true"></i>
177
177
  </span>
178
- </button>
179
- <ul
180
- class="pf-v6-c-dropdown__menu"
181
- aria-labelledby="dropdown-badge-toggle-button"
182
- role="menu"
183
- >
184
- <li role="none">
185
- <button
186
- class="pf-v6-c-dropdown__menu-item"
187
- role="menuitem"
188
- type="button"
189
- >Section title</button>
190
- </li>
191
- <li role="none">
192
- <button
193
- class="pf-v6-c-dropdown__menu-item"
194
- role="menuitem"
195
- type="button"
196
- >Section title</button>
197
- </li>
198
- <li role="none">
199
- <button
200
- class="pf-v6-c-dropdown__menu-item"
201
- role="menuitem"
202
- type="button"
203
- >Section title</button>
204
- </li>
205
- <li role="none">
206
- <button
207
- class="pf-v6-c-dropdown__menu-item"
208
- role="menuitem"
209
- type="button"
210
- >Section title</button>
211
- </li>
212
- <li role="none">
213
- <button
214
- class="pf-v6-c-dropdown__menu-item"
215
- role="menuitem"
216
- type="button"
217
- >Section title</button>
218
- </li>
219
- </ul>
220
- </div>
178
+ </span>
179
+ </button>
221
180
  </span>
222
181
  </li>
223
182
  <li class="pf-v6-c-breadcrumb__item">
@@ -4592,9 +4592,13 @@ cssPrefix: pf-v6-c-menu
4592
4592
  type="button"
4593
4593
  aria-expanded="true"
4594
4594
  >
4595
- <span class="pf-v6-c-badge pf-m-read">
4596
- 1
4597
- <i class="fas fa-caret-down" aria-hidden="true"></i>
4595
+ <span class="pf-v6-c-menu-toggle__count">
4596
+ <span class="pf-v6-c-badge pf-m-read">1</span>
4597
+ </span>
4598
+ <span class="pf-v6-c-menu-toggle__controls">
4599
+ <span class="pf-v6-c-menu-toggle__toggle-icon">
4600
+ <i class="fas fa-caret-down" aria-hidden="true"></i>
4601
+ </span>
4598
4602
  </span>
4599
4603
  </button>
4600
4604
  <div class="pf-v6-c-menu">
@@ -4845,9 +4849,13 @@ cssPrefix: pf-v6-c-menu
4845
4849
  type="button"
4846
4850
  aria-expanded="true"
4847
4851
  >
4848
- <span class="pf-v6-c-badge pf-m-read">
4849
- 2
4850
- <i class="fas fa-caret-down" aria-hidden="true"></i>
4852
+ <span class="pf-v6-c-menu-toggle__count">
4853
+ <span class="pf-v6-c-badge pf-m-read">2</span>
4854
+ </span>
4855
+ <span class="pf-v6-c-menu-toggle__controls">
4856
+ <span class="pf-v6-c-menu-toggle__toggle-icon">
4857
+ <i class="fas fa-caret-down" aria-hidden="true"></i>
4858
+ </span>
4851
4859
  </span>
4852
4860
  </button>
4853
4861
  <div class="pf-v6-c-menu">
@@ -73,6 +73,25 @@ cssPrefix: pf-v6-c-menu-toggle
73
73
  </span>
74
74
  </button>
75
75
 
76
+ &nbsp;
77
+ <button
78
+ class="pf-v6-c-menu-toggle pf-m-plain"
79
+ type="button"
80
+ aria-expanded="false"
81
+ >
82
+ <span class="pf-v6-c-menu-toggle__count">
83
+ <span class="pf-v6-c-badge pf-m-unread">
84
+ 4
85
+ <span class="pf-v6-screen-reader">additional items</span>
86
+ </span>
87
+ </span>
88
+ <span class="pf-v6-c-menu-toggle__controls">
89
+ <span class="pf-v6-c-menu-toggle__toggle-icon">
90
+ <i class="fas fa-caret-down" aria-hidden="true"></i>
91
+ </span>
92
+ </span>
93
+ </button>
94
+
76
95
  ```
77
96
 
78
97
  ### Primary
@@ -1,5 +1,5 @@
1
- .ws-core-l-bullseye .pf-v5-l-bullseye,
2
- .ws-core-l-bullseye .pf-v5-l-bullseye__item {
3
- padding: .5rem;
4
- border: 2px dashed #393f44;
1
+ .ws-core-l-bullseye .pf-v6-l-bullseye,
2
+ .ws-core-l-bullseye .pf-v6-l-bullseye__item {
3
+ padding: var(--pf-t--global--spacer--sm);
4
+ border: var(--pf-t--global--border--width--box--default) dashed var(--pf-t--global--border--color--default);
5
5
  }
@@ -1,6 +1,6 @@
1
1
  .ws-core-l-flex-border,
2
- .ws-core-l-flex .pf-v5-l-flex .pf-v5-l-flex,
3
- .ws-core-l-flex .pf-v5-l-flex__item {
4
- padding: .5rem !important;
5
- border: 2px dashed #393f44;
2
+ .ws-core-l-flex .pf-v6-l-flex .pf-v6-l-flex,
3
+ .ws-core-l-flex .pf-v6-l-flex__item {
4
+ padding: var(--pf-t--global--spacer--sm);
5
+ border: var(--pf-t--global--border--width--box--default) dashed var(--pf-t--global--border--color--default);
6
6
  }