@patternfly/patternfly 6.5.0-prerelease.3 → 6.5.0-prerelease.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.
- package/README.md +1 -1
- package/assets/images/RHAiExperienceIcon.svg +27 -0
- package/assets/images/RHAutomationsLogo.svg +96 -0
- package/assets/images/RHServerStackIcon.svg +16 -0
- package/assets/images/compass--hero-bg.png +0 -0
- package/assets/images/compass--rh-wallpaper-dark.png +0 -0
- package/assets/images/compass--rh-wallpaper-light.png +0 -0
- package/assets/images/compass--wallpaper-dark.png +0 -0
- package/assets/images/compass--wallpaper-light.png +0 -0
- package/base/normalize.scss +7 -0
- package/base/patternfly-common.css +46 -0
- package/base/patternfly-common.scss +56 -0
- package/base/patternfly-variables.css +42 -0
- package/base/tokens/tokens-local.scss +66 -0
- package/components/Accordion/accordion.scss +0 -1
- package/components/ActionList/action-list.css +2 -0
- package/components/ActionList/action-list.scss +2 -0
- package/components/Button/button.css +34 -4
- package/components/Button/button.scss +40 -4
- package/components/Card/card.css +12 -0
- package/components/Card/card.scss +15 -1
- package/components/Compass/compass.css +306 -0
- package/components/Compass/compass.scss +337 -0
- package/components/DataList/data-list.css +5 -1
- package/components/DataList/data-list.scss +6 -1
- package/components/Drawer/drawer.css +43 -3
- package/components/Drawer/drawer.scss +52 -4
- package/components/ExpandableSection/expandable-section.css +3 -0
- package/components/ExpandableSection/expandable-section.scss +3 -0
- package/components/Hero/hero.css +74 -0
- package/components/Hero/hero.scss +86 -0
- package/components/MenuToggle/menu-toggle.css +4 -0
- package/components/MenuToggle/menu-toggle.scss +5 -0
- package/components/Table/table.css +3 -0
- package/components/Table/table.scss +5 -0
- package/components/Tabs/tabs.css +16 -1
- package/components/Tabs/tabs.scss +21 -1
- package/components/_index.css +578 -84
- package/components/_index.scss +3 -1
- package/docs/components/Avatar/examples/Avatar.md +4 -4
- package/docs/components/Brand/examples/Brand.md +2 -2
- package/docs/components/Button/examples/Button.md +116 -0
- package/docs/components/Card/examples/Card.md +154 -0
- package/docs/components/Compass/examples/Compass.css +11 -0
- package/docs/components/Compass/examples/Compass.md +91 -0
- package/docs/components/DataList/examples/DataList.md +184 -188
- package/docs/components/DescriptionList/examples/DescriptionList.md +2 -2
- package/docs/components/Divider/examples/Divider.md +2 -2
- package/docs/components/Drawer/examples/Drawer.md +83 -17
- package/docs/components/Hero/examples/Hero.md +25 -0
- package/docs/components/Icon/examples/Icon.md +1 -1
- package/docs/components/InputGroup/examples/InputGroup.md +1 -1
- package/docs/components/JumpLinks/examples/JumpLinks.md +2 -2
- package/docs/components/Masthead/examples/masthead.md +1 -1
- package/docs/components/Menu/examples/Menu.md +2 -2
- package/docs/components/MenuToggle/examples/MenuToggle.md +40 -0
- package/docs/components/Page/examples/Page.md +2 -2
- package/docs/components/Pagination/examples/Pagination.md +3 -3
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +2 -2
- package/docs/components/Sidebar/examples/Sidebar.md +1 -1
- package/docs/components/Table/examples/Table.md +91 -3
- package/docs/components/Tabs/examples/Tabs.md +998 -83
- package/docs/components/Toolbar/examples/Toolbar.md +7 -7
- package/docs/components/Wizard/examples/Wizard.md +15 -15
- package/docs/demos/Card/examples/Card.md +14 -2
- package/docs/demos/Compass/examples/Compass.md +6246 -0
- package/docs/demos/Dashboard/examples/Dashboard.md +1 -4
- package/docs/demos/DescriptionList/examples/DescriptionList.md +42 -35
- package/docs/demos/Drawer/examples/Drawer.md +42 -35
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +143 -165
- package/docs/demos/Tabs/examples/Tabs.md +72 -9
- package/docs/demos/Wizard/examples/Wizard.md +31 -34
- package/docs/layouts/Bullseye/examples/Bullseye.css +2 -2
- package/docs/layouts/Bullseye/examples/Bullseye.md +2 -1
- package/docs/layouts/Flex/examples/Flex.css +3 -3
- package/docs/layouts/Flex/examples/Flex.md +3 -2
- package/docs/layouts/Gallery/examples/Gallery.css +2 -2
- package/docs/layouts/Gallery/examples/Gallery.md +4 -3
- package/docs/layouts/Grid/examples/Grid.css +1 -1
- package/docs/layouts/Grid/examples/Grid.md +6 -5
- package/docs/layouts/Level/examples/Level.css +3 -3
- package/docs/layouts/Level/examples/Level.md +2 -1
- package/docs/layouts/Split/examples/Split.css +1 -1
- package/docs/layouts/Split/examples/Split.md +2 -1
- package/docs/layouts/Stack/examples/Stack.css +3 -3
- package/docs/layouts/Stack/examples/Stack.md +2 -1
- package/docs/utilities/Accessibility/examples/Accessibility.md +3 -2
- package/docs/utilities/Alignment/examples/Alignment.css +4 -4
- package/docs/utilities/Alignment/examples/Alignment.md +3 -2
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +5 -4
- package/docs/utilities/BoxShadow/examples/box-shadow.css +2 -2
- package/docs/utilities/BoxShadow/examples/box-shadow.md +2 -1
- package/docs/utilities/Display/examples/Display.css +1 -1
- package/docs/utilities/Display/examples/Display.md +3 -2
- package/docs/utilities/Flex/examples/Flex.css +7 -7
- package/docs/utilities/Flex/examples/Flex.md +3 -2
- package/docs/utilities/Float/examples/Float.css +2 -2
- package/docs/utilities/Float/examples/Float.md +3 -2
- package/docs/utilities/Sizing/examples/Sizing.md +8 -7
- package/docs/utilities/Spacing/examples/Spacing.css +2 -2
- package/docs/utilities/Spacing/examples/Spacing.md +3 -2
- package/docs/utilities/Text/examples/Text.md +5 -4
- package/icons/PfIcons/add-circle-o.svg +4 -0
- package/icons/PfIcons/ansible-tower.svg +4 -0
- package/icons/PfIcons/applications.svg +4 -0
- package/icons/PfIcons/arrow.svg +4 -0
- package/icons/PfIcons/asleep.svg +4 -0
- package/icons/PfIcons/attention-bell.svg +4 -0
- package/icons/PfIcons/automation.svg +4 -0
- package/icons/PfIcons/bell.svg +4 -0
- package/icons/PfIcons/blueprint.svg +4 -0
- package/icons/PfIcons/build.svg +4 -0
- package/icons/PfIcons/builder-image.svg +4 -0
- package/icons/PfIcons/bundle.svg +4 -0
- package/icons/PfIcons/catalog.svg +4 -0
- package/icons/PfIcons/chat.svg +4 -0
- package/icons/PfIcons/close.svg +4 -0
- package/icons/PfIcons/cloud-security.svg +4 -0
- package/icons/PfIcons/cloud-tenant.svg +4 -0
- package/icons/PfIcons/cluster.svg +4 -0
- package/icons/PfIcons/connected.svg +4 -0
- package/icons/PfIcons/container-node.svg +4 -0
- package/icons/PfIcons/cpu.svg +4 -0
- package/icons/PfIcons/critical-risk.svg +4 -0
- package/icons/PfIcons/data-processor.svg +4 -0
- package/icons/PfIcons/data-sink.svg +4 -0
- package/icons/PfIcons/data-source.svg +4 -0
- package/icons/PfIcons/degraded.svg +4 -0
- package/icons/PfIcons/disconnected.svg +4 -0
- package/icons/PfIcons/domain.svg +4 -0
- package/icons/PfIcons/edit.svg +4 -0
- package/icons/PfIcons/enhancement.svg +4 -0
- package/icons/PfIcons/enterprise.svg +4 -0
- package/icons/PfIcons/equalizer.svg +4 -0
- package/icons/PfIcons/error-circle-o.svg +4 -0
- package/icons/PfIcons/export.svg +4 -0
- package/icons/PfIcons/filter.svg +4 -0
- package/icons/PfIcons/flavor.svg +4 -0
- package/icons/PfIcons/folder-close.svg +4 -0
- package/icons/PfIcons/folder-open.svg +4 -0
- package/icons/PfIcons/globe-route.svg +4 -0
- package/icons/PfIcons/help.svg +4 -0
- package/icons/PfIcons/history.svg +4 -0
- package/icons/PfIcons/home.svg +4 -0
- package/icons/PfIcons/import.svg +4 -0
- package/icons/PfIcons/in-progress.svg +4 -0
- package/icons/PfIcons/info.svg +4 -0
- package/icons/PfIcons/infrastructure.svg +4 -0
- package/icons/PfIcons/integration.svg +4 -0
- package/icons/PfIcons/key.svg +4 -0
- package/icons/PfIcons/locked.svg +4 -0
- package/icons/PfIcons/maintenance.svg +4 -0
- package/icons/PfIcons/memory.svg +4 -0
- package/icons/PfIcons/messages.svg +4 -0
- package/icons/PfIcons/middleware.svg +4 -0
- package/icons/PfIcons/migration.svg +4 -0
- package/icons/PfIcons/module.svg +4 -0
- package/icons/PfIcons/monitoring.svg +4 -0
- package/icons/PfIcons/multicluster.svg +4 -0
- package/icons/PfIcons/namespaces.svg +4 -0
- package/icons/PfIcons/network.svg +4 -0
- package/icons/PfIcons/new-process.svg +4 -0
- package/icons/PfIcons/not-started.svg +4 -0
- package/icons/PfIcons/off.svg +4 -0
- package/icons/PfIcons/ok.svg +4 -0
- package/icons/PfIcons/on-running.svg +4 -0
- package/icons/PfIcons/on.svg +4 -0
- package/icons/PfIcons/open-drawer-right.svg +4 -0
- package/icons/PfIcons/openshift.svg +4 -0
- package/icons/PfIcons/openstack.svg +4 -0
- package/icons/PfIcons/optimize.svg +4 -0
- package/icons/PfIcons/orders.svg +4 -0
- package/icons/PfIcons/os-image.svg +4 -0
- package/icons/PfIcons/package.svg +4 -0
- package/icons/PfIcons/panel-close.svg +4 -0
- package/icons/PfIcons/panel-open.svg +4 -0
- package/icons/PfIcons/paused.svg +4 -0
- package/icons/PfIcons/pending.svg +4 -0
- package/icons/PfIcons/pficon-dragdrop.svg +4 -0
- package/icons/PfIcons/pficon-history.svg +4 -0
- package/icons/PfIcons/pficon-network-range.svg +4 -0
- package/icons/PfIcons/pficon-satellite.svg +4 -0
- package/icons/PfIcons/pficon-sort-common-asc.svg +4 -0
- package/icons/PfIcons/pficon-sort-common-desc.svg +4 -0
- package/icons/PfIcons/pficon-template.svg +4 -0
- package/icons/PfIcons/pficon-vcenter.svg +4 -0
- package/icons/PfIcons/plugged.svg +4 -0
- package/icons/PfIcons/port.svg +4 -0
- package/icons/PfIcons/print.svg +4 -0
- package/icons/PfIcons/private.svg +4 -0
- package/icons/PfIcons/process-automation.svg +4 -0
- package/icons/PfIcons/project.svg +4 -0
- package/icons/PfIcons/rebalance.svg +4 -0
- package/icons/PfIcons/rebooting.svg +4 -0
- package/icons/PfIcons/regions.svg +4 -0
- package/icons/PfIcons/registry.svg +4 -0
- package/icons/PfIcons/remove2.svg +4 -0
- package/icons/PfIcons/replicator.svg +4 -0
- package/icons/PfIcons/repository.svg +4 -0
- package/icons/PfIcons/resource-pool.svg +4 -0
- package/icons/PfIcons/resources-almost-empty.svg +4 -0
- package/icons/PfIcons/resources-almost-full.svg +4 -0
- package/icons/PfIcons/resources-empty.svg +4 -0
- package/icons/PfIcons/resources-full.svg +4 -0
- package/icons/PfIcons/running.svg +4 -0
- package/icons/PfIcons/save.svg +4 -0
- package/icons/PfIcons/screen.svg +4 -0
- package/icons/PfIcons/security.svg +4 -0
- package/icons/PfIcons/server-group.svg +4 -0
- package/icons/PfIcons/server.svg +4 -0
- package/icons/PfIcons/service-catalog.svg +4 -0
- package/icons/PfIcons/service.svg +4 -0
- package/icons/PfIcons/services.svg +4 -0
- package/icons/PfIcons/severity-critical.svg +4 -0
- package/icons/PfIcons/severity-important.svg +4 -0
- package/icons/PfIcons/severity-minor.svg +4 -0
- package/icons/PfIcons/severity-moderate.svg +4 -0
- package/icons/PfIcons/severity-none.svg +4 -0
- package/icons/PfIcons/severity-undefined.svg +4 -0
- package/icons/PfIcons/spinner.svg +4 -0
- package/icons/PfIcons/spinner2.svg +4 -0
- package/icons/PfIcons/storage-domain.svg +4 -0
- package/icons/PfIcons/task.svg +4 -0
- package/icons/PfIcons/tenant.svg +4 -0
- package/icons/PfIcons/thumb-tack.svg +4 -0
- package/icons/PfIcons/topology.svg +4 -0
- package/icons/PfIcons/treeview.svg +4 -0
- package/icons/PfIcons/trend-down.svg +4 -0
- package/icons/PfIcons/trend-up.svg +4 -0
- package/icons/PfIcons/unknown.svg +4 -0
- package/icons/PfIcons/unlocked.svg +4 -0
- package/icons/PfIcons/unplugged.svg +4 -0
- package/icons/PfIcons/user.svg +4 -0
- package/icons/PfIcons/users.svg +4 -0
- package/icons/PfIcons/virtual-machine.svg +4 -0
- package/icons/PfIcons/volume.svg +4 -0
- package/icons/PfIcons/warning-triangle.svg +4 -0
- package/icons/PfIcons/zone.svg +4 -0
- package/package.json +28 -13
- package/patternfly-base-no-globals.css +88 -0
- package/patternfly-base.css +95 -0
- package/patternfly-no-globals.css +666 -84
- package/patternfly.css +673 -84
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/namespaces-components.scss +6 -0
|
@@ -1669,8 +1669,8 @@ description-list--aria-label="Horizontal 2 column auto term width example" descr
|
|
|
1669
1669
|
| `.pf-m-auto-column-widths` | `.pf-v6-c-description-list` | Modifies the description list to format automatically. |
|
|
1670
1670
|
| `.pf-m-inline-grid` | `.pf-v6-c-description-list` | Modifies the description list display to inline-grid. |
|
|
1671
1671
|
| `.pf-m-{1,2,3}-col{-on-[sm, md, lg, xl, 2xl]}` | `.pf-v6-c-description-list` | Modifies the description list number of columns. |
|
|
1672
|
-
| `--pf-v6-c-description-list--GridTemplateColumns--min{-on-[breakpoint]}: {width}` | `.pf-v6-c-description-list` | Modifies the min value of the `grid-template-columns` declaration at optional [breakpoint](/tokens/all-
|
|
1673
|
-
| `--pf-v6-c-description-list--m-horizontal__term--width{-on-[breakpoint]}: {width}` | `.pf-v6-c-description-list.pf-m-horizontal` | Modifies the description list term width at optional [breakpoint](/tokens/all-
|
|
1672
|
+
| `--pf-v6-c-description-list--GridTemplateColumns--min{-on-[breakpoint]}: {width}` | `.pf-v6-c-description-list` | Modifies the min value of the `grid-template-columns` declaration at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
1673
|
+
| `--pf-v6-c-description-list--m-horizontal__term--width{-on-[breakpoint]}: {width}` | `.pf-v6-c-description-list.pf-m-horizontal` | Modifies the description list term width at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
1674
1674
|
|
|
1675
1675
|
<!-- | `.pf-m-order[0-12]{-on-[breakpoint]}` | `.pf-v6-c-description-list__group` | Modifies the order of the flex layout element. |
|
|
1676
1676
|
| `.pf-m-order-first{-on-[breakpoint]}` | `.pf-v6-c-description-list__group` | Modifies the order of the flex layout element to -1. |
|
|
@@ -134,5 +134,5 @@ The divider renders as an `<hr>` by default. It is possible to make the divider
|
|
|
134
134
|
| `.pf-v6-c-divider` | `<hr>`, `<li>`, `<div>` | Defines the divider component. |
|
|
135
135
|
| `.pf-m-vertical` | `.pf-v6-c-divider` | Modifies the divider component from horizontal to vertical. This modifier requires that the parent has an explicit or implicit height, or has a flex or grid based layout parent. |
|
|
136
136
|
| `.pf-m-inset-{none, sm, md, lg, xl, 2xl, 3xl}{-on-[sm, md, lg, xl, 2xl]}` | `.pf-v6-c-divider` | Modifies divider padding/inset to visually match padding of other adjacent components. |
|
|
137
|
-
| `.pf-m-hidden{-on-[breakpoint]}` | `.pf-v6-c-divider` | Modifies a divider to be hidden, at optional [breakpoint](/tokens/all-
|
|
138
|
-
| `.pf-m-visible{-on-[breakpoint]}` | `.pf-v6-c-divider` | Modifies a divider to be shown, at optional [breakpoint](/tokens/all-
|
|
137
|
+
| `.pf-m-hidden{-on-[breakpoint]}` | `.pf-v6-c-divider` | Modifies a divider to be hidden, at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
138
|
+
| `.pf-m-visible{-on-[breakpoint]}` | `.pf-v6-c-divider` | Modifies a divider to be shown, at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
@@ -449,7 +449,7 @@ cssPrefix: pf-v6-c-drawer
|
|
|
449
449
|
</div>
|
|
450
450
|
<div class="pf-v6-c-drawer__body">Drawer panel body content</div>
|
|
451
451
|
<div
|
|
452
|
-
class="pf-v6-c-drawer__body
|
|
452
|
+
class="pf-v6-c-drawer__body"
|
|
453
453
|
style="--pf-v6-c-drawer__panel__body--PaddingInlineStart: 48px;"
|
|
454
454
|
>Drawer panel body content with modified inline start padding</div>
|
|
455
455
|
</div>
|
|
@@ -767,22 +767,79 @@ cssPrefix: pf-v6-c-drawer
|
|
|
767
767
|
|
|
768
768
|
```
|
|
769
769
|
|
|
770
|
-
###
|
|
770
|
+
### Pill
|
|
771
771
|
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
772
|
+
```html isBeta
|
|
773
|
+
<div class="pf-v6-c-drawer pf-m-expanded pf-m-pill">
|
|
774
|
+
<div class="pf-v6-c-drawer__main">
|
|
775
|
+
<div class="pf-v6-c-drawer__content">
|
|
776
|
+
<div
|
|
777
|
+
class="pf-v6-c-drawer__body"
|
|
778
|
+
>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
|
|
779
|
+
</div>
|
|
780
|
+
<div class="pf-v6-c-drawer__panel">
|
|
781
|
+
<div class="pf-v6-c-drawer__head">
|
|
782
|
+
<span>Drawer panel header content</span>
|
|
783
|
+
<div class="pf-v6-c-drawer__actions">
|
|
784
|
+
<div class="pf-v6-c-drawer__close">
|
|
785
|
+
<button
|
|
786
|
+
class="pf-v6-c-button pf-m-plain"
|
|
787
|
+
type="button"
|
|
788
|
+
aria-label="Close drawer panel"
|
|
789
|
+
>
|
|
790
|
+
<span class="pf-v6-c-button__icon">
|
|
791
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
792
|
+
</span>
|
|
793
|
+
</button>
|
|
794
|
+
</div>
|
|
795
|
+
</div>
|
|
796
|
+
</div>
|
|
797
|
+
<div
|
|
798
|
+
class="pf-v6-c-drawer__description"
|
|
799
|
+
>This is a helpful description of the drawer panel.</div>
|
|
800
|
+
<div class="pf-v6-c-drawer__body">Drawer panel body content</div>
|
|
801
|
+
</div>
|
|
802
|
+
</div>
|
|
803
|
+
</div>
|
|
778
804
|
|
|
779
|
-
|
|
805
|
+
```
|
|
780
806
|
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
807
|
+
### Pill inline
|
|
808
|
+
|
|
809
|
+
```html isBeta
|
|
810
|
+
<div class="pf-v6-c-drawer pf-m-expanded pf-m-inline pf-m-pill">
|
|
811
|
+
<div class="pf-v6-c-drawer__main">
|
|
812
|
+
<div class="pf-v6-c-drawer__content">
|
|
813
|
+
<div
|
|
814
|
+
class="pf-v6-c-drawer__body"
|
|
815
|
+
>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
|
|
816
|
+
</div>
|
|
817
|
+
<div class="pf-v6-c-drawer__panel">
|
|
818
|
+
<div class="pf-v6-c-drawer__head">
|
|
819
|
+
<span>Drawer panel header content</span>
|
|
820
|
+
<div class="pf-v6-c-drawer__actions">
|
|
821
|
+
<div class="pf-v6-c-drawer__close">
|
|
822
|
+
<button
|
|
823
|
+
class="pf-v6-c-button pf-m-plain"
|
|
824
|
+
type="button"
|
|
825
|
+
aria-label="Close drawer panel"
|
|
826
|
+
>
|
|
827
|
+
<span class="pf-v6-c-button__icon">
|
|
828
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
829
|
+
</span>
|
|
830
|
+
</button>
|
|
831
|
+
</div>
|
|
832
|
+
</div>
|
|
833
|
+
</div>
|
|
834
|
+
<div
|
|
835
|
+
class="pf-v6-c-drawer__description"
|
|
836
|
+
>This is a helpful description of the drawer panel.</div>
|
|
837
|
+
<div class="pf-v6-c-drawer__body">Drawer panel body content</div>
|
|
838
|
+
</div>
|
|
839
|
+
</div>
|
|
840
|
+
</div>
|
|
841
|
+
|
|
842
|
+
```
|
|
786
843
|
|
|
787
844
|
## Documentation
|
|
788
845
|
|
|
@@ -793,6 +850,10 @@ cssPrefix: pf-v6-c-drawer
|
|
|
793
850
|
| `aria-expanded="true"` | `action that opens drawer` | Indicates that the expandable content is visible. **Required** |
|
|
794
851
|
| `aria-expanded="false"` | `action that opens drawer` | Indicates that the expandable content is hidden. **Required** |
|
|
795
852
|
| `hidden` | `.pf-v6-c-drawer__panel` | Hides the drawer panel from assistive technologies. **Required** |
|
|
853
|
+
| `role="separator"` | `.pf-v6-c-drawer__splitter` | Indicates that the splitter is a separator. **Required** |
|
|
854
|
+
| `tabindex="0"` | `.pf-v6-c-drawer__splitter` | Inserts the splitter into the tab order of the page so that it is focusable. **Required** |
|
|
855
|
+
| `aria-orientation="horizontal"` | `.pf-v6-c-drawer__splitter` | Indicates that the splitter is oriented horizontally. |
|
|
856
|
+
| `aria-orientation="vertical"` | `.pf-v6-c-drawer__splitter.pf-m-vertical` | Indicates that the splitter is oriented vertically. |
|
|
796
857
|
|
|
797
858
|
### Usage
|
|
798
859
|
|
|
@@ -809,19 +870,24 @@ cssPrefix: pf-v6-c-drawer
|
|
|
809
870
|
| `.pf-v6-c-drawer__actions` | `<div>` | Initiates an actions container within `.pf-v6--drawer__head`. |
|
|
810
871
|
| `.pf-v6-c-drawer__close` | `<div>` | Identifies the drawer close button within `.pf-v6-c-drawer__actions`. |
|
|
811
872
|
| `.pf-v6-c-drawer__description` | `<div>` | Initiates a drawer panel description. |
|
|
873
|
+
| `.pf-v6-c-drawer__splitter` | `<div>` | Initiates the splitter. |
|
|
874
|
+
| `.pf-v6-c-drawer__splitter-handle` | `<div>` | Initiates the splitter handle element. |
|
|
812
875
|
| `.pf-m-panel-left` | `.pf-v6-c-drawer` | Modifies the drawer panel to expand from the left. |
|
|
813
876
|
| `.pf-m-panel-bottom` | `.pf-v6-c-drawer` | Modifies the drawer panel to expand from the bottom. **Note:** percentage based panel sizes require the drawer component's parent element have an implicit or explicit height. |
|
|
814
877
|
| `.pf-m-expanded` | `.pf-v6-c-drawer` | Modifies the drawer panel for the expanded state. |
|
|
815
|
-
| `.pf-m-static{-on-[lg, xl, 2xl]}` | `.pf-v6-c-drawer` | Modifies the drawer panel state to always show both content and panel at optional [breakpoint](/tokens/all-
|
|
816
|
-
| `.pf-m-inline{-on-[lg, xl, 2xl]}` | `.pf-v6-c-drawer` | Modifies the drawer so the content element and panel element are displayed side by side. `.pf-m-inline` used without a [breakpoint](/tokens/all-
|
|
878
|
+
| `.pf-m-static{-on-[lg, xl, 2xl]}` | `.pf-v6-c-drawer` | Modifies the drawer panel state to always show both content and panel at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
879
|
+
| `.pf-m-inline{-on-[lg, xl, 2xl]}` | `.pf-v6-c-drawer` | Modifies the drawer so the content element and panel element are displayed side by side. `.pf-m-inline` used without a [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens) will default to the `md` breakpoint. |
|
|
880
|
+
| `.pf-m-pill` | `.pf-v6-c-drawer` | Modifies the drawer for pill styles. |
|
|
881
|
+
| `.pf-m-no-glass` | `.pf-v6-c-drawer__panel.pf-m-pill` | Modifies the drawer panel to remove glass styling when using glass theme. |
|
|
817
882
|
| `.pf-m-no-border` | `.pf-v6-c-drawer__panel` | Modifies the drawer panel border treatment to disable all border treatment. |
|
|
818
883
|
| `.pf-m-padding` | `.pf-v6-c-drawer__body` | Modifies the element to add padding. |
|
|
819
884
|
| `.pf-m-no-padding` | `.pf-v6-c-drawer__body` | Modifies the element to remove padding. |
|
|
820
885
|
| `.pf-m-no-background` | `.pf-v6-c-drawer__section`, `.pf-v6-c-drawer__panel` | Modifies the drawer element background color to transparent. |
|
|
821
886
|
| `.pf-m-primary` | `.pf-v6-c-drawer__content` | Modifies the drawer content to use the primary background color. |
|
|
822
887
|
| `.pf-m-secondary` | `.pf-v6-c-drawer__section`, `.pf-v6-c-drawer__content`, `.pf-v6-c-drawer__panel` | Modifies the drawer element to use the secondary background color. |
|
|
823
|
-
| `.pf-m-width-{25, 33, 50, 66, 75, 100}{-on-[breakpoint]}` | `.pf-v6-c-drawer__panel` | Modifies the drawer panel width at optional [breakpoint](/tokens/all-
|
|
888
|
+
| `.pf-m-width-{25, 33, 50, 66, 75, 100}{-on-[breakpoint]}` | `.pf-v6-c-drawer__panel` | Modifies the drawer panel width at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
824
889
|
| `.pf-m-resizable` | `.pf-v6-c-drawer__panel` | Modifies the drawer panel to be resizable. Intended for use with the `.pf-v6-c-drawer__splitter` element. |
|
|
890
|
+
| `.pf-m-vertical` | `.pf-v6-c-drawer__splitter` | Modifies the splitter to be vertical. |
|
|
825
891
|
| `--pf-v6-c-drawer__panel--md--FlexBasis--min` | `.pf-v6-c-drawer__panel` | Defines the drawer panel minimum size. |
|
|
826
892
|
| `--pf-v6-c-drawer__panel--md--FlexBasis` | `.pf-v6-c-drawer__panel` | Defines the drawer panel size. |
|
|
827
893
|
| `--pf-v6-c-drawer__panel--md--FlexBasis--max` | `.pf-v6-c-drawer__panel` | Defines the drawer panel maximum size. |
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: 'Hero'
|
|
3
|
+
beta: true
|
|
4
|
+
section: components
|
|
5
|
+
cssPrefix: pf-v6-c-hero
|
|
6
|
+
---## Examples
|
|
7
|
+
|
|
8
|
+
### Basic
|
|
9
|
+
|
|
10
|
+
```html isBeta
|
|
11
|
+
<div class="pf-v6-c-hero">
|
|
12
|
+
<div class="pf-v6-c-hero__body">Basic hero content</div>
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Documentation
|
|
18
|
+
|
|
19
|
+
### Usage
|
|
20
|
+
|
|
21
|
+
| Class | Applied to | Outcome |
|
|
22
|
+
| -- | -- | -- |
|
|
23
|
+
| `.pf-v6-c-hero` | `<div>` | Initiates the hero. **Required** |
|
|
24
|
+
| `.pf-v6-c-hero__body` | `<div>` | Initiates the hero body. |
|
|
25
|
+
| `.pf-m-no-glass` | `.pf-v6-c-hero` | Modifies the hero to remove glass styling when using glass theme. |
|
|
@@ -295,7 +295,7 @@ extra large
|
|
|
295
295
|
|
|
296
296
|
The icon element is a container used to maintain a stable space for an icon or spinner, regardless of size or aspect ratio of the contents.
|
|
297
297
|
|
|
298
|
-
Refer to the [icons](/
|
|
298
|
+
Refer to the [icons](/foundations-and-styles/iconography) page for information about the PatternFly icon set and guidelines for use.
|
|
299
299
|
|
|
300
300
|
### Usage
|
|
301
301
|
|
|
@@ -263,7 +263,7 @@ Use the input group to extend form controls by adding text, buttons, selects, et
|
|
|
263
263
|
|
|
264
264
|
### Accessibility
|
|
265
265
|
|
|
266
|
-
When using the `.pf-v6-c-input-group` always ensure labels are used outside the input group with the `.pf-v6-screen-reader` class applied. You can also make use of the `aria-describedby`, `aria-label`, or `aria-labelledby` attributes. For more information on accessibility and forms see the [form component](/components/form).
|
|
266
|
+
When using the `.pf-v6-c-input-group` always ensure labels are used outside the input group with the `.pf-v6-screen-reader` class applied. You can also make use of the `aria-describedby`, `aria-label`, or `aria-labelledby` attributes. For more information on accessibility and forms see the [form component](/components/forms/form).
|
|
267
267
|
|
|
268
268
|
| Attribute | Applied to | Outcome |
|
|
269
269
|
| -- | -- | -- |
|
|
@@ -855,7 +855,7 @@ cssPrefix: pf-v6-c-jump-links
|
|
|
855
855
|
| `.pf-v6-c-jump-links__link-text` | `<div>` | Initiates the jump links link text. |
|
|
856
856
|
| `.pf-m-vertical` | `.pf-v6-c-jump-links` | Modifies the jump links component to be vertical. |
|
|
857
857
|
| `.pf-m-center` | `.pf-v6-c-jump-links` | Modifies the jump links component to center its list and label. |
|
|
858
|
-
| `.pf-m-expandable{-on-[breakpoint]}` | `.pf-v6-c-jump-links` | Modifies the jump links component to be expandable via a toggle at optional [breakpoint](/tokens/all-
|
|
859
|
-
| `.pf-m-non-expandable{-on-[breakpoint]}` | `.pf-v6-c-jump-links` | Modifies the jump links component to be non-expandable at optional [breakpoint](/tokens/all-
|
|
858
|
+
| `.pf-m-expandable{-on-[breakpoint]}` | `.pf-v6-c-jump-links` | Modifies the jump links component to be expandable via a toggle at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). **Note:** works with vertical jump links only. |
|
|
859
|
+
| `.pf-m-non-expandable{-on-[breakpoint]}` | `.pf-v6-c-jump-links` | Modifies the jump links component to be non-expandable at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
860
860
|
| `.pf-m-expanded` | `.pf-v6-c-jump-links` | Modifies the expandable jump links component for the expanded state. |
|
|
861
861
|
| `.pf-m-current` | `.pf-v6-c-jump-links__item`| Modifies the jump links item to be current. |
|
|
@@ -696,4 +696,4 @@ cssPrefix: pf-v6-c-masthead
|
|
|
696
696
|
| `.pf-v6-c-masthead__brand` | `<div>` | Initiates the masthead content component. |
|
|
697
697
|
| `.pf-v6-c-masthead__logo` | `<a>, <div>` | Initiates the masthead content component. |
|
|
698
698
|
| `.pf-v6-c-masthead__content` | `<div>` | Initiates the masthead content component. |
|
|
699
|
-
| `.pf-m-inset-{none, sm, md, lg, xl, 2xl}{-on-[breakpoint]}` | `.pf-v6-c-masthead` | Modifies masthead horizontal padding at optional [breakpoint](/tokens/all-
|
|
699
|
+
| `.pf-m-inset-{none, sm, md, lg, xl, 2xl}{-on-[breakpoint]}` | `.pf-v6-c-masthead` | Modifies masthead horizontal padding at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
@@ -6450,8 +6450,8 @@ cssPrefix: pf-v6-c-menu
|
|
|
6450
6450
|
| `.pf-v6-c-menu__item-action-icon` | `<span>` | Initiates the menu item action icon. |
|
|
6451
6451
|
| `.pf-v6-c-menu__item-external-icon` | `<span>` | Initiates the menu item external icon. |
|
|
6452
6452
|
| `.pf-v6-c-menu__footer` | `<div>` | Initiates the menu footer. |
|
|
6453
|
-
| `.pf-m-hidden{-on-[breakpoint]}` | `.pf-v6-c-menu__list`, `.pf-v6-c-menu__list-item`, `.pf-v6-c-menu__group` | Modifies a menu element to be hidden, at optional [breakpoint](/tokens/all-
|
|
6454
|
-
| `.pf-m-visible{-on-[breakpoint]}` | `.pf-v6-c-menu__list`, `.pf-v6-c-menu__list-item`, `.pf-v6-c-menu__group` | Modifies a menu element to be shown, at optional [breakpoint](/tokens/all-
|
|
6453
|
+
| `.pf-m-hidden{-on-[breakpoint]}` | `.pf-v6-c-menu__list`, `.pf-v6-c-menu__list-item`, `.pf-v6-c-menu__group` | Modifies a menu element to be hidden, at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
6454
|
+
| `.pf-m-visible{-on-[breakpoint]}` | `.pf-v6-c-menu__list`, `.pf-v6-c-menu__list-item`, `.pf-v6-c-menu__group` | Modifies a menu element to be shown, at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
6455
6455
|
| `.pf-m-favorite` | `.pf-v6-c-menu__item-action` | Modifies the menu item action to handle the favorite icon. |
|
|
6456
6456
|
| `.pf-m-favorited` | `.pf-v6-c-menu__item-action.pf-m-favorite` | Modifies the menu item action icon to be favorited. |
|
|
6457
6457
|
| `.pf-m-selected` | `.pf-v6-c-menu__item` | Modifies the menu item to be selected. |
|
|
@@ -262,6 +262,45 @@ cssPrefix: pf-v6-c-menu-toggle
|
|
|
262
262
|
|
|
263
263
|
```
|
|
264
264
|
|
|
265
|
+
### Plain circle
|
|
266
|
+
|
|
267
|
+
```html isBeta
|
|
268
|
+
<button
|
|
269
|
+
class="pf-v6-c-menu-toggle pf-m-circle pf-m-plain"
|
|
270
|
+
type="button"
|
|
271
|
+
aria-expanded="false"
|
|
272
|
+
aria-label="Circle styled actions"
|
|
273
|
+
>
|
|
274
|
+
<span class="pf-v6-c-menu-toggle__icon">
|
|
275
|
+
<i class="fas fa-ellipsis-v" aria-hidden="true"></i>
|
|
276
|
+
</span>
|
|
277
|
+
</button>
|
|
278
|
+
|
|
279
|
+
<button
|
|
280
|
+
class="pf-v6-c-menu-toggle pf-m-circle pf-m-expanded pf-m-plain"
|
|
281
|
+
type="button"
|
|
282
|
+
aria-expanded="true"
|
|
283
|
+
aria-label="Circle and expanded styled actions"
|
|
284
|
+
>
|
|
285
|
+
<span class="pf-v6-c-menu-toggle__icon">
|
|
286
|
+
<i class="fas fa-ellipsis-v" aria-hidden="true"></i>
|
|
287
|
+
</span>
|
|
288
|
+
</button>
|
|
289
|
+
|
|
290
|
+
<button
|
|
291
|
+
class="pf-v6-c-menu-toggle pf-m-circle pf-m-plain pf-m-disabled"
|
|
292
|
+
type="button"
|
|
293
|
+
aria-expanded="false"
|
|
294
|
+
disabled
|
|
295
|
+
aria-label="Circle and disabled styled actions"
|
|
296
|
+
>
|
|
297
|
+
<span class="pf-v6-c-menu-toggle__icon">
|
|
298
|
+
<i class="fas fa-ellipsis-v" aria-hidden="true"></i>
|
|
299
|
+
</span>
|
|
300
|
+
</button>
|
|
301
|
+
|
|
302
|
+
```
|
|
303
|
+
|
|
265
304
|
### Plain with text
|
|
266
305
|
|
|
267
306
|
```html
|
|
@@ -2189,6 +2228,7 @@ Shown with default, primary, and secondary styling
|
|
|
2189
2228
|
| `.pf-m-secondary` | `.pf-v6-c-menu-toggle` | Modifies the menu toggle component for the secondary variation. |
|
|
2190
2229
|
| `.pf-m-text` | `.pf-v6-c-menu-toggle` | Modifies the menu toggle component for the text variation. |
|
|
2191
2230
|
| `.pf-m-plain` | `.pf-v6-c-menu-toggle` | Modifies the menu toggle component for the plain variation. |
|
|
2231
|
+
| `.pf-m-circle` | `.pf-v6-c-menu-toggle` | Modifies the menu toggle component to be circular in shape. This is intended to be applied only to a plain menu toggle without any text. |
|
|
2192
2232
|
| `.pf-m-expanded` | `.pf-v6-c-menu-toggle` | Modifies the menu toggle component for the expanded state. |
|
|
2193
2233
|
| `.pf-m-full-height` | `.pf-v6-c-menu-toggle` | Modifies the menu toggle component to full height of parent. |
|
|
2194
2234
|
| `.pf-m-full-width` | `.pf-v6-c-menu-toggle` | Modifies the menu toggle component to full width of parent. |
|
|
@@ -551,8 +551,8 @@ This component provides the basic chrome for a page, including sidebar and main
|
|
|
551
551
|
| `.pf-m-page-insets` | `.pf-v6-c-page__sidebar-body` | Modifies a sidebar body padding/inset to visually match padding of page elements. |
|
|
552
552
|
| `.pf-m-context-selector` | `.pf-v6-c-page__sidebar-body` | Modifies a sidebar body to contain a context selector. |
|
|
553
553
|
| `.pf-m-inset-none` | `.pf-v6-c-page__sidebar-body` | Removes a sidebar body left/right inset. |
|
|
554
|
-
| `.pf-m-padding{-on-[breakpoint]}` | `.pf-v6-c-page__main-section` | Modifies the main page section to add padding back in at an optional [breakpoint](/tokens/all-
|
|
555
|
-
| `.pf-m-no-padding{-on-[breakpoint]}` | `.pf-v6-c-page__main-section` | Removes padding from the main page section at an optional [breakpoint](/tokens/all-
|
|
554
|
+
| `.pf-m-padding{-on-[breakpoint]}` | `.pf-v6-c-page__main-section` | Modifies the main page section to add padding back in at an optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). Should be used with pf-m-no-padding. |
|
|
555
|
+
| `.pf-m-no-padding{-on-[breakpoint]}` | `.pf-v6-c-page__main-section` | Removes padding from the main page section at an optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
556
556
|
| `.pf-m-fill` | `.pf-v6-c-page__main-container`, `.pf-v6-c-page__main-section`, `.pf-v6-c-page__main-group`, `.pf-v6-c-page__main-wizard`, `.pf-v6-c-page__sidebar-body` | Modifies the element to grow to fill the available space. Note that `.pf-v6-c-page__main-container` must also have `.pf-m-fill` applied in order for the section to have space to stretch to full height.|
|
|
557
557
|
| `.pf-m-no-fill` | `.pf-v6-c-page__main-section`, `.pf-v6-c-page__main-group`, `.pf-v6-c-page__main-wizard`, `.pf-v6-c-page__sidebar-body` | Modifies the element not to grow to fill the available vertical space. |
|
|
558
558
|
| `.pf-m-limit-width` | `.pf-v6-c-page__main-section` | Modifies a page section to limit the `max-width` of the content inside. |
|
|
@@ -1224,13 +1224,13 @@ cssPrefix: pf-v6-c-pagination
|
|
|
1224
1224
|
| `.pf-v6-c-pagination__nav` | `<nav>` | Initiates pagination nav. |
|
|
1225
1225
|
| `.pf-v6-c-pagination__nav-control` | `<div>` | Initiates pagination nav control. |
|
|
1226
1226
|
| `.pf-v6-c-pagination__nav-page-select` | `<div>` | Initiates pagination nav page select. |
|
|
1227
|
-
| `.pf-m-display-summary{-on-[breakpoint]}` | `.pf-v6-c-pagination` | Modifies for summary display pagination component styles at optional [breakpoint](/tokens/all-
|
|
1228
|
-
| `.pf-m-display-full{-on-[breakpoint]}` | `.pf-v6-c-pagination` | Modifies for full display pagination component styles at optional [breakpoint](/tokens/all-
|
|
1227
|
+
| `.pf-m-display-summary{-on-[breakpoint]}` | `.pf-v6-c-pagination` | Modifies for summary display pagination component styles at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
1228
|
+
| `.pf-m-display-full{-on-[breakpoint]}` | `.pf-v6-c-pagination` | Modifies for full display pagination component styles at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
1229
1229
|
| `.pf-m-bottom` | `.pf-v6-c-pagination` | Modifies for bottom pagination component styles. |
|
|
1230
1230
|
| `.pf-m-compact` | `.pf-v6-c-pagination` | Modifies for compact pagination component styles. |
|
|
1231
1231
|
| `.pf-m-static` | `.pf-v6-c-pagination.pf-m-bottom` | Modifies bottom pagination to not be positioned sticky on summary. |
|
|
1232
1232
|
| `.pf-m-sticky` | `.pf-v6-c-pagination` | Modifies the pagination to be sticky to its container. It will be sticky to the top of the container by default, and sticky to the bottom of the container when applied to `.pf-v6-c-pagination.pf-m-bottom`. |
|
|
1233
|
-
| `.pf-m-inset-{none, sm, md, lg, xl, 2xl}{-on-[breakpoint]}` | `.pf-v6-c-pagination` | Modifies pagination horizontal padding at optional [breakpoint](/tokens/all-
|
|
1233
|
+
| `.pf-m-inset-{none, sm, md, lg, xl, 2xl}{-on-[breakpoint]}` | `.pf-v6-c-pagination` | Modifies pagination horizontal padding at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
1234
1234
|
| `.pf-m-page-insets` | `.pf-v6-c-pagination` | Modifies the pagination component padding/inset to visually match padding of page elements. |
|
|
1235
1235
|
| `.pf-m-first` | `.pf-v6-c-pagination__nav-control` | Indicates the control is for the first page button. |
|
|
1236
1236
|
| `.pf-m-prev` | `.pf-v6-c-pagination__nav-control` | Indicates the control is for the previous page button. |
|
|
@@ -959,8 +959,8 @@ Steps can be modified with `.pf-m-success`, `.pf-m-warning`, `.pf-m-danger`, `.p
|
|
|
959
959
|
| `.progress-stepper__step-title` | `<div>`, `<button>` | Contains the title of the step. **Note:** the step title is a `<button>` when it has `.pf-m-help-text` and is used to trigger a popover with help text. |
|
|
960
960
|
| `.progress-stepper__step-description` | `<div>` | Contains the description of the step. |
|
|
961
961
|
| `.pf-m-center`| `.pf-v6-c-progress-stepper` | Modifies to center each step. |
|
|
962
|
-
| `.pf-m-vertical{-on-[breakpoint]}`| `.pf-v6-c-progress-stepper` | Modifies progress stepper vertical layout at optional [breakpoint](/tokens/all-
|
|
963
|
-
| `.pf-m-horizontal{-on-[breakpoint]}`| `.pf-v6-c-progress-stepper` | Modifies progress stepper horizontal layout at optional [breakpoint](/tokens/all-
|
|
962
|
+
| `.pf-m-vertical{-on-[breakpoint]}`| `.pf-v6-c-progress-stepper` | Modifies progress stepper vertical layout at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
963
|
+
| `.pf-m-horizontal{-on-[breakpoint]}`| `.pf-v6-c-progress-stepper` | Modifies progress stepper horizontal layout at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
964
964
|
| `.pf-m-compact`| `.pf-v6-c-progress-stepper` | Modifies for compact styling. |
|
|
965
965
|
| `.pf-m-success`| `.pf-v6-c-progress-stepper__step` | Modifies for success styling. |
|
|
966
966
|
| `.pf-m-warning`| `.pf-v6-c-progress-stepper__step` | Modifies for warning styling. |
|
|
@@ -265,6 +265,6 @@ cssPrefix: pf-v6-c-sidebar
|
|
|
265
265
|
| `.pf-m-panel-right` | `.pf-v6-c-sidebar` | Modifies the sidebar to place the panel to the right of the content. |
|
|
266
266
|
| `.pf-m-sticky` | `.pf-v6-c-sidebar__panel` | Modifies the panel to be sticky to the top of the layout. |
|
|
267
267
|
| `.pf-m-static` | `.pf-v6-c-sidebar__panel` | Modifies the panel to be positioned statically. |
|
|
268
|
-
| `.pf-m-width-{default, 25, 33, 50, 66, 75, 100}{-on-[breakpoint]}` | `.pf-v6-c-sidebar__panel` | Modifies the panel width at optional [breakpoint](/tokens/all-
|
|
268
|
+
| `.pf-m-width-{default, 25, 33, 50, 66, 75, 100}{-on-[breakpoint]}` | `.pf-v6-c-sidebar__panel` | Modifies the panel width at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). **Note:** does not apply when the panel is stacked on top of the content. |
|
|
269
269
|
| `.pf-m-no-background` | `.pf-v6-c-sidebar`, `.pf-v6-c-sidebar__panel, .pf-v6-c-sidebar__content` | Modifies the element to have a transparent background. |
|
|
270
270
|
| `.pf-m-secondary` | `.pf-v6-c-sidebar__panel, .pf-v6-c-sidebar__content` | Modifies the element to have secondary styling. |
|
|
@@ -136,7 +136,7 @@ These classes can be used to ensure that the table changes between the tabular a
|
|
|
136
136
|
|
|
137
137
|
| Class | Applied to | Outcome |
|
|
138
138
|
| -- | -- | -- |
|
|
139
|
-
| `.pf-m-grid-md`, `.pf-m-grid-lg`, `.pf-m-grid-xl`, `.pf-m-grid-2xl` | `.pf-v6-c-table` | Changes tabular layout to responsive, grid based layout at optional [breakpoint](/tokens/all-
|
|
139
|
+
| `.pf-m-grid-md`, `.pf-m-grid-lg`, `.pf-m-grid-xl`, `.pf-m-grid-2xl` | `.pf-v6-c-table` | Changes tabular layout to responsive, grid based layout at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
140
140
|
| `.pf-m-grid` | `.pf-v6-c-table` | Changes tabular layout to responsive, grid based layout. This approach requires JavaScript to set this class at some prescribed viewport width value. |
|
|
141
141
|
|
|
142
142
|
## Sortable
|
|
@@ -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
|
|
@@ -18100,8 +18188,8 @@ Width modifiers control the width of the columns. To control the responsive beha
|
|
|
18100
18188
|
|
|
18101
18189
|
| Class | Applied to | Outcome |
|
|
18102
18190
|
| -- | -- | -- |
|
|
18103
|
-
| `.pf-m-hidden{-on-[breakpoint]}` | `.pf-v6-c-table tr > th`, `.pf-v6-c-table tr > td` | Hides a table cell at optional [breakpoint](/tokens/all-
|
|
18104
|
-
| `.pf-m-visible{-on-[breakpoint]}` | `.pf-v6-c-table tr > th`, `.pf-v6-c-table tr > td` | Shows a table cell at optional [breakpoint](/tokens/all-
|
|
18191
|
+
| `.pf-m-hidden{-on-[breakpoint]}` | `.pf-v6-c-table tr > th`, `.pf-v6-c-table tr > td` | Hides a table cell at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens), or hides it at all breakpoints with `.pf-m-hidden`. **Note: Needs to apply to all cells in the column you want to hide.** |
|
|
18192
|
+
| `.pf-m-visible{-on-[breakpoint]}` | `.pf-v6-c-table tr > th`, `.pf-v6-c-table tr > td` | Shows a table cell at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
18105
18193
|
|
|
18106
18194
|
## Text control modifiers
|
|
18107
18195
|
|