@patternfly/patternfly 5.0.0-alpha.36 → 5.0.0-alpha.38

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 (29) hide show
  1. package/assets/images/pfbg-icon.svg +1 -0
  2. package/components/AboutModalBox/about-modal-box.css +15 -7
  3. package/components/AboutModalBox/about-modal-box.scss +17 -9
  4. package/components/BackgroundImage/background-image.css +8 -35
  5. package/components/BackgroundImage/background-image.scss +17 -43
  6. package/components/DataList/data-list.css +34 -29
  7. package/components/DataList/data-list.scss +32 -24
  8. package/components/Login/login.css +9 -9
  9. package/components/Login/login.scss +6 -8
  10. package/components/Login/themes/dark/login.scss +4 -0
  11. package/components/Page/page.css +30 -9
  12. package/components/Page/page.scss +37 -9
  13. package/components/Table/table.css +60 -63
  14. package/components/Table/table.scss +56 -60
  15. package/docs/components/AboutModalBox/examples/AboutModalBox.md +8 -2
  16. package/docs/components/BackgroundImage/examples/BackgroundImage.md +10 -26
  17. package/docs/components/DataList/examples/DataList.md +52 -54
  18. package/docs/components/Login/examples/Login.md +5 -120
  19. package/docs/components/Page/examples/Page.css +7 -1
  20. package/docs/components/Page/examples/Page.md +31 -4
  21. package/docs/components/Table/examples/Table.md +136 -2125
  22. package/docs/demos/AboutModal/examples/AboutModal.md +0 -1
  23. package/docs/demos/Page/examples/Page.md +931 -0
  24. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +10 -20
  25. package/package.json +3 -3
  26. package/patternfly-no-globals.css +156 -152
  27. package/patternfly.css +156 -152
  28. package/patternfly.min.css +1 -1
  29. package/patternfly.min.css.map +1 -1
@@ -7,30 +7,7 @@ cssPrefix: pf-c-background-image
7
7
  ### Basic
8
8
 
9
9
  ```html isFullscreen
10
- <div class="pf-c-background-image">
11
- <svg
12
- xmlns="http://www.w3.org/2000/svg"
13
- class="pf-c-background-image__filter"
14
- width="0"
15
- height="0"
16
- >
17
- <filter id="image_overlay">
18
- <feColorMatrix
19
- type="matrix"
20
- values="1 0 0 0 0
21
- 1 0 0 0 0
22
- 1 0 0 0 0
23
- 0 0 0 1 0"
24
- />
25
- <feComponentTransfer color-interpolation-filters="sRGB" result="duotone">
26
- <feFuncR type="table" tableValues="0.086274509803922 0.43921568627451" />
27
- <feFuncG type="table" tableValues="0.086274509803922 0.43921568627451" />
28
- <feFuncB type="table" tableValues="0.086274509803922 0.43921568627451" />
29
- <feFuncA type="table" tableValues="0 1" />
30
- </feComponentTransfer>
31
- </filter>
32
- </svg>
33
- </div>
10
+ <div class="pf-c-background-image"></div>
34
11
 
35
12
  ```
36
13
 
@@ -38,11 +15,18 @@ cssPrefix: pf-c-background-image
38
15
 
39
16
  ### Overview
40
17
 
41
- This component puts an image on the background with an svg filter applied to it. The svg must be inline on the page for the filter to work in all browsers.
18
+ This component puts an image on the background.
19
+
20
+ ### Customizing the background image
21
+
22
+ In order to use a custom image, pass a new value to the `--pf-c-background-image--BackgroundImage` CSS variable. For example:
23
+
24
+ ```css
25
+ --pf-c-background-image--BackgroundImage: url("custom/image/path");
26
+ ```
42
27
 
43
28
  ### Usage
44
29
 
45
30
  | Class | Applied to | Outcome |
46
31
  | -- | -- | -- |
47
32
  | `.pf-c-background-image` | `*` | A fixed background image is applied to the background of the page. |
