@patternfly/patternfly 6.5.0-prerelease.8 → 6.5.0-prerelease.81
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 +2 -2
- package/assets/fontawesome/_variables.scss +2 -1
- package/assets/images/Felt-Bkg-Generic-Dark.svg +82 -0
- package/assets/images/Felt-Bkg-Generic-Light.svg +82 -0
- package/assets/images/PF-Bkg-Generic-Dark.svg +76 -0
- package/assets/images/PF-Bkg-Generic-Light.svg +74 -0
- 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.jpg +0 -0
- package/assets/images/compass--wallpaper-dark.png +0 -0
- package/assets/images/compass--wallpaper-light.jpg +0 -0
- package/assets/images/compass--wallpaper-light.png +0 -0
- package/assets/images/glass-brand-dark.jpg +0 -0
- package/assets/images/glass-brand-dark.png +0 -0
- package/assets/images/glass-brand-light.jpg +0 -0
- package/assets/images/glass-brand-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 +17 -0
- package/base/patternfly-svg-icons.scss +20 -0
- package/base/patternfly-variables.css +926 -513
- package/base/patternfly-variables.scss +46 -4
- package/base/tokens/tokens-dark.scss +56 -8
- package/base/tokens/tokens-default.scss +69 -14
- package/base/tokens/tokens-glass-dark.scss +26 -0
- package/base/tokens/tokens-glass.scss +22 -0
- package/base/tokens/tokens-local.scss +17 -0
- package/base/tokens/tokens-palette.scss +3 -1
- package/base/tokens/tokens-redhat-dark.scss +21 -0
- package/base/tokens/tokens-redhat-glass-dark.scss +40 -0
- package/base/tokens/tokens-redhat-glass.scss +30 -0
- package/base/tokens/tokens-redhat-highcontrast-dark.scss +50 -0
- package/base/tokens/tokens-redhat-highcontrast.scss +128 -0
- package/base/tokens/tokens-redhat.scss +15 -0
- package/components/AboutModalBox/about-modal-box.css +36 -26
- package/components/Accordion/accordion.css +26 -14
- package/components/Accordion/accordion.scss +12 -2
- package/components/ActionList/action-list.css +2 -0
- package/components/ActionList/action-list.scss +2 -0
- package/components/Alert/alert.css +7 -5
- package/components/Alert/alert.scss +2 -1
- package/components/Avatar/avatar.css +12 -4
- package/components/BackgroundImage/background-image.css +6 -3
- package/components/Banner/banner.css +12 -6
- package/components/Banner/banner.scss +7 -0
- package/components/Brand/brand.css +3 -1
- package/components/Breadcrumb/breadcrumb.css +10 -5
- package/components/Breadcrumb/breadcrumb.scss +6 -2
- package/components/Button/button.css +173 -71
- package/components/Button/button.scss +188 -72
- package/components/CalendarMonth/calendar-month.css +4 -3
- package/components/Card/card.css +51 -15
- package/components/Card/card.scss +65 -9
- package/components/ClipboardCopy/clipboard-copy.css +14 -7
- package/components/ClipboardCopy/clipboard-copy.scss +13 -4
- package/components/CodeEditor/code-editor.css +2 -2
- package/components/CodeEditor/code-editor.scss +2 -2
- package/components/Compass/compass.css +399 -0
- package/components/Compass/compass.scss +413 -0
- package/components/DataList/data-list.css +30 -23
- package/components/DataList/data-list.scss +3 -2
- 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 +224 -75
- package/components/Drawer/drawer.scss +194 -27
- package/components/DualListSelector/dual-list-selector.css +18 -12
- package/components/DualListSelector/dual-list-selector.scss +1 -1
- package/components/ExpandableSection/expandable-section.css +21 -16
- package/components/ExpandableSection/expandable-section.scss +6 -3
- package/components/Form/form.css +2 -2
- package/components/Form/form.scss +2 -2
- package/components/FormControl/form-control.css +3 -3
- package/components/FormControl/form-control.scss +3 -3
- package/components/Hero/hero.css +74 -0
- package/components/Hero/hero.scss +86 -0
- package/components/JumpLinks/jump-links.css +16 -5
- package/components/JumpLinks/jump-links.scss +17 -3
- 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 +58 -40
- package/components/Login/login.scss +7 -3
- package/components/Masthead/masthead.css +111 -16
- package/components/Masthead/masthead.scss +111 -1
- package/components/Menu/menu.css +49 -33
- package/components/Menu/menu.scss +26 -19
- package/components/MenuToggle/menu-toggle.css +35 -8
- package/components/MenuToggle/menu-toggle.scss +42 -8
- package/components/ModalBox/modal-box.css +9 -7
- package/components/ModalBox/modal-box.scss +2 -2
- package/components/Nav/nav.css +82 -11
- package/components/Nav/nav.scss +85 -5
- package/components/NotificationDrawer/notification-drawer.css +19 -9
- package/components/NotificationDrawer/notification-drawer.scss +14 -5
- package/components/OverflowMenu/overflow-menu.css +16 -0
- package/components/OverflowMenu/overflow-menu.scss +20 -1
- package/components/Page/page.css +421 -32
- package/components/Page/page.scss +397 -15
- package/components/Pagination/pagination.css +56 -4
- package/components/Pagination/pagination.scss +71 -6
- package/components/Panel/panel.css +41 -3
- package/components/Panel/panel.scss +56 -3
- package/components/Progress/progress.css +3 -1
- package/components/Progress/progress.scss +3 -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 +4 -2
- package/components/Switch/switch.scss +1 -1
- package/components/Table/table-grid.css +28 -36
- package/components/Table/table-grid.scss +4 -4
- package/components/Table/table-scrollable.css +1 -1
- package/components/Table/table-scrollable.scss +1 -1
- package/components/Table/table-tree-view.css +4 -2
- package/components/Table/table.css +104 -57
- package/components/Table/table.scss +92 -37
- package/components/Tabs/tabs.css +39 -33
- package/components/Tabs/tabs.scss +38 -26
- package/components/TextInputGroup/text-input-group.css +2 -2
- package/components/TextInputGroup/text-input-group.scss +2 -2
- package/components/ToggleGroup/toggle-group.css +44 -19
- package/components/ToggleGroup/toggle-group.scss +51 -22
- package/components/Toolbar/toolbar.css +195 -16
- package/components/Toolbar/toolbar.scss +89 -9
- package/components/TreeView/tree-view.css +45 -14
- package/components/TreeView/tree-view.scss +32 -1
- package/components/Wizard/wizard.css +41 -19
- package/components/Wizard/wizard.scss +26 -6
- package/components/_index.css +2740 -829
- package/components/_index.scss +3 -1
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +13 -1
- package/docs/components/Accordion/examples/Accordion.md +392 -30
- package/docs/components/ActionList/examples/ActionList.md +143 -11
- package/docs/components/Alert/examples/Alert.md +678 -54
- package/docs/components/Avatar/examples/Avatar.md +4 -4
- package/docs/components/BackToTop/examples/BackToTop.md +13 -1
- package/docs/components/Banner/examples/Banner.md +196 -5
- package/docs/components/Brand/examples/Brand.md +2 -2
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +313 -26
- package/docs/components/Button/examples/Button.md +2829 -333
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +156 -12
- package/docs/components/Card/examples/Card.md +335 -12
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +293 -28
- package/docs/components/CodeBlock/examples/CodeBlock.md +104 -8
- package/docs/components/CodeEditor/examples/CodeEditor.md +234 -18
- package/docs/components/Compass/examples/Compass.css +8 -0
- package/docs/components/Compass/examples/Compass.md +109 -0
- package/docs/components/DataList/examples/DataList.md +468 -78
- package/docs/components/DatePicker/examples/DatePicker.md +78 -6
- package/docs/components/DescriptionList/examples/DescriptionList.md +327 -27
- package/docs/components/Divider/examples/Divider.md +2 -2
- package/docs/components/DragDrop/examples/DragDrop.css +1 -1
- package/docs/components/Drawer/examples/Drawer.md +415 -35
- package/docs/components/DualListSelector/examples/DualListSelector.md +1247 -161
- package/docs/components/EmptyState/examples/EmptyState.md +78 -6
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +91 -7
- package/docs/components/Form/examples/Form.md +78 -6
- package/docs/components/Hero/examples/Hero.md +25 -0
- package/docs/components/Hint/examples/Hint.md +39 -3
- package/docs/components/Icon/examples/Icon.md +105 -9
- package/docs/components/InlineEdit/examples/InlineEdit.md +338 -26
- package/docs/components/InputGroup/examples/InputGroup.md +40 -4
- package/docs/components/JumpLinks/examples/JumpLinks.md +54 -6
- package/docs/components/Label/examples/Label.md +2834 -218
- package/docs/components/Login/examples/Login.md +39 -3
- package/docs/components/Masthead/examples/masthead.md +80 -1
- package/docs/components/Menu/examples/Menu.md +1679 -133
- package/docs/components/MenuToggle/examples/MenuToggle.md +1514 -118
- package/docs/components/ModalBox/examples/ModalBox.md +289 -25
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +156 -12
- package/docs/components/Nav/examples/Navigation.md +898 -62
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +1079 -83
- package/docs/components/OverflowMenu/examples/overflow-menu.css +6 -3
- package/docs/components/OverflowMenu/examples/overflow-menu.md +164 -11
- package/docs/components/Page/examples/Page.md +211 -25
- package/docs/components/Pagination/examples/Pagination.md +1291 -80
- package/docs/components/Panel/examples/Panel.css +3 -0
- package/docs/components/Panel/examples/Panel.md +71 -4
- package/docs/components/Popover/examples/Popover.md +286 -22
- package/docs/components/Progress/examples/Progress.md +91 -7
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +275 -23
- package/docs/components/Sidebar/examples/Sidebar.md +1 -1
- package/docs/components/Slider/examples/Slider.md +52 -4
- package/docs/components/Table/examples/Table.css +2 -1
- package/docs/components/Table/examples/Table.md +7543 -653
- package/docs/components/Tabs/examples/Tabs.md +5734 -471
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +600 -48
- package/docs/components/ToggleGroup/examples/toggle-group.md +261 -15
- package/docs/components/Toolbar/examples/Toolbar.css +1 -1
- package/docs/components/Toolbar/examples/Toolbar.md +1145 -88
- package/docs/components/TreeView/examples/TreeView.md +1390 -130
- package/docs/components/Wizard/examples/Wizard.md +828 -73
- package/docs/demos/AboutModal/examples/AboutModal.md +158 -53
- package/docs/demos/Alert/examples/Alert.md +539 -164
- package/docs/demos/BackToTop/examples/BackToTop.md +158 -53
- package/docs/demos/Banner/examples/Banner.md +290 -104
- package/docs/demos/Button/examples/Button.md +13 -1
- package/docs/demos/Card/examples/Card.md +1041 -134
- package/docs/demos/CardView/examples/CardView.md +570 -171
- package/docs/demos/Compass/examples/Compass.md +10005 -0
- package/docs/demos/Dashboard/examples/Dashboard.md +745 -177
- package/docs/demos/DataList/examples/DataList.md +1301 -292
- package/docs/demos/DescriptionList/examples/DescriptionList.md +472 -160
- package/docs/demos/Drawer/examples/Drawer.md +718 -262
- package/docs/demos/Form/examples/BasicForms.md +273 -21
- package/docs/demos/JumpLinks/examples/JumpLinks.md +862 -319
- package/docs/demos/Masthead/examples/Masthead.md +1119 -489
- package/docs/demos/Modal/examples/Modal.md +948 -321
- package/docs/demos/Nav/examples/Nav.md +3449 -499
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +2418 -405
- package/docs/demos/Page/examples/Page.md +2137 -773
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +13 -1
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +52 -4
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1913 -504
- package/docs/demos/Skeleton/examples/Skeleton.md +145 -52
- package/docs/demos/Table/examples/Table.md +11807 -2275
- package/docs/demos/Tabs/examples/Tabs.md +1117 -337
- package/docs/demos/Toolbar/examples/Toolbar.md +1818 -286
- package/docs/demos/Wizard/examples/Wizard.md +1705 -526
- 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 +55 -17
- package/patternfly-base-no-globals.css +969 -489
- package/patternfly-base.css +976 -489
- package/patternfly-charts.css +3 -3
- package/patternfly-no-globals.css +3623 -1194
- package/patternfly.css +3630 -1194
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/patternfly.scss +48 -0
- package/sass-utilities/functions.scss +32 -25
- package/sass-utilities/mixins.scss +54 -23
- package/sass-utilities/namespaces-components.scss +6 -0
- package/sass-utilities/scss-variables.scss +3 -0
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
#ws-core-c-overflow-menu-simple .pf-v6-c-overflow-menu__item,
|
|
2
2
|
#ws-core-c-overflow-menu-simple .pf-v6-c-overflow-menu__group,
|
|
3
|
-
#ws-core-c-overflow-menu-group-types .pf-v6-c-overflow-menu__group:not([class*="pf-m-"])
|
|
3
|
+
#ws-core-c-overflow-menu-group-types .pf-v6-c-overflow-menu__group:not([class*="pf-m-"]),
|
|
4
|
+
#ws-core-c-overflow-menu-vertical .pf-v6-c-overflow-menu__item,
|
|
5
|
+
#ws-core-c-overflow-menu-vertical .pf-v6-c-overflow-menu__group {
|
|
4
6
|
padding: .5rem;
|
|
5
7
|
border: 2px dashed #393f44;
|
|
6
8
|
}
|
|
7
9
|
|
|
8
|
-
#ws-core-c-overflow-menu-simple .pf-v6-c-overflow-menu__group .pf-v6-c-overflow-menu__item
|
|
10
|
+
#ws-core-c-overflow-menu-simple .pf-v6-c-overflow-menu__group .pf-v6-c-overflow-menu__item,
|
|
11
|
+
#ws-core-c-overflow-menu-vertical .pf-v6-c-overflow-menu__group .pf-v6-c-overflow-menu__item {
|
|
9
12
|
padding: 0;
|
|
10
13
|
border: none;
|
|
11
|
-
}
|
|
14
|
+
}
|
|
@@ -23,7 +23,19 @@ The overflow menu relies on groups (`.pf-v6-c-overflow-menu__group`) and items (
|
|
|
23
23
|
id="overflow-menu-simple-toggle"
|
|
24
24
|
>
|
|
25
25
|
<span class="pf-v6-c-menu-toggle__icon">
|
|
26
|
-
<
|
|
26
|
+
<svg
|
|
27
|
+
class="pf-v6-svg"
|
|
28
|
+
viewBox="0 0 32 32"
|
|
29
|
+
fill="currentColor"
|
|
30
|
+
aria-hidden="true"
|
|
31
|
+
role="img"
|
|
32
|
+
width="1em"
|
|
33
|
+
height="1em"
|
|
34
|
+
>
|
|
35
|
+
<path
|
|
36
|
+
d="M12.25 5c0-2.068 1.683-3.75 3.75-3.75S19.75 2.932 19.75 5 18.067 8.75 16 8.75 12.25 7.068 12.25 5ZM16 12.25c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Zm0 11c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Z"
|
|
37
|
+
/>
|
|
38
|
+
</svg>
|
|
27
39
|
</span>
|
|
28
40
|
</button>
|
|
29
41
|
</div>
|
|
@@ -48,6 +60,26 @@ The overflow menu relies on groups (`.pf-v6-c-overflow-menu__group`) and items (
|
|
|
48
60
|
|
|
49
61
|
```
|
|
50
62
|
|
|
63
|
+
### Vertical
|
|
64
|
+
|
|
65
|
+
```html isBeta
|
|
66
|
+
<div
|
|
67
|
+
class="pf-v6-c-overflow-menu pf-m-vertical"
|
|
68
|
+
id="overflow-menu-vertical-expanded"
|
|
69
|
+
>
|
|
70
|
+
<div class="pf-v6-c-overflow-menu__content">
|
|
71
|
+
<div class="pf-v6-c-overflow-menu__item">Item 1</div>
|
|
72
|
+
<div class="pf-v6-c-overflow-menu__item">Item 2</div>
|
|
73
|
+
<div class="pf-v6-c-overflow-menu__group">
|
|
74
|
+
<div class="pf-v6-c-overflow-menu__item">Item 3</div>
|
|
75
|
+
<div class="pf-v6-c-overflow-menu__item">Item 4</div>
|
|
76
|
+
<div class="pf-v6-c-overflow-menu__item">Item 5</div>
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
|
|
81
|
+
```
|
|
82
|
+
|
|
51
83
|
### Default spacing for items and groups:
|
|
52
84
|
|
|
53
85
|
| Class | CSS Variable | Computed Value |
|
|
@@ -100,7 +132,19 @@ The overflow menu relies on groups (`.pf-v6-c-overflow-menu__group`) and items (
|
|
|
100
132
|
aria-label="Align left"
|
|
101
133
|
>
|
|
102
134
|
<span class="pf-v6-c-button__icon">
|
|
103
|
-
<
|
|
135
|
+
<svg
|
|
136
|
+
class="pf-v6-svg"
|
|
137
|
+
viewBox="0 0 448 512"
|
|
138
|
+
fill="currentColor"
|
|
139
|
+
aria-hidden="true"
|
|
140
|
+
role="img"
|
|
141
|
+
width="1em"
|
|
142
|
+
height="1em"
|
|
143
|
+
>
|
|
144
|
+
<path
|
|
145
|
+
d="M12.83 352h262.34A12.82 12.82 0 0 0 288 339.17v-38.34A12.82 12.82 0 0 0 275.17 288H12.83A12.82 12.82 0 0 0 0 300.83v38.34A12.82 12.82 0 0 0 12.83 352zm0-256h262.34A12.82 12.82 0 0 0 288 83.17V44.83A12.82 12.82 0 0 0 275.17 32H12.83A12.82 12.82 0 0 0 0 44.83v38.34A12.82 12.82 0 0 0 12.83 96zM432 160H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0 256H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"
|
|
146
|
+
/>
|
|
147
|
+
</svg>
|
|
104
148
|
</span>
|
|
105
149
|
</button>
|
|
106
150
|
</div>
|
|
@@ -111,7 +155,19 @@ The overflow menu relies on groups (`.pf-v6-c-overflow-menu__group`) and items (
|
|
|
111
155
|
aria-label="Align center"
|
|
112
156
|
>
|
|
113
157
|
<span class="pf-v6-c-button__icon">
|
|
114
|
-
<
|
|
158
|
+
<svg
|
|
159
|
+
class="pf-v6-svg"
|
|
160
|
+
viewBox="0 0 448 512"
|
|
161
|
+
fill="currentColor"
|
|
162
|
+
aria-hidden="true"
|
|
163
|
+
role="img"
|
|
164
|
+
width="1em"
|
|
165
|
+
height="1em"
|
|
166
|
+
>
|
|
167
|
+
<path
|
|
168
|
+
d="M432 160H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0 256H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM108.1 96h231.81A12.09 12.09 0 0 0 352 83.9V44.09A12.09 12.09 0 0 0 339.91 32H108.1A12.09 12.09 0 0 0 96 44.09V83.9A12.1 12.1 0 0 0 108.1 96zm231.81 256A12.09 12.09 0 0 0 352 339.9v-39.81A12.09 12.09 0 0 0 339.91 288H108.1A12.09 12.09 0 0 0 96 300.09v39.81a12.1 12.1 0 0 0 12.1 12.1z"
|
|
169
|
+
/>
|
|
170
|
+
</svg>
|
|
115
171
|
</span>
|
|
116
172
|
</button>
|
|
117
173
|
</div>
|
|
@@ -122,7 +178,19 @@ The overflow menu relies on groups (`.pf-v6-c-overflow-menu__group`) and items (
|
|
|
122
178
|
aria-label="Align right"
|
|
123
179
|
>
|
|
124
180
|
<span class="pf-v6-c-button__icon">
|
|
125
|
-
<
|
|
181
|
+
<svg
|
|
182
|
+
class="pf-v6-svg"
|
|
183
|
+
viewBox="0 0 448 512"
|
|
184
|
+
fill="currentColor"
|
|
185
|
+
aria-hidden="true"
|
|
186
|
+
role="img"
|
|
187
|
+
width="1em"
|
|
188
|
+
height="1em"
|
|
189
|
+
>
|
|
190
|
+
<path
|
|
191
|
+
d="M16 224h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16zm416 192H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm3.17-384H172.83A12.82 12.82 0 0 0 160 44.83v38.34A12.82 12.82 0 0 0 172.83 96h262.34A12.82 12.82 0 0 0 448 83.17V44.83A12.82 12.82 0 0 0 435.17 32zm0 256H172.83A12.82 12.82 0 0 0 160 300.83v38.34A12.82 12.82 0 0 0 172.83 352h262.34A12.82 12.82 0 0 0 448 339.17v-38.34A12.82 12.82 0 0 0 435.17 288z"
|
|
192
|
+
/>
|
|
193
|
+
</svg>
|
|
126
194
|
</span>
|
|
127
195
|
</button>
|
|
128
196
|
</div>
|
|
@@ -158,7 +226,19 @@ The action group consists of a primary and secondary action. Any additional acti
|
|
|
158
226
|
id="overflow-menu-simple-additional-options-hidden-toggle"
|
|
159
227
|
>
|
|
160
228
|
<span class="pf-v6-c-menu-toggle__icon">
|
|
161
|
-
<
|
|
229
|
+
<svg
|
|
230
|
+
class="pf-v6-svg"
|
|
231
|
+
viewBox="0 0 32 32"
|
|
232
|
+
fill="currentColor"
|
|
233
|
+
aria-hidden="true"
|
|
234
|
+
role="img"
|
|
235
|
+
width="1em"
|
|
236
|
+
height="1em"
|
|
237
|
+
>
|
|
238
|
+
<path
|
|
239
|
+
d="M12.25 5c0-2.068 1.683-3.75 3.75-3.75S19.75 2.932 19.75 5 18.067 8.75 16 8.75 12.25 7.068 12.25 5ZM16 12.25c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Zm0 11c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Z"
|
|
240
|
+
/>
|
|
241
|
+
</svg>
|
|
162
242
|
</span>
|
|
163
243
|
</button>
|
|
164
244
|
</div>
|
|
@@ -199,7 +279,19 @@ The action group consists of a primary and secondary action. Any additional acti
|
|
|
199
279
|
aria-label="Align left"
|
|
200
280
|
>
|
|
201
281
|
<span class="pf-v6-c-button__icon">
|
|
202
|
-
<
|
|
282
|
+
<svg
|
|
283
|
+
class="pf-v6-svg"
|
|
284
|
+
viewBox="0 0 448 512"
|
|
285
|
+
fill="currentColor"
|
|
286
|
+
aria-hidden="true"
|
|
287
|
+
role="img"
|
|
288
|
+
width="1em"
|
|
289
|
+
height="1em"
|
|
290
|
+
>
|
|
291
|
+
<path
|
|
292
|
+
d="M12.83 352h262.34A12.82 12.82 0 0 0 288 339.17v-38.34A12.82 12.82 0 0 0 275.17 288H12.83A12.82 12.82 0 0 0 0 300.83v38.34A12.82 12.82 0 0 0 12.83 352zm0-256h262.34A12.82 12.82 0 0 0 288 83.17V44.83A12.82 12.82 0 0 0 275.17 32H12.83A12.82 12.82 0 0 0 0 44.83v38.34A12.82 12.82 0 0 0 12.83 96zM432 160H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0 256H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"
|
|
293
|
+
/>
|
|
294
|
+
</svg>
|
|
203
295
|
</span>
|
|
204
296
|
</button>
|
|
205
297
|
</div>
|
|
@@ -210,7 +302,19 @@ The action group consists of a primary and secondary action. Any additional acti
|
|
|
210
302
|
aria-label="Align center"
|
|
211
303
|
>
|
|
212
304
|
<span class="pf-v6-c-button__icon">
|
|
213
|
-
<
|
|
305
|
+
<svg
|
|
306
|
+
class="pf-v6-svg"
|
|
307
|
+
viewBox="0 0 448 512"
|
|
308
|
+
fill="currentColor"
|
|
309
|
+
aria-hidden="true"
|
|
310
|
+
role="img"
|
|
311
|
+
width="1em"
|
|
312
|
+
height="1em"
|
|
313
|
+
>
|
|
314
|
+
<path
|
|
315
|
+
d="M432 160H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0 256H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM108.1 96h231.81A12.09 12.09 0 0 0 352 83.9V44.09A12.09 12.09 0 0 0 339.91 32H108.1A12.09 12.09 0 0 0 96 44.09V83.9A12.1 12.1 0 0 0 108.1 96zm231.81 256A12.09 12.09 0 0 0 352 339.9v-39.81A12.09 12.09 0 0 0 339.91 288H108.1A12.09 12.09 0 0 0 96 300.09v39.81a12.1 12.1 0 0 0 12.1 12.1z"
|
|
316
|
+
/>
|
|
317
|
+
</svg>
|
|
214
318
|
</span>
|
|
215
319
|
</button>
|
|
216
320
|
</div>
|
|
@@ -221,7 +325,19 @@ The action group consists of a primary and secondary action. Any additional acti
|
|
|
221
325
|
aria-label="Align right"
|
|
222
326
|
>
|
|
223
327
|
<span class="pf-v6-c-button__icon">
|
|
224
|
-
<
|
|
328
|
+
<svg
|
|
329
|
+
class="pf-v6-svg"
|
|
330
|
+
viewBox="0 0 448 512"
|
|
331
|
+
fill="currentColor"
|
|
332
|
+
aria-hidden="true"
|
|
333
|
+
role="img"
|
|
334
|
+
width="1em"
|
|
335
|
+
height="1em"
|
|
336
|
+
>
|
|
337
|
+
<path
|
|
338
|
+
d="M16 224h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16zm416 192H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm3.17-384H172.83A12.82 12.82 0 0 0 160 44.83v38.34A12.82 12.82 0 0 0 172.83 96h262.34A12.82 12.82 0 0 0 448 83.17V44.83A12.82 12.82 0 0 0 435.17 32zm0 256H172.83A12.82 12.82 0 0 0 160 300.83v38.34A12.82 12.82 0 0 0 172.83 352h262.34A12.82 12.82 0 0 0 448 339.17v-38.34A12.82 12.82 0 0 0 435.17 288z"
|
|
339
|
+
/>
|
|
340
|
+
</svg>
|
|
225
341
|
</span>
|
|
226
342
|
</button>
|
|
227
343
|
</div>
|
|
@@ -236,7 +352,19 @@ The action group consists of a primary and secondary action. Any additional acti
|
|
|
236
352
|
id="overflow-menu-simple-additional-options-visible-toggle"
|
|
237
353
|
>
|
|
238
354
|
<span class="pf-v6-c-menu-toggle__icon">
|
|
239
|
-
<
|
|
355
|
+
<svg
|
|
356
|
+
class="pf-v6-svg"
|
|
357
|
+
viewBox="0 0 32 32"
|
|
358
|
+
fill="currentColor"
|
|
359
|
+
aria-hidden="true"
|
|
360
|
+
role="img"
|
|
361
|
+
width="1em"
|
|
362
|
+
height="1em"
|
|
363
|
+
>
|
|
364
|
+
<path
|
|
365
|
+
d="M12.25 5c0-2.068 1.683-3.75 3.75-3.75S19.75 2.932 19.75 5 18.067 8.75 16 8.75 12.25 7.068 12.25 5ZM16 12.25c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Zm0 11c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Z"
|
|
366
|
+
/>
|
|
367
|
+
</svg>
|
|
240
368
|
</span>
|
|
241
369
|
</button>
|
|
242
370
|
</div>
|
|
@@ -268,7 +396,19 @@ The action group consists of a primary and secondary action. Any additional acti
|
|
|
268
396
|
id="overflow-menu-persistent-hidden-toggle"
|
|
269
397
|
>
|
|
270
398
|
<span class="pf-v6-c-menu-toggle__icon">
|
|
271
|
-
<
|
|
399
|
+
<svg
|
|
400
|
+
class="pf-v6-svg"
|
|
401
|
+
viewBox="0 0 32 32"
|
|
402
|
+
fill="currentColor"
|
|
403
|
+
aria-hidden="true"
|
|
404
|
+
role="img"
|
|
405
|
+
width="1em"
|
|
406
|
+
height="1em"
|
|
407
|
+
>
|
|
408
|
+
<path
|
|
409
|
+
d="M12.25 5c0-2.068 1.683-3.75 3.75-3.75S19.75 2.932 19.75 5 18.067 8.75 16 8.75 12.25 7.068 12.25 5ZM16 12.25c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Zm0 11c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Z"
|
|
410
|
+
/>
|
|
411
|
+
</svg>
|
|
272
412
|
</span>
|
|
273
413
|
</button>
|
|
274
414
|
</div>
|
|
@@ -311,7 +451,19 @@ The action group consists of a primary and secondary action. Any additional acti
|
|
|
311
451
|
id="overflow-menu-persistent-visible-example-toggle"
|
|
312
452
|
>
|
|
313
453
|
<span class="pf-v6-c-menu-toggle__icon">
|
|
314
|
-
<
|
|
454
|
+
<svg
|
|
455
|
+
class="pf-v6-svg"
|
|
456
|
+
viewBox="0 0 32 32"
|
|
457
|
+
fill="currentColor"
|
|
458
|
+
aria-hidden="true"
|
|
459
|
+
role="img"
|
|
460
|
+
width="1em"
|
|
461
|
+
height="1em"
|
|
462
|
+
>
|
|
463
|
+
<path
|
|
464
|
+
d="M12.25 5c0-2.068 1.683-3.75 3.75-3.75S19.75 2.932 19.75 5 18.067 8.75 16 8.75 12.25 7.068 12.25 5ZM16 12.25c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Zm0 11c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Z"
|
|
465
|
+
/>
|
|
466
|
+
</svg>
|
|
315
467
|
</span>
|
|
316
468
|
</button>
|
|
317
469
|
</div>
|
|
@@ -328,5 +480,6 @@ The action group consists of a primary and secondary action. Any additional acti
|
|
|
328
480
|
| `.pf-v6-c-overflow-menu__control` | `<div>` | Initiates the overflow menu control. **Required** |
|
|
329
481
|
| `.pf-v6-c-overflow-menu__group` | `<div>` | Initiates an overflow menu group. |
|
|
330
482
|
| `.pf-v6-c-overflow-menu__item` | `<div>` | Initiates an overflow menu item. **Required** |
|
|
483
|
+
| `.pf-m-vertical` | `.pf-v6-c-overflow-menu` | Modifies the flex direction to "column", for vertically aligned overflow menus. |
|
|
331
484
|
| `.pf-m-button-group` | `.pf-v6-c-overflow-menu__group` | Modifies overflow menu group spacing. Spacer value is set to `var(--pf-v6-c-overflow-menu__group--m-button-group--spacer)`. Child spacer value is set to `var(--pf-v6-c-overflow-menu__group--m-button-group--space-items)`. |
|
|
332
485
|
| `.pf-m-icon-button-group` | `.pf-v6-c-overflow-menu__group` | Modifies overflow menu group spacing. Spacer value is set to `var(--pf-v6-c-overflow-menu__group--m-icon-button-group--spacer)`. Child spacer value is set to `var(--pf-v6-c-overflow-menu__group--m-icon-button-group--space-items)`. |
|
|
@@ -52,30 +52,44 @@ wrapperTag: div
|
|
|
52
52
|
</div>
|
|
53
53
|
</header>
|
|
54
54
|
<div class="pf-v6-c-page__sidebar">
|
|
55
|
-
<div class="pf-v6-c-page__sidebar-
|
|
55
|
+
<div class="pf-v6-c-page__sidebar-main">
|
|
56
|
+
<div class="pf-v6-c-page__sidebar-body">Navigation</div>
|
|
57
|
+
</div>
|
|
56
58
|
</div>
|
|
57
59
|
<div class="pf-v6-c-page__main-container" tabindex="-1">
|
|
58
60
|
<main class="pf-v6-c-page__main" tabindex="-1">
|
|
59
|
-
<section
|
|
61
|
+
<section
|
|
62
|
+
class="pf-v6-c-page__main-section"
|
|
63
|
+
aria-label="Default main section example 1"
|
|
64
|
+
>
|
|
60
65
|
<div class="pf-v6-c-page__main-body">
|
|
61
66
|
This is a default
|
|
62
67
|
<code>.pf-v6-c-page__main-section</code>.
|
|
63
68
|
</div>
|
|
64
69
|
</section>
|
|
65
|
-
<section
|
|
70
|
+
<section
|
|
71
|
+
class="pf-v6-c-page__main-section pf-m-secondary"
|
|
72
|
+
aria-label="Secondary main section example 1"
|
|
73
|
+
>
|
|
66
74
|
<div class="pf-v6-c-page__main-body">
|
|
67
75
|
This
|
|
68
76
|
<code>.pf-v6-c-page__main-section</code> uses
|
|
69
77
|
<code>.pf-m-secondary</code>.
|
|
70
78
|
</div>
|
|
71
79
|
</section>
|
|
72
|
-
<section
|
|
80
|
+
<section
|
|
81
|
+
class="pf-v6-c-page__main-section"
|
|
82
|
+
aria-label="Default main section example 2"
|
|
83
|
+
>
|
|
73
84
|
<div class="pf-v6-c-page__main-body">
|
|
74
85
|
This is a default
|
|
75
86
|
<code>.pf-v6-c-page__main-section</code>.
|
|
76
87
|
</div>
|
|
77
88
|
</section>
|
|
78
|
-
<section
|
|
89
|
+
<section
|
|
90
|
+
class="pf-v6-c-page__main-section pf-m-secondary"
|
|
91
|
+
aria-label="Multiple main body section example"
|
|
92
|
+
>
|
|
79
93
|
<div
|
|
80
94
|
class="pf-v6-c-page__main-body"
|
|
81
95
|
>This is a page__main-body, one of three within one page__main-section.</div>
|
|
@@ -138,20 +152,29 @@ wrapperTag: div
|
|
|
138
152
|
</header>
|
|
139
153
|
<div class="pf-v6-c-page__main-container" tabindex="-1">
|
|
140
154
|
<main class="pf-v6-c-page__main" tabindex="-1">
|
|
141
|
-
<section
|
|
155
|
+
<section
|
|
156
|
+
class="pf-v6-c-page__main-section"
|
|
157
|
+
aria-label="Horizontal nav default main section example 1"
|
|
158
|
+
>
|
|
142
159
|
<div class="pf-v6-c-page__main-body">
|
|
143
160
|
This is a default
|
|
144
161
|
<code>.pf-v6-c-page__main-section</code>.
|
|
145
162
|
</div>
|
|
146
163
|
</section>
|
|
147
|
-
<section
|
|
164
|
+
<section
|
|
165
|
+
class="pf-v6-c-page__main-section pf-m-secondary"
|
|
166
|
+
aria-label="Horizontal nav secondary main section example"
|
|
167
|
+
>
|
|
148
168
|
<div class="pf-v6-c-page__main-body">
|
|
149
169
|
This
|
|
150
170
|
<code>.pf-v6-c-page__main-section</code> uses
|
|
151
171
|
<code>.pf-m-secondary</code>.
|
|
152
172
|
</div>
|
|
153
173
|
</section>
|
|
154
|
-
<section
|
|
174
|
+
<section
|
|
175
|
+
class="pf-v6-c-page__main-section"
|
|
176
|
+
aria-label="Horizontal nav default main section example 2"
|
|
177
|
+
>
|
|
155
178
|
<div class="pf-v6-c-page__main-body">
|
|
156
179
|
This is a default
|
|
157
180
|
<code>.pf-v6-c-page__main-section</code>.
|
|
@@ -208,16 +231,21 @@ wrapperTag: div
|
|
|
208
231
|
</div>
|
|
209
232
|
</header>
|
|
210
233
|
<div class="pf-v6-c-page__sidebar">
|
|
211
|
-
<div class="pf-v6-c-page__sidebar-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
234
|
+
<div class="pf-v6-c-page__sidebar-main">
|
|
235
|
+
<div class="pf-v6-c-page__sidebar-body">Navigation</div>
|
|
236
|
+
<div class="pf-v6-c-page__sidebar-body pf-m-fill">inset content</div>
|
|
237
|
+
<div
|
|
238
|
+
class="pf-v6-c-page__sidebar-body pf-m-fill pf-m-inset-none"
|
|
239
|
+
>content that is not inset</div>
|
|
240
|
+
<div class="pf-v6-c-page__sidebar-body pf-m-no-fill">footer content</div>
|
|
241
|
+
</div>
|
|
217
242
|
</div>
|
|
218
243
|
<div class="pf-v6-c-page__main-container" tabindex="-1">
|
|
219
244
|
<main class="pf-v6-c-page__main" tabindex="-1">
|
|
220
|
-
<section
|
|
245
|
+
<section
|
|
246
|
+
class="pf-v6-c-page__main-section"
|
|
247
|
+
aria-label="Sidebar body layout section"
|
|
248
|
+
>
|
|
221
249
|
<div class="pf-v6-c-page__main-body"></div>
|
|
222
250
|
</section>
|
|
223
251
|
</main>
|
|
@@ -272,10 +300,16 @@ wrapperTag: div
|
|
|
272
300
|
</header>
|
|
273
301
|
<div class="pf-v6-c-page__main-container pf-m-fill" tabindex="-1">
|
|
274
302
|
<main class="pf-v6-c-page__main" tabindex="-1">
|
|
275
|
-
<section
|
|
303
|
+
<section
|
|
304
|
+
class="pf-v6-c-page__main-section"
|
|
305
|
+
aria-label="Regular page section example"
|
|
306
|
+
>
|
|
276
307
|
<div class="pf-v6-c-page__main-body">A regular page section.</div>
|
|
277
308
|
</section>
|
|
278
|
-
<section
|
|
309
|
+
<section
|
|
310
|
+
class="pf-v6-c-page__main-section pf-m-fill"
|
|
311
|
+
aria-label="Fill page section example"
|
|
312
|
+
>
|
|
279
313
|
<div class="pf-v6-c-page__main-body">
|
|
280
314
|
This section uses
|
|
281
315
|
<code>.pf-m-fill</code> to fill the available space. The
|
|
@@ -283,7 +317,10 @@ wrapperTag: div
|
|
|
283
317
|
<code>.pf-m-fill</code> in order for the section to have space to stretch to full height.
|
|
284
318
|
</div>
|
|
285
319
|
</section>
|
|
286
|
-
<section
|
|
320
|
+
<section
|
|
321
|
+
class="pf-v6-c-page__main-section pf-m-no-fill"
|
|
322
|
+
aria-label="No fill page section example"
|
|
323
|
+
>
|
|
287
324
|
<div class="pf-v6-c-page__main-body">
|
|
288
325
|
This section uses
|
|
289
326
|
<code>.pf-m-no-fill</code> and will not fill the available space.
|
|
@@ -340,17 +377,25 @@ wrapperTag: div
|
|
|
340
377
|
</div>
|
|
341
378
|
</header>
|
|
342
379
|
<div class="pf-v6-c-page__sidebar">
|
|
343
|
-
<div class="pf-v6-c-page__sidebar-
|
|
380
|
+
<div class="pf-v6-c-page__sidebar-main">
|
|
381
|
+
<div class="pf-v6-c-page__sidebar-body">Navigation</div>
|
|
382
|
+
</div>
|
|
344
383
|
</div>
|
|
345
384
|
<div class="pf-v6-c-page__main-container" tabindex="-1">
|
|
346
385
|
<main class="pf-v6-c-page__main" tabindex="-1">
|
|
347
|
-
<section
|
|
386
|
+
<section
|
|
387
|
+
class="pf-v6-c-page__main-section"
|
|
388
|
+
aria-label="Default padding main section example"
|
|
389
|
+
>
|
|
348
390
|
<div class="pf-v6-c-page__main-body">
|
|
349
391
|
This
|
|
350
392
|
<code>.pf-v6-c-page__main-section</code> has default padding.
|
|
351
393
|
</div>
|
|
352
394
|
</section>
|
|
353
|
-
<section
|
|
395
|
+
<section
|
|
396
|
+
class="pf-v6-c-page__main-section pf-m-no-padding"
|
|
397
|
+
aria-label="No padding main section example"
|
|
398
|
+
>
|
|
354
399
|
<div class="pf-v6-c-page__main-body">
|
|
355
400
|
This
|
|
356
401
|
<code>.pf-v6-c-page__main-section</code> uses
|
|
@@ -359,6 +404,7 @@ wrapperTag: div
|
|
|
359
404
|
</section>
|
|
360
405
|
<section
|
|
361
406
|
class="pf-v6-c-page__main-section pf-m-no-padding pf-m-padding-on-md"
|
|
407
|
+
aria-label="Responsive padding main section example"
|
|
362
408
|
>
|
|
363
409
|
<div class="pf-v6-c-page__main-body">
|
|
364
410
|
This
|
|
@@ -418,7 +464,9 @@ wrapperTag: div
|
|
|
418
464
|
</div>
|
|
419
465
|
</header>
|
|
420
466
|
<div class="pf-v6-c-page__sidebar">
|
|
421
|
-
<div class="pf-v6-c-page__sidebar-
|
|
467
|
+
<div class="pf-v6-c-page__sidebar-main">
|
|
468
|
+
<div class="pf-v6-c-page__sidebar-body">Navigation</div>
|
|
469
|
+
</div>
|
|
422
470
|
</div>
|
|
423
471
|
<div class="pf-v6-c-page__main-container" tabindex="-1">
|
|
424
472
|
<main class="pf-v6-c-page__main" tabindex="-1">
|
|
@@ -434,7 +482,10 @@ wrapperTag: div
|
|
|
434
482
|
<section class="pf-v6-c-page__main-breadcrumb">
|
|
435
483
|
<code>.pf-v6-c-page__main-breadcrumb</code> for breadcrumbs
|
|
436
484
|
</section>
|
|
437
|
-
<section
|
|
485
|
+
<section
|
|
486
|
+
class="pf-v6-c-page__main-section"
|
|
487
|
+
aria-label="Main section variations example"
|
|
488
|
+
>
|
|
438
489
|
<div class="pf-v6-c-page__main-body">
|
|
439
490
|
<code>.pf-v6-c-page__main-section</code> for main sections
|
|
440
491
|
</div>
|
|
@@ -496,6 +547,7 @@ wrapperTag: div
|
|
|
496
547
|
<main class="pf-v6-c-page__main" tabindex="-1">
|
|
497
548
|
<section
|
|
498
549
|
class="pf-v6-c-page__main-section pf-m-limit-width pf-m-align-center"
|
|
550
|
+
aria-label="Centered section example"
|
|
499
551
|
>
|
|
500
552
|
<div class="pf-v6-c-page__main-body">
|
|
501
553
|
<div class="pf-v6-c-card">
|
|
@@ -514,6 +566,133 @@ wrapperTag: div
|
|
|
514
566
|
|
|
515
567
|
```
|
|
516
568
|
|
|
569
|
+
### With dock
|
|
570
|
+
|
|
571
|
+
```html isBeta
|
|
572
|
+
<div class="pf-v6-c-page pf-m-docked">
|
|
573
|
+
<div class="pf-v6-c-page__dock">
|
|
574
|
+
<div class="pf-v6-c-page__dock-main">
|
|
575
|
+
<header class="pf-v6-c-masthead pf-m-docked">
|
|
576
|
+
<div class="pf-v6-c-masthead__main">
|
|
577
|
+
<div class="pf-v6-c-masthead__brand">logo</div>
|
|
578
|
+
</div>
|
|
579
|
+
<div class="pf-v6-c-masthead__content">
|
|
580
|
+
<button
|
|
581
|
+
class="pf-v6-c-button pf-m-plain"
|
|
582
|
+
type="button"
|
|
583
|
+
aria-label="Chat"
|
|
584
|
+
>
|
|
585
|
+
<span class="pf-v6-c-button__icon">
|
|
586
|
+
<svg
|
|
587
|
+
class="pf-v6-svg"
|
|
588
|
+
viewBox="0 0 512 512"
|
|
589
|
+
fill="currentColor"
|
|
590
|
+
aria-hidden="true"
|
|
591
|
+
role="img"
|
|
592
|
+
width="1em"
|
|
593
|
+
height="1em"
|
|
594
|
+
>
|
|
595
|
+
<path
|
|
596
|
+
d="M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 9.8 11.2 15.5 19.1 9.7L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64z"
|
|
597
|
+
/>
|
|
598
|
+
</svg>
|
|
599
|
+
</span>
|
|
600
|
+
</button>
|
|
601
|
+
</div>
|
|
602
|
+
</header>
|
|
603
|
+
</div>
|
|
604
|
+
</div>
|
|
605
|
+
<div class="pf-v6-c-page__main-container" tabindex="-1">
|
|
606
|
+
<main class="pf-v6-c-page__main" tabindex="-1">
|
|
607
|
+
<section
|
|
608
|
+
class="pf-v6-c-page__main-section"
|
|
609
|
+
aria-label="Dock main section example"
|
|
610
|
+
>
|
|
611
|
+
<div class="pf-v6-c-page__main-body">
|
|
612
|
+
This is a default
|
|
613
|
+
<code>.pf-v6-c-page__main-section</code>.
|
|
614
|
+
</div>
|
|
615
|
+
</section>
|
|
616
|
+
</main>
|
|
617
|
+
</div>
|
|
618
|
+
</div>
|
|
619
|
+
|
|
620
|
+
```
|
|
621
|
+
|
|
622
|
+
### Sticky section dynamic
|
|
623
|
+
|
|
624
|
+
```html
|
|
625
|
+
<div class="pf-v6-c-page">
|
|
626
|
+
<header class="pf-v6-c-masthead">
|
|
627
|
+
<div class="pf-v6-c-masthead__main">
|
|
628
|
+
<span class="pf-v6-c-masthead__toggle">
|
|
629
|
+
<button
|
|
630
|
+
class="pf-v6-c-button pf-m-hamburger pf-m-plain"
|
|
631
|
+
type="button"
|
|
632
|
+
aria-label="Global navigation"
|
|
633
|
+
>
|
|
634
|
+
<span class="pf-v6-c-button__icon">
|
|
635
|
+
<svg
|
|
636
|
+
viewBox="0 0 10 10"
|
|
637
|
+
class="pf-v6-c-button--hamburger-icon pf-v6-svg"
|
|
638
|
+
width="1em"
|
|
639
|
+
height="1em"
|
|
640
|
+
>
|
|
641
|
+
<path class="pf-v6-c-button--hamburger-icon--top" d="M1,1 L9,1" />
|
|
642
|
+
<path
|
|
643
|
+
class="pf-v6-c-button--hamburger-icon--middle"
|
|
644
|
+
d="M1,5 L9,5"
|
|
645
|
+
/>
|
|
646
|
+
<path
|
|
647
|
+
class="pf-v6-c-button--hamburger-icon--arrow"
|
|
648
|
+
d="M1,5 L1,5 L1,5"
|
|
649
|
+
/>
|
|
650
|
+
<path
|
|
651
|
+
class="pf-v6-c-button--hamburger-icon--bottom"
|
|
652
|
+
d="M9,9 L1,9"
|
|
653
|
+
/>
|
|
654
|
+
</svg>
|
|
655
|
+
</span>
|
|
656
|
+
</button>
|
|
657
|
+
</span>
|
|
658
|
+
<div class="pf-v6-c-masthead__brand">
|
|
659
|
+
<a class="pf-v6-c-masthead__logo" href="#">Logo</a>
|
|
660
|
+
</div>
|
|
661
|
+
</div>
|
|
662
|
+
<div class="pf-v6-c-masthead__content">
|
|
663
|
+
<span>Content</span>
|
|
664
|
+
</div>
|
|
665
|
+
</header>
|
|
666
|
+
<div class="pf-v6-c-page__main-container" tabindex="-1">
|
|
667
|
+
<main class="pf-v6-c-page__main" tabindex="-1">
|
|
668
|
+
<div
|
|
669
|
+
class="pf-v6-c-page__main-group pf-m-sticky-top-base pf-m-sticky-top-stuck"
|
|
670
|
+
>
|
|
671
|
+
<section class="pf-v6-c-page__main-breadcrumb">Breadcrumb</section>
|
|
672
|
+
<section
|
|
673
|
+
class="pf-v6-c-page__main-section"
|
|
674
|
+
aria-label="Sticky dynamic section title"
|
|
675
|
+
>
|
|
676
|
+
<div class="pf-v6-c-page__main-body">
|
|
677
|
+
This
|
|
678
|
+
<code>.pf-v6-c-page__main-group</code> uses
|
|
679
|
+
<code>.pf-m-sticky-top-base</code> and
|
|
680
|
+
<code>.pf-m-sticky-top-stuck</code> for dynamic sticky positioning with a fade-in background and shadow.
|
|
681
|
+
</div>
|
|
682
|
+
</section>
|
|
683
|
+
</div>
|
|
684
|
+
<section
|
|
685
|
+
class="pf-v6-c-page__main-section"
|
|
686
|
+
aria-label="Sticky dynamic content section"
|
|
687
|
+
>
|
|
688
|
+
<div class="pf-v6-c-page__main-body">Content below the sticky section.</div>
|
|
689
|
+
</section>
|
|
690
|
+
</main>
|
|
691
|
+
</div>
|
|
692
|
+
</div>
|
|
693
|
+
|
|
694
|
+
```
|
|
695
|
+
|
|
517
696
|
## Documentation
|
|
518
697
|
|
|
519
698
|
### Overview
|
|
@@ -545,20 +724,27 @@ This component provides the basic chrome for a page, including sidebar and main
|
|
|
545
724
|
| `.pf-v6-c-page__main-body` | `<div>` | Creates the body section for a page section. **Required** |
|
|
546
725
|
| `.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
726
|
| `.pf-v6-c-page__drawer` | `<div>` | Creates a container for the drawer component when placing the main page element in the drawer body. |
|
|
727
|
+
| `.pf-m-docked` | `.pf-v6-c-page` | Modifies the page grid to have a dock. |
|
|
548
728
|
| `.pf-m-no-sidebar` | `.pf-v6-c-page` | Modifies the page grid for layouts without a sidebar. |
|
|
549
729
|
| `.pf-m-expanded` | `.pf-v6-c-page__sidebar` | Modifies the sidebar for the expanded state. |
|
|
550
730
|
| `.pf-m-collapsed` | `.pf-v6-c-page__sidebar` | Modifies the sidebar for the collapsed state. |
|
|
551
731
|
| `.pf-m-page-insets` | `.pf-v6-c-page__sidebar-body` | Modifies a sidebar body padding/inset to visually match padding of page elements. |
|
|
552
732
|
| `.pf-m-context-selector` | `.pf-v6-c-page__sidebar-body` | Modifies a sidebar body to contain a context selector. |
|
|
553
733
|
| `.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-
|
|
734
|
+
| `.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. |
|
|
735
|
+
| `.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
736
|
| `.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
737
|
| `.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. |
|
|
738
|
+
| `.pf-m-plain` | `.pf-v6-c-page__main-section`, `.pf-v6-c-page__main-group`, `.pf-v6-c-page__main-wizard`, `.pf-v6-c-page__main-breadcrumb`, `.pf-v6-c-page__main-subnav`, and `.pf-v6-c-page__main-tabs` | Applies plain styling to the section. |
|
|
739
|
+
| `.pf-m-no-plain-on-glass` | `.pf-v6-c-page__main-section`, `.pf-v6-c-page__main-group`, `.pf-v6-c-page__main-wizard`, `.pf-v6-c-page__main-breadcrumb`, `.pf-v6-c-page__main-subnav`, and `.pf-v6-c-page__main-tabs` | Prevents the section from automatically applying plain styling when glass theme is enabled. |
|
|
558
740
|
| `.pf-m-limit-width` | `.pf-v6-c-page__main-section` | Modifies a page section to limit the `max-width` of the content inside. |
|
|
559
741
|
| `.pf-m-align-center` | `.pf-v6-c-page__main-section.pf-m-limit-width` | Modifies a page section body to align center. |
|
|
560
742
|
| `.pf-m-sticky-top{-on-[breakpoint]-height}` | `.pf-v6-c-page__main-*` | Modifies a section/group to be sticky to the top of its container at an optional height breakpoint. |
|
|
561
743
|
| `.pf-m-sticky-bottom{-on-[breakpoint]-height}` | `.pf-v6-c-page__main-*` | Modifies a section/group to be sticky to the bottom of its container at an optional height breakpoint. |
|
|
744
|
+
| `.pf-m-sticky-top-base` | `.pf-v6-c-page__main-*` | Sets up dynamic sticky top positioning with no background or shadow. Used with `.pf-m-sticky-top-stuck`. |
|
|
745
|
+
| `.pf-m-sticky-top-stuck` | `.pf-v6-c-page__main-*` | Triggers the sticky top stuck state, fading in the background and shadow. Apply via JS when the section becomes stuck. |
|
|
746
|
+
| `.pf-m-sticky-bottom-base` | `.pf-v6-c-page__main-*` | Sets up dynamic sticky bottom positioning with no background or shadow. Used with `.pf-m-sticky-bottom-stuck`. |
|
|
747
|
+
| `.pf-m-sticky-bottom-stuck` | `.pf-v6-c-page__main-*` | Triggers the sticky bottom stuck state, fading in the background and shadow. Apply via JS when the section becomes stuck. |
|
|
562
748
|
| `.pf-m-shadow-bottom` | `.pf-v6-c-page__main-*` | Modifies a section/group to have a bottom shadow. |
|
|
563
749
|
| `.pf-m-shadow-top` | `.pf-v6-c-page__main-*` | Modifies a section/group to have a top shadow. |
|
|
564
750
|
| `.pf-m-overflow-scroll` | `.pf-v6-c-page__main-*` | Modifies a section/group to show a scrollbar if it has overflow content. |
|