@patternfly/patternfly 5.0.0-alpha.3 → 5.0.0-alpha.30

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 (290) hide show
  1. package/RELEASE-NOTES.md +17 -0
  2. package/assets/icons/iconUnicodes.json +1 -0
  3. package/assets/pficon/pficon.scss +6 -0
  4. package/assets/pficon/pficon.woff +0 -0
  5. package/assets/pficon/pficon.woff2 +0 -0
  6. package/base/_base.scss +0 -18
  7. package/base/_chart-globals.scss +0 -4
  8. package/base/_common.scss +0 -22
  9. package/base/_fonts.scss +22 -22
  10. package/base/_globals.scss +1 -1
  11. package/base/_icons.scss +1 -28
  12. package/base/_svg-icons.scss +6 -0
  13. package/base/_variables.scss +1 -1
  14. package/base/patternfly-common.css +0 -10
  15. package/base/patternfly-fonts.css +17 -17
  16. package/base/patternfly-icons.css +6 -20
  17. package/base/patternfly-pf-icons.css +5 -1
  18. package/base/themes/dark/_globals.scss +1 -1
  19. package/base/themes/dark/_variables.scss +1 -1
  20. package/components/AboutModalBox/about-modal-box.css +7 -7
  21. package/components/AboutModalBox/about-modal-box.scss +7 -7
  22. package/components/Accordion/accordion.css +2 -0
  23. package/components/Accordion/accordion.scss +2 -0
  24. package/components/Alert/alert.css +3 -3
  25. package/components/Alert/alert.scss +3 -3
  26. package/components/AppLauncher/app-launcher.css +2 -0
  27. package/components/AppLauncher/app-launcher.scss +2 -0
  28. package/components/Avatar/avatar.scss +2 -2
  29. package/components/Banner/banner.css +14 -14
  30. package/components/Banner/banner.scss +9 -13
  31. package/components/Breadcrumb/breadcrumb.css +2 -0
  32. package/components/Breadcrumb/breadcrumb.scss +2 -0
  33. package/components/CalendarMonth/calendar-month.css +2 -2
  34. package/components/CalendarMonth/calendar-month.scss +3 -3
  35. package/components/Card/card.css +20 -21
  36. package/components/Card/card.scss +22 -26
  37. package/components/Chip/chip.css +33 -24
  38. package/components/Chip/chip.scss +40 -31
  39. package/components/ChipGroup/chip-group.css +27 -17
  40. package/components/ChipGroup/chip-group.scss +36 -22
  41. package/components/Content/content.css +11 -5
  42. package/components/Content/content.scss +17 -9
  43. package/components/ContextSelector/context-selector.css +5 -1
  44. package/components/ContextSelector/context-selector.scss +6 -2
  45. package/components/DataList/data-list-grid.css +7 -7
  46. package/components/DataList/data-list-grid.scss +1 -1
  47. package/components/DataList/data-list.css +12 -11
  48. package/components/DataList/data-list.scss +5 -4
  49. package/components/DescriptionList/description-list.css +7 -7
  50. package/components/DescriptionList/description-list.scss +7 -7
  51. package/components/Divider/divider.css +2 -2
  52. package/components/Divider/divider.scss +3 -3
  53. package/components/Drawer/drawer.css +15 -16
  54. package/components/Drawer/drawer.scss +2 -3
  55. package/components/Dropdown/dropdown.css +12 -10
  56. package/components/Dropdown/dropdown.scss +2 -0
  57. package/components/DualListSelector/dual-list-selector.css +1 -1
  58. package/components/DualListSelector/dual-list-selector.scss +1 -1
  59. package/components/EmptyState/empty-state.css +46 -52
  60. package/components/EmptyState/empty-state.scss +58 -57
  61. package/components/ExpandableSection/expandable-section.css +2 -0
  62. package/components/ExpandableSection/expandable-section.scss +2 -0
  63. package/components/Form/form.css +12 -12
  64. package/components/Form/form.scss +7 -7
  65. package/components/FormControl/form-control.css +2 -5
  66. package/components/FormControl/themes/dark/form-control.scss +2 -6
  67. package/components/Hint/hint.css +2 -2
  68. package/components/Hint/hint.scss +2 -2
  69. package/components/Label/label.css +43 -30
  70. package/components/Label/label.scss +49 -34
  71. package/components/LabelGroup/label-group.css +26 -22
  72. package/components/LabelGroup/label-group.scss +31 -26
  73. package/components/Login/login.css +11 -11
  74. package/components/Login/login.scss +10 -10
  75. package/components/Masthead/masthead.css +4 -4
  76. package/components/Masthead/masthead.scss +4 -4
  77. package/components/Menu/menu.css +9 -6
  78. package/components/Menu/menu.scss +34 -31
  79. package/components/MenuToggle/menu-toggle.css +3 -1
  80. package/components/MenuToggle/menu-toggle.scss +3 -1
  81. package/components/ModalBox/modal-box.css +9 -8
  82. package/components/ModalBox/modal-box.scss +11 -11
  83. package/components/MultipleFileUpload/multiple-file-upload.css +6 -6
  84. package/components/MultipleFileUpload/multiple-file-upload.scss +6 -6
  85. package/components/Nav/nav.css +1 -1
  86. package/components/Nav/nav.scss +2 -2
  87. package/components/NotificationDrawer/notification-drawer.css +3 -3
  88. package/components/NotificationDrawer/notification-drawer.scss +3 -3
  89. package/components/Page/page.css +71 -71
  90. package/components/Page/page.scss +12 -12
  91. package/components/Pagination/pagination.css +2 -2
  92. package/components/Popover/popover.css +25 -31
  93. package/components/Popover/popover.scss +27 -32
  94. package/components/Popover/themes/dark/popover.scss +2 -8
  95. package/components/Progress/progress.css +13 -10
  96. package/components/Progress/progress.scss +13 -10
  97. package/components/ProgressStepper/progress-stepper.css +5 -5
  98. package/components/ProgressStepper/progress-stepper.scss +5 -5
  99. package/components/SearchInput/search-input.css +4 -2
  100. package/components/SearchInput/search-input.scss +4 -2
  101. package/components/Select/select.css +1 -1
  102. package/components/Select/select.scss +1 -1
  103. package/components/Sidebar/sidebar.css +69 -26
  104. package/components/Sidebar/sidebar.scss +84 -27
  105. package/components/SimpleList/simple-list.css +1 -1
  106. package/components/SimpleList/simple-list.scss +2 -2
  107. package/components/Spinner/spinner.css +4 -4
  108. package/components/Spinner/spinner.scss +4 -4
  109. package/components/Table/table-grid.css +28 -28
  110. package/components/Table/table-scrollable.css +31 -26
  111. package/components/Table/table-scrollable.scss +33 -28
  112. package/components/Table/table-tree-view.css +14 -4
  113. package/components/Table/table-tree-view.scss +15 -0
  114. package/components/Table/table.css +7 -2
  115. package/components/Table/table.scss +9 -2
  116. package/components/Tabs/tabs.css +0 -4
  117. package/components/Tabs/tabs.scss +0 -7
  118. package/components/TextInputGroup/text-input-group.css +6 -4
  119. package/components/TextInputGroup/text-input-group.scss +6 -5
  120. package/components/Tile/tile.css +1 -1
  121. package/components/Tile/tile.scss +1 -1
  122. package/components/Timestamp/timestamp.css +3 -3
  123. package/components/Timestamp/timestamp.scss +3 -3
  124. package/components/Toolbar/toolbar.css +67 -39
  125. package/components/Toolbar/toolbar.scss +39 -5
  126. package/components/Tooltip/themes/dark/tooltip.scss +1 -11
  127. package/components/Tooltip/tooltip.css +7 -12
  128. package/components/Tooltip/tooltip.scss +6 -3
  129. package/components/TreeView/tree-view.css +7 -15
  130. package/components/TreeView/tree-view.scss +7 -18
  131. package/components/Wizard/wizard.css +16 -1
  132. package/components/Wizard/wizard.scss +20 -2
  133. package/docs/components/AboutModalBox/examples/AboutModalBox.md +13 -13
  134. package/docs/components/Accordion/examples/Accordion.md +12 -12
  135. package/docs/components/ActionList/examples/ActionList.md +6 -6
  136. package/docs/components/Alert/examples/Alert.md +19 -19
  137. package/docs/components/AlertGroup/examples/AlertGroup.md +12 -12
  138. package/docs/components/AppLauncher/examples/application-launcher.md +51 -46
  139. package/docs/components/Avatar/examples/Avatar.md +11 -11
  140. package/docs/components/BackToTop/examples/BackToTop.md +4 -4
  141. package/docs/components/Backdrop/examples/Backdrop.md +4 -4
  142. package/docs/components/BackgroundImage/examples/BackgroundImage.md +4 -4
  143. package/docs/components/Badge/examples/Badge.md +5 -5
  144. package/docs/components/Banner/examples/Banner.md +8 -8
  145. package/docs/components/Brand/examples/Brand.md +9 -9
  146. package/docs/components/Breadcrumb/examples/Breadcrumb.md +20 -20
  147. package/docs/components/Button/examples/Button.md +35 -35
  148. package/docs/components/CalendarMonth/examples/CalendarMonth.md +32 -32
  149. package/docs/components/Card/examples/Card.md +139 -64
  150. package/docs/components/Check/examples/Check.md +15 -19
  151. package/docs/components/Chip/examples/Chip.md +70 -52
  152. package/docs/components/ChipGroup/examples/ChipGroup.md +452 -673
  153. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +22 -22
  154. package/docs/components/CodeBlock/examples/CodeBlock.md +9 -9
  155. package/docs/components/CodeEditor/examples/CodeEditor.md +54 -35
  156. package/docs/components/Content/examples/Content.md +37 -9
  157. package/docs/components/ContextSelector/examples/context-selector.css +5 -1
  158. package/docs/components/ContextSelector/examples/context-selector.md +86 -80
  159. package/docs/components/DataList/examples/DataList.md +187 -148
  160. package/docs/components/DatePicker/examples/DatePicker.md +10 -10
  161. package/docs/components/DescriptionList/examples/DescriptionList.md +24 -24
  162. package/docs/components/Divider/examples/Divider.md +10 -10
  163. package/docs/components/DragDrop/examples/DragDrop.md +5 -5
  164. package/docs/components/Drawer/examples/Drawer.md +43 -43
  165. package/docs/components/Dropdown/examples/Dropdown.css +5 -2
  166. package/docs/components/Dropdown/examples/Dropdown.md +123 -99
  167. package/docs/components/DualListSelector/examples/DualListSelector.md +201 -197
  168. package/docs/components/EmptyState/examples/EmptyState.md +130 -82
  169. package/docs/components/ExpandableSection/examples/ExpandableSection.md +23 -23
  170. package/docs/components/FileUpload/examples/FileUpload.md +8 -8
  171. package/docs/components/Form/examples/Form.md +64 -64
  172. package/docs/components/FormControl/examples/FormControl.md +20 -20
  173. package/docs/components/HelperText/examples/HelperText.md +12 -12
  174. package/docs/components/Hint/examples/Hint.md +7 -7
  175. package/docs/components/Icon/examples/Icon.md +10 -10
  176. package/docs/components/InlineEdit/examples/InlineEdit.md +29 -27
  177. package/docs/components/InputGroup/examples/InputGroup.md +10 -10
  178. package/docs/components/JumpLinks/examples/JumpLinks.md +35 -35
  179. package/docs/components/Label/examples/Label.md +1427 -746
  180. package/docs/components/LabelGroup/examples/LabelGroup.md +295 -242
  181. package/docs/components/List/examples/List.md +18 -18
  182. package/docs/components/LogViewer/examples/LogViewer.md +79 -73
  183. package/docs/components/Login/examples/Login.md +32 -32
  184. package/docs/components/Masthead/examples/masthead.md +9 -9
  185. package/docs/components/Menu/examples/Menu.md +82 -80
  186. package/docs/components/MenuToggle/examples/MenuToggle.md +28 -28
  187. package/docs/components/ModalBox/examples/ModalBox.md +106 -85
  188. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +25 -25
  189. package/docs/components/Nav/examples/Navigation.md +69 -69
  190. package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
  191. package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +44 -44
  192. package/docs/components/NumberInput/examples/NumberInput.md +12 -12
  193. package/docs/components/OptionsMenu/examples/options-menu.md +27 -28
  194. package/docs/components/OverflowMenu/examples/overflow-menu.md +25 -25
  195. package/docs/components/Page/examples/Page.md +54 -54
  196. package/docs/components/Pagination/examples/Pagination.md +27 -27
  197. package/docs/components/Panel/examples/Panel.md +10 -10
  198. package/docs/components/Popover/examples/Popover.md +201 -144
  199. package/docs/components/Progress/examples/Progress.md +31 -60
  200. package/docs/components/ProgressStepper/examples/ProgressStepper.md +45 -38
  201. package/docs/components/Radio/examples/Radio.md +11 -11
  202. package/docs/components/SearchInput/examples/SearchInput.md +34 -34
  203. package/docs/components/Select/examples/Select.md +367 -313
  204. package/docs/components/Sidebar/examples/Sidebar.md +70 -14
  205. package/docs/components/SimpleList/examples/SimpleList.md +15 -15
  206. package/docs/components/Skeleton/examples/Skeleton.md +8 -8
  207. package/docs/components/SkipToContent/examples/SkipToContent.md +5 -5
  208. package/docs/components/Slider/examples/Slider.md +24 -24
  209. package/docs/components/Spinner/examples/Spinner.md +24 -24
  210. package/docs/components/Switch/examples/Switch.md +19 -19
  211. package/docs/components/TabContent/examples/TabContent.md +13 -13
  212. package/docs/components/Table/examples/Table.css +4 -0
  213. package/docs/components/Table/examples/Table.md +3163 -1712
  214. package/docs/components/Tabs/examples/Tabs.md +149 -149
  215. package/docs/components/TextInputGroup/examples/TextInputGroup.md +362 -280
  216. package/docs/components/Tile/examples/Tile.md +15 -15
  217. package/docs/components/Timestamp/examples/Timestamp.md +5 -5
  218. package/docs/components/Title/examples/Title.md +17 -17
  219. package/docs/components/ToggleGroup/examples/toggle-group.md +13 -13
  220. package/docs/components/Toolbar/examples/Toolbar.md +471 -378
  221. package/docs/components/Tooltip/examples/Tooltip.md +10 -10
  222. package/docs/components/TreeView/examples/TreeView.md +34 -34
  223. package/docs/components/Truncate/examples/Truncate.md +4 -4
  224. package/docs/components/Wizard/examples/Wizard.md +119 -127
  225. package/docs/demos/AboutModal/examples/AboutModal.md +4 -4
  226. package/docs/demos/Alert/examples/Alert.md +13 -13
  227. package/docs/demos/BackToTop/examples/BackToTop.md +4 -4
  228. package/docs/demos/Banner/examples/Banner.md +8 -9
  229. package/docs/demos/Card/examples/Card.md +219 -156
  230. package/docs/demos/CardView/examples/CardView.md +56 -29
  231. package/docs/demos/ContextSelector/examples/ContextSelector.md +18 -18
  232. package/docs/demos/Dashboard/examples/Dashboard.md +51 -35
  233. package/docs/demos/DataList/examples/DataList.md +160 -111
  234. package/docs/demos/DescriptionList/examples/DescriptionList.md +33 -22
  235. package/docs/demos/Drawer/examples/Drawer.md +24 -22
  236. package/docs/demos/Form/examples/BasicForms.md +28 -22
  237. package/docs/demos/HelperText/examples/HelperText.md +8 -9
  238. package/docs/demos/JumpLinks/examples/JumpLinks.md +28 -28
  239. package/docs/demos/Masthead/examples/Masthead.md +32 -35
  240. package/docs/demos/Modal/examples/Modal.md +54 -66
  241. package/docs/demos/Nav/examples/Nav.md +47 -47
  242. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +40 -28
  243. package/docs/demos/Page/examples/Page.md +37 -37
  244. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +32 -33
  245. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +83 -67
  246. package/docs/demos/Skeleton/examples/Skeleton.md +4 -4
  247. package/docs/demos/Table/examples/Table.md +2465 -478
  248. package/docs/demos/Tabs/examples/Tabs.md +141 -90
  249. package/docs/demos/Toolbar/examples/Toolbar.md +1811 -177
  250. package/docs/demos/Wizard/examples/Wizard.md +289 -266
  251. package/docs/layouts/Bullseye/examples/Bullseye.md +4 -4
  252. package/docs/layouts/Flex/examples/Flex.md +98 -98
  253. package/docs/layouts/Gallery/examples/Gallery.md +7 -7
  254. package/docs/layouts/Grid/examples/Grid.md +9 -9
  255. package/docs/layouts/Level/examples/Level.md +5 -5
  256. package/docs/layouts/Split/examples/Split.md +7 -7
  257. package/docs/layouts/Stack/examples/Stack.md +6 -6
  258. package/docs/utilities/Accessibility/examples/Accessibility.md +4 -4
  259. package/docs/utilities/Alignment/examples/Alignment.md +6 -6
  260. package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +12 -12
  261. package/docs/utilities/BoxShadow/examples/box-shadow.md +22 -22
  262. package/docs/utilities/Display/examples/Display.md +11 -11
  263. package/docs/utilities/Flex/examples/Flex.md +34 -34
  264. package/docs/utilities/Float/examples/Float.md +4 -4
  265. package/docs/utilities/Sizing/examples/Sizing.md +50 -50
  266. package/docs/utilities/Spacing/examples/Spacing.md +34 -34
  267. package/docs/utilities/Text/examples/Text.md +27 -27
  268. package/icons/{pf-icons.json → pf-icons.mjs} +2 -1
  269. package/layouts/Gallery/gallery.css +1 -1
  270. package/layouts/Gallery/gallery.scss +1 -1
  271. package/layouts/Grid/grid.css +7 -7
  272. package/layouts/Grid/grid.scss +2 -2
  273. package/package.json +59 -65
  274. package/patternfly-base-no-reset.css +23 -47
  275. package/patternfly-base.css +23 -47
  276. package/patternfly-no-reset.css +770 -652
  277. package/patternfly.css +770 -652
  278. package/patternfly.min.css +1 -1
  279. package/patternfly.min.css.map +1 -1
  280. package/sass-utilities/functions.scss +8 -24
  281. package/sass-utilities/mixins.scss +15 -39
  282. package/sass-utilities/scss-variables.scss +1 -1
  283. package/sass-utilities/themes/dark/scss-variables.scss +1 -1
  284. package/utilities/Spacing/spacing.scss +2 -2
  285. package/base/_shield-inheritable.scss +0 -69
  286. package/base/_shield-noninheritable.scss +0 -13
  287. package/base/patternfly-shield-inheritable.css +0 -66
  288. package/base/patternfly-shield-inheritable.scss +0 -4
  289. package/base/patternfly-shield-noninheritable.css +0 -9
  290. package/base/patternfly-shield-noninheritable.scss +0 -4