48
- | `.pf-c-background-image__filter` | `*` | The inline svg that provides the filter for the background image. |
@@ -1949,54 +1949,52 @@ When a list item includes more than one block of content, it can be difficult fo
1949
1949
  | -- | -- | -- |
1950
1950
  | `.pf-m-flex-{1, 2, 3, 4, 5}` | `.pf-c-data-list__cell` | Percentage based modifier for `.pf-c-data-list__cell` widths. |
1951
1951
 
1952
- ### Selectable rows
1952
+ ### Clickable rows
1953
1953
 
1954
1954
  ```html
1955
1955
  <ul
1956
1956
  class="pf-c-data-list"
1957
1957
  role="list"
1958
- aria-label="Selectable rows data list example"
1959
- id="data-list-selectable-rows"
1958
+ aria-label="Clickable rows data list example"
1959
+ id="data-list-clickable-rows"
1960
1960
  >
1961
1961
  <li
1962
- class="pf-c-data-list__item pf-m-expanded pf-m-selectable pf-m-selected"
1963
- aria-labelledby="data-list-selectable-rows-item-1"
1962
+ class="pf-c-data-list__item pf-m-clickable pf-m-selected"
1963
+ aria-labelledby="data-list-clickable-rows-item-1"
1964
1964
  tabindex="0"
1965
1965
  >
1966
1966
  <div class="pf-c-data-list__item-row">
1967
1967
  <div class="pf-c-data-list__item-content">
1968
1968
  <div class="pf-c-data-list__cell">
1969
- <span id="data-list-selectable-rows-item-1">Primary content</span>
1969
+ <span id="data-list-clickable-rows-item-1">Primary content (clicked)</span>
1970
1970
  </div>
1971
1971
  </div>
1972
1972
  </div>
1973
1973
  </li>
1974
1974
 
1975
1975
  <li
1976
- class="pf-c-data-list__item pf-m-expanded pf-m-selectable pf-m-selected"
1977
- aria-labelledby="data-list-selectable-rows-item-2"
1976
+ class="pf-c-data-list__item pf-m-clickable"
1977
+ aria-labelledby="data-list-clickable-rows-item-2"
1978
1978
  tabindex="0"
1979
1979
  >
1980
1980
  <div class="pf-c-data-list__item-row">
1981
1981
  <div class="pf-c-data-list__item-content">
1982
1982
  <div class="pf-c-data-list__cell">
1983
- <span
1984
- id="data-list-selectable-rows-item-2"
1985
- >Secondary content (selected)</span>
1983
+ <span id="data-list-clickable-rows-item-2">Secondary content</span>
1986
1984
  </div>
1987
1985
  </div>
1988
1986
  </div>
1989
1987
  </li>
1990
1988
 
1991
1989
  <li
1992
- class="pf-c-data-list__item pf-m-selectable"
1993
- aria-labelledby="data-list-selectable-rows-item-3"
1990
+ class="pf-c-data-list__item pf-m-clickable"
1991
+ aria-labelledby="data-list-clickable-rows-item-3"
1994
1992
  tabindex="0"
1995
1993
  >
1996
1994
  <div class="pf-c-data-list__item-row">
1997
1995
  <div class="pf-c-data-list__item-content">
1998
1996
  <div class="pf-c-data-list__cell">
1999
- <span id="data-list-selectable-rows-item-3">Tertiary content</span>
1997
+ <span id="data-list-clickable-rows-item-3">Tertiary content</span>
2000
1998
  </div>
2001
1999
  </div>
2002
2000
  </div>
@@ -2009,27 +2007,27 @@ When a list item includes more than one block of content, it can be difficult fo
2009
2007
 
2010
2008
  | Attribute | Applied to | Outcome |
2011
2009
  | -- | -- | -- |
2012
- | `tabindex="0"` | `.pf-c-data-list__item.pf-m-selectable` | Inserts the selectable row into the tab order of the page so that it is focusable. **Required** |
2010
+ | `tabindex="0"` | `.pf-c-data-list__item.pf-m-clickable` | Inserts the clickable row into the tab order of the page so that it is focusable. **Required** |
2013
2011
 
2014
2012
  ### Usage
2015
2013
 
2016
2014
  | Class | Applied to | Outcome |
2017
2015
  | -- | -- | -- |
2018
- | `.pf-m-selectable` | `.pf-c-data-list__item` | Modifies a data list item so that it is selectable. |
2016
+ | `.pf-m-clickable` | `.pf-c-data-list__item` | Modifies a data list item so that it is clickable. |
2019
2017
  | `.pf-m-selected` | `.pf-c-data-list__item` | Modifies a data list item for the selected state. |
2020
2018
 
2021
- ### Selectable expandable rows
2019
+ ### Clickable expandable rows
2022
2020
 
2023
2021
  ```html
