@patternfly/patternfly 6.5.0-prerelease.3 → 6.5.0-prerelease.4

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.
@@ -207,6 +207,9 @@
207
207
  .pf-v6-c-table:not(.pf-m-sticky-header) > .pf-m-nested-column-header tr:where(.pf-v6-c-table__tr):not(:last-child) td:where(.pf-v6-c-table__td):not([rowspan]) {
208
208
  --pf-v6-c-table--cell--PaddingBlockEnd: var(--pf-v6-c-table__thead--m-nested-column-header__tr--PaddingBlockEnd);
209
209
  }
210
+ .pf-v6-c-table.pf-m-plain {
211
+ --pf-v6-c-table--BackgroundColor: transparent;
212
+ }
210
213
  .pf-v6-c-table.pf-m-striped:not(.pf-m-expandable) > tbody:where(.pf-v6-c-table__tbody) > tr:where(.pf-v6-c-table__tr):nth-child(odd), .pf-v6-c-table.pf-m-striped.pf-m-expandable > tbody:where(.pf-v6-c-table__tbody):nth-of-type(odd) > tr:where(.pf-v6-c-table__tr),
211
214
  .pf-v6-c-table > .pf-m-striped > tr:nth-child(odd),
212
215
  .pf-v6-c-table > .pf-m-striped-even > tr:nth-child(even),
@@ -324,6 +324,11 @@
324
324
  }
325
325
  }
326
326
 
327
+ // - Table plain
328
+ &.pf-m-plain {
329
+ --#{$table}--BackgroundColor: transparent;
330
+ }
331
+
327
332
  // - Table striped
328
333
  // stylelint-disable
