@patternfly/patternfly 6.5.0-prerelease.4 → 6.5.0-prerelease.41
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/fontawesome/_variables.scss +2 -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 +50 -0
- package/base/patternfly-common.scss +59 -0
- package/base/patternfly-svg-icons.css +11 -0
- package/base/patternfly-svg-icons.scss +14 -0
- package/base/patternfly-variables.css +345 -14
- package/base/patternfly-variables.scss +40 -0
- package/base/tokens/tokens-dark.scss +51 -3
- package/base/tokens/tokens-default.scss +67 -13
- package/base/tokens/tokens-glass-dark.scss +9 -0
- package/base/tokens/tokens-glass.scss +9 -0
- package/base/tokens/tokens-local.scss +16 -0
- package/base/tokens/tokens-palette.scss +3 -1
- package/base/tokens/tokens-redhat-dark.scss +14 -0
- package/base/tokens/tokens-redhat-glass-dark.scss +16 -0
- package/base/tokens/tokens-redhat-glass.scss +15 -0
- package/base/tokens/tokens-redhat-highcontrast-dark.scss +47 -0
- package/base/tokens/tokens-redhat-highcontrast.scss +127 -0
- package/base/tokens/tokens-redhat.scss +15 -0
- package/components/AboutModalBox/about-modal-box.css +36 -26
- package/components/Accordion/accordion.css +16 -13
- 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/Alert/alert.css +5 -4
- package/components/Avatar/avatar.css +12 -4
- package/components/BackgroundImage/background-image.css +6 -3
- package/components/Banner/banner.css +8 -6
- package/components/Brand/brand.css +3 -1
- package/components/Breadcrumb/breadcrumb.css +4 -3
- package/components/Button/button.css +39 -9
- package/components/Button/button.scss +40 -4
- package/components/CalendarMonth/calendar-month.css +4 -3
- package/components/Card/card.css +19 -6
- package/components/Card/card.scss +15 -1
- package/components/ClipboardCopy/clipboard-copy.css +4 -3
- package/components/CodeEditor/code-editor.css +1 -1
- package/components/CodeEditor/code-editor.scss +1 -1
- package/components/Compass/compass.css +320 -0
- package/components/Compass/compass.scss +349 -0
- package/components/DataList/data-list.css +33 -22
- package/components/DataList/data-list.scss +6 -1
- package/components/DescriptionList/description-list-order.scss +5 -1
- package/components/DescriptionList/description-list.css +7 -5
- package/components/DescriptionList/description-list.scss +5 -1
- package/components/Divider/divider.css +7 -5
- package/components/Drawer/drawer.css +110 -56
- package/components/Drawer/drawer.scss +69 -9
- package/components/DualListSelector/dual-list-selector.css +17 -11
- package/components/ExpandableSection/expandable-section.css +19 -14
- package/components/ExpandableSection/expandable-section.scss +4 -1
- package/components/Form/form.css +1 -1
- package/components/Form/form.scss +1 -1
- package/components/FormControl/form-control.css +1 -1
- package/components/FormControl/form-control.scss +1 -1
- package/components/Hero/hero.css +74 -0
- package/components/Hero/hero.scss +86 -0
- package/components/JumpLinks/jump-links.css +4 -3
- package/components/JumpLinks/jump-links.scss +5 -1
- package/components/Label/label-group.css +2 -2
- package/components/Label/label-group.scss +2 -2
- package/components/Label/label.css +4 -3
- package/components/Login/login.css +51 -37
- package/components/Masthead/masthead.css +70 -16
- package/components/Masthead/masthead.scss +54 -1
- package/components/Menu/menu.css +23 -14
- package/components/MenuToggle/menu-toggle.css +4 -0
- package/components/MenuToggle/menu-toggle.scss +5 -0
- package/components/ModalBox/modal-box.css +9 -7
- package/components/ModalBox/modal-box.scss +2 -2
- package/components/Nav/nav.css +72 -9
- package/components/Nav/nav.scss +75 -3
- package/components/NotificationDrawer/notification-drawer.css +8 -6
- package/components/NotificationDrawer/notification-drawer.scss +2 -0
- package/components/Page/page.css +55 -29
- package/components/Page/page.scss +44 -5
- package/components/Pagination/pagination.scss +5 -1
- package/components/ProgressStepper/progress-stepper.scss +5 -1
- package/components/Sidebar/sidebar.css +1 -1
- package/components/Sidebar/sidebar.scss +7 -3
- package/components/Skeleton/skeleton.css +16 -15
- package/components/Slider/slider.css +32 -18
- package/components/Switch/switch.css +3 -1
- package/components/Table/table-grid.css +28 -36
- package/components/Table/table-grid.scss +4 -4
- package/components/Table/table-tree-view.css +4 -2
- package/components/Table/table.css +31 -27
- package/components/Tabs/tabs.css +33 -16
- package/components/Tabs/tabs.scss +33 -5
- package/components/Toolbar/toolbar.css +46 -14
- package/components/Toolbar/toolbar.scss +33 -5
- package/components/TreeView/tree-view.css +44 -13
- package/components/TreeView/tree-view.scss +31 -0
- package/components/Wizard/wizard.css +20 -16
- package/components/Wizard/wizard.scss +3 -3
- package/components/_index.css +1460 -633
- 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 +17 -0
- package/docs/components/Compass/examples/Compass.md +118 -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 +68 -1
- package/docs/components/Menu/examples/Menu.md +2 -2
- package/docs/components/MenuToggle/examples/MenuToggle.md +40 -0
- package/docs/components/ModalBox/examples/ModalBox.md +1 -1
- package/docs/components/Nav/examples/Navigation.md +44 -0
- package/docs/components/Page/examples/Page.md +39 -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 +4 -3
- package/docs/components/Tabs/examples/Tabs.md +998 -83
- package/docs/components/Toolbar/examples/Toolbar.md +35 -7
- package/docs/components/TreeView/examples/TreeView.md +38 -26
- package/docs/components/Wizard/examples/Wizard.md +15 -15
- package/docs/demos/AboutModal/examples/AboutModal.md +5 -5
- package/docs/demos/Alert/examples/Alert.md +15 -15
- package/docs/demos/BackToTop/examples/BackToTop.md +5 -5
- package/docs/demos/Banner/examples/Banner.md +10 -10
- package/docs/demos/Card/examples/Card.md +14 -2
- package/docs/demos/CardView/examples/CardView.md +5 -5
- package/docs/demos/Compass/examples/Compass.md +6470 -0
- package/docs/demos/Dashboard/examples/Dashboard.md +6 -9
- package/docs/demos/DataList/examples/DataList.md +20 -23
- package/docs/demos/DescriptionList/examples/DescriptionList.md +57 -50
- package/docs/demos/Drawer/examples/Drawer.md +67 -60
- package/docs/demos/JumpLinks/examples/JumpLinks.md +30 -30
- package/docs/demos/Masthead/examples/Masthead.md +55 -58
- package/docs/demos/Modal/examples/Modal.md +30 -33
- package/docs/demos/Nav/examples/Nav.md +299 -62
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +25 -25
- package/docs/demos/Page/examples/Page.md +70 -79
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +178 -200
- package/docs/demos/Skeleton/examples/Skeleton.md +5 -5
- package/docs/demos/Table/examples/Table.md +1922 -78
- package/docs/demos/Tabs/examples/Tabs.md +102 -39
- package/docs/demos/Toolbar/examples/Toolbar.md +10 -10
- package/docs/demos/Wizard/examples/Wizard.md +76 -82
- 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/layouts/Flex/flex.scss +83 -19
- package/layouts/Gallery/gallery.css +6 -2
- package/layouts/_index.css +6 -2
- package/package.json +34 -16
- package/patternfly-base-no-globals.css +406 -14
- package/patternfly-base.css +413 -14
- package/patternfly-charts.css +3 -3
- package/patternfly-no-globals.css +1796 -573
- package/patternfly.css +1803 -573
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +32 -25
- package/sass-utilities/mixins.scss +36 -20
- 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. |
|
|
@@ -684,6 +684,72 @@ cssPrefix: pf-v6-c-masthead
|
|
|
684
684
|
|
|
685
685
|
```
|
|
686
686
|
|
|
687
|
+
### Docked
|
|
688
|
+
|
|
689
|
+
```html isBeta
|
|
690
|
+
<header class="pf-v6-c-masthead pf-m-docked" id="docked-masthead-example">
|
|
691
|
+
<div class="pf-v6-c-masthead__main">
|
|
692
|
+
<div class="pf-v6-c-masthead__brand">
|
|
693
|
+
<a class="pf-v6-c-masthead__logo" href="#">
|
|
694
|
+
<svg width="37px" height="37px" viewBox="0 0 158 158">
|
|
695
|
+
<title>PF-HorizontalLogo-Color</title>
|
|
696
|
+
<defs>
|
|
697
|
+
<linearGradient
|
|
698
|
+
x1="68%"
|
|
699
|
+
y1="2.25860997e-13%"
|
|
700
|
+
x2="32%"
|
|
701
|
+
y2="100%"
|
|
702
|
+
id="linearGradient-1"
|
|
703
|
+
>
|
|
704
|
+
<stop stop-color="#2B9AF3" offset="0%" />
|
|
705
|
+
<stop
|
|
706
|
+
stop-color="#73BCF7"
|
|
707
|
+
stop-opacity="0.502212631"
|
|
708
|
+
offset="100%"
|
|
709
|
+
/>
|
|
710
|
+
</linearGradient>
|
|
711
|
+
</defs>
|
|
712
|
+
<g
|
|
713
|
+
id="PF-IconLogo-color"
|
|
714
|
+
stroke="none"
|
|
715
|
+
stroke-width="1"
|
|
716
|
+
fill="none"
|
|
717
|
+
fill-rule="evenodd"
|
|
718
|
+
>
|
|
719
|
+
<g id="Logo">
|
|
720
|
+
<path
|
|
721
|
+
d="M61.826087,0 L158,0 L158,96.173913 L147.695652,96.173913 C100.271201,96.173913 61.826087,57.7287992 61.826087,10.3043478 L61.826087,0 L61.826087,0 Z"
|
|
722
|
+
id="Rectangle-Copy-17"
|
|
723
|
+
fill="#0066CC"
|
|
724
|
+
/>
|
|
725
|
+
<path
|
|
726
|
+
d="M158,3.43478261 L65.2608696,158 L138,158 C149.045695,158 158,149.045695 158,138 L158,3.43478261 L158,3.43478261 Z"
|
|
727
|
+
id="Path-2"
|
|
728
|
+
fill="url(#linearGradient-1)"
|
|
729
|
+
/>
|
|
730
|
+
<path
|
|
731
|
+
d="M123.652174,-30.9130435 L30.9130435,123.652174 L103.652174,123.652174 C114.697869,123.652174 123.652174,114.697869 123.652174,103.652174 L123.652174,-30.9130435 L123.652174,-30.9130435 Z"
|
|
732
|
+
id="Path-2"
|
|
733
|
+
fill="url(#linearGradient-1)"
|
|
734
|
+
transform="translate(77.282609, 46.369565) scale(1, -1) rotate(90.000000) translate(-77.282609, -46.369565) "
|
|
735
|
+
/>
|
|
736
|
+
</g>
|
|
737
|
+
</g>
|
|
738
|
+
</svg>
|
|
739
|
+
</a>
|
|
740
|
+
</div>
|
|
741
|
+
</div>
|
|
742
|
+
<div class="pf-v6-c-masthead__content">
|
|
743
|
+
<button class="pf-v6-c-button pf-m-plain" type="button" aria-label="Chat">
|
|
744
|
+
<span class="pf-v6-c-button__icon">
|
|
745
|
+
<i class="fas fa-comment-alt" aria-hidden="true"></i>
|
|
746
|
+
</span>
|
|
747
|
+
</button>
|
|
748
|
+
</div>
|
|
749
|
+
</header>
|
|
750
|
+
|
|
751
|
+
```
|
|
752
|
+
|
|
687
753
|
## Documentation
|
|
688
754
|
|
|
689
755
|
### Usage
|
|
@@ -696,4 +762,5 @@ cssPrefix: pf-v6-c-masthead
|
|
|
696
762
|
| `.pf-v6-c-masthead__brand` | `<div>` | Initiates the masthead content component. |
|
|
697
763
|
| `.pf-v6-c-masthead__logo` | `<a>, <div>` | Initiates the masthead content component. |
|
|
698
764
|
| `.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-
|
|
765
|
+
| `.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). |
|
|
766
|
+
| `.pf-m-docked` | `.pf-v6-c-masthead` | Modifies masthead for use with docked nav. |
|
|
@@ -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. |
|
|
@@ -597,7 +597,7 @@ A modal box is a generic rectangular container that can be used to build modals.
|
|
|
597
597
|
| `aria-describedby="[id value of applicable content]"` | `.pf-v6-c-modal-box` | Gives the modal an accessible description by referring to the modal content that describes the primary message or purpose of the dialog. Not used if there is no static text that describes the modal. |
|
|
598
598
|
| `aria-modal="true"` | `.pf-v6-c-modal-box` | Tells assistive technologies that the windows underneath the current modal are not available for interaction. **Required**|
|
|
599
599
|
| `aria-label="Close"` | `.pf-v6-c-modal-box__close .pf-v6-c-button` | Provides an accessible name for the close button as it uses an icon instead of text. **Required**|
|
|
600
|
-
| `aria-hidden="true"` | Parent element containing the page contents when modal is open | Hides main contents of the page from screen readers. The element with `.pf-v6-c-modal-box` must not be a descendent of the element with `aria-hidden="true"`. For more info see [trapping focus](/accessibility/
|
|
600
|
+
| `aria-hidden="true"` | Parent element containing the page contents when modal is open | Hides main contents of the page from screen readers. The element with `.pf-v6-c-modal-box` must not be a descendent of the element with `aria-hidden="true"`. For more info see [trapping focus](/accessibility/develop#trapping-focus). **Required** |
|
|
601
601
|
| `form="[id of form in modal body]"` | `.pf-v6-c-modal-box__footer .pf-v6-c-button` | Associates a submit button in the modal footer with a form in the modal body. For use when the submit button is outside of the `<form>` that the button submits. |
|
|
602
602
|
| `tabindex="0"` | `.pf-v6-c-modal-box__body` | If a modal box body has overflow content that triggers a scrollbar, to ensure that the content is keyboard accessible, the body must include either a focusable element within the scrollable region or the body itself must be focusable by adding `tabindex="0"`. |
|
|
603
603
|
|
|
@@ -2474,6 +2474,49 @@ cssPrefix: pf-v6-c-nav
|
|
|
2474
2474
|
|
|
2475
2475
|
```
|
|
2476
2476
|
|
|
2477
|
+
### Docked nav
|
|
2478
|
+
|
|
2479
|
+
```html isBeta
|
|
2480
|
+
<nav class="pf-v6-c-nav pf-m-docked" aria-label="Global">
|
|
2481
|
+
<ul class="pf-v6-c-nav__list" role="list">
|
|
2482
|
+
<li class="pf-v6-c-nav__item">
|
|
2483
|
+
<a href="#" class="pf-v6-c-nav__link" aria-label="Cube">
|
|
2484
|
+
<span class="pf-v6-c-nav__link-icon">
|
|
2485
|
+
<i class="fas fa-fw fa-cube" aria-hidden="true"></i>
|
|
2486
|
+
</span>
|
|
2487
|
+
</a>
|
|
2488
|
+
</li>
|
|
2489
|
+
<li class="pf-v6-c-nav__item">
|
|
2490
|
+
<a
|
|
2491
|
+
href="#"
|
|
2492
|
+
class="pf-v6-c-nav__link pf-m-current"
|
|
2493
|
+
aria-current="page"
|
|
2494
|
+
aria-label="Folder"
|
|
2495
|
+
>
|
|
2496
|
+
<span class="pf-v6-c-nav__link-icon">
|
|
2497
|
+
<i class="fas fa-fw fa-folder" aria-hidden="true"></i>
|
|
2498
|
+
</span>
|
|
2499
|
+
</a>
|
|
2500
|
+
</li>
|
|
2501
|
+
<li class="pf-v6-c-nav__item">
|
|
2502
|
+
<a href="#" class="pf-v6-c-nav__link" aria-label="Cloud">
|
|
2503
|
+
<span class="pf-v6-c-nav__link-icon">
|
|
2504
|
+
<i class="fas fa-fw fa-cloud" aria-hidden="true"></i>
|
|
2505
|
+
</span>
|
|
2506
|
+
</a>
|
|
2507
|
+
</li>
|
|
2508
|
+
<li class="pf-v6-c-nav__item">
|
|
2509
|
+
<a href="#" class="pf-v6-c-nav__link" aria-label="Code">
|
|
2510
|
+
<span class="pf-v6-c-nav__link-icon">
|
|
2511
|
+
<i class="fas fa-fw fa-code" aria-hidden="true"></i>
|
|
2512
|
+
</span>
|
|
2513
|
+
</a>
|
|
2514
|
+
</li>
|
|
2515
|
+
</ul>
|
|
2516
|
+
</nav>
|
|
2517
|
+
|
|
2518
|
+
```
|
|
2519
|
+
|
|
2477
2520
|
## Documentation
|
|
2478
2521
|
|
|
2479
2522
|
### Overview
|
|
@@ -2514,6 +2557,7 @@ The navigation system relies on several different sub-components:
|
|
|
2514
2557
|
| `.pf-v6-c-nav__scroll-button` | `<button>` | Initiates a nav scroll button. **Required for horizontal navs** |
|
|
2515
2558
|
| `.pf-m-horizontal` | `.pf-v6-c-nav` | Modifies nav for the horizontal variation. |
|
|
2516
2559
|
| `.pf-m-horizontal-subnav` | `.pf-v6-c-nav` | Modifies nav for the horizontal subnav variation. |
|
|
2560
|
+
| `.pf-m-docked` | `.pf-v6-c-nav` | Modifies nav for the docked variation. |
|
|
2517
2561
|
| `.pf-m-flyout` | `.pf-v6-c-nav__item` | Modifies nav item for the flyout variation. |
|
|
2518
2562
|
| `.pf-m-scrollable` | `.pf-v6-c-nav` | Modifies nav for the scrollable state. |
|
|
2519
2563
|
| `.pf-m-expanded` | `.pf-v6-c-nav__item` | Modifies for the expanded state. |
|
|
@@ -514,6 +514,42 @@ wrapperTag: div
|
|
|
514
514
|
|
|
515
515
|
```
|
|
516
516
|
|
|
517
|
+
### With dock
|
|
518
|
+
|
|
519
|
+
```html isBeta
|
|
520
|
+
<div class="pf-v6-c-page pf-m-dock">
|
|
521
|
+
<div class="pf-v6-c-page__dock">
|
|
522
|
+
<header class="pf-v6-c-masthead pf-m-docked">
|
|
523
|
+
<div class="pf-v6-c-masthead__main">
|
|
524
|
+
<div class="pf-v6-c-masthead__brand">logo</div>
|
|
525
|
+
</div>
|
|
526
|
+
<div class="pf-v6-c-masthead__content">
|
|
527
|
+
<button
|
|
528
|
+
class="pf-v6-c-button pf-m-plain"
|
|
529
|
+
type="button"
|
|
530
|
+
aria-label="Chat"
|
|
531
|
+
>
|
|
532
|
+
<span class="pf-v6-c-button__icon">
|
|
533
|
+
<i class="fas fa-comment-alt" aria-hidden="true"></i>
|
|
534
|
+
</span>
|
|
535
|
+
</button>
|
|
536
|
+
</div>
|
|
537
|
+
</header>
|
|
538
|
+
</div>
|
|
539
|
+
<div class="pf-v6-c-page__main-container" tabindex="-1">
|
|
540
|
+
<main class="pf-v6-c-page__main" tabindex="-1">
|
|
541
|
+
<section class="pf-v6-c-page__main-section">
|
|
542
|
+
<div class="pf-v6-c-page__main-body">
|
|
543
|
+
This is a default
|
|
544
|
+
<code>.pf-v6-c-page__main-section</code>.
|
|
545
|
+
</div>
|
|
546
|
+
</section>
|
|
547
|
+
</main>
|
|
548
|
+
</div>
|
|
549
|
+
</div>
|
|
550
|
+
|
|
551
|
+
```
|
|
552
|
+
|
|
517
553
|
## Documentation
|
|
518
554
|
|
|
519
555
|
### Overview
|
|
@@ -545,14 +581,15 @@ This component provides the basic chrome for a page, including sidebar and main
|
|
|
545
581
|
| `.pf-v6-c-page__main-body` | `<div>` | Creates the body section for a page section. **Required** |
|
|
546
582
|
| `.pf-v6-c-page__main-group` | `<div>` | Creates the group of `.pf-v6-c-page__main-*` sections. Can be used in combination with `.pf-m-sticky-[top/bottom]` to make multiple sections sticky. |
|
|
547
583
|
| `.pf-v6-c-page__drawer` | `<div>` | Creates a container for the drawer component when placing the main page element in the drawer body. |
|
|
584
|
+
| `.pf-m-dock` | `.pf-v6-c-page` | Modifies the page grid to have a dock. |
|
|
548
585
|
| `.pf-m-no-sidebar` | `.pf-v6-c-page` | Modifies the page grid for layouts without a sidebar. |
|
|
549
586
|
| `.pf-m-expanded` | `.pf-v6-c-page__sidebar` | Modifies the sidebar for the expanded state. |
|
|
550
587
|
| `.pf-m-collapsed` | `.pf-v6-c-page__sidebar` | Modifies the sidebar for the collapsed state. |
|
|
551
588
|
| `.pf-m-page-insets` | `.pf-v6-c-page__sidebar-body` | Modifies a sidebar body padding/inset to visually match padding of page elements. |
|
|
552
589
|
| `.pf-m-context-selector` | `.pf-v6-c-page__sidebar-body` | Modifies a sidebar body to contain a context selector. |
|
|
553
590
|
| `.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-
|
|
591
|
+
| `.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. |
|
|
592
|
+
| `.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
593
|
| `.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
594
|
| `.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
595
|
| `.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. |
|
|
@@ -133,10 +133,11 @@ cssPrefix: pf-v6-c-table
|
|
|
133
133
|
### Responsive layout modifier usage
|
|
134
134
|
|
|
135
135
|
These classes can be used to ensure that the table changes between the tabular and grid-based layout at an appropriate screen width.
|
|
136
|
+
**Note:** If a wrapping element creates an `inline-size` or `size` container with the container name `pf-v6-contain-table`, the breakpoints will apply to the container's width.
|
|
136
137
|
|
|
137
138
|
| Class | Applied to | Outcome |
|
|
138
139
|
| -- | -- | -- |
|
|
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-
|
|
140
|
+
| `.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
141
|
| `.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
142
|
|
|
142
143
|
## Sortable
|
|
@@ -18188,8 +18189,8 @@ Width modifiers control the width of the columns. To control the responsive beha
|
|
|
18188
18189
|
|
|
18189
18190
|
| Class | Applied to | Outcome |
|
|
18190
18191
|
| -- | -- | -- |
|
|
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](/tokens/all-
|
|
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](/tokens/all-
|
|
18192
|
+
| `.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.** |
|
|
18193
|
+
| `.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). |
|
|
18193
18194
|
|
|
18194
18195
|
## Text control modifiers
|
|
18195
18196
|
|