@@ -7,8 +7,8 @@
7
7
  --pf-c-progress__bar--Height: var(--pf-global--spacer--md);
8
8
  --pf-c-progress__bar--BackgroundColor: var(--pf-global--BackgroundColor--light-100); // the bar always needs white under it so that the semi-transparent color shows correctly
9
9
  --pf-c-progress__measure--m-static-width--MinWidth: 4.5ch; // 4.5 because the % character is wider than a 0
10
+ --pf-c-progress__status--Gap: var(--pf-global--spacer--sm);
10
11
  --pf-c-progress__status-icon--Color: var(--pf-global--Color--100); // the status icon default color is the default text color
11
- --pf-c-progress__status-icon--MarginLeft: var(--pf-global--spacer--sm);
12
12
  --pf-c-progress__bar--before--Opacity: .2; // one-off change in opacity to allow progress bar to automatically coordinate with the indicator color
13
13
  --pf-c-progress__indicator--Height: var(--pf-c-progress__bar--Height);
14
14
  --pf-c-progress__indicator--BackgroundColor: var(--pf-c-progress__bar--before--BackgroundColor);
@@ -34,10 +34,10 @@
34
34
 
35
35
  // Component styles
36
36
  display: grid;
37
- align-items: end;
38
- grid-gap: var(--pf-c-progress--GridGap);
39
- grid-template-columns: auto auto;
40
37
  grid-template-rows: 1fr auto;