2024
2022
  <ul
2025
2023
  class="pf-c-data-list"
2026
2024
  role="list"
2027
- aria-label="Selectable, expandable data list example"
2028
- id="data-list-selectable-expandable-rows"
2025
+ aria-label="Clickable, expandable data list example"
2026
+ id="data-list-clickable-expandable-rows"
2029
2027
  >
2030
2028
  <li
2031
- class="pf-c-data-list__item pf-m-expanded pf-m-selectable"
2032
- aria-labelledby="data-list-selectable-expandable-rows-item-1"
2029
+ class="pf-c-data-list__item pf-m-expanded pf-m-clickable pf-m-selected"
2030
+ aria-labelledby="data-list-clickable-expandable-rows-item-1"
2033
2031
  tabindex="0"
2034
2032
  >
2035
2033
  <div class="pf-c-data-list__item-row">
@@ -2038,11 +2036,11 @@ When a list item includes more than one block of content, it can be difficult fo
2038
2036
  <button
2039
2037
  class="pf-c-button pf-m-plain"
2040
2038
  type="button"
2041
- aria-labelledby="data-list-selectable-expandable-rows-toggle1 data-list-selectable-expandable-rows-item1"
2042
- id="data-list-selectable-expandable-rows-toggle1"
2039
+ aria-labelledby="data-list-clickable-expandable-rows-toggle1 data-list-clickable-expandable-rows-item1"
2040
+ id="data-list-clickable-expandable-rows-toggle1"
2043
2041
  aria-label="Toggle details for"
2044
2042
  aria-expanded="true"
2045
- aria-controls="data-list-selectable-expandable-rows-content1"
2043
+ aria-controls="data-list-clickable-expandable-rows-content1"
2046
2044
  >
2047
2045
  <div class="pf-c-data-list__toggle-icon">
2048
2046
  <i class="fas fa-angle-right" aria-hidden="true"></i>
@@ -2053,15 +2051,15 @@ When a list item includes more than one block of content, it can be difficult fo
2053
2051
  <div class="pf-c-data-list__item-content">
2054
2052
  <div class="pf-c-data-list__cell">
2055
2053
  <span
2056
- id="data-list-selectable-expandable-rows-item-1"
2057
- >Primary content (selected, expanded)</span>
2054
+ id="data-list-clickable-expandable-rows-item-1"
2055
+ >Primary content (clicked and expanded)</span>
2058
2056
  </div>
2059
2057
  </div>
2060
2058
  </div>
2061
2059
  <section
2062
2060
  class="pf-c-data-list__expandable-content"
2063
- id="data-list-selectable-expandable-rows-content1"
2064
- aria-label="Selectable expandable row primary content details"
2061
+ id="data-list-clickable-expandable-rows-content1"
2062
+ aria-label="Clickable expandable row primary content details"
2065
2063
  >
2066
2064
  <div
2067
2065
  class="pf-c-data-list__expandable-content-body"
@@ -2070,8 +2068,8 @@ When a list item includes more than one block of content, it can be difficult fo
2070
2068
  </li>
2071
2069
 
2072
2070
  <li
2073
- class="pf-c-data-list__item pf-m-selectable"
2074
- aria-labelledby="data-list-selectable-expandable-rows-item-2"
2071
+ class="pf-c-data-list__item pf-m-clickable"
2072
+ aria-labelledby="data-list-clickable-expandable-rows-item-2"
2075
2073
  tabindex="0"
2076
2074
  >
