@patternfly/patternfly 6.5.0-prerelease.5 → 6.5.0-prerelease.50
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 +17 -14
- package/components/Accordion/accordion.scss +1 -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 +8 -6
- package/components/Brand/brand.css +3 -1
- package/components/Breadcrumb/breadcrumb.css +4 -3
- package/components/Button/button.css +117 -14
- package/components/Button/button.scss +127 -10
- package/components/CalendarMonth/calendar-month.css +4 -3
- package/components/Card/card.css +20 -7
- package/components/Card/card.scss +16 -2
- package/components/ClipboardCopy/clipboard-copy.css +7 -6
- package/components/ClipboardCopy/clipboard-copy.scss +3 -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 +350 -0
- package/components/DataList/data-list.css +34 -23
- package/components/DataList/data-list.scss +7 -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 +110 -56
- package/components/Drawer/drawer.scss +69 -9
- 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 +5 -4
- package/components/JumpLinks/jump-links.scss +6 -2
- 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 +5 -1
- package/components/MenuToggle/menu-toggle.scss +6 -1
- package/components/ModalBox/modal-box.css +9 -7
- package/components/ModalBox/modal-box.scss +2 -2
- package/components/Nav/nav.css +74 -11
- package/components/Nav/nav.scss +77 -5
- package/components/NotificationDrawer/notification-drawer.css +19 -9
- package/components/NotificationDrawer/notification-drawer.scss +14 -5
- 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 +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-tree-view.css +4 -2
- package/components/Table/table.css +33 -29
- package/components/Table/table.scss +2 -2
- package/components/Tabs/tabs.css +35 -18
- package/components/Tabs/tabs.scss +35 -7
- package/components/TextInputGroup/text-input-group.css +2 -2
- package/components/TextInputGroup/text-input-group.scss +2 -2
- package/components/ToggleGroup/toggle-group.css +34 -17
- package/components/ToggleGroup/toggle-group.scss +36 -20
- package/components/Toolbar/toolbar.css +47 -15
- package/components/Toolbar/toolbar.scss +34 -6
- package/components/TreeView/tree-view.css +45 -14
- package/components/TreeView/tree-view.scss +32 -1
- package/components/Wizard/wizard.css +21 -17
- package/components/Wizard/wizard.scss +4 -4
- package/components/_index.css +1602 -676
- package/components/_index.scss +3 -1
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +13 -1
- package/docs/components/Accordion/examples/Accordion.md +390 -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 +65 -5
- package/docs/components/Brand/examples/Brand.md +2 -2
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +299 -23
- package/docs/components/Button/examples/Button.md +2217 -241
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +104 -8
- package/docs/components/Card/examples/Card.md +206 -4
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +286 -22
- package/docs/components/CodeBlock/examples/CodeBlock.md +104 -8
- package/docs/components/CodeEditor/examples/CodeEditor.md +195 -15
- package/docs/components/Compass/examples/Compass.css +17 -0
- package/docs/components/Compass/examples/Compass.md +119 -0
- package/docs/components/DataList/examples/DataList.md +405 -205
- 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/Drawer/examples/Drawer.md +353 -35
- package/docs/components/DualListSelector/examples/DualListSelector.md +1013 -143
- 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/Icon/examples/Icon.md +92 -8
- package/docs/components/InlineEdit/examples/InlineEdit.md +312 -24
- package/docs/components/InputGroup/examples/InputGroup.md +27 -3
- 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 +26 -2
- package/docs/components/Masthead/examples/masthead.md +80 -1
- package/docs/components/Menu/examples/Menu.md +1458 -114
- package/docs/components/MenuToggle/examples/MenuToggle.md +53 -1
- package/docs/components/ModalBox/examples/ModalBox.md +287 -23
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +156 -12
- package/docs/components/Nav/examples/Navigation.md +798 -58
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +598 -46
- package/docs/components/OverflowMenu/examples/overflow-menu.md +78 -6
- package/docs/components/Page/examples/Page.md +51 -2
- package/docs/components/Pagination/examples/Pagination.md +627 -51
- package/docs/components/Popover/examples/Popover.md +286 -22
- 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.md +875 -70
- package/docs/components/Tabs/examples/Tabs.md +4127 -320
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +600 -48
- package/docs/components/ToggleGroup/examples/toggle-group.md +195 -15
- package/docs/components/Toolbar/examples/Toolbar.md +490 -42
- package/docs/components/TreeView/examples/TreeView.md +1390 -130
- package/docs/components/Wizard/examples/Wizard.md +492 -72
- package/docs/demos/AboutModal/examples/AboutModal.md +57 -9
- package/docs/demos/Alert/examples/Alert.md +236 -32
- package/docs/demos/BackToTop/examples/BackToTop.md +57 -9
- package/docs/demos/Banner/examples/Banner.md +88 -16
- package/docs/demos/Button/examples/Button.md +13 -1
- package/docs/demos/Card/examples/Card.md +399 -42
- package/docs/demos/CardView/examples/CardView.md +161 -17
- package/docs/demos/Compass/examples/Compass.md +6836 -0
- package/docs/demos/Dashboard/examples/Dashboard.md +173 -26
- package/docs/demos/DataList/examples/DataList.md +566 -65
- package/docs/demos/DescriptionList/examples/DescriptionList.md +156 -27
- package/docs/demos/Drawer/examples/Drawer.md +216 -45
- package/docs/demos/Form/examples/BasicForms.md +273 -21
- package/docs/demos/JumpLinks/examples/JumpLinks.md +272 -59
- package/docs/demos/Masthead/examples/Masthead.md +458 -89
- package/docs/demos/Modal/examples/Modal.md +342 -57
- package/docs/demos/Nav/examples/Nav.md +660 -87
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +1088 -140
- package/docs/demos/Page/examples/Page.md +618 -123
- 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 +691 -113
- package/docs/demos/Skeleton/examples/Skeleton.md +44 -8
- package/docs/demos/Table/examples/Table.md +3924 -256
- package/docs/demos/Tabs/examples/Tabs.md +407 -65
- package/docs/demos/Toolbar/examples/Toolbar.md +502 -52
- package/docs/demos/Wizard/examples/Wizard.md +796 -130
- 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 +1947 -625
- package/patternfly.css +1954 -625
- 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
|
@@ -19,7 +19,19 @@ cssPrefix: pf-v6-c-code-editor
|
|
|
19
19
|
aria-label="Copy to clipboard"
|
|
20
20
|
>
|
|
21
21
|
<span class="pf-v6-c-button__icon">
|
|
22
|
-
<
|
|
22
|
+
<svg
|
|
23
|
+
class="pf-v6-svg"
|
|
24
|
+
viewBox="0 0 448 512"
|
|
25
|
+
fill="currentColor"
|
|
26
|
+
aria-hidden="true"
|
|
27
|
+
role="img"
|
|
28
|
+
width="1em"
|
|
29
|
+
height="1em"
|
|
30
|
+
>
|
|
31
|
+
<path
|
|
32
|
+
d="M320 448v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V120c0-13.255 10.745-24 24-24h72v296c0 30.879 25.121 56 56 56h168zm0-344V0H152c-13.255 0-24 10.745-24 24v368c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24V128H344c-13.2 0-24-10.8-24-24zm120.971-31.029L375.029 7.029A24 24 0 0 0 358.059 0H352v96h96v-6.059a24 24 0 0 0-7.029-16.97z"
|
|
33
|
+
/>
|
|
34
|
+
</svg>
|
|
23
35
|
</span>
|
|
24
36
|
</button>
|
|
25
37
|
<button
|
|
@@ -28,7 +40,19 @@ cssPrefix: pf-v6-c-code-editor
|
|
|
28
40
|
aria-label="Download code"
|
|
29
41
|
>
|
|
30
42
|
<span class="pf-v6-c-button__icon">
|
|
31
|
-
<
|
|
43
|
+
<svg
|
|
44
|
+
class="pf-v6-svg"
|
|
45
|
+
viewBox="0 0 512 512"
|
|
46
|
+
fill="currentColor"
|
|
47
|
+
aria-hidden="true"
|
|
48
|
+
role="img"
|
|
49
|
+
width="1em"
|
|
50
|
+
height="1em"
|
|
51
|
+
>
|
|
52
|
+
<path
|
|
53
|
+
d="M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"
|
|
54
|
+
/>
|
|
55
|
+
</svg>
|
|
32
56
|
</span>
|
|
33
57
|
</button>
|
|
34
58
|
<button
|
|
@@ -37,7 +61,19 @@ cssPrefix: pf-v6-c-code-editor
|
|
|
37
61
|
aria-label="Upload code"
|
|
38
62
|
>
|
|
39
63
|
<span class="pf-v6-c-button__icon">
|
|
40
|
-
<
|
|
64
|
+
<svg
|
|
65
|
+
class="pf-v6-svg"
|
|
66
|
+
viewBox="0 0 512 512"
|
|
67
|
+
fill="currentColor"
|
|
68
|
+
aria-hidden="true"
|
|
69
|
+
role="img"
|
|
70
|
+
width="1em"
|
|
71
|
+
height="1em"
|
|
72
|
+
>
|
|
73
|
+
<path
|
|
74
|
+
d="M296 384h-80c-13.3 0-24-10.7-24-24V192h-87.7c-17.8 0-26.7-21.5-14.1-34.1L242.3 5.7c7.5-7.5 19.8-7.5 27.3 0l152.2 152.2c12.6 12.6 3.7 34.1-14.1 34.1H320v168c0 13.3-10.7 24-24 24zm216-8v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h136v8c0 30.9 25.1 56 56 56h80c30.9 0 56-25.1 56-56v-8h136c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"
|
|
75
|
+
/>
|
|
76
|
+
</svg>
|
|
41
77
|
</span>
|
|
42
78
|
</button>
|
|
43
79
|
</div>
|
|
@@ -74,7 +110,19 @@ cssPrefix: pf-v6-c-code-editor
|
|
|
74
110
|
aria-label="Copy to clipboard"
|
|
75
111
|
>
|
|
76
112
|
<span class="pf-v6-c-button__icon">
|
|
77
|
-
<
|
|
113
|
+
<svg
|
|
114
|
+
class="pf-v6-svg"
|
|
115
|
+
viewBox="0 0 448 512"
|
|
116
|
+
fill="currentColor"
|
|
117
|
+
aria-hidden="true"
|
|
118
|
+
role="img"
|
|
119
|
+
width="1em"
|
|
120
|
+
height="1em"
|
|
121
|
+
>
|
|
122
|
+
<path
|
|
123
|
+
d="M320 448v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V120c0-13.255 10.745-24 24-24h72v296c0 30.879 25.121 56 56 56h168zm0-344V0H152c-13.255 0-24 10.745-24 24v368c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24V128H344c-13.2 0-24-10.8-24-24zm120.971-31.029L375.029 7.029A24 24 0 0 0 358.059 0H352v96h96v-6.059a24 24 0 0 0-7.029-16.97z"
|
|
124
|
+
/>
|
|
125
|
+
</svg>
|
|
78
126
|
</span>
|
|
79
127
|
</button>
|
|
80
128
|
<button
|
|
@@ -83,7 +131,19 @@ cssPrefix: pf-v6-c-code-editor
|
|
|
83
131
|
aria-label="Download code"
|
|
84
132
|
>
|
|
85
133
|
<span class="pf-v6-c-button__icon">
|
|
86
|
-
<
|
|
134
|
+
<svg
|
|
135
|
+
class="pf-v6-svg"
|
|
136
|
+
viewBox="0 0 512 512"
|
|
137
|
+
fill="currentColor"
|
|
138
|
+
aria-hidden="true"
|
|
139
|
+
role="img"
|
|
140
|
+
width="1em"
|
|
141
|
+
height="1em"
|
|
142
|
+
>
|
|
143
|
+
<path
|
|
144
|
+
d="M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"
|
|
145
|
+
/>
|
|
146
|
+
</svg>
|
|
87
147
|
</span>
|
|
88
148
|
</button>
|
|
89
149
|
<button
|
|
@@ -92,7 +152,19 @@ cssPrefix: pf-v6-c-code-editor
|
|
|
92
152
|
aria-label="Upload code"
|
|
93
153
|
>
|
|
94
154
|
<span class="pf-v6-c-button__icon">
|
|
95
|
-
<
|
|
155
|
+
<svg
|
|
156
|
+
class="pf-v6-svg"
|
|
157
|
+
viewBox="0 0 512 512"
|
|
158
|
+
fill="currentColor"
|
|
159
|
+
aria-hidden="true"
|
|
160
|
+
role="img"
|
|
161
|
+
width="1em"
|
|
162
|
+
height="1em"
|
|
163
|
+
>
|
|
164
|
+
<path
|
|
165
|
+
d="M296 384h-80c-13.3 0-24-10.7-24-24V192h-87.7c-17.8 0-26.7-21.5-14.1-34.1L242.3 5.7c7.5-7.5 19.8-7.5 27.3 0l152.2 152.2c12.6 12.6 3.7 34.1-14.1 34.1H320v168c0 13.3-10.7 24-24 24zm216-8v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h136v8c0 30.9 25.1 56 56 56h80c30.9 0 56-25.1 56-56v-8h136c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"
|
|
166
|
+
/>
|
|
167
|
+
</svg>
|
|
96
168
|
</span>
|
|
97
169
|
</button>
|
|
98
170
|
</div>
|
|
@@ -243,7 +315,19 @@ cssPrefix: pf-v6-c-code-editor
|
|
|
243
315
|
aria-label="Copy to clipboard"
|
|
244
316
|
>
|
|
245
317
|
<span class="pf-v6-c-button__icon">
|
|
246
|
-
<
|
|
318
|
+
<svg
|
|
319
|
+
class="pf-v6-svg"
|
|
320
|
+
viewBox="0 0 448 512"
|
|
321
|
+
fill="currentColor"
|
|
322
|
+
aria-hidden="true"
|
|
323
|
+
role="img"
|
|
324
|
+
width="1em"
|
|
325
|
+
height="1em"
|
|
326
|
+
>
|
|
327
|
+
<path
|
|
328
|
+
d="M320 448v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V120c0-13.255 10.745-24 24-24h72v296c0 30.879 25.121 56 56 56h168zm0-344V0H152c-13.255 0-24 10.745-24 24v368c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24V128H344c-13.2 0-24-10.8-24-24zm120.971-31.029L375.029 7.029A24 24 0 0 0 358.059 0H352v96h96v-6.059a24 24 0 0 0-7.029-16.97z"
|
|
329
|
+
/>
|
|
330
|
+
</svg>
|
|
247
331
|
</span>
|
|
248
332
|
</button>
|
|
249
333
|
<button
|
|
@@ -252,7 +336,19 @@ cssPrefix: pf-v6-c-code-editor
|
|
|
252
336
|
aria-label="Download code"
|
|
253
337
|
>
|
|
254
338
|
<span class="pf-v6-c-button__icon">
|
|
255
|
-
<
|
|
339
|
+
<svg
|
|
340
|
+
class="pf-v6-svg"
|
|
341
|
+
viewBox="0 0 512 512"
|
|
342
|
+
fill="currentColor"
|
|
343
|
+
aria-hidden="true"
|
|
344
|
+
role="img"
|
|
345
|
+
width="1em"
|
|
346
|
+
height="1em"
|
|
347
|
+
>
|
|
348
|
+
<path
|
|
349
|
+
d="M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"
|
|
350
|
+
/>
|
|
351
|
+
</svg>
|
|
256
352
|
</span>
|
|
257
353
|
</button>
|
|
258
354
|
<button
|
|
@@ -261,7 +357,19 @@ cssPrefix: pf-v6-c-code-editor
|
|
|
261
357
|
aria-label="Upload code"
|
|
262
358
|
>
|
|
263
359
|
<span class="pf-v6-c-button__icon">
|
|
264
|
-
<
|
|
360
|
+
<svg
|
|
361
|
+
class="pf-v6-svg"
|
|
362
|
+
viewBox="0 0 512 512"
|
|
363
|
+
fill="currentColor"
|
|
364
|
+
aria-hidden="true"
|
|
365
|
+
role="img"
|
|
366
|
+
width="1em"
|
|
367
|
+
height="1em"
|
|
368
|
+
>
|
|
369
|
+
<path
|
|
370
|
+
d="M296 384h-80c-13.3 0-24-10.7-24-24V192h-87.7c-17.8 0-26.7-21.5-14.1-34.1L242.3 5.7c7.5-7.5 19.8-7.5 27.3 0l152.2 152.2c12.6 12.6 3.7 34.1-14.1 34.1H320v168c0 13.3-10.7 24-24 24zm216-8v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h136v8c0 30.9 25.1 56 56 56h80c30.9 0 56-25.1 56-56v-8h136c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"
|
|
371
|
+
/>
|
|
372
|
+
</svg>
|
|
265
373
|
</span>
|
|
266
374
|
</button>
|
|
267
375
|
</div>
|
|
@@ -321,7 +429,19 @@ This is an extra container used in React to prevent event propagation if upload
|
|
|
321
429
|
aria-label="Copy to clipboard"
|
|
322
430
|
>
|
|
323
431
|
<span class="pf-v6-c-button__icon">
|
|
324
|
-
<
|
|
432
|
+
<svg
|
|
433
|
+
class="pf-v6-svg"
|
|
434
|
+
viewBox="0 0 448 512"
|
|
435
|
+
fill="currentColor"
|
|
436
|
+
aria-hidden="true"
|
|
437
|
+
role="img"
|
|
438
|
+
width="1em"
|
|
439
|
+
height="1em"
|
|
440
|
+
>
|
|
441
|
+
<path
|
|
442
|
+
d="M320 448v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V120c0-13.255 10.745-24 24-24h72v296c0 30.879 25.121 56 56 56h168zm0-344V0H152c-13.255 0-24 10.745-24 24v368c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24V128H344c-13.2 0-24-10.8-24-24zm120.971-31.029L375.029 7.029A24 24 0 0 0 358.059 0H352v96h96v-6.059a24 24 0 0 0-7.029-16.97z"
|
|
443
|
+
/>
|
|
444
|
+
</svg>
|
|
325
445
|
</span>
|
|
326
446
|
</button>
|
|
327
447
|
<button
|
|
@@ -330,7 +450,19 @@ This is an extra container used in React to prevent event propagation if upload
|
|
|
330
450
|
aria-label="Download code"
|
|
331
451
|
>
|
|
332
452
|
<span class="pf-v6-c-button__icon">
|
|
333
|
-
<
|
|
453
|
+
<svg
|
|
454
|
+
class="pf-v6-svg"
|
|
455
|
+
viewBox="0 0 512 512"
|
|
456
|
+
fill="currentColor"
|
|
457
|
+
aria-hidden="true"
|
|
458
|
+
role="img"
|
|
459
|
+
width="1em"
|
|
460
|
+
height="1em"
|
|
461
|
+
>
|
|
462
|
+
<path
|
|
463
|
+
d="M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"
|
|
464
|
+
/>
|
|
465
|
+
</svg>
|
|
334
466
|
</span>
|
|
335
467
|
</button>
|
|
336
468
|
<button
|
|
@@ -339,7 +471,19 @@ This is an extra container used in React to prevent event propagation if upload
|
|
|
339
471
|
aria-label="Upload code"
|
|
340
472
|
>
|
|
341
473
|
<span class="pf-v6-c-button__icon">
|
|
342
|
-
<
|
|
474
|
+
<svg
|
|
475
|
+
class="pf-v6-svg"
|
|
476
|
+
viewBox="0 0 512 512"
|
|
477
|
+
fill="currentColor"
|
|
478
|
+
aria-hidden="true"
|
|
479
|
+
role="img"
|
|
480
|
+
width="1em"
|
|
481
|
+
height="1em"
|
|
482
|
+
>
|
|
483
|
+
<path
|
|
484
|
+
d="M296 384h-80c-13.3 0-24-10.7-24-24V192h-87.7c-17.8 0-26.7-21.5-14.1-34.1L242.3 5.7c7.5-7.5 19.8-7.5 27.3 0l152.2 152.2c12.6 12.6 3.7 34.1-14.1 34.1H320v168c0 13.3-10.7 24-24 24zm216-8v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h136v8c0 30.9 25.1 56 56 56h80c30.9 0 56-25.1 56-56v-8h136c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"
|
|
485
|
+
/>
|
|
486
|
+
</svg>
|
|
343
487
|
</span>
|
|
344
488
|
</button>
|
|
345
489
|
</div>
|
|
@@ -402,7 +546,19 @@ This is an extra container used in React to prevent event propagation if upload
|
|
|
402
546
|
aria-label="Copy to clipboard"
|
|
403
547
|
>
|
|
404
548
|
<span class="pf-v6-c-button__icon">
|
|
405
|
-
<
|
|
549
|
+
<svg
|
|
550
|
+
class="pf-v6-svg"
|
|
551
|
+
viewBox="0 0 448 512"
|
|
552
|
+
fill="currentColor"
|
|
553
|
+
aria-hidden="true"
|
|
554
|
+
role="img"
|
|
555
|
+
width="1em"
|
|
556
|
+
height="1em"
|
|
557
|
+
>
|
|
558
|
+
<path
|
|
559
|
+
d="M320 448v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V120c0-13.255 10.745-24 24-24h72v296c0 30.879 25.121 56 56 56h168zm0-344V0H152c-13.255 0-24 10.745-24 24v368c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24V128H344c-13.2 0-24-10.8-24-24zm120.971-31.029L375.029 7.029A24 24 0 0 0 358.059 0H352v96h96v-6.059a24 24 0 0 0-7.029-16.97z"
|
|
560
|
+
/>
|
|
561
|
+
</svg>
|
|
406
562
|
</span>
|
|
407
563
|
</button>
|
|
408
564
|
<button
|
|
@@ -411,7 +567,19 @@ This is an extra container used in React to prevent event propagation if upload
|
|
|
411
567
|
aria-label="Download code"
|
|
412
568
|
>
|
|
413
569
|
<span class="pf-v6-c-button__icon">
|
|
414
|
-
<
|
|
570
|
+
<svg
|
|
571
|
+
class="pf-v6-svg"
|
|
572
|
+
viewBox="0 0 512 512"
|
|
573
|
+
fill="currentColor"
|
|
574
|
+
aria-hidden="true"
|
|
575
|
+
role="img"
|
|
576
|
+
width="1em"
|
|
577
|
+
height="1em"
|
|
578
|
+
>
|
|
579
|
+
<path
|
|
580
|
+
d="M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"
|
|
581
|
+
/>
|
|
582
|
+
</svg>
|
|
415
583
|
</span>
|
|
416
584
|
</button>
|
|
417
585
|
<button
|
|
@@ -420,7 +588,19 @@ This is an extra container used in React to prevent event propagation if upload
|
|
|
420
588
|
aria-label="Upload code"
|
|
421
589
|
>
|
|
422
590
|
<span class="pf-v6-c-button__icon">
|
|
423
|
-
<
|
|
591
|
+
<svg
|
|
592
|
+
class="pf-v6-svg"
|
|
593
|
+
viewBox="0 0 512 512"
|
|
594
|
+
fill="currentColor"
|
|
595
|
+
aria-hidden="true"
|
|
596
|
+
role="img"
|
|
597
|
+
width="1em"
|
|
598
|
+
height="1em"
|
|
599
|
+
>
|
|
600
|
+
<path
|
|
601
|
+
d="M296 384h-80c-13.3 0-24-10.7-24-24V192h-87.7c-17.8 0-26.7-21.5-14.1-34.1L242.3 5.7c7.5-7.5 19.8-7.5 27.3 0l152.2 152.2c12.6 12.6 3.7 34.1-14.1 34.1H320v168c0 13.3-10.7 24-24 24zm216-8v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h136v8c0 30.9 25.1 56 56 56h80c30.9 0 56-25.1 56-56v-8h136c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"
|
|
602
|
+
/>
|
|
603
|
+
</svg>
|
|
424
604
|
</span>
|
|
425
605
|
</button>
|
|
426
606
|
</div>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.ws-core-a-compass .pf-v6-c-compass {
|
|
2
|
+
height: 600px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
#ws-core-a-compass-default [class*="pf-v6-c-compass"],
|
|
6
|
+
#ws-core-a-compass-docked [class*="pf-v6-c-compass"] {
|
|
7
|
+
position: relative;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
#ws-core-a-compass-default [class*="pf-v6-c-compass"]::after,
|
|
11
|
+
#ws-core-a-compass-docked [class*="pf-v6-c-compass"]::after {
|
|
12
|
+
position: absolute;
|
|
13
|
+
inset: 0;
|
|
14
|
+
pointer-events: none;
|
|
15
|
+
content: "";
|
|
16
|
+
border: var(--pf-t--global--border--width--regular) dashed var(--pf-t--global--border--color--default);
|
|
17
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: 'Compass'
|
|
3
|
+
beta: true
|
|
4
|
+
section: AI
|
|
5
|
+
subsection: Generative UIs
|
|
6
|
+
cssPrefix: pf-v6-c-compass
|
|
7
|
+
---import './Compass.css';
|
|
8
|
+
|
|
9
|
+
## Examples
|
|
10
|
+
|
|
11
|
+
### Basic
|
|
12
|
+
|
|
13
|
+
In a basic Compass layout, the page structure is defined by the order of elements nested within the main `.pf-v6-c-compass` container:
|
|
14
|
+
|
|
15
|
+
* **Header:** Content rendered at the top of the page (`.pf-v6-c-compass__header`), typically containing a logo (`.pf-v6-c-compass__logo`), middle navigation (`.pf-v6-c-compass__nav`), and profile (`.pf-v6-c-compass__profile`).
|
|
16
|
+
* **Start sidebar:** Content rendered at the horizontal start of the page (by default, the left side). In this example, a `.pf-v6-c-compass__sidebar` with the `.pf-m-start` modifier.
|
|
17
|
+
* **Main:** Content rendered in the center of the page. The `.pf-v6-c-compass__main` wrapper contains a [hero component](/components/hero), the main header (`.pf-v6-c-compass__main-header`), the content area (`.pf-v6-c-compass__content`), and the main footer (`.pf-v6-c-compass__main-footer`) with the message bar.
|
|
18
|
+
* **End sidebar:** Content rendered at the horizontal end of the page (by default, the right side). In this example, a `.pf-v6-c-compass__sidebar` with the `.pf-m-end` modifier.
|
|
19
|
+
* **Footer:** Content rendered at the bottom of the page (`.pf-v6-c-compass__footer`).
|
|
20
|
+
|
|
21
|
+
```html isBeta
|
|
22
|
+
<div class="pf-v6-c-compass pf-m-animate-smoothly">
|
|
23
|
+
<div class="pf-v6-c-compass__header pf-m-expanded">
|
|
24
|
+
<div class="pf-v6-c-compass__logo">logo</div>
|
|
25
|
+
|
|
26
|
+
<div class="pf-v6-c-compass__nav">
|
|
27
|
+
<div class="pf-v6-c-compass__panel">
|
|
28
|
+
<div class="pf-v6-c-compass__nav-content">
|
|
29
|
+
<div class="pf-v6-c-compass__nav-home">home</div>
|
|
30
|
+
|
|
31
|
+
<div class="pf-v6-c-compass__nav-main">main</div>
|
|
32
|
+
|
|
33
|
+
<div class="pf-v6-c-compass__nav-search">search</div>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="pf-v6-c-compass__profile">profile</div>
|
|
38
|
+
</div>
|
|
39
|
+
<div class="pf-v6-c-compass__sidebar pf-m-expanded pf-m-start">sidebar (start)</div>
|
|
40
|
+
|
|
41
|
+
<div class="pf-v6-c-compass__main">
|
|
42
|
+
<div class="pf-v6-c-compass__hero">
|
|
43
|
+
<div class="pf-v6-c-hero">hero</div>
|
|
44
|
+
</div>
|
|
45
|
+
<div class="pf-v6-c-compass__main-header">
|
|
46
|
+
<div class="pf-v6-c-compass__panel">
|
|
47
|
+
<div class="pf-v6-c-compass__main-header-content">main header</div>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
<div class="pf-v6-c-compass__content">content</div>
|
|
51
|
+
|
|
52
|
+
<div class="pf-v6-c-compass__main-footer pf-m-expanded">
|
|
53
|
+
<div class="pf-v6-c-compass__message-bar">message bar</div>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
<div class="pf-v6-c-compass__sidebar pf-m-expanded pf-m-end">sidebar (end)</div>
|
|
57
|
+
|
|
58
|
+
<div class="pf-v6-c-compass__footer pf-m-expanded">footer</div>
|
|
59
|
+
</div>
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Docked
|
|
64
|
+
|
|
65
|
+
```html isBeta
|
|
66
|
+
<div class="pf-v6-c-compass pf-m-animate-smoothly pf-m-dock">
|
|
67
|
+
<div class="pf-v6-c-compass__dock">dock</div>
|
|
68
|
+
<div class="pf-v6-c-compass__main">
|
|
69
|
+
<div class="pf-v6-c-compass__main-header">
|
|
70
|
+
<div class="pf-v6-c-compass__panel">
|
|
71
|
+
<div class="pf-v6-c-compass__main-header-content">main header</div>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
<div class="pf-v6-c-compass__content">
|
|
75
|
+
<div class="pf-v6-c-compass__panel pf-m-scrollable">content</div>
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## Documentation
|
|
83
|
+
|
|
84
|
+
### Usage
|
|
85
|
+
|
|
86
|
+
| Class | Applied to | Outcome |
|
|
87
|
+
| -- | -- | -- |
|
|
88
|
+
| `.pf-v6-c-compass` | `<div>` | Initiates the Compass component. **Required** |
|
|
89
|
+
| `.pf-v6-c-compass__header` | `<div>` | Initiates the Compass header. **Required** |
|
|
90
|
+
| `.pf-v6-c-compass__logo` | `<div>` | Initiates the Compass logo header. |
|
|
91
|
+
| `.pf-v6-c-compass__dock` | `<div>` | Initiates the Compass dock. |
|
|
92
|
+
| `.pf-v6-c-compass__profile` | `<div>` | Initiates the Compass profile. |
|
|
93
|
+
| `.pf-v6-c-compass__sidebar` | `<div>` | Initiates a Compass sidebar. **Required** |
|
|
94
|
+
| `.pf-v6-c-compass__main` | `<div>` | Initiates the Compass main wrapper. **Required** |
|
|
95
|
+
| `.pf-v6-c-compass__main-header` | `<div>` | Initiates the Compass main header. |
|
|
96
|
+
| `.pf-v6-c-compass__main-header-content` | `<div>` | Initiates the Compass main header content. This should be passed into a `.pf-v6-c-compass__panel` component. |
|
|
97
|
+
| `.pf-v6-c-compass__main-header-title` | `<div>` | Initiates a title within the Compass main header content. |
|
|
98
|
+
| `.pf-v6-c-compass__main-header-toolbar` | `<div>` | Initiates a toolbar of actions within the Compass main header content. |
|
|
99
|
+
| `.pf-v6-c-compass__content` | `<div>` | Initiates the Compass content. **Required** |
|
|
100
|
+
| `.pf-v6-c-compass__main-footer` | `<div>` | Initiates the Compass main footer. **Required** |
|
|
101
|
+
| `.pf-v6-c-compass__panel` | `<div>` | Initiates a Compass panel. |
|
|
102
|
+
| `.pf-v6-c-compass__nav` | `<div>` | Initiates a Compass container for site navigation. |
|
|
103
|
+
| `.pf-v6-c-compass__nav-content` | `<div>` | Initiates a Compass container for navigation content. |
|
|
104
|
+
| `.pf-v6-c-compass__nav-home` | `<div>` | Initiates a container for Compass home button. |
|
|
105
|
+
| `.pf-v6-c-compass__nav-main` | `<div>` | Initiates a container for Compass navigation main content. |
|
|
106
|
+
| `.pf-v6-c-compass__nav-search` | `<div>` | Initiates a container for Compass search button. |
|
|
107
|
+
| `.pf-v6-c-compass__footer` | `<div>` | Initiates the Compass footer. |
|
|
108
|
+
| `.pf-v6-c-compass__message-bar` | `<div>` | Initiates the Compass message bar. |
|
|
109
|
+
| `.pf-m-dock` | `.pf-v6-c-compass` | Modifies for dock layout. |
|
|
110
|
+
| `.pf-m-no-glass` | `.pf-v6-c-compass`, `.pf-v6-c-compass__panel` | Modifies all elements or individual panels to remove the glass styles. |
|
|
111
|
+
| `.pf-m-no-screen-warning` | `.pf-v6-c-compass` | Disables the screen warning that shows on smaller viewports. |
|
|
112
|
+
| `.pf-m-start` | `.pf-v6-c-compass__sidebar` | Modifies a Compass sidebar for start styles. **Required** |
|
|
113
|
+
| `.pf-m-end` | `.pf-v6-c-compass__sidebar` | Modifies a Compass sidebar for end styles. **Required** |
|
|
114
|
+
| `.pf-m-no-border` | `.pf-v6-c-compass__panel` | Modifies a Compass panel to remove the border. |
|
|
115
|
+
| `.pf-m-no-padding` | `.pf-v6-c-compass__panel` | Modifies a Compass panel to remove the padding. |
|
|
116
|
+
| `.pf-m-full-height` | `.pf-v6-c-compass__panel` | Modifies a Compass panel to be full height. |
|
|
117
|
+
| `.pf-m-pill` | `.pf-v6-c-compass__panel` | Modifies a Compass panel to have a pill-shaped border radius. |
|
|
118
|
+
| `.pf-m-scrollable` | `.pf-v6-c-compass__panel` | Modifies a Compass panel to scroll its overflow. |
|
|
119
|
+
| `.pf-m-expanded` | `.pf-v6-c-compass__header`, `.pf-v6-c-compass__sidebar`, `.pf-v6-c-compass__main-footer`, `.pf-v6-c-compass__footer` | Modifies a Compass section for expanded styles. |
|