38
+ grid-template-columns: auto auto;
39
+ grid-gap: var(--pf-c-progress--GridGap);
40
+ align-items: end;
41
41
 
42
42
  // Modifiers
43
43
  // size modifiers
@@ -80,8 +80,8 @@
80
80
  }
81
81
 
82
82
  .pf-c-progress__status {
83
- grid-column: 2 / 3;
84
83
  grid-row: 2 / 3;
84
+ grid-column: 2 / 3;
85
85
  align-self: center;
86
86
  }
87
87
 
@@ -148,8 +148,8 @@
148
148
 
149
149
  // the progress__description is displayed above the progress bar on the left
150
150
  .pf-c-progress__description {
151
- word-break: break-word;
152
151
  grid-column: 1 / 2;
152
+ word-break: break-word;
153
153
 
154
154
  &.pf-m-truncate {
155
155
  @include pf-text-overflow;
@@ -158,23 +158,26 @@
158
158
 
159
159
  // the progress__status is displayed in the upper right
160
160
  .pf-c-progress__status {
161
- grid-column: 2 / 3;
161
+ display: flex;
162
162
  grid-row: 1 / 2;
163
+ grid-column: 2 / 3;
164
+ gap: var(--pf-c-progress__status--Gap);
165
+ align-items: flex-start;
166
+ justify-content: flex-end;
163
167
  text-align: right;
164
168
  word-break: break-word;
165
169
  }
166
170
 
167
171
  // the progress__status-icon is an icon displayed always in the upper right
168
172
  .pf-c-progress__status-icon {
169
- margin-left: var(--pf-c-progress__status-icon--MarginLeft);
170
173
  color: var(--pf-c-progress__status-icon--Color);
171
174
  }
172
175
 
173
176
  // The progress__bar is a white underlay with a semi-transparent color on top, which matches the progress__indicator color
174
177
  .pf-c-progress__bar {
175
178
  position: relative;
176
- grid-column: 1 / 3;
177
179
  grid-row: 2 / 3;
180
+ grid-column: 1 / 3;
178
181
  align-self: center;
179
182
  height: var(--pf-c-progress__bar--Height);
180
183
  background-color: var(--pf-c-progress__bar--BackgroundColor);
@@ -202,8 +205,8 @@
202
205
  }
203
206
 
204
207
  .pf-c-progress__helper-text {
205
- grid-column: 1 / 3;
206
208
  grid-row: 3 / 4;
209
+ grid-column: 1 / 3;
207
210
  margin-top: var(--pf-c-progress__helper-text--MarginTop);
208
211
  }
209
212
 
@@ -114,10 +114,10 @@
114
114
  --pf-c-progress-stepper--m-center__step-main--before--Content: "";
115
115
  position: relative;
116
116
  display: grid;
117
- grid-auto-flow: var(--pf-c-progress-stepper--GridAutoFlow);
118
- grid-template-columns: var(--pf-c-progress-stepper--GridTemplateColumns);
119
117
  grid-template-rows: var(--pf-c-progress-stepper--GridTemplateRows);
118
+ grid-template-columns: var(--pf-c-progress-stepper--GridTemplateColumns);
120
119
  grid-auto-columns: 1fr;
120
+ grid-auto-flow: var(--pf-c-progress-stepper--GridAutoFlow);
121
121
  }
122
122
  @media screen and (min-width: 768px) {
123
123
  .pf-c-progress-stepper {
@@ -184,8 +184,8 @@
184
184
  grid-auto-flow: var(--pf-c-progress-stepper--m-compact--GridAutoFlow);
185
185
  }
186
186
  .pf-c-progress-stepper.pf-m-compact .pf-c-progress-stepper__step-connector {
187
- min-width: var(--pf-c-progress-stepper--m-compact__step-connector--MinWidth);
188
187
  grid-row: var(--pf-c-progress-stepper--m-compact__step-connector--GridRow);
188
+ min-width: var(--pf-c-progress-stepper--m-compact__step-connector--MinWidth);
189
189
  padding-bottom: var(--pf-c-progress-stepper--m-compact__step-connector--PaddingBottom);
190
190
  }
191
191
  .pf-c-progress-stepper.pf-m-compact .pf-c-progress-stepper__step-main {
@@ -302,11 +302,11 @@
302
302
  }
303
303
  .pf-c-progress-stepper__step-title.pf-m-help-text {
304
304
  text-decoration: underline;
305
- cursor: pointer;
305
+ text-decoration-thickness: var(--pf-c-progress-stepper__step-title--m-help-text--TextDecorationThickness);
306
306
  text-decoration-style: dashed;
307
307
  text-decoration-color: var(--pf-c-progress-stepper__step-title--m-help-text--TextDecorationColor);
308
- text-decoration-thickness: var(--pf-c-progress-stepper__step-title--m-help-text--TextDecorationThickness);
309
308
  text-underline-offset: var(--pf-c-progress-stepper__step-title--m-help-text--TextUnderlineOffset);
309
+ cursor: pointer;
310
310
  }
311
311
  .pf-c-progress-stepper__step-title.pf-m-help-text:hover {
312
312
  --pf-c-progress-stepper__step-title--Color: var(--pf-c-progress-stepper__step-title--m-help-text--hover--Color);
@@ -190,10 +190,10 @@ $pf-c-progress-stepper--breakpoint-map: build-breakpoint-map();
190
190
 
191
191
  position: relative;
192
192
  display: grid;
193
- grid-auto-flow: var(--pf-c-progress-stepper--GridAutoFlow);
194
- grid-template-columns: var(--pf-c-progress-stepper--GridTemplateColumns);
195
193
  grid-template-rows: var(--pf-c-progress-stepper--GridTemplateRows);
194
+ grid-template-columns: var(--pf-c-progress-stepper--GridTemplateColumns);
196
195
  grid-auto-columns: 1fr; // gives even spacing between steps
196
+ grid-auto-flow: var(--pf-c-progress-stepper--GridAutoFlow);
197
197
 
198
198
  // Progress stepper Modifiers
199
199
  &.pf-m-center {
@@ -247,8 +247,8 @@ $pf-c-progress-stepper--breakpoint-map: build-breakpoint-map();
247
247
  grid-auto-flow: var(--pf-c-progress-stepper--m-compact--GridAutoFlow);
248
248
 
249
249
  .pf-c-progress-stepper__step-connector {
250
- min-width: var(--pf-c-progress-stepper--m-compact__step-connector--MinWidth);
251
250
  grid-row: var(--pf-c-progress-stepper--m-compact__step-connector--GridRow);
251
+ min-width: var(--pf-c-progress-stepper--m-compact__step-connector--MinWidth);
252
252
  padding-bottom: var(--pf-c-progress-stepper--m-compact__step-connector--PaddingBottom);
253
253
  }
254
254
 
@@ -392,11 +392,11 @@ $pf-c-progress-stepper--breakpoint-map: build-breakpoint-map();
392
392
 
393
393
  &.pf-m-help-text {
394
394
  text-decoration: underline;
395
- cursor: pointer;
395
+ text-decoration-thickness: var(--pf-c-progress-stepper__step-title--m-help-text--TextDecorationThickness);
396
396
  text-decoration-style: dashed;
397
397
  text-decoration-color: var(--pf-c-progress-stepper__step-title--m-help-text--TextDecorationColor);
398
- text-decoration-thickness: var(--pf-c-progress-stepper__step-title--m-help-text--TextDecorationThickness);
399
398
  text-underline-offset: var(--pf-c-progress-stepper__step-title--m-help-text--TextUnderlineOffset);
399
+ cursor: pointer;
400
400
 
401
401
  &:hover {
402
402
  --pf-c-progress-stepper__step-title--Color: var(--pf-c-progress-stepper__step-title--m-help-text--hover--Color);
@@ -12,6 +12,7 @@
12
12
  --pf-c-search-input__text-input--PaddingLeft: var(--pf-global--spacer--xl);
13
13
  --pf-c-search-input__text-input--MinWidth: 6ch;
14
14
  --pf-c-search-input__text-input--m-hint--Color: var(--pf-global--Color--dark-200);
15
+ --pf-c-search-input__text-input--BackgroundColor: transparent;
15
16
  --pf-c-search-input__icon--Left: var(--pf-global--spacer--sm);
16
17
  --pf-c-search-input__icon--Color: var(--pf-global--Color--200);
17
18
  --pf-c-search-input__text--hover__icon--Color: var(--pf-global--Color--100);
@@ -56,9 +57,9 @@
56
57
 
57
58
  .pf-c-search-input__text {
58
59
  display: grid;
59
- grid-template-columns: 1fr;
60
- grid-template-areas: "text-input";
61
60
  flex: 1;
61
+ grid-template-areas: "text-input";
62
+ grid-template-columns: 1fr;
62
63
  }
63
64
  .pf-c-search-input__text::before, .pf-c-search-input__text::after {
64
65
  position: absolute;
@@ -99,6 +100,7 @@
99
100
  width: 100%;
100
101
  min-width: var(--pf-c-search-input__text-input--MinWidth);
101
102
  padding: var(--pf-c-search-input__text-input--PaddingTop) var(--pf-c-search-input__text-input--PaddingRight) var(--pf-c-search-input__text-input--PaddingBottom) var(--pf-c-search-input__text-input--PaddingLeft);
103
+ background-color: var(--pf-c-search-input__text-input--BackgroundColor);
102
104
  border: 0;
103
105
  }
104
106
  .pf-c-search-input__text-input, .pf-c-search-input__text-input.pf-m-hint {
@@ -17,6 +17,7 @@
17
17
  --pf-c-search-input__text-input--PaddingLeft: var(--pf-global--spacer--xl);
18
18
  --pf-c-search-input__text-input--MinWidth: 6ch;
19
19
  --pf-c-search-input__text-input--m-hint--Color: var(--pf-global--Color--dark-200); // matches placeholder text color
20
+ --pf-c-search-input__text-input--BackgroundColor: transparent;
20
21
 
21
22
  // Icon
22
23
  --pf-c-search-input__icon--Left: var(--pf-global--spacer--sm);
@@ -71,9 +72,9 @@
71
72
 
72
73
  .pf-c-search-input__text {
73
74
  display: grid;
74
- grid-template-columns: 1fr;
75
- grid-template-areas: "text-input";
76
75
  flex: 1;
76
+ grid-template-areas: "text-input";
77
+ grid-template-columns: 1fr;
77
78
 
78
79
  &::before,
79
80
  &::after {
@@ -120,6 +121,7 @@
120
121
  width: 100%;
121
122
  min-width: var(--pf-c-search-input__text-input--MinWidth);
122
123
  padding: var(--pf-c-search-input__text-input--PaddingTop) var(--pf-c-search-input__text-input--PaddingRight) var(--pf-c-search-input__text-input--PaddingBottom) var(--pf-c-search-input__text-input--PaddingLeft);
124
+ background-color: var(--pf-c-search-input__text-input--BackgroundColor);
123
125
  border: 0;
124
126
 
125
127
  &,
@@ -356,8 +356,8 @@
356
356
  .pf-c-select__toggle-typeahead {
357
357
  flex-basis: var(--pf-c-select__toggle-typeahead--FlexBasis);
358
358
  flex-grow: 1;
359
- min-width: var(--pf-c-select__toggle-typeahead--MinWidth);
360
359
  flex-shrink: 0;
360
+ min-width: var(--pf-c-select__toggle-typeahead--MinWidth);
361
361
  }
362
362
  .pf-c-select__toggle-typeahead.pf-c-form-control {
363
363
  background-color: var(--pf-c-select__toggle-typeahead--BackgroundColor);
@@ -448,8 +448,8 @@
448
448
  .pf-c-select__toggle-typeahead {
449
449
  flex-basis: var(--pf-c-select__toggle-typeahead--FlexBasis);
450
450
  flex-grow: 1;
451
- min-width: var(--pf-c-select__toggle-typeahead--MinWidth);
452
451
  flex-shrink: 0;
452
+ min-width: var(--pf-c-select__toggle-typeahead--MinWidth);
453
453
 
454
454
  &.pf-c-form-control {
455
455
  background-color: var(--pf-c-select__toggle-typeahead--BackgroundColor);
@@ -1,26 +1,52 @@
1
1
  .pf-c-sidebar {
2
+ --pf-c-sidebar--inset: var(--pf-global--spacer--md);
3
+ --pf-c-sidebar--xl--inset: var(--pf-global--spacer--lg);
2
4
  --pf-c-sidebar--BackgroundColor: var(--pf-global--BackgroundColor--100);
5
+ --pf-c-sidebar--BorderWidth--base: var(--pf-global--BorderWidth--sm);
6
+ --pf-c-sidebar--BorderColor--base: var(--pf-global--BorderColor--100);
7
+ --pf-c-sidebar__panel--PaddingTop: 0;
8
+ --pf-c-sidebar__panel--PaddingRight: 0;
9
+ --pf-c-sidebar__panel--PaddingBottom: 0;
10
+ --pf-c-sidebar__panel--PaddingLeft: 0;
11
+ --pf-c-sidebar__panel--Order: -1;
12
+ --pf-c-sidebar__panel--m-padding--PaddingTop: var(--pf-c-sidebar--inset);
13
+ --pf-c-sidebar__panel--m-padding--PaddingRight: var(--pf-c-sidebar--inset);
14
+ --pf-c-sidebar__panel--m-padding--PaddingBottom: var(--pf-c-sidebar--inset);
15
+ --pf-c-sidebar__panel--m-padding--PaddingLeft: var(--pf-c-sidebar--inset);
16
+ --pf-c-sidebar__content--PaddingTop: 0;
17
+ --pf-c-sidebar__content--PaddingRight: 0;
18
+ --pf-c-sidebar__content--PaddingBottom: 0;
19
+ --pf-c-sidebar__content--PaddingLeft: 0;
20
+ --pf-c-sidebar__content--Order: 1;
21
+ --pf-c-sidebar__content--m-padding--PaddingTop: var(--pf-c-sidebar--inset);
22
+ --pf-c-sidebar__content--m-padding--PaddingRight: var(--pf-c-sidebar--inset);
23
+ --pf-c-sidebar__content--m-padding--PaddingBottom: var(--pf-c-sidebar--inset);
24
+ --pf-c-sidebar__content--m-padding--PaddingLeft: var(--pf-c-sidebar--inset);
3
25
  --pf-c-sidebar__main--FlexDirection: column;
4
26
  --pf-c-sidebar__main--md--FlexDirection: row;
5
27
  --pf-c-sidebar__main--AlignItems: stretch;
6
28
  --pf-c-sidebar__main--md--AlignItems: start;
7
29
  --pf-c-sidebar__main--child--MarginTop: 0;
8
- --pf-c-sidebar__main--child--MarginLeft: 0;
9
- --pf-c-sidebar--m-gutter__main--Gap: var(--pf-global--spacer--md);
10
- --pf-c-sidebar--m-gutter__main--xl--Gap: var(--pf-global--spacer--lg);
11
- --pf-c-sidebar--m-panel-right__panel--Order: 0;
30
+ --pf-c-sidebar--m-gutter__main--Gap: var(--pf-c-sidebar--inset);
31
+ --pf-c-sidebar__main--m-border--before--Display: none;
32
+ --pf-c-sidebar__main--m-border--before--md--Display: block;
33
+ --pf-c-sidebar__main--m-border--before--BorderWidth: var(--pf-c-sidebar--BorderWidth--base);
34
+ --pf-c-sidebar__main--m-border--before--BorderColor: var(--pf-c-sidebar--BorderColor--base);
35
+ --pf-c-sidebar--m-panel-right__panel--Order: -1;
12
36
  --pf-c-sidebar--m-panel-right__panel--md--Order: 1;
37
+ --pf-c-sidebar--m-panel-right__content--md--Order: -1;
13
38
  --pf-c-sidebar--m-stack__main--FlexDirection: column;
14
39
  --pf-c-sidebar--m-stack__main--AlignItems: stretch;
15
40
  --pf-c-sidebar--m-stack__panel--Position: sticky;
16
41
  --pf-c-sidebar--m-stack__panel--Top: 0;
17
42
  --pf-c-sidebar--m-stack__panel--BoxShadow: var(--pf-c-sidebar__panel--BoxShadow--base);
18
- --pf-c-sidebar--m-stack--m-panel-right__panel--Order: 0;
43
+ --pf-c-sidebar--m-stack--m-panel-right__panel--Order: -1;
19
44
  --pf-c-sidebar--m-split__main--AlignItems: start;
20
45
  --pf-c-sidebar--m-split__main--FlexDirection: row;
21
46
  --pf-c-sidebar--m-split__panel--Position: static;
22
47
  --pf-c-sidebar--m-split__panel--Top: auto;
23
48
  --pf-c-sidebar--m-split--m-panel-right__panel--Order: 1;
49
+ --pf-c-sidebar--m-split__main--m-border--before--Display: block;
24
50
  --pf-c-sidebar__panel--FlexBasis--base: auto;
25
51
  --pf-c-sidebar__panel--BoxShadow--base: 0 0.25rem 0.25rem -0.25rem rgba(3, 3, 3, 0.16);
26
52
  --pf-c-sidebar__panel--BoxShadow: var(--pf-c-sidebar__panel--BoxShadow--base);
@@ -34,7 +60,6 @@
34
60
  --pf-c-sidebar__panel--m-split--FlexBasis: 15.625rem;
35
61
  --pf-c-sidebar__panel--m-stack--FlexBasis: auto;
36
62
  --pf-c-sidebar__panel--ZIndex: var(--pf-global--ZIndex--xs);
37
- --pf-c-sidebar__panel--Order: 0;
38
63
  --pf-c-sidebar__panel--BackgroundColor: var(--pf-global--BackgroundColor--100);
39
64
  --pf-c-sidebar__content--BackgroundColor: var(--pf-global--BackgroundColor--100);
40
65
  --pf-c-sidebar__panel--m-sticky--Top: 0;
@@ -44,60 +69,50 @@
44
69
  @media (min-width: 768px) {
45
70
  .pf-c-sidebar {
46
71
  --pf-c-sidebar__main--FlexDirection: var(--pf-c-sidebar__main--md--FlexDirection);
72
+ --pf-c-sidebar__main--AlignItems: var(--pf-c-sidebar__main--md--AlignItems);
73
+ --pf-c-sidebar__main--m-border--before--Display: var(--pf-c-sidebar__main--m-border--before--md--Display);
47
74
  --pf-c-sidebar__panel--BoxShadow: none;
48
75
  --pf-c-sidebar__panel--FlexBasis: var(--pf-c-sidebar__panel--md--FlexBasis);
49
- --pf-c-sidebar__main--AlignItems: var(--pf-c-sidebar__main--md--AlignItems);
50
76
  --pf-c-sidebar__panel--Top: var(--pf-c-sidebar__panel--md--Top);
51
77
  --pf-c-sidebar__panel--Position: var(--pf-c-sidebar__panel--md--Position);
52
78
  }
53
79
  }
54
80
  @media (min-width: 1200px) {
55
81
  .pf-c-sidebar {
56
- --pf-c-sidebar--m-gutter__main--Gap: var(--pf-c-sidebar--m-gutter__main--xl--Gap);
82
+ --pf-c-sidebar--inset: var(--pf-c-sidebar--xl--inset);
57
83
  }
58
84
  }
59
- .pf-c-sidebar.pf-m-gutter {
60
- --pf-c-sidebar__main--child--MarginTop: var(--pf-c-sidebar--m-gutter__main--Gap);
61
- --pf-c-sidebar__main--child--MarginLeft: 0;
62
- }
63
- .pf-c-sidebar.pf-m-gutter > .pf-c-sidebar__main > * + * {
64
- margin-top: var(--pf-c-sidebar__main--child--MarginTop);
65
- margin-left: var(--pf-c-sidebar__main--child--MarginLeft);
66
- }
67
- @media (min-width: 768px) {
68
- .pf-c-sidebar.pf-m-gutter {
69
- --pf-c-sidebar__main--child--MarginTop: 0;
70
- --pf-c-sidebar__main--child--MarginLeft: var(--pf-c-sidebar--m-gutter__main--Gap);
71
- }
85
+ .pf-c-sidebar.pf-m-gutter > .pf-c-sidebar__main {
86
+ gap: var(--pf-c-sidebar--m-gutter__main--Gap);
72
87
  }
73
88
  .pf-c-sidebar.pf-m-panel-right {
74
89
  --pf-c-sidebar__panel--Order: var(--pf-c-sidebar--m-panel-right__panel--Order);
90
+ --pf-c-sidebar__content--Order: var(--pf-c-sidebar--m-panel-right__content--Order);
75
91
  }
76
92
  @media (min-width: 768px) {
77
93
  .pf-c-sidebar.pf-m-panel-right {
78
94
  --pf-c-sidebar--m-panel-right__panel--Order: var(--pf-c-sidebar--m-panel-right__panel--md--Order);
95
+ --pf-c-sidebar--m-panel-right__content--Order: var(--pf-c-sidebar--m-panel-right__content--md--Order);
79
96
  }
80
97
  }
81
98
  .pf-c-sidebar.pf-m-stack {
82
99
  --pf-c-sidebar__main--FlexDirection: var(--pf-c-sidebar--m-stack__main--FlexDirection);
83
100
  --pf-c-sidebar__main--AlignItems: var(--pf-c-sidebar--m-stack__main--AlignItems);
84
- --pf-c-sidebar__main--child--MarginTop: var(--pf-c-sidebar--m-gutter__main--Gap);
85
- --pf-c-sidebar__main--child--MarginLeft: 0;
86
101
  --pf-c-sidebar__panel--Position: var(--pf-c-sidebar--m-stack__panel--Position);
87
102
  --pf-c-sidebar__panel--Top: var(--pf-c-sidebar--m-stack__panel--Top);
88
103
  --pf-c-sidebar__panel--BoxShadow: var(--pf-c-sidebar--m-stack__panel--BoxShadow);
89
104
  --pf-c-sidebar__panel--FlexBasis: var(--pf-c-sidebar__panel--m-stack--FlexBasis);
105
+ --pf-c-sidebar__main--m-border--before--Display: none;
90
106
  --pf-c-sidebar--m-panel-right__panel--Order: var(--pf-c-sidebar--m-stack--m-panel-right__panel--Order);
91
107
  }
92
108
  .pf-c-sidebar.pf-m-split {
93
109
  --pf-c-sidebar__main--FlexDirection: var(--pf-c-sidebar--m-split__main--FlexDirection);
94
110
  --pf-c-sidebar__main--AlignItems: var(--pf-c-sidebar--m-split__main--AlignItems);
95
- --pf-c-sidebar__main--child--MarginTop: 0;
96
- --pf-c-sidebar__main--child--MarginLeft: var(--pf-c-sidebar--m-gutter__main--Gap);
97
111
  --pf-c-sidebar__panel--Position: var(--pf-c-sidebar--m-split__panel--Position);
98
112
  --pf-c-sidebar__panel--Top: var(--pf-c-sidebar--m-split__panel--Top);
99
113
  --pf-c-sidebar__panel--BoxShadow: none;
100
114
  --pf-c-sidebar__panel--FlexBasis: var(--pf-c-sidebar__panel--m-split--FlexBasis);
115
+ --pf-c-sidebar__main--m-border--before--Display: var(--pf-c-sidebar--m-split__main--m-border--before--Display);
101
116
  --pf-c-sidebar--m-panel-right__panel--Order: var(--pf-c-sidebar--m-split--m-panel-right__panel--Order);
102
117
  }
103
118
 
@@ -106,17 +121,31 @@
106
121
  flex-direction: var(--pf-c-sidebar__main--FlexDirection);
107
122
  align-items: var(--pf-c-sidebar__main--AlignItems);
108
123
  }
124
+ .pf-c-sidebar__main.pf-m-border::before {
125
+ display: var(--pf-c-sidebar__main--m-border--before--Display);
126
+ flex: 0 0 var(--pf-c-sidebar__main--m-border--before--BorderWidth);
127
+ align-self: stretch;
128
+ content: "";
129
+ background-color: var(--pf-c-sidebar__main--m-border--before--BorderColor);
130
+ }
109
131
 
110
132
  .pf-c-sidebar__panel {
111
133
  position: var(--pf-c-sidebar__panel--Position);
112
134
  top: var(--pf-c-sidebar__panel--Top);
113
135
  z-index: var(--pf-c-sidebar__panel--ZIndex);
114
- flex-shrink: 0;
115
136
  flex-basis: var(--pf-c-sidebar__panel--FlexBasis);
137
+ flex-shrink: 0;
116
138
  order: var(--pf-c-sidebar__panel--Order);
139
+ padding: var(--pf-c-sidebar__panel--PaddingTop) var(--pf-c-sidebar__panel--PaddingRight) var(--pf-c-sidebar__panel--PaddingBottom) var(--pf-c-sidebar__panel--PaddingLeft);
117
140
  background-color: var(--pf-c-sidebar__panel--BackgroundColor);
118
141
  box-shadow: var(--pf-c-sidebar__panel--BoxShadow);
119
142
  }
143
+ .pf-c-sidebar__panel.pf-m-padding {
144
+ --pf-c-sidebar__panel--PaddingTop: var(--pf-c-sidebar__panel--m-padding--PaddingTop);
145
+ --pf-c-sidebar__panel--PaddingRight: var(--pf-c-sidebar__panel--m-padding--PaddingRight);
146
+ --pf-c-sidebar__panel--PaddingBottom: var(--pf-c-sidebar__panel--m-padding--PaddingBottom);
147
+ --pf-c-sidebar__panel--PaddingLeft: var(--pf-c-sidebar__panel--m-padding--PaddingLeft);
148
+ }
120
149
  .pf-c-sidebar__panel.pf-m-sticky {
121
150
  --pf-c-sidebar__panel--Position: var(--pf-c-sidebar__panel--m-sticky--Position);
122
151
  --pf-c-sidebar__panel--Top: var(--pf-c-sidebar__panel--m-sticky--Top);
@@ -128,11 +157,25 @@
128
157
 
129
158
  .pf-c-sidebar__content {
130
159
  flex-grow: 1;
160
+ order: var(--pf-c-sidebar__content--Order);
161
+ padding: var(--pf-c-sidebar__content--PaddingTop) var(--pf-c-sidebar__content--PaddingRight) var(--pf-c-sidebar__content--PaddingBottom) var(--pf-c-sidebar__content--PaddingLeft);
131
162
  background-color: var(--pf-c-sidebar__content--BackgroundColor);
132
163
  }
164
+ .pf-c-sidebar__content.pf-m-padding {
165
+ --pf-c-sidebar__content--PaddingTop: var(--pf-c-sidebar__content--m-padding--PaddingTop);
166
+ --pf-c-sidebar__content--PaddingRight: var(--pf-c-sidebar__content--m-padding--PaddingRight);
167
+ --pf-c-sidebar__content--PaddingBottom: var(--pf-c-sidebar__content--m-padding--PaddingBottom);
168
+ --pf-c-sidebar__content--PaddingLeft: var(--pf-c-sidebar__content--m-padding--PaddingTop);
169
+ }
133
170
  .pf-c-sidebar__content.pf-m-no-background {
134
171
  --pf-c-sidebar__content--BackgroundColor: transparent;
135
172
  }
173
+ .pf-c-sidebar__content + .pf-c-sidebar__panel {
174
+ --pf-c-sidebar__panel--Order: 1;
175
+ }
176
+ :where(.pf-c-sidebar__content:first-child) {
177
+ --pf-c-sidebar__content--Order: -1;
178
+ }
136
179
 
137
180
  .pf-c-sidebar.pf-m-no-background,
138
181
  .pf-c-sidebar__panel.pf-m-no-background,
@@ -1,9 +1,38 @@
1
1
  $pf-c-sidebar--breakpoint-map--width: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
2
2
  $pf-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
3
3
 
4
-
5
4
  .pf-c-sidebar {
5
+ --pf-c-sidebar--inset: var(--pf-global--spacer--md);
6
+ --pf-c-sidebar--xl--inset: var(--pf-global--spacer--lg);
6
7
  --pf-c-sidebar--BackgroundColor: var(--pf-global--BackgroundColor--100);
8
+ --pf-c-sidebar--BorderWidth--base: var(--pf-global--BorderWidth--sm);
9
+ --pf-c-sidebar--BorderColor--base: var(--pf-global--BorderColor--100);
10
+
11
+ // Panel
12
+ --pf-c-sidebar__panel--PaddingTop: 0;
13
+ --pf-c-sidebar__panel--PaddingRight: 0;
14
+ --pf-c-sidebar__panel--PaddingBottom: 0;
15
+ --pf-c-sidebar__panel--PaddingLeft: 0;
16
+ --pf-c-sidebar__panel--Order: -1;
17
+
18
+ // Panel padding
19
+ --pf-c-sidebar__panel--m-padding--PaddingTop: var(--pf-c-sidebar--inset);
20
+ --pf-c-sidebar__panel--m-padding--PaddingRight: var(--pf-c-sidebar--inset);
21
+ --pf-c-sidebar__panel--m-padding--PaddingBottom: var(--pf-c-sidebar--inset);
22
+ --pf-c-sidebar__panel--m-padding--PaddingLeft: var(--pf-c-sidebar--inset);
23
+
24
+ // Content
25
+ --pf-c-sidebar__content--PaddingTop: 0;
26
+ --pf-c-sidebar__content--PaddingRight: 0;
27
+ --pf-c-sidebar__content--PaddingBottom: 0;
28
+ --pf-c-sidebar__content--PaddingLeft: 0;
29
+ --pf-c-sidebar__content--Order: 1;
30
+
31
+ // Content padding
32
+ --pf-c-sidebar__content--m-padding--PaddingTop: var(--pf-c-sidebar--inset);
33
+ --pf-c-sidebar__content--m-padding--PaddingRight: var(--pf-c-sidebar--inset);
34
+ --pf-c-sidebar__content--m-padding--PaddingBottom: var(--pf-c-sidebar--inset);
35
+ --pf-c-sidebar__content--m-padding--PaddingLeft: var(--pf-c-sidebar--inset);
7
36
 
8
37
  // Main
9
38
  --pf-c-sidebar__main--FlexDirection: column;
@@ -11,15 +40,20 @@ $pf-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
11
40
  --pf-c-sidebar__main--AlignItems: stretch;
12
41
  --pf-c-sidebar__main--md--AlignItems: start;
13
42
  --pf-c-sidebar__main--child--MarginTop: 0;
14
- --pf-c-sidebar__main--child--MarginLeft: 0;
15
43
 
16
44
  // Gutter
17
- --pf-c-sidebar--m-gutter__main--Gap: var(--pf-global--spacer--md);
18
- --pf-c-sidebar--m-gutter__main--xl--Gap: var(--pf-global--spacer--lg);
45
+ --pf-c-sidebar--m-gutter__main--Gap: var(--pf-c-sidebar--inset);
46
+
47
+ // Border
48
+ --pf-c-sidebar__main--m-border--before--Display: none;
49
+ --pf-c-sidebar__main--m-border--before--md--Display: block;
50
+ --pf-c-sidebar__main--m-border--before--BorderWidth: var(--pf-c-sidebar--BorderWidth--base);
51
+ --pf-c-sidebar__main--m-border--before--BorderColor: var(--pf-c-sidebar--BorderColor--base);
19
52
 
20
53
  // Panel right
21
- --pf-c-sidebar--m-panel-right__panel--Order: 0;
54
+ --pf-c-sidebar--m-panel-right__panel--Order: -1;
22
55
  --pf-c-sidebar--m-panel-right__panel--md--Order: 1;
56
+ --pf-c-sidebar--m-panel-right__content--md--Order: -1;
23
57
 
24
58
  // Stack
25
59
  --pf-c-sidebar--m-stack__main--FlexDirection: column;
@@ -27,7 +61,7 @@ $pf-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
27
61
  --pf-c-sidebar--m-stack__panel--Position: sticky;
28
62
  --pf-c-sidebar--m-stack__panel--Top: 0;
29
63
  --pf-c-sidebar--m-stack__panel--BoxShadow: var(--pf-c-sidebar__panel--BoxShadow--base);
30
- --pf-c-sidebar--m-stack--m-panel-right__panel--Order: 0;
64
+ --pf-c-sidebar--m-stack--m-panel-right__panel--Order: -1;
31
65
 
32
66
  // Split
33
67
  --pf-c-sidebar--m-split__main--AlignItems: start;
@@ -35,6 +69,7 @@ $pf-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
35
69
  --pf-c-sidebar--m-split__panel--Position: static;
36
70
  --pf-c-sidebar--m-split__panel--Top: auto;
37
71
  --pf-c-sidebar--m-split--m-panel-right__panel--Order: 1;
72
+ --pf-c-sidebar--m-split__main--m-border--before--Display: block;
38
73
 
39
74
  // Panel
40
75
  --pf-c-sidebar__panel--FlexBasis--base: auto;
@@ -50,7 +85,6 @@ $pf-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
50
85
  --pf-c-sidebar__panel--m-split--FlexBasis: #{pf-size-prem(250px)};
51
86
  --pf-c-sidebar__panel--m-stack--FlexBasis: auto;
52
87
  --pf-c-sidebar__panel--ZIndex: var(--pf-global--ZIndex--xs);
53
- --pf-c-sidebar__panel--Order: 0;
54
88
  --pf-c-sidebar__panel--BackgroundColor: var(--pf-global--BackgroundColor--100);
55
89
 
56
90
  // Content
@@ -62,61 +96,51 @@ $pf-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
62
96
 
63
97
  @media (min-width: $pf-global--breakpoint--md) {
64
98
  --pf-c-sidebar__main--FlexDirection: var(--pf-c-sidebar__main--md--FlexDirection);
99
+ --pf-c-sidebar__main--AlignItems: var(--pf-c-sidebar__main--md--AlignItems);
100
+ --pf-c-sidebar__main--m-border--before--Display: var(--pf-c-sidebar__main--m-border--before--md--Display); // show border starting at md breakpoint
65
101
  --pf-c-sidebar__panel--BoxShadow: none;
66
102
  --pf-c-sidebar__panel--FlexBasis: var(--pf-c-sidebar__panel--md--FlexBasis);
67
- --pf-c-sidebar__main--AlignItems: var(--pf-c-sidebar__main--md--AlignItems);
68
103
  --pf-c-sidebar__panel--Top: var(--pf-c-sidebar__panel--md--Top);
69
104
  --pf-c-sidebar__panel--Position: var(--pf-c-sidebar__panel--md--Position);
70
105
  }
71
106
 
72
107
  @media (min-width: $pf-global--breakpoint--xl) {
73
- --pf-c-sidebar--m-gutter__main--Gap: var(--pf-c-sidebar--m-gutter__main--xl--Gap);
108
+ --pf-c-sidebar--inset: var(--pf-c-sidebar--xl--inset);
74
109
  }
75
110
 
76
- &.pf-m-gutter {
77
- --pf-c-sidebar__main--child--MarginTop: var(--pf-c-sidebar--m-gutter__main--Gap);
78
- --pf-c-sidebar__main--child--MarginLeft: 0;
79
-
80
- > .pf-c-sidebar__main > * + * {
81
- margin-top: var(--pf-c-sidebar__main--child--MarginTop);
82
- margin-left: var(--pf-c-sidebar__main--child--MarginLeft);
83
- }
84
-
85
- @media (min-width: $pf-global--breakpoint--md) {
86
- --pf-c-sidebar__main--child--MarginTop: 0;
87
- --pf-c-sidebar__main--child--MarginLeft: var(--pf-c-sidebar--m-gutter__main--Gap);
88
- }
111
+ &.pf-m-gutter > .pf-c-sidebar__main {
112
+ gap: var(--pf-c-sidebar--m-gutter__main--Gap);
89
113
  }
90
114
 
91
115
  &.pf-m-panel-right {
92
116
  --pf-c-sidebar__panel--Order: var(--pf-c-sidebar--m-panel-right__panel--Order);
117
+ --pf-c-sidebar__content--Order: var(--pf-c-sidebar--m-panel-right__content--Order);
93
118
 
94
119
  @media (min-width: $pf-global--breakpoint--md) {
95
120
  --pf-c-sidebar--m-panel-right__panel--Order: var(--pf-c-sidebar--m-panel-right__panel--md--Order);
121
+ --pf-c-sidebar--m-panel-right__content--Order: var(--pf-c-sidebar--m-panel-right__content--md--Order);
96
122
  }
97
123
  }
98
124
 
99
125
  &.pf-m-stack {
100
126
  --pf-c-sidebar__main--FlexDirection: var(--pf-c-sidebar--m-stack__main--FlexDirection);
101
127
  --pf-c-sidebar__main--AlignItems: var(--pf-c-sidebar--m-stack__main--AlignItems);
102
- --pf-c-sidebar__main--child--MarginTop: var(--pf-c-sidebar--m-gutter__main--Gap);
103
- --pf-c-sidebar__main--child--MarginLeft: 0;
104
128
  --pf-c-sidebar__panel--Position: var(--pf-c-sidebar--m-stack__panel--Position);
105
129
  --pf-c-sidebar__panel--Top: var(--pf-c-sidebar--m-stack__panel--Top);
106
130
  --pf-c-sidebar__panel--BoxShadow: var(--pf-c-sidebar--m-stack__panel--BoxShadow);
107
131
  --pf-c-sidebar__panel--FlexBasis: var(--pf-c-sidebar__panel--m-stack--FlexBasis);
132
+ --pf-c-sidebar__main--m-border--before--Display: none;
108
133
  --pf-c-sidebar--m-panel-right__panel--Order: var(--pf-c-sidebar--m-stack--m-panel-right__panel--Order);
109
134
  }
110
135
 
111
136
  &.pf-m-split {
112
137
  --pf-c-sidebar__main--FlexDirection: var(--pf-c-sidebar--m-split__main--FlexDirection);
113
138
  --pf-c-sidebar__main--AlignItems: var(--pf-c-sidebar--m-split__main--AlignItems);
114
- --pf-c-sidebar__main--child--MarginTop: 0;
115
- --pf-c-sidebar__main--child--MarginLeft: var(--pf-c-sidebar--m-gutter__main--Gap);
116
139
  --pf-c-sidebar__panel--Position: var(--pf-c-sidebar--m-split__panel--Position);
117
140
  --pf-c-sidebar__panel--Top: var(--pf-c-sidebar--m-split__panel--Top);
118
141
  --pf-c-sidebar__panel--BoxShadow: none;
119
142
  --pf-c-sidebar__panel--FlexBasis: var(--pf-c-sidebar__panel--m-split--FlexBasis);
143
+ --pf-c-sidebar__main--m-border--before--Display: var(--pf-c-sidebar--m-split__main--m-border--before--Display);
120
144
  --pf-c-sidebar--m-panel-right__panel--Order: var(--pf-c-sidebar--m-split--m-panel-right__panel--Order);
121
145
  }
122
146
 
@@ -127,18 +151,34 @@ $pf-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
127
151
  display: flex;
128
152
  flex-direction: var(--pf-c-sidebar__main--FlexDirection);
129
153
  align-items: var(--pf-c-sidebar__main--AlignItems);
154
+
155
+ &.pf-m-border::before {
156
+ display: var(--pf-c-sidebar__main--m-border--before--Display);
157
+ flex: 0 0 var(--pf-c-sidebar__main--m-border--before--BorderWidth);
158
+ align-self: stretch;
159
+ content: "";
160
+ background-color: var(--pf-c-sidebar__main--m-border--before--BorderColor);
161
+ }
130
162
  }
131
163
 
132
164
  .pf-c-sidebar__panel {
133
165
  position: var(--pf-c-sidebar__panel--Position);
134
166
  top: var(--pf-c-sidebar__panel--Top);
135
167
  z-index: var(--pf-c-sidebar__panel--ZIndex);
136
- flex-shrink: 0;
137
168
  flex-basis: var(--pf-c-sidebar__panel--FlexBasis);
169
+ flex-shrink: 0;
138
170
  order: var(--pf-c-sidebar__panel--Order);
171
+ padding: var(--pf-c-sidebar__panel--PaddingTop) var(--pf-c-sidebar__panel--PaddingRight) var(--pf-c-sidebar__panel--PaddingBottom) var(--pf-c-sidebar__panel--PaddingLeft);
139
172
  background-color: var(--pf-c-sidebar__panel--BackgroundColor);
140
173
  box-shadow: var(--pf-c-sidebar__panel--BoxShadow);
141
174
 
175
+ &.pf-m-padding {
176
+ --pf-c-sidebar__panel--PaddingTop: var(--pf-c-sidebar__panel--m-padding--PaddingTop);
177
+ --pf-c-sidebar__panel--PaddingRight: var(--pf-c-sidebar__panel--m-padding--PaddingRight);
178
+ --pf-c-sidebar__panel--PaddingBottom: var(--pf-c-sidebar__panel--m-padding--PaddingBottom);
179
+ --pf-c-sidebar__panel--PaddingLeft: var(--pf-c-sidebar__panel--m-padding--PaddingLeft);
180
+ }
181
+
142
182
  &.pf-m-sticky {
143
183
  --pf-c-sidebar__panel--Position: var(--pf-c-sidebar__panel--m-sticky--Position);
144
184
  --pf-c-sidebar__panel--Top: var(--pf-c-sidebar__panel--m-sticky--Top);
@@ -152,11 +192,28 @@ $pf-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
152
192
 
153
193
  .pf-c-sidebar__content {
154
194
  flex-grow: 1;
195
+ order: var(--pf-c-sidebar__content--Order);
196
+ padding: var(--pf-c-sidebar__content--PaddingTop) var(--pf-c-sidebar__content--PaddingRight) var(--pf-c-sidebar__content--PaddingBottom) var(--pf-c-sidebar__content--PaddingLeft);
155
197
  background-color: var(--pf-c-sidebar__content--BackgroundColor);
156
198
 
199
+ &.pf-m-padding {
200
+ --pf-c-sidebar__content--PaddingTop: var(--pf-c-sidebar__content--m-padding--PaddingTop);
201
+ --pf-c-sidebar__content--PaddingRight: var(--pf-c-sidebar__content--m-padding--PaddingRight);
202
+ --pf-c-sidebar__content--PaddingBottom: var(--pf-c-sidebar__content--m-padding--PaddingBottom);
203
+ --pf-c-sidebar__content--PaddingLeft: var(--pf-c-sidebar__content--m-padding--PaddingTop);
204
+ }
205
+
157
206
  &.pf-m-no-background {
158
207
  --pf-c-sidebar__content--BackgroundColor: transparent;
159
208
  }
209
+
210
+ & + .pf-c-sidebar__panel {
211
+ --pf-c-sidebar__panel--Order: 1;
212
+ }
213
+
214
+ :where(&:first-child) {
215
+ --pf-c-sidebar__content--Order: -1;
216
+ }
160
217
  }
161
218
 
162
219
  .pf-c-sidebar,
@@ -40,9 +40,9 @@
40
40
  border: none;
41
41
  }
42
42
  .pf-c-simple-list__item-link:hover {
43
- text-decoration: none;
44
43
  --pf-c-simple-list__item-link--BackgroundColor: var(--pf-c-simple-list__item-link--hover--BackgroundColor);
45
44
  --pf-c-simple-list__item-link--Color: var(--pf-c-simple-list__item-link--hover--Color);
45
+ text-decoration: none;
46
46
  }
47
47
  .pf-c-simple-list__item-link:focus {
48
48
  --pf-c-simple-list__item-link--FontWeight: var(--pf-c-simple-list__item-link--focus--FontWeight);