2077
2075
  <div class="pf-c-data-list__item-row">
@@ -2080,11 +2078,11 @@ When a list item includes more than one block of content, it can be difficult fo
2080
2078
  <button
2081
2079
  class="pf-c-button pf-m-plain"
2082
2080
  type="button"
2083
- aria-labelledby="data-list-selectable-expandable-rows-toggle2 data-list-selectable-expandable-rows-item2"
2084
- id="data-list-selectable-expandable-rows-toggle2"
2081
+ aria-labelledby="data-list-clickable-expandable-rows-toggle2 data-list-clickable-expandable-rows-item2"
2082
+ id="data-list-clickable-expandable-rows-toggle2"
2085
2083
  aria-label="Toggle details for"
2086
2084
  aria-expanded="false"
2087
- aria-controls="data-list-selectable-expandable-rows-content2"
2085
+ aria-controls="data-list-clickable-expandable-rows-content2"
2088
2086
  >
2089
2087
  <div class="pf-c-data-list__toggle-icon">
2090
2088
  <i class="fas fa-angle-right" aria-hidden="true"></i>
@@ -2095,15 +2093,15 @@ When a list item includes more than one block of content, it can be difficult fo
2095
2093
  <div class="pf-c-data-list__item-content">
2096
2094
  <div class="pf-c-data-list__cell">
2097
2095
  <span
2098
- id="data-list-selectable-expandable-rows-item-2"
2096
+ id="data-list-clickable-expandable-rows-item-2"
2099
2097
  >Secondary content</span>
2100
2098
  </div>
2101
2099
  </div>
2102
2100
  </div>
2103
2101
  <section
2104
2102
  class="pf-c-data-list__expandable-content"
2105
- id="data-list-selectable-expandable-rows-content2"
2106
- aria-label="Selectable expandable row secondary content details"
2103
+ id="data-list-clickable-expandable-rows-content2"
2104
+ aria-label="Clickable expandable row secondary content details"
2107
2105
  hidden
2108
2106
  >
2109
2107
  <div
@@ -2113,8 +2111,8 @@ When a list item includes more than one block of content, it can be difficult fo
2113
2111
  </li>
2114
2112
 
2115
2113
  <li
2116
- class="pf-c-data-list__item pf-m-expanded pf-m-selectable"
2117
- aria-labelledby="data-list-selectable-expandable-rows-item-3"
2114
+ class="pf-c-data-list__item pf-m-expanded pf-m-clickable"
2115
+ aria-labelledby="data-list-clickable-expandable-rows-item-3"
2118
2116
  tabindex="0"
2119
2117
  >
2120
2118
  <div class="pf-c-data-list__item-row">
@@ -2123,11 +2121,11 @@ When a list item includes more than one block of content, it can be difficult fo
2123
2121
  <button
2124
2122
  class="pf-c-button pf-m-plain"
2125
2123
  type="button"
2126
- aria-labelledby="data-list-selectable-expandable-rows-toggle3 data-list-selectable-expandable-rows-item3"
2127
- id="data-list-selectable-expandable-rows-toggle3"
2124
+ aria-labelledby="data-list-clickable-expandable-rows-toggle3 data-list-clickable-expandable-rows-item3"
2125
+ id="data-list-clickable-expandable-rows-toggle3"
2128
2126
  aria-label="Toggle details for"
2129
2127
  aria-expanded="true"
2130
- aria-controls="data-list-selectable-expandable-rows-content3"
2128
+ aria-controls="data-list-clickable-expandable-rows-content3"
2131
2129
  >
2132
2130
  <div class="pf-c-data-list__toggle-icon">
2133
2131
  <i class="fas fa-angle-right" aria-hidden="true"></i>
@@ -2138,15 +2136,15 @@ When a list item includes more than one block of content, it can be difficult fo
2138
2136
  <div class="pf-c-data-list__item-content">
2139
2137
  <div class="pf-c-data-list__cell">
2140
2138
  <span
2141
- id="data-list-selectable-expandable-rows-item-3"
2142
- >Tertiary content (not selected, expanded)</span>
2139
+ id="data-list-clickable-expandable-rows-item-3"
2140
+ >Tertiary content (expanded)</span>
2143
2141
  </div>
