@patternfly/patternfly 4.194.4 → 4.196.1
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.
- package/base/_globals.scss +7 -0
- package/base/_variables.scss +9 -0
- package/base/patternfly-globals.css +4 -0
- package/base/patternfly-variables.css +85 -0
- package/components/AboutModalBox/about-modal-box.css +28 -0
- package/components/AboutModalBox/about-modal-box.scss +7 -0
- package/components/AboutModalBox/themes/dark/about-modal-box.scss +4 -6
- package/components/Accordion/accordion.css +6 -0
- package/components/Accordion/accordion.scss +7 -0
- package/components/Accordion/themes/dark/accordion.scss +3 -1
- package/components/Alert/alert.css +14 -0
- package/components/Alert/alert.scss +7 -0
- package/components/Alert/themes/dark/alert.scss +3 -1
- package/components/AppLauncher/app-launcher.css +12 -0
- package/components/AppLauncher/app-launcher.scss +7 -0
- package/components/AppLauncher/themes/dark/app-launcher.scss +3 -1
- package/components/Badge/badge.css +5 -0
- package/components/Badge/badge.scss +7 -0
- package/components/Badge/themes/dark/badge.scss +3 -1
- package/components/Banner/banner.css +31 -0
- package/components/Banner/banner.scss +7 -0
- package/components/Banner/themes/dark/banner.scss +4 -2
- package/components/Breadcrumb/breadcrumb.css +4 -0
- package/components/Breadcrumb/breadcrumb.scss +7 -0
- package/components/Breadcrumb/themes/dark/breadcrumb.scss +3 -1
- package/components/Button/button.css +38 -0
- package/components/Button/button.scss +7 -0
- package/components/Button/themes/dark/button.scss +3 -1
- package/components/CalendarMonth/calendar-month.css +22 -0
- package/components/CalendarMonth/calendar-month.scss +7 -0
- package/components/CalendarMonth/themes/dark/calendar-month.scss +3 -1
- package/components/Chip/chip.css +6 -0
- package/components/Chip/chip.scss +7 -0
- package/components/Chip/themes/dark/chip.scss +3 -1
- package/components/ClipboardCopy/clipboard-copy.css +11 -0
- package/components/ClipboardCopy/clipboard-copy.scss +7 -0
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +3 -1
- package/components/CodeEditor/code-editor.css +4 -0
- package/components/CodeEditor/code-editor.scss +7 -0
- package/components/CodeEditor/themes/dark/code-editor.scss +3 -1
- package/components/ContextSelector/context-selector.css +17 -0
- package/components/ContextSelector/context-selector.scss +7 -0
- package/components/ContextSelector/themes/dark/context-selector.scss +3 -1
- package/components/DataList/data-list.css +7 -0
- package/components/DataList/data-list.scss +7 -0
- package/components/DataList/themes/dark/data-list.scss +3 -1
- package/components/DatePicker/date-picker.css +5 -0
- package/components/DatePicker/date-picker.scss +7 -0
- package/components/DatePicker/themes/dark/date-picker.scss +3 -1
- package/components/Drawer/drawer.css +7 -0
- package/components/Drawer/drawer.scss +7 -0
- package/components/Drawer/themes/dark/drawer.scss +3 -1
- package/components/Dropdown/dropdown.css +22 -0
- package/components/Dropdown/dropdown.scss +7 -0
- package/components/Dropdown/themes/dark/dropdown.scss +3 -1
- package/components/Form/form.css +4 -0
- package/components/Form/form.scss +7 -0
- package/components/Form/themes/dark/form.scss +3 -1
- package/components/FormControl/form-control.css +22 -0
- package/components/FormControl/form-control.scss +7 -0
- package/components/FormControl/themes/dark/form-control.scss +3 -1
- package/components/HelperText/helper-text.css +4 -0
- package/components/HelperText/helper-text.scss +7 -0
- package/components/HelperText/themes/dark/helper-text.scss +3 -1
- package/components/Hint/hint.css +5 -0
- package/components/Hint/hint.scss +7 -0
- package/components/Hint/themes/dark/hint.scss +3 -1
- package/components/InputGroup/input-group.css +22 -0
- package/components/InputGroup/input-group.scss +7 -0
- package/components/InputGroup/themes/dark/input-group.scss +3 -1
- package/components/Label/label.css +71 -2
- package/components/Label/label.scss +37 -2
- package/components/Label/themes/dark/label.scss +3 -1
- package/components/LogViewer/log-viewer.css +28 -0
- package/components/LogViewer/log-viewer.scss +7 -0
- package/components/LogViewer/themes/dark/log-viewer.scss +4 -2
- package/components/Login/login.css +31 -0
- package/components/Login/login.scss +7 -0
- package/components/Login/themes/dark/login.scss +4 -2
- package/components/Masthead/masthead.css +32 -0
- package/components/Masthead/masthead.scss +7 -0
- package/components/Masthead/themes/dark/masthead.scss +4 -2
- package/components/Menu/menu.css +9 -0
- package/components/Menu/menu.scss +7 -0
- package/components/Menu/themes/dark/menu.scss +3 -1
- package/components/MenuToggle/menu-toggle.css +19 -0
- package/components/MenuToggle/menu-toggle.scss +7 -0
- package/components/MenuToggle/themes/dark/menu-toggle.scss +3 -1
- package/components/ModalBox/modal-box.css +4 -0
- package/components/ModalBox/modal-box.scss +7 -0
- package/components/ModalBox/themes/dark/modal-box.scss +3 -1
- package/components/Nav/nav.css +34 -0
- package/components/Nav/nav.scss +7 -0
- package/components/Nav/themes/dark/nav.scss +3 -1
- package/components/NotificationBadge/notification-badge.css +4 -0
- package/components/NotificationBadge/notification-badge.scss +7 -0
- package/components/NotificationBadge/themes/dark/notification-badge.scss +3 -1
- package/components/NotificationDrawer/notification-drawer.css +11 -0
- package/components/NotificationDrawer/notification-drawer.scss +7 -0
- package/components/NotificationDrawer/themes/dark/notification-drawer.scss +3 -1
- package/components/OptionsMenu/options-menu.css +17 -0
- package/components/OptionsMenu/options-menu.scss +7 -0
- package/components/OptionsMenu/themes/dark/options-menu.scss +3 -1
- package/components/Page/page.css +65 -0
- package/components/Page/page.scss +12 -0
- package/components/Page/themes/dark/page.scss +4 -2
- package/components/Pagination/pagination.css +4 -0
- package/components/Pagination/pagination.scss +7 -0
- package/components/Pagination/themes/dark/pagination.scss +3 -1
- package/components/Popover/popover.css +13 -0
- package/components/Popover/popover.scss +7 -0
- package/components/Popover/themes/dark/popover.scss +3 -1
- package/components/Progress/progress.css +6 -0
- package/components/Progress/progress.scss +7 -0
- package/components/Progress/themes/dark/progress.scss +3 -1
- package/components/SearchInput/search-input.css +9 -0
- package/components/SearchInput/search-input.scss +7 -0
- package/components/SearchInput/themes/dark/search-input.scss +3 -1
- package/components/Select/select.css +16 -0
- package/components/Select/select.scss +7 -0
- package/components/Select/themes/dark/select.scss +3 -1
- package/components/SimpleList/simple-list.css +11 -0
- package/components/SimpleList/simple-list.scss +7 -0
- package/components/SimpleList/themes/dark/simple-list.scss +3 -1
- package/components/Skeleton/skeleton.css +6 -0
- package/components/Skeleton/skeleton.scss +7 -0
- package/components/Skeleton/themes/dark/skeleton.scss +3 -1
- package/components/Switch/switch.css +7 -0
- package/components/Switch/switch.scss +7 -0
- package/components/Switch/themes/dark/switch.scss +3 -1
- package/components/Table/table.css +7 -0
- package/components/Table/table.scss +7 -0
- package/components/Table/themes/dark/table.scss +7 -1
- package/components/Tabs/tabs.css +6 -0
- package/components/Tabs/tabs.scss +7 -0
- package/components/Tabs/themes/dark/tabs.scss +3 -1
- package/components/Tile/themes/dark/tile.scss +3 -1
- package/components/Tile/tile.css +7 -0
- package/components/Tile/tile.scss +7 -0
- package/components/ToggleGroup/themes/dark/toggle-group.scss +3 -1
- package/components/ToggleGroup/toggle-group.css +8 -0
- package/components/ToggleGroup/toggle-group.scss +7 -0
- package/components/Tooltip/themes/dark/tooltip.scss +3 -1
- package/components/Tooltip/tooltip.css +13 -0
- package/components/Tooltip/tooltip.scss +7 -0
- package/components/TreeView/themes/dark/tree-view.scss +3 -1
- package/components/TreeView/tree-view.css +5 -0
- package/components/TreeView/tree-view.scss +7 -0
- package/components/Wizard/themes/dark/wizard.scss +4 -2
- package/components/Wizard/wizard.css +34 -0
- package/components/Wizard/wizard.scss +7 -0
- package/docs/components/FormControl/examples/FormControl.md +2 -0
- package/docs/components/Label/examples/Label.md +147 -0
- package/docs/components/Table/examples/Table.md +477 -3
- package/docs/demos/Drawer/examples/Drawer.md +1930 -0
- package/docs/demos/JumpLinks/examples/JumpLinks.md +1946 -0
- package/docs/utilities/Text/examples/Text.md +43 -26
- package/package.json +1 -1
- package/patternfly-addons.css +24 -0
- package/patternfly-base-no-reset.css +93 -4
- package/patternfly-base.css +93 -4
- package/patternfly-no-reset.css +2222 -34
- package/patternfly-theme-dark.css +0 -636
- package/patternfly-theme-dark.scss +1 -7
- package/patternfly.css +2222 -34
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/colors.scss +1 -0
- package/sass-utilities/mixins.scss +7 -0
- package/sass-utilities/scss-variables.scss +1 -0
- package/sass-utilities/themes/dark/_all.scss +4 -0
- package/themes/dark/_patternfly-charts-theme-dark.scss +1 -1
- package/utilities/Text/text.css +24 -0
- package/utilities/Text/text.scss +24 -0
- package/patternfly-theme-dark-prefers-color-scheme.css +0 -711
- package/patternfly-theme-dark-prefers-color-scheme.scss +0 -5
- package/themes/dark/_chart-globals.scss +0 -39
- package/themes/dark/_patternfly-theme-dark.scss +0 -119
- package/themes/dark/_variables.scss +0 -94
- package/themes/dark/colors.scss +0 -16
- package/themes/dark/globals.scss +0 -7
- package/themes/dark/mixins.scss +0 -5
- package/themes/dark/placeholders.scss +0 -30
- package/themes/dark/scss-variables.scss +0 -85
|
@@ -1093,6 +1093,8 @@ When header cells are empty or they contain interactive elements, `<th>` should
|
|
|
1093
1093
|
|
|
1094
1094
|
## Expandable
|
|
1095
1095
|
|
|
1096
|
+
Note: Table column widths will respond automatically when toggling expanded rows. To retain column widths between expanded and collapsed states, column header and/or data cell widths must be set.
|
|
1097
|
+
|
|
1096
1098
|
### Expandable example
|
|
1097
1099
|
|
|
1098
1100
|
```html
|
|
@@ -1106,10 +1108,9 @@ When header cells are empty or they contain interactive elements, `<th>` should
|
|
|
1106
1108
|
<tr role="row">
|
|
1107
1109
|
<td class="pf-c-table__toggle" role="cell">
|
|
1108
1110
|
<button
|
|
1109
|
-
class="pf-c-button pf-m-plain
|
|
1111
|
+
class="pf-c-button pf-m-plain"
|
|
1110
1112
|
id="table-expandable-expandable-toggle-thead"
|
|
1111
|
-
aria-label="
|
|
1112
|
-
aria-expanded="true"
|
|
1113
|
+
aria-label="Expand all"
|
|
1113
1114
|
>
|
|
1114
1115
|
<div class="pf-c-table__toggle-icon">
|
|
1115
1116
|
<i class="fas fa-angle-down" aria-hidden="true"></i>
|
|
@@ -1546,6 +1547,479 @@ When header cells are empty or they contain interactive elements, `<th>` should
|
|
|
1546
1547
|
|
|
1547
1548
|
```
|
|
1548
1549
|
|
|
1550
|
+
### Expandable with set width columns example
|
|
1551
|
+
|
|
1552
|
+
```html
|
|
1553
|
+
<table
|
|
1554
|
+
class="pf-c-table pf-m-expandable pf-m-grid-lg"
|
|
1555
|
+
role="grid"
|
|
1556
|
+
aria-label="Expandable table, set column widths example"
|
|
1557
|
+
id="expandable-set-width-columns-example"
|
|
1558
|
+
>
|
|
1559
|
+
<thead>
|
|
1560
|
+
<tr role="row">
|
|
1561
|
+
<td class="pf-c-table__toggle" role="cell">
|
|
1562
|
+
<button
|
|
1563
|
+
class="pf-c-button pf-m-plain pf-m-expanded"
|
|
1564
|
+
id="expandable-set-width-columns-example-expandable-toggle-thead"
|
|
1565
|
+
aria-label="Collapse all"
|
|
1566
|
+
aria-expanded="true"
|
|
1567
|
+
>
|
|
1568
|
+
<div class="pf-c-table__toggle-icon">
|
|
1569
|
+
<i class="fas fa-angle-down" aria-hidden="true"></i>
|
|
1570
|
+
</div>
|
|
1571
|
+
</button>
|
|
1572
|
+
</td>
|
|
1573
|
+
|
|
1574
|
+
<td class="pf-c-table__check" role="cell">
|
|
1575
|
+
<label>
|
|
1576
|
+
<input
|
|
1577
|
+
type="checkbox"
|
|
1578
|
+
name="expandable-set-width-columns-example-checkrowthead"
|
|
1579
|
+
aria-label="Select all rows"
|
|
1580
|
+
/>
|
|
1581
|
+
</label>
|
|
1582
|
+
</td>
|
|
1583
|
+
<th
|
|
1584
|
+
class="pf-m-width-30 pf-c-table__sort pf-m-selected"
|
|
1585
|
+
role="columnheader"
|
|
1586
|
+
aria-sort="ascending"
|
|
1587
|
+
scope="col"
|
|
1588
|
+
>
|
|
1589
|
+
<button class="pf-c-table__button">
|
|
1590
|
+
<div class="pf-c-table__button-content">
|
|
1591
|
+
<span class="pf-c-table__text">Repositories</span>
|
|
1592
|
+
<span class="pf-c-table__sort-indicator">
|
|
1593
|
+
<i class="fas fa-long-arrow-alt-up"></i>
|
|
1594
|
+
</span>
|
|
1595
|
+
</div>
|
|
1596
|
+
</button>
|
|
1597
|
+
</th>
|
|
1598
|
+
<th
|
|
1599
|
+
class="pf-m-width-20 pf-c-table__sort"
|
|
1600
|
+
role="columnheader"
|
|
1601
|
+
aria-sort="none"
|
|
1602
|
+
scope="col"
|
|
1603
|
+
>
|
|
1604
|
+
<button class="pf-c-table__button">
|
|
1605
|
+
<div class="pf-c-table__button-content">
|
|
1606
|
+
<span class="pf-c-table__text">Branches</span>
|
|
1607
|
+
<span class="pf-c-table__sort-indicator">
|
|
1608
|
+
<i class="fas fa-arrows-alt-v"></i>
|
|
1609
|
+
</span>
|
|
1610
|
+
</div>
|
|
1611
|
+
</button>
|
|
1612
|
+
</th>
|
|
1613
|
+
<th
|
|
1614
|
+
class="pf-m-width-20 pf-c-table__sort"
|
|
1615
|
+
role="columnheader"
|
|
1616
|
+
aria-sort="none"
|
|
1617
|
+
scope="col"
|
|
1618
|
+
>
|
|
1619
|
+
<button class="pf-c-table__button">
|
|
1620
|
+
<div class="pf-c-table__button-content">
|
|
1621
|
+
<span class="pf-c-table__text">Pull requests</span>
|
|
1622
|
+
<span class="pf-c-table__sort-indicator">
|
|
1623
|
+
<i class="fas fa-arrows-alt-v"></i>
|
|
1624
|
+
</span>
|
|
1625
|
+
</div>
|
|
1626
|
+
</button>
|
|
1627
|
+
</th>
|
|
1628
|
+
<th class="pf-m-width-10" role="columnheader" scope="col">Links</th>
|
|
1629
|
+
<td></td>
|
|
1630
|
+
</tr>
|
|
1631
|
+
</thead>
|
|
1632
|
+
|
|
1633
|
+
<tbody class="pf-m-expanded" role="rowgroup">
|
|
1634
|
+
<tr role="row">
|
|
1635
|
+
<td class="pf-c-table__toggle" role="cell">
|
|
1636
|
+
<button
|
|
1637
|
+
class="pf-c-button pf-m-plain pf-m-expanded"
|
|
1638
|
+
aria-labelledby="expandable-set-width-columns-example-node1 expandable-set-width-columns-example-expandable-toggle1"
|
|
1639
|
+
id="expandable-set-width-columns-example-expandable-toggle1"
|
|
1640
|
+
aria-label="Details"
|
|
1641
|
+
aria-controls="expandable-set-width-columns-example-content1"
|
|
1642
|
+
aria-expanded="true"
|
|
1643
|
+
>
|
|
1644
|
+
<div class="pf-c-table__toggle-icon">
|
|
1645
|
+
<i class="fas fa-angle-down" aria-hidden="true"></i>
|
|
1646
|
+
</div>
|
|
1647
|
+
</button>
|
|
1648
|
+
</td>
|
|
1649
|
+
|
|
1650
|
+
<td class="pf-c-table__check" role="cell">
|
|
1651
|
+
<label>
|
|
1652
|
+
<input
|
|
1653
|
+
type="checkbox"
|
|
1654
|
+
name="expandable-set-width-columns-example-checkrow1"
|
|
1655
|
+
aria-labelledby="expandable-set-width-columns-example-node1"
|
|
1656
|
+
/>
|
|
1657
|
+
</label>
|
|
1658
|
+
</td>
|
|
1659
|
+
<th role="columnheader" data-label="Data label name">
|
|
1660
|
+
<div id="expandable-set-width-columns-example-node1">Node 1</div>
|
|
1661
|
+
<a href="#">siemur/test-space</a>
|
|
1662
|
+
</th>
|
|
1663
|
+
<td role="cell" data-label="Branches">10</td>
|
|
1664
|
+
<td role="cell" data-label="Pull requests">25</td>
|
|
1665
|
+
<td role="cell" data-label="Action">
|
|
1666
|
+
<a href="#">Link 1</a>
|
|
1667
|
+
</td>
|
|
1668
|
+
<td class="pf-c-table__action" role="cell">
|
|
1669
|
+
<div class="pf-c-dropdown">
|
|
1670
|
+
<button
|
|
1671
|
+
class="pf-c-dropdown__toggle pf-m-plain"
|
|
1672
|
+
id="expandable-set-width-columns-example-dropdown-kebab-1-button"
|
|
1673
|
+
aria-expanded="false"
|
|
1674
|
+
type="button"
|
|
1675
|
+
aria-label="Actions"
|
|
1676
|
+
>
|
|
1677
|
+
<i class="fas fa-ellipsis-v" aria-hidden="true"></i>
|
|
1678
|
+
</button>
|
|
1679
|
+
<ul
|
|
1680
|
+
class="pf-c-dropdown__menu pf-m-align-right"
|
|
1681
|
+
aria-labelledby="expandable-set-width-columns-example-dropdown-kebab-1-button"
|
|
1682
|
+
hidden
|
|
1683
|
+
>
|
|
1684
|
+
<li>
|
|
1685
|
+
<a class="pf-c-dropdown__menu-item" href="#">Link</a>
|
|
1686
|
+
</li>
|
|
1687
|
+
<li>
|
|
1688
|
+
<button class="pf-c-dropdown__menu-item" type="button">Action</button>
|
|
1689
|
+
</li>
|
|
1690
|
+
<li>
|
|
1691
|
+
<a
|
|
1692
|
+
class="pf-c-dropdown__menu-item pf-m-disabled"
|
|
1693
|
+
href="#"
|
|
1694
|
+
aria-disabled="true"
|
|
1695
|
+
tabindex="-1"
|
|
1696
|
+
>Disabled link</a>
|
|
1697
|
+
</li>
|
|
1698
|
+
<li>
|
|
1699
|
+
<button
|
|
1700
|
+
class="pf-c-dropdown__menu-item"
|
|
1701
|
+
type="button"
|
|
1702
|
+
disabled
|
|
1703
|
+
>Disabled action</button>
|
|
1704
|
+
</li>
|
|
1705
|
+
<li class="pf-c-divider" role="separator"></li>
|
|
1706
|
+
<li>
|
|
1707
|
+
<a class="pf-c-dropdown__menu-item" href="#">Separated link</a>
|
|
1708
|
+
</li>
|
|
1709
|
+
</ul>
|
|
1710
|
+
</div>
|
|
1711
|
+
</td>
|
|
1712
|
+
</tr>
|
|
1713
|
+
|
|
1714
|
+
<tr
|
|
1715
|
+
class="pf-c-table__expandable-row pf-m-expanded"
|
|
1716
|
+
role="row"
|
|
1717
|
+
id="expandable-set-width-columns-example-content1"
|
|
1718
|
+
>
|
|
1719
|
+
<td></td>
|
|
1720
|
+
<td></td>
|
|
1721
|
+
<td role="cell" colspan="4">
|
|
1722
|
+
<div class="pf-c-table__expandable-row-content">
|
|
1723
|
+
<b>Span four</b> lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
1724
|
+
</div>
|
|
1725
|
+
</td>
|
|
1726
|
+
<td></td>
|
|
1727
|
+
</tr>
|
|
1728
|
+
</tbody>
|
|
1729
|
+
|
|
1730
|
+
<tbody role="rowgroup">
|
|
1731
|
+
<tr class="pf-m-expanded" role="row">
|
|
1732
|
+
<td class="pf-c-table__toggle" role="cell">
|
|
1733
|
+
<button
|
|
1734
|
+
class="pf-c-button pf-m-plain pf-m-expanded"
|
|
1735
|
+
aria-labelledby="expandable-set-width-columns-example-node2 expandable-set-width-columns-example-expandable-toggle2"
|
|
1736
|
+
id="expandable-set-width-columns-example-expandable-toggle2"
|
|
1737
|
+
aria-label="Details"
|
|
1738
|
+
aria-controls="expandable-set-width-columns-example-content2"
|
|
1739
|
+
aria-expanded="true"
|
|
1740
|
+
>
|
|
1741
|
+
<div class="pf-c-table__toggle-icon">
|
|
1742
|
+
<i class="fas fa-angle-down" aria-hidden="true"></i>
|
|
1743
|
+
</div>
|
|
1744
|
+
</button>
|
|
1745
|
+
</td>
|
|
1746
|
+
|
|
1747
|
+
<td class="pf-c-table__check" role="cell">
|
|
1748
|
+
<label>
|
|
1749
|
+
<input
|
|
1750
|
+
type="checkbox"
|
|
1751
|
+
name="expandable-set-width-columns-example-checkrow2"
|
|
1752
|
+
aria-labelledby="expandable-set-width-columns-example-node2"
|
|
1753
|
+
/>
|
|
1754
|
+
</label>
|
|
1755
|
+
</td>
|
|
1756
|
+
<th role="columnheader" data-label="Data label name">
|
|
1757
|
+
<div id="expandable-set-width-columns-example-node2">Node 2</div>
|
|
1758
|
+
<a href="#">siemur/test-space</a>
|
|
1759
|
+
</th>
|
|
1760
|
+
<td role="cell" data-label="Branches">10</td>
|
|
1761
|
+
<td role="cell" data-label="Pull requests">25</td>
|
|
1762
|
+
<td role="cell" data-label="Action">
|
|
1763
|
+
<a href="#">Link 2</a>
|
|
1764
|
+
</td>
|
|
1765
|
+
<td class="pf-c-table__action" role="cell">
|
|
1766
|
+
<div class="pf-c-dropdown">
|
|
1767
|
+
<button
|
|
1768
|
+
class="pf-c-dropdown__toggle pf-m-plain"
|
|
1769
|
+
id="expandable-set-width-columns-example-dropdown-kebab-2-button"
|
|
1770
|
+
aria-expanded="false"
|
|
1771
|
+
type="button"
|
|
1772
|
+
aria-label="Actions"
|
|
1773
|
+
>
|
|
1774
|
+
<i class="fas fa-ellipsis-v" aria-hidden="true"></i>
|
|
1775
|
+
</button>
|
|
1776
|
+
<ul
|
|
1777
|
+
class="pf-c-dropdown__menu pf-m-align-right"
|
|
1778
|
+
aria-labelledby="expandable-set-width-columns-example-dropdown-kebab-2-button"
|
|
1779
|
+
hidden
|
|
1780
|
+
>
|
|
1781
|
+
<li>
|
|
1782
|
+
<a class="pf-c-dropdown__menu-item" href="#">Link</a>
|
|
1783
|
+
</li>
|
|
1784
|
+
<li>
|
|
1785
|
+
<button class="pf-c-dropdown__menu-item" type="button">Action</button>
|
|
1786
|
+
</li>
|
|
1787
|
+
<li>
|
|
1788
|
+
<a
|
|
1789
|
+
class="pf-c-dropdown__menu-item pf-m-disabled"
|
|
1790
|
+
href="#"
|
|
1791
|
+
aria-disabled="true"
|
|
1792
|
+
tabindex="-1"
|
|
1793
|
+
>Disabled link</a>
|
|
1794
|
+
</li>
|
|
1795
|
+
<li>
|
|
1796
|
+
<button
|
|
1797
|
+
class="pf-c-dropdown__menu-item"
|
|
1798
|
+
type="button"
|
|
1799
|
+
disabled
|
|
1800
|
+
>Disabled action</button>
|
|
1801
|
+
</li>
|
|
1802
|
+
<li class="pf-c-divider" role="separator"></li>
|
|
1803
|
+
<li>
|
|
1804
|
+
<a class="pf-c-dropdown__menu-item" href="#">Separated link</a>
|
|
1805
|
+
</li>
|
|
1806
|
+
</ul>
|
|
1807
|
+
</div>
|
|
1808
|
+
</td>
|
|
1809
|
+
</tr>
|
|
1810
|
+
|
|
1811
|
+
<tr
|
|
1812
|
+
class="pf-c-table__expandable-row pf-m-expanded"
|
|
1813
|
+
role="row"
|
|
1814
|
+
id="expandable-set-width-columns-example-content2"
|
|
1815
|
+
>
|
|
1816
|
+
<td></td>
|
|
1817
|
+
<td></td>
|
|
1818
|
+
<td role="cell" colspan="2">
|
|
1819
|
+
<div class="pf-c-table__expandable-row-content">Span three and four</div>
|
|
1820
|
+
</td>
|
|
1821
|
+
<td role="cell" colspan="2">
|
|
1822
|
+
<div class="pf-c-table__expandable-row-content">Span five and six</div>
|
|
1823
|
+
</td>
|
|
1824
|
+
<td></td>
|
|
1825
|
+
</tr>
|
|
1826
|
+
</tbody>
|
|
1827
|
+
|
|
1828
|
+
<tbody class="pf-m-expanded" role="rowgroup">
|
|
1829
|
+
<tr role="row">
|
|
1830
|
+
<td class="pf-c-table__toggle" role="cell">
|
|
1831
|
+
<button
|
|
1832
|
+
class="pf-c-button pf-m-plain pf-m-expanded"
|
|
1833
|
+
aria-labelledby="expandable-set-width-columns-example-node3 expandable-set-width-columns-example-expandable-toggle3"
|
|
1834
|
+
id="expandable-set-width-columns-example-expandable-toggle3"
|
|
1835
|
+
aria-label="Details"
|
|
1836
|
+
aria-controls="expandable-set-width-columns-example-content3"
|
|
1837
|
+
aria-expanded="true"
|
|
1838
|
+
>
|
|
1839
|
+
<div class="pf-c-table__toggle-icon">
|
|
1840
|
+
<i class="fas fa-angle-down" aria-hidden="true"></i>
|
|
1841
|
+
</div>
|
|
1842
|
+
</button>
|
|
1843
|
+
</td>
|
|
1844
|
+
|
|
1845
|
+
<td class="pf-c-table__check" role="cell">
|
|
1846
|
+
<label>
|
|
1847
|
+
<input
|
|
1848
|
+
type="checkbox"
|
|
1849
|
+
name="expandable-set-width-columns-example-checkrow3"
|
|
1850
|
+
aria-labelledby="expandable-set-width-columns-example-node3"
|
|
1851
|
+
/>
|
|
1852
|
+
</label>
|
|
1853
|
+
</td>
|
|
1854
|
+
<th role="columnheader" data-label="Data label name">
|
|
1855
|
+
<div id="expandable-set-width-columns-example-node3">Node 3</div>
|
|
1856
|
+
<a href="#">siemur/test-space</a>
|
|
1857
|
+
</th>
|
|
1858
|
+
<td role="cell" data-label="Branches">10</td>
|
|
1859
|
+
<td role="cell" data-label="Pull requests">25</td>
|
|
1860
|
+
<td role="cell" data-label="Action">
|
|
1861
|
+
<a href="#">Link 3</a>
|
|
1862
|
+
</td>
|
|
1863
|
+
<td class="pf-c-table__action" role="cell">
|
|
1864
|
+
<div class="pf-c-dropdown">
|
|
1865
|
+
<button
|
|
1866
|
+
class="pf-c-dropdown__toggle pf-m-plain"
|
|
1867
|
+
id="expandable-set-width-columns-example-dropdown-kebab-3-button"
|
|
1868
|
+
aria-expanded="false"
|
|
1869
|
+
type="button"
|
|
1870
|
+
aria-label="Actions"
|
|
1871
|
+
>
|
|
1872
|
+
<i class="fas fa-ellipsis-v" aria-hidden="true"></i>
|
|
1873
|
+
</button>
|
|
1874
|
+
<ul
|
|
1875
|
+
class="pf-c-dropdown__menu pf-m-align-right"
|
|
1876
|
+
aria-labelledby="expandable-set-width-columns-example-dropdown-kebab-3-button"
|
|
1877
|
+
hidden
|
|
1878
|
+
>
|
|
1879
|
+
<li>
|
|
1880
|
+
<a class="pf-c-dropdown__menu-item" href="#">Link</a>
|
|
1881
|
+
</li>
|
|
1882
|
+
<li>
|
|
1883
|
+
<button class="pf-c-dropdown__menu-item" type="button">Action</button>
|
|
1884
|
+
</li>
|
|
1885
|
+
<li>
|
|
1886
|
+
<a
|
|
1887
|
+
class="pf-c-dropdown__menu-item pf-m-disabled"
|
|
1888
|
+
href="#"
|
|
1889
|
+
aria-disabled="true"
|
|
1890
|
+
tabindex="-1"
|
|
1891
|
+
>Disabled link</a>
|
|
1892
|
+
</li>
|
|
1893
|
+
<li>
|
|
1894
|
+
<button
|
|
1895
|
+
class="pf-c-dropdown__menu-item"
|
|
1896
|
+
type="button"
|
|
1897
|
+
disabled
|
|
1898
|
+
>Disabled action</button>
|
|
1899
|
+
</li>
|
|
1900
|
+
<li class="pf-c-divider" role="separator"></li>
|
|
1901
|
+
<li>
|
|
1902
|
+
<a class="pf-c-dropdown__menu-item" href="#">Separated link</a>
|
|
1903
|
+
</li>
|
|
1904
|
+
</ul>
|
|
1905
|
+
</div>
|
|
1906
|
+
</td>
|
|
1907
|
+
</tr>
|
|
1908
|
+
|
|
1909
|
+
<tr
|
|
1910
|
+
class="pf-c-table__expandable-row pf-m-expanded"
|
|
1911
|
+
role="row"
|
|
1912
|
+
id="expandable-set-width-columns-example-content3"
|
|
1913
|
+
>
|
|
1914
|
+
<td role="cell" colspan="7">
|
|
1915
|
+
<div class="pf-c-table__expandable-row-content">
|
|
1916
|
+
<b>Span all</b> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
1917
|
+
</div>
|
|
1918
|
+
</td>
|
|
1919
|
+
</tr>
|
|
1920
|
+
</tbody>
|
|
1921
|
+
|
|
1922
|
+
<tbody class="pf-m-expanded" role="rowgroup">
|
|
1923
|
+
<tr role="row">
|
|
1924
|
+
<td class="pf-c-table__toggle" role="cell">
|
|
1925
|
+
<button
|
|
1926
|
+
class="pf-c-button pf-m-plain pf-m-expanded"
|
|
1927
|
+
aria-labelledby="expandable-set-width-columns-example-node4 expandable-set-width-columns-example-expandable-toggle4"
|
|
1928
|
+
id="expandable-set-width-columns-example-expandable-toggle4"
|
|
1929
|
+
aria-label="Details"
|
|
1930
|
+
aria-controls="expandable-set-width-columns-example-content4"
|
|
1931
|
+
aria-expanded="true"
|
|
1932
|
+
>
|
|
1933
|
+
<div class="pf-c-table__toggle-icon">
|
|
1934
|
+
<i class="fas fa-angle-down" aria-hidden="true"></i>
|
|
1935
|
+
</div>
|
|
1936
|
+
</button>
|
|
1937
|
+
</td>
|
|
1938
|
+
|
|
1939
|
+
<td class="pf-c-table__check" role="cell">
|
|
1940
|
+
<label>
|
|
1941
|
+
<input
|
|
1942
|
+
type="checkbox"
|
|
1943
|
+
name="expandable-set-width-columns-example-checkrow4"
|
|
1944
|
+
aria-labelledby="expandable-set-width-columns-example-node4"
|
|
1945
|
+
/>
|
|
1946
|
+
</label>
|
|
1947
|
+
</td>
|
|
1948
|
+
<th role="columnheader" data-label="Data label name">
|
|
1949
|
+
<div id="expandable-set-width-columns-example-node4">Node 4</div>
|
|
1950
|
+
<a href="#">siemur/test-space</a>
|
|
1951
|
+
</th>
|
|
1952
|
+
<td role="cell" data-label="Branches">10</td>
|
|
1953
|
+
<td role="cell" data-label="Pull requests">25</td>
|
|
1954
|
+
<td role="cell" data-label="Action">
|
|
1955
|
+
<a href="#">Link 4</a>
|
|
1956
|
+
</td>
|
|
1957
|
+
<td class="pf-c-table__action" role="cell">
|
|
1958
|
+
<div class="pf-c-dropdown">
|
|
1959
|
+
<button
|
|
1960
|
+
class="pf-c-dropdown__toggle pf-m-plain"
|
|
1961
|
+
id="expandable-set-width-columns-example-dropdown-kebab-4-button"
|
|
1962
|
+
aria-expanded="false"
|
|
1963
|
+
type="button"
|
|
1964
|
+
aria-label="Actions"
|
|
1965
|
+
>
|
|
1966
|
+
<i class="fas fa-ellipsis-v" aria-hidden="true"></i>
|
|
1967
|
+
</button>
|
|
1968
|
+
<ul
|
|
1969
|
+
class="pf-c-dropdown__menu pf-m-align-right"
|
|
1970
|
+
aria-labelledby="expandable-set-width-columns-example-dropdown-kebab-4-button"
|
|
1971
|
+
hidden
|
|
1972
|
+
>
|
|
1973
|
+
<li>
|
|
1974
|
+
<a class="pf-c-dropdown__menu-item" href="#">Link</a>
|
|
1975
|
+
</li>
|
|
1976
|
+
<li>
|
|
1977
|
+
<button class="pf-c-dropdown__menu-item" type="button">Action</button>
|
|
1978
|
+
</li>
|
|
1979
|
+
<li>
|
|
1980
|
+
<a
|
|
1981
|
+
class="pf-c-dropdown__menu-item pf-m-disabled"
|
|
1982
|
+
href="#"
|
|
1983
|
+
aria-disabled="true"
|
|
1984
|
+
tabindex="-1"
|
|
1985
|
+
>Disabled link</a>
|
|
1986
|
+
</li>
|
|
1987
|
+
<li>
|
|
1988
|
+
<button
|
|
1989
|
+
class="pf-c-dropdown__menu-item"
|
|
1990
|
+
type="button"
|
|
1991
|
+
disabled
|
|
1992
|
+
>Disabled action</button>
|
|
1993
|
+
</li>
|
|
1994
|
+
<li class="pf-c-divider" role="separator"></li>
|
|
1995
|
+
<li>
|
|
1996
|
+
<a class="pf-c-dropdown__menu-item" href="#">Separated link</a>
|
|
1997
|
+
</li>
|
|
1998
|
+
</ul>
|
|
1999
|
+
</div>
|
|
2000
|
+
</td>
|
|
2001
|
+
</tr>
|
|
2002
|
+
|
|
2003
|
+
<tr
|
|
2004
|
+
class="pf-c-table__expandable-row pf-m-expanded"
|
|
2005
|
+
role="row"
|
|
2006
|
+
id="expandable-set-width-columns-example-content4"
|
|
2007
|
+
>
|
|
2008
|
+
<td role="cell" colspan="3">
|
|
2009
|
+
<div class="pf-c-table__expandable-row-content">Span one, two, and three</div>
|
|
2010
|
+
</td>
|
|
2011
|
+
<td role="cell" colspan="2">
|
|
2012
|
+
<div class="pf-c-table__expandable-row-content">Span four and five</div>
|
|
2013
|
+
</td>
|
|
2014
|
+
<td role="cell" colspan="2">
|
|
2015
|
+
<div class="pf-c-table__expandable-row-content">Span six and seven</div>
|
|
2016
|
+
</td>
|
|
2017
|
+
</tr>
|
|
2018
|
+
</tbody>
|
|
2019
|
+
</table>
|
|
2020
|
+
|
|
2021
|
+
```
|
|
2022
|
+
|
|
1549
2023
|
### Expandable with nested table example
|
|
1550
2024
|
|
|
1551
2025
|
```html
|