329
334
  &.pf-m-striped:not(.pf-m-expandable) > tbody:where(.#{$table}__tbody) > tr:where(.#{$table}__tr):nth-child(odd), // regular table
@@ -17826,6 +17826,9 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
17826
17826
  .pf-v6-c-table:not(.pf-m-sticky-header) > .pf-m-nested-column-header tr:where(.pf-v6-c-table__tr):not(:last-child) td:where(.pf-v6-c-table__td):not([rowspan]) {
17827
17827
  --pf-v6-c-table--cell--PaddingBlockEnd: var(--pf-v6-c-table__thead--m-nested-column-header__tr--PaddingBlockEnd);
17828
17828
  }
17829
+ .pf-v6-c-table.pf-m-plain {
17830
+ --pf-v6-c-table--BackgroundColor: transparent;
17831
+ }
17829
17832
  .pf-v6-c-table.pf-m-striped:not(.pf-m-expandable) > tbody:where(.pf-v6-c-table__tbody) > tr:where(.pf-v6-c-table__tr):nth-child(odd), .pf-v6-c-table.pf-m-striped.pf-m-expandable > tbody:where(.pf-v6-c-table__tbody):nth-of-type(odd) > tr:where(.pf-v6-c-table__tr),
17830
17833
  .pf-v6-c-table > .pf-m-striped > tr:nth-child(odd),
17831
17834
  .pf-v6-c-table > .pf-m-striped-even > tr:nth-child(even),
@@ -8179,6 +8179,94 @@ Note: To apply padding to `.pf-v6-c-table__expandable-row`, wrap the content in
8179
8179
  | `.pf-m-no-background` | `.pf-v6-c-table__expandable-row-content` | Modifies the expandable row content to have a transparent background. For in compound expandable when the parent expandable row has no padding with `.pf-m-no-padding`. |
8180
8180
  | `.pf-m-no-animate-expand` | `.pf-v6-c-table__control-row.pf-m-expanded` | Disables animation on a compound expandable row. **Note:** Used to disable the animation when clicking between compound expandable items. |
8181
8181
 
8182
+ ## Plain variant
8183
+
8184
+ ### Plain example
8185
+
8186
+ ```html isBeta
8187
+ <table
8188
+ class="pf-v6-c-table pf-m-grid-md pf-m-plain"
8189
+ role="grid"
8190
+ aria-label="This is a plain table example"
8191
+ id="table-plain"
8192
+ >
8193
+ <caption class="pf-v6-c-table__caption">This is the table caption</caption>
8194
+
8195
+ <thead class="pf-v6-c-table__thead">
8196
+ <tr class="pf-v6-c-table__tr" role="row">
8197
+ <th class="pf-v6-c-table__th" role="columnheader" scope="col">Repositories</th>
8198
+
8199
+ <th class="pf-v6-c-table__th" role="columnheader" scope="col">Branches</th>
8200
+
8201
+ <th
8202
+ class="pf-v6-c-table__th"
8203
+ role="columnheader"
8204
+ scope="col"
8205
+ >Pull requests</th>
8206
+
8207
+ <th class="pf-v6-c-table__th" role="columnheader" scope="col">Workspaces</th>
8208
+
8209
+ <th class="pf-v6-c-table__th" role="columnheader" scope="col">Last commit</th>
8210
+ </tr>
8211
+ </thead>
8212
+
8213
+ <tbody class="pf-v6-c-table__tbody" role="rowgroup">
8214
+ <tr class="pf-v6-c-table__tr" role="row">
8215
+ <td
8216
+ class="pf-v6-c-table__td"
8217
+ role="cell"
8218
+ data-label="Repository name"
8219
+ >Repository 1</td>
8220
+ <td class="pf-v6-c-table__td" role="cell" data-label="Branches">10</td>
8221
+ <td class="pf-v6-c-table__td" role="cell" data-label="Pull requests">25</td>
8222
+ <td class="pf-v6-c-table__td" role="cell" data-label="Workspaces">5</td>
8223
+ <td
8224
+ class="pf-v6-c-table__td"
8225
+ role="cell"
8226
+ data-label="Last commit"
8227
+ >2 days ago</td>
8228
+ </tr>
8229
+ <tr class="pf-v6-c-table__tr" role="row">
8230
+ <td
8231
+ class="pf-v6-c-table__td"
8232
+ role="cell"
8233
+ data-label="Repository name"
8234
+ >Repository 2</td>
8235
+ <td class="pf-v6-c-table__td" role="cell" data-label="Branches">10</td>
8236
+ <td class="pf-v6-c-table__td" role="cell" data-label="Pull requests">25</td>
8237
+ <td class="pf-v6-c-table__td" role="cell" data-label="Workspaces">5</td>
8238
+ <td
8239
+ class="pf-v6-c-table__td"
8240
+ role="cell"
8241
+ data-label="Last commit"
8242
+ >2 days ago</td>
8243
+ </tr>
8244
+ <tr class="pf-v6-c-table__tr" role="row">
8245
+ <td
8246
+ class="pf-v6-c-table__td"
8247
+ role="cell"
8248
+ data-label="Repository name"
8249
+ >Repository 3</td>
8250
+ <td class="pf-v6-c-table__td" role="cell" data-label="Branches">10</td>
8251
+ <td class="pf-v6-c-table__td" role="cell" data-label="Pull requests">25</td>
8252
+ <td class="pf-v6-c-table__td" role="cell" data-label="Workspaces">5</td>
8253
+ <td
8254
+ class="pf-v6-c-table__td"
8255
+ role="cell"
8256
+ data-label="Last commit"
8257
+ >2 days ago</td>
8258
+ </tr>
8259
+ </tbody>
8260
+ </table>
8261
+
8262
+ ```
8263
+
8264
+ ### Plain variant usage
8265
+
8266
+ | Class | Applied to | Outcome |
8267
+ | -- | -- | -- |
8268
+ | `.pf-m-plain` | `.pf-v6-c-table` | Modifies the table to have a transparent background. |
8269
+
8182
8270
  ## Compact variant
8183
8271
 
8184
8272
  ### Compact example
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@patternfly/patternfly",
3
3
  "description": "Assets, source, tooling, and content for PatternFly 4",
4
- "version": "6.5.0-prerelease.3",
4
+ "version": "6.5.0-prerelease.4",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -26493,6 +26493,9 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
26493
26493
  .pf-v6-c-table:not(.pf-m-sticky-header) > .pf-m-nested-column-header tr:where(.pf-v6-c-table__tr):not(:last-child) td:where(.pf-v6-c-table__td):not([rowspan]) {
26494
26494
  --pf-v6-c-table--cell--PaddingBlockEnd: var(--pf-v6-c-table__thead--m-nested-column-header__tr--PaddingBlockEnd);
26495
26495
  }
26496
+ .pf-v6-c-table.pf-m-plain {
26497
+ --pf-v6-c-table--BackgroundColor: transparent;
26498
+ }
26496
26499
  .pf-v6-c-table.pf-m-striped:not(.pf-m-expandable) > tbody:where(.pf-v6-c-table__tbody) > tr:where(.pf-v6-c-table__tr):nth-child(odd), .pf-v6-c-table.pf-m-striped.pf-m-expandable > tbody:where(.pf-v6-c-table__tbody):nth-of-type(odd) > tr:where(.pf-v6-c-table__tr),
26497
26500
  .pf-v6-c-table > .pf-m-striped > tr:nth-child(odd),
26498
26501
  .pf-v6-c-table > .pf-m-striped-even > tr:nth-child(even),
package/patternfly.css CHANGED
@@ -26633,6 +26633,9 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
26633
26633
  .pf-v6-c-table:not(.pf-m-sticky-header) > .pf-m-nested-column-header tr:where(.pf-v6-c-table__tr):not(:last-child) td:where(.pf-v6-c-table__td):not([rowspan]) {
26634
26634
  --pf-v6-c-table--cell--PaddingBlockEnd: var(--pf-v6-c-table__thead--m-nested-column-header__tr--PaddingBlockEnd);
26635
26635
  }
26636
+ .pf-v6-c-table.pf-m-plain {
26637
+ --pf-v6-c-table--BackgroundColor: transparent;
26638
+ }
26636
26639
  .pf-v6-c-table.pf-m-striped:not(.pf-m-expandable) > tbody:where(.pf-v6-c-table__tbody) > tr:where(.pf-v6-c-table__tr):nth-child(odd), .pf-v6-c-table.pf-m-striped.pf-m-expandable > tbody:where(.pf-v6-c-table__tbody):nth-of-type(odd) > tr:where(.pf-v6-c-table__tr),
26637
26640
  .pf-v6-c-table > .pf-m-striped > tr:nth-child(odd),
26638
26641
  .pf-v6-c-table > .pf-m-striped-even > tr:nth-child(even),