2144
2142
  </div>
2145
2143
  </div>
2146
2144
  <section
2147
2145
  class="pf-c-data-list__expandable-content"
2148
- id="data-list-selectable-expandable-rows-content3"
2149
- aria-label="Selectable expandable row tertiary content details"
2146
+ id="data-list-clickable-expandable-rows-content3"
2147
+ aria-label="Clickable expandable row tertiary content details"
2150
2148
  >
2151
2149
  <div
2152
2150
  class="pf-c-data-list__expandable-content-body pf-m-no-padding"
@@ -2155,8 +2153,8 @@ When a list item includes more than one block of content, it can be difficult fo
2155
2153
  </li>
2156
2154
 
2157
2155
  <li
2158
- class="pf-c-data-list__item pf-m-selectable"
2159
- aria-labelledby="data-list-selectable-expandable-rows-item-4"
2156
+ class="pf-c-data-list__item pf-m-clickable"
2157
+ aria-labelledby="data-list-clickable-expandable-rows-item-4"
2160
2158
  tabindex="0"
2161
2159
  >
2162
2160
  <div class="pf-c-data-list__item-row">
@@ -2165,11 +2163,11 @@ When a list item includes more than one block of content, it can be difficult fo
2165
2163
  <button
2166
2164
  class="pf-c-button pf-m-plain"
2167
2165
  type="button"
2168
- aria-labelledby="data-list-selectable-expandable-rows-toggle4 data-list-selectable-expandable-rows-item4"
2169
- id="data-list-selectable-expandable-rows-toggle4"
2166
+ aria-labelledby="data-list-clickable-expandable-rows-toggle4 data-list-clickable-expandable-rows-item4"
2167
+ id="data-list-clickable-expandable-rows-toggle4"
2170
2168
  aria-label="Toggle details for"
2171
2169
  aria-expanded="false"
2172
- aria-controls="data-list-selectable-expandable-rows-content4"
2170
+ aria-controls="data-list-clickable-expandable-rows-content4"
2173
2171
  >
2174
2172
  <div class="pf-c-data-list__toggle-icon">
2175
2173
  <i class="fas fa-angle-right" aria-hidden="true"></i>
@@ -2180,15 +2178,15 @@ When a list item includes more than one block of content, it can be difficult fo
2180
2178
  <div class="pf-c-data-list__item-content">
2181
2179
  <div class="pf-c-data-list__cell">
2182
2180
  <span
2183
- id="data-list-selectable-expandable-rows-item-4"
2184
- >Quaternary content (selected)</span>
2181
+ id="data-list-clickable-expandable-rows-item-4"
2182
+ >Quaternary content</span>
2185
2183
  </div>
2186
2184
  </div>
2187
2185
  </div>
2188
2186
  <section
2189
2187
  class="pf-c-data-list__expandable-content"
2190
- id="data-list-selectable-expandable-rows-content4"
2191
- aria-label="Selectable expandable row quaternary content details"
2188
+ id="data-list-clickable-expandable-rows-content4"
2189
+ aria-label="Clickable expandable row quaternary content details"
2192
2190
  hidden
2193
2191
  >
2194
2192
  <div
@@ -8,30 +8,7 @@ wrapperTag: div
8
8
  ### Basic
9
9
 
10
10
  ```html isFullscreen
11
- <div class="pf-c-background-image">
12
- <svg
13
- xmlns="http://www.w3.org/2000/svg"
14
- class="pf-c-background-image__filter"
15
- width="0"
16
- height="0"
17
- >
18
- <filter id="image_overlay">
19
- <feColorMatrix
20
- type="matrix"
21
- values="1 0 0 0 0
22
- 1 0 0 0 0
23
- 1 0 0 0 0
24
- 0 0 0 1 0"
25
- />
26
- <feComponentTransfer color-interpolation-filters="sRGB" result="duotone">
27
- <feFuncR type="table" tableValues="0.086274509803922 0.43921568627451" />
28
- <feFuncG type="table" tableValues="0.086274509803922 0.43921568627451" />
29
- <feFuncB type="table" tableValues="0.086274509803922 0.43921568627451" />
30
- <feFuncA type="table" tableValues="0 1" />
31
- </feComponentTransfer>
32
- </filter>
33
- </svg>
34
- </div>
11
+ <div class="pf-c-background-image"></div>
35
12
  <div class="pf-c-login">
36
13
  <div class="pf-c-login__container">
37
14
  <header class="pf-c-login__header">
@@ -230,30 +207,7 @@ wrapperTag: div
230
207
  ### Invalid
231
208
 
232
209
  ```html isFullscreen
233
- <div class="pf-c-background-image">
234
- <svg
235
- xmlns="http://www.w3.org/2000/svg"
236
- class="pf-c-background-image__filter"
237
- width="0"
238
- height="0"
239
- >
240
- <filter id="image_overlay">
241
- <feColorMatrix
242
- type="matrix"
243
- values="1 0 0 0 0
244
- 1 0 0 0 0
245
- 1 0 0 0 0
246
- 0 0 0 1 0"
247
- />
248
- <feComponentTransfer color-interpolation-filters="sRGB" result="duotone">
249
- <feFuncR type="table" tableValues="0.086274509803922 0.43921568627451" />
250
- <feFuncG type="table" tableValues="0.086274509803922 0.43921568627451" />
251
- <feFuncB type="table" tableValues="0.086274509803922 0.43921568627451" />
252
- <feFuncA type="table" tableValues="0 1" />
253
- </feComponentTransfer>
254
- </filter>
255
- </svg>
256
- </div>
210
+ <div class="pf-c-background-image"></div>
257
211
  <div class="pf-c-login">
258
212
  <div class="pf-c-login__container">
259
213
  <header class="pf-c-login__header">
@@ -458,30 +412,7 @@ wrapperTag: div
458
412
  ### Show password
459
413
 
460
414
  ```html isFullscreen
461
- <div class="pf-c-background-image">
462
- <svg
463
- xmlns="http://www.w3.org/2000/svg"
464
- class="pf-c-background-image__filter"
465
- width="0"
466
- height="0"
467
- >
468
- <filter id="image_overlay">
469
- <feColorMatrix
470
- type="matrix"
471
- values="1 0 0 0 0
472
- 1 0 0 0 0
473
- 1 0 0 0 0
474
- 0 0 0 1 0"
475
- />
476
- <feComponentTransfer color-interpolation-filters="sRGB" result="duotone">
477
- <feFuncR type="table" tableValues="0.086274509803922 0.43921568627451" />
478
- <feFuncG type="table" tableValues="0.086274509803922 0.43921568627451" />
479
- <feFuncB type="table" tableValues="0.086274509803922 0.43921568627451" />
480
- <feFuncA type="table" tableValues="0 1" />
481
- </feComponentTransfer>
482
- </filter>
483
- </svg>
484
- </div>
415
+ <div class="pf-c-background-image"></div>
485
416
  <div class="pf-c-login">
486
417
  <div class="pf-c-login__container">
487
418
  <header class="pf-c-login__header">
@@ -691,30 +622,7 @@ wrapperTag: div
691
622
  ### Hide password
692
623
 
693
624
  ```html isFullscreen
694
- <div class="pf-c-background-image">
695
- <svg
696
- xmlns="http://www.w3.org/2000/svg"
697
- class="pf-c-background-image__filter"
698
- width="0"
699
- height="0"
700
- >
701
- <filter id="image_overlay">
702
- <feColorMatrix
703
- type="matrix"
704
- values="1 0 0 0 0
705
- 1 0 0 0 0
706
- 1 0 0 0 0
707
- 0 0 0 1 0"
708
- />
709
- <feComponentTransfer color-interpolation-filters="sRGB" result="duotone">
710
- <feFuncR type="table" tableValues="0.086274509803922 0.43921568627451" />
711
- <feFuncG type="table" tableValues="0.086274509803922 0.43921568627451" />
712
- <feFuncB type="table" tableValues="0.086274509803922 0.43921568627451" />
713
- <feFuncA type="table" tableValues="0 1" />
714
- </feComponentTransfer>
715
- </filter>
716
- </svg>
717
- </div>
625
+ <div class="pf-c-background-image"></div>
718
626
  <div class="pf-c-login">
719
627
  <div class="pf-c-login__container">
720
628
  <header class="pf-c-login__header">
@@ -931,30 +839,7 @@ wrapperTag: div
931
839
  ### With language selector
932
840
 
933
841
  ```html isFullscreen
934
- <div class="pf-c-background-image">
935
- <svg
936
- xmlns="http://www.w3.org/2000/svg"
937
- class="pf-c-background-image__filter"
938
- width="0"
939
- height="0"
940
- >
941
- <filter id="image_overlay">
942
- <feColorMatrix
943
- type="matrix"
944
- values="1 0 0 0 0
945
- 1 0 0 0 0
946
- 1 0 0 0 0
947
- 0 0 0 1 0"
948
- />
949
- <feComponentTransfer color-interpolation-filters="sRGB" result="duotone">
950
- <feFuncR type="table" tableValues="0.086274509803922 0.43921568627451" />
951
- <feFuncG type="table" tableValues="0.086274509803922 0.43921568627451" />
952
- <feFuncB type="table" tableValues="0.086274509803922 0.43921568627451" />
953
- <feFuncA type="table" tableValues="0 1" />
954
- </feComponentTransfer>
955
- </filter>
956
- </svg>
957
- </div>
842
+ <div class="pf-c-background-image"></div>
958
843
  <div class="pf-c-login">
959
844
  <div class="pf-c-login__container">
960
845
  <header class="pf-c-login__header">
@@ -6,6 +6,12 @@
6
6
  color: var(--pf-global--Color--dark-100);
7
7
  }
8
8
 
9
- #ws-core-c-page-with-or-without-fill .ws-preview-html {
9
+ #ws-core-c-page-with-or-without-fill .ws-preview-html,
10
+ #ws-core-c-page-multiple-sidebar-body-elements-padding-and-fill .ws-preview-html {
10
11
  height: 500px;
11
12
  }
13
+
14
+ #ws-core-c-page-multiple-sidebar-body-elements .ws-preview-html,
15
+ #ws-core-c-page-using-flex-layout .ws-preview-html {
16
+ height: 100%;
17
+ }
@@ -67,6 +67,31 @@ wrapperTag: div
67
67
 
68
68
  ```
69
69
 
70
+ ### Multiple sidebar body elements, padding, and fill
71
+
72
+ ```html
73
+ <div class="pf-c-page">
74
+ <header class="pf-c-page__header">
75
+ <div class="pf-c-page__header-brand">
76
+ <div class="pf-c-page__header-brand-toggle">toggle</div>
77
+ <a href="#" class="pf-c-page__header-brand-link">Logo</a>
78
+ </div>
79
+ <div class="pf-c-page__header-tools">header-tools</div>
80
+ </header>
81
+ <div class="pf-c-page__sidebar">
82
+ <div class="pf-c-page__sidebar-body">Navigation</div>
83
+ <div
84
+ class="pf-c-page__sidebar-body pf-m-fill pf-m-page-insets"
85
+ >inset content</div>
86
+ <div class="pf-c-page__sidebar-body pf-m-page-insets">footer content</div>
87
+ </div>
88
+ <main class="pf-c-page__main" tabindex="-1">
89
+ <section class="pf-c-page__main-section pf-m-light"></section>
90
+ </main>
91
+ </div>
92
+
93
+ ```
94
+
70
95
  ### With or without fill
71
96
 
72
97
  ```html
@@ -232,7 +257,7 @@ This component provides the basic chrome for a page, including sidebar, header,
232
257
  | `.pf-c-page__header-tools-group` | `<div>` | Creates a container for grouping sets of icons and menus in header. |
233
258
  | `.pf-c-page__header-tools-item` | `<div>` | Creates a container for an item in a header tools group. |
234
259
  | `.pf-c-page__sidebar` | `<aside>` | Declares the page sidebar. |
235
- | `.pf-c-page__sidebar-body` | `<div>` | Creates a wrapper within the sidebar to hold content. |
260
+ | `.pf-c-page__sidebar-body` | `<div>` | Creates a wrapper within the sidebar to hold content. **Note: The last/only `.pf-c-page__sidebar-body` element will grow to fill the availble vertical space. You can change this behavior using `.pf-m-fill` and `.pf-m-no-fill`, which are documented below.** |
236
261
  | `.pf-c-page__main` | `<main>` | Declares the main page area. |
237
262
  | `.pf-c-page__main-nav` | `<section>` | Creates a container to nest the navigation component in the main page area. |
238
263
  | `.pf-c-page__main-breadcrumb` | `<section>` | Creates a container to nest the breadcrumb component in the main page area. |
@@ -245,15 +270,17 @@ This component provides the basic chrome for a page, including sidebar, header,
245
270
  | `.pf-m-selected` | `.pf-c-page__header-tools-item` | Modifies a header tools item to indicate that the button inside is in the selected state. |
246
271
  | `.pf-m-expanded` | `.pf-c-page__sidebar` | Modifies the sidebar for the expanded state. |
247
272
  | `.pf-m-collapsed` | `.pf-c-page__sidebar` | Modifies the sidebar for the collapsed state. |
273
+ | `.pf-m-page-insets` | `.pf-c-page__sidebar-body` | Modifies a sidebar body padding/inset to visually match padding of page elements. |
274
+ | `.pf-m-inset-none` | `.pf-c-page__sidebar-body` | Removes a sidebar body left/right inset. |
248
275
  | `.pf-m-light` | `.pf-c-page__sidebar` | Modifies the sidebar the light variation. **Note: for use with a light themed nav component** |
249
276
  | `.pf-m-light` | `.pf-c-page__main-section` | Modifies a main page section to have a light theme. |
250
277
  | `.pf-m-dark-200` | `.pf-c-page__main-section` | Modifies a main page section to have a dark theme and a dark transparent background. |
251
278
  | `.pf-m-dark-100` | `.pf-c-page__main-section` | Modifies a main page section to have a dark theme and a darker transparent background. |
252
279
  | `.pf-m-light-200` | `.pf-c-page__main-wizard` | Modifies a wizard page section to have a light 200 theme. |
253
- | `.pf-m-no-padding`, `.pf-m-no-padding{-on-[breakpoint]}` | `.pf-c-page__main-section` | Removes padding from the main page section at an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
254
280
  | `.pf-m-padding{-on-[breakpoint]}` | `.pf-c-page__main-section` | Modifies the main page section to add padding back in at an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). Should be used with pf-m-no-padding. |
255
- | `.pf-m-fill` | `.pf-c-page__main-section` | Modifies a main page section to grow to fill the available vertical space. |
256
- | `.pf-m-no-fill` | `.pf-c-page__main-section` | Modifies a main page section to not grow to fill the available vertical space. |
281
+ | `.pf-m-no-padding{-on-[breakpoint]}` | `.pf-c-page__main-section` | Removes padding from the main page section at an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
282
+ | `.pf-m-fill` | `.pf-c-page__main-section`, `.pf-c-page__sidebar-body` | Modifies the element to grow to fill the available space. |
283
+ | `.pf-m-no-fill` | `.pf-c-page__main-section`, `.pf-c-page__sidebar-body` | Modifies the element to not grow to fill the available vertical space. |
257
284
  | `.pf-m-hidden{-on-[breakpoint]}` | `.pf-c-page__header-tools-group`, `.pf-c-page__header-tools-item` | Hides a header tools group or item at an optional breakpoint, or hides it at all [breakpoints](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes) with `.pf-m-hidden`. |
258
285
  | `.pf-m-visible{-on-[breakpoint]}` | `.pf-c-page__header-tools-group`, `.pf-c-page__header-tools-item` | Shows a header tools group or item at an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
259
286
  | `.pf-m-limit-width` | `.pf-c-page__main-section` | Modifies a page section to limit the `max-width` of the content inside. |