@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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
@include pf-root($card) {
|
|
4
4
|
--#{$card}--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
5
|
-
--#{$card}--BorderColor: var(--pf-t--global--border--color--
|
|
5
|
+
--#{$card}--BorderColor: var(--pf-t--global--border--color--subtle);
|
|
6
6
|
--#{$card}--BorderStyle: solid;
|
|
7
7
|
--#{$card}--BorderWidth: var(--pf-t--global--border--width--box--default);
|
|
8
8
|
--#{$card}--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
@@ -36,10 +36,11 @@
|
|
|
36
36
|
--#{$card}__header-toggle--MarginInlineStart: calc(var(--pf-t--global--spacer--action--horizontal--plain--default) * -1);
|
|
37
37
|
--#{$card}__header-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
38
38
|
--#{$card}__header-toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
39
|
-
--#{$card}--m-expanded__header-toggle-icon--Rotate:
|
|
39
|
+
--#{$card}--m-expanded__header-toggle-icon--Rotate: -180deg;
|
|
40
40
|
|
|
41
41
|
// Selectable/Clickable
|
|
42
|
-
--#{$card}--m-selectable--BorderWidth: var(
|
|
42
|
+
--#{$card}--m-selectable--BorderWidth: var(--pf-t--global--border--width--box--default);
|
|
43
|
+
--#{$card}--m-selectable--BorderColor: var(--pf-t--global--border--color--control--default);
|
|
43
44
|
|
|
44
45
|
// Clickable clicked
|
|
45
46
|
--#{$card}--m-clickable--m-current--BorderColor: var(--pf-t--global--border--color--clicked);
|
|
@@ -97,8 +98,6 @@
|
|
|
97
98
|
|
|
98
99
|
// Secondary
|
|
99
100
|
--#{$card}--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
100
|
-
--#{$card}--m-secondary--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
101
|
-
--#{$card}--m-secondary--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
102
101
|
|
|
103
102
|
// Full height
|
|
104
103
|
--#{$card}--m-full-height--Height: 100%;
|
|
@@ -110,6 +109,17 @@
|
|
|
110
109
|
// Toggle right
|
|
111
110
|
--#{$card}__header--m-toggle-right--toggle--MarginInlineEnd: calc(var(--pf-t--global--spacer--action--horizontal--plain--default) * -1);
|
|
112
111
|
--#{$card}__header--m-toggle-right--toggle--MarginInlineStart: var(--pf-t--global--spacer--gap--text-to-element--default);
|
|
112
|
+
|
|
113
|
+
// As tile
|
|
114
|
+
--#{$card}--m-as-tile--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
|
115
|
+
--#{$card}--m-as-tile--BorderColor: var(--pf-t--global--border--color--control--default);
|
|
116
|
+
|
|
117
|
+
// Glass
|
|
118
|
+
--#{$card}--m-glass--BorderColor: var(--pf-t--global--border--color--glass--default);
|
|
119
|
+
--#{$card}--m-glass--BorderWidth: var(--pf-t--global--border--width--glass--default);
|
|
120
|
+
--#{$card}--m-glass--BoxShadow: var(--pf-t--global--box-shadow--glass--default);
|
|
121
|
+
--#{$card}--m-glass--BackdropFilter: var(--pf-t--global--background--filter--glass--blur--primary);
|
|
122
|
+
--#{$card}--m-glass--BackgroundColor: var(--pf-t--global--background--color--glass--primary--default);
|
|
113
123
|
}
|
|
114
124
|
|
|
115
125
|
.#{$card} {
|
|
@@ -130,6 +140,17 @@
|
|
|
130
140
|
border-radius: inherit;
|
|
131
141
|
}
|
|
132
142
|
|
|
143
|
+
:where(.pf-v6-theme-glass) & {
|
|
144
|
+
&.pf-m-glass {
|
|
145
|
+
--#{$card}--BackgroundColor: var(--#{$card}--m-glass--BackgroundColor);
|
|
146
|
+
--#{$card}--BorderColor: var(--#{$card}--m-glass--BorderColor);
|
|
147
|
+
--#{$card}--BorderWidth: var(--#{$card}--m-glass--BorderWidth);
|
|
148
|
+
|
|
149
|
+
backdrop-filter: var(--#{$card}--m-glass--BackdropFilter);
|
|
150
|
+
box-shadow: var(--#{$card}--m-glass--BoxShadow);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
133
154
|
// SELECTABLE CARDS
|
|
134
155
|
&.pf-m-selectable {
|
|
135
156
|
// disables the gap since these have an empty label
|
|
@@ -141,6 +162,8 @@
|
|
|
141
162
|
// SELECTABLE or CLICKABLE CARDS
|
|
142
163
|
&.pf-m-selectable,
|
|
143
164
|
&.pf-m-clickable {
|
|
165
|
+
--#{$card}--BorderColor: var(--#{$card}--m-selectable--BorderColor);
|
|
166
|
+
|
|
144
167
|
isolation: isolate;
|
|
145
168
|
|
|
146
169
|
&::before {
|
|
@@ -196,8 +219,14 @@
|
|
|
196
219
|
}
|
|
197
220
|
// stylelint-enable selector-max-class
|
|
198
221
|
|
|
199
|
-
|
|
222
|
+
|
|
200
223
|
@at-root .#{$card}__actions:has(> .#{$card}__selectable-actions input.#{$pf-prefix}screen-reader), // targets "card as tile", which are selectable cards with inputs
|
|
224
|
+
&:has(.#{$card}__selectable-actions input.#{$pf-prefix}screen-reader) {
|
|
225
|
+
--#{$card}--BackgroundColor: var(--#{$card}--m-as-tile--BackgroundColor);
|
|
226
|
+
--#{$card}--BorderColor: var(--#{$card}--m-as-tile--BorderColor);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
// when the whole card is clickable and the card actions are invisible, remove the padding/margin so it doesn't take up space
|
|
201
230
|
&.pf-m-clickable:not(.pf-m-selectable) {
|
|
202
231
|
--#{$card}__actions--PaddingInlineStart: 0;
|
|
203
232
|
--#{$card}__actions--MarginBlockStart: 0;
|
|
@@ -229,14 +258,35 @@
|
|
|
229
258
|
}
|
|
230
259
|
|
|
231
260
|
&.pf-m-secondary {
|
|
232
|
-
|
|
233
|
-
--#{$card}--
|
|
261
|
+
// TODO - let selectable secondary cards have a border
|
|
262
|
+
// --#{$card}--BorderColor: var(--#{$card}--m-secondary--BorderColor);
|
|
263
|
+
// --#{$card}--BorderWidth: var(--#{$card}--m-secondary--BorderWidth);
|
|
234
264
|
--#{$card}--BackgroundColor: var(--#{$card}--m-secondary--BackgroundColor);
|
|
265
|
+
|
|
266
|
+
&.pf-m-selectable:not(.pf-m-current, .pf-m-selected),
|
|
267
|
+
&.pf-m-clickable:not(.pf-m-current, .pf-m-selected) {
|
|
268
|
+
--#{$card}--BorderColor: var(--#{$card}--m-selectable--BorderColor);
|
|
269
|
+
--#{$card}--BorderWidth: var(--#{$card}--m-selectable--BorderWidth);
|
|
270
|
+
}
|
|
235
271
|
}
|
|
236
272
|
|
|
237
273
|
&.pf-m-plain {
|
|
238
274
|
--#{$card}--BorderColor: var(--#{$card}--m-plain--BorderColor);
|
|
239
275
|
--#{$card}--BackgroundColor: var(--#{$card}--m-plain--BackgroundColor);
|
|
276
|
+
|
|
277
|
+
backdrop-filter: none;
|
|
278
|
+
|
|
279
|
+
// A clickable/selectable plain card should behave like a non-plain card in every way except the background color
|
|
280
|
+
&.pf-m-selectable,
|
|
281
|
+
&.pf-m-clickable {
|
|
282
|
+
--#{$card}--BorderColor: var(--#{$card}--m-selectable--BorderColor);
|
|
283
|
+
--#{$card}--BorderWidth: var(--#{$card}--m-selectable--BorderWidth);
|
|
284
|
+
|
|
285
|
+
&.pf-m-current {
|
|
286
|
+
--#{$card}--BorderColor: var(--#{$card}--m-selectable--m-clickable--m-current--BorderColor);
|
|
287
|
+
--#{$card}--BorderWidth: var(--#{$card}--m-selectable--m-clickable--m-current--BorderWidth);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
240
290
|
}
|
|
241
291
|
|
|
242
292
|
&.pf-m-expanded {
|
|
@@ -296,7 +346,7 @@
|
|
|
296
346
|
margin-inline-end: auto;
|
|
297
347
|
}
|
|
298
348
|
|
|
299
|
-
margin-inline-start: 0
|
|
349
|
+
margin-inline-start: 0;
|
|
300
350
|
}
|
|
301
351
|
}
|
|
302
352
|
}
|
|
@@ -331,6 +381,12 @@
|
|
|
331
381
|
overflow-wrap: var(--#{$card}__title-text--OverflowWrap);
|
|
332
382
|
}
|
|
333
383
|
|
|
384
|
+
.#{$card}__subtitle {
|
|
385
|
+
padding-block-start: var(--pf-t--global--spacer--sm);
|
|
386
|
+
font-size: var(--pf-t--global--font--size--body--sm);
|
|
387
|
+
color: var(--pf-t--global--text--color--subtle);
|
|
388
|
+
}
|
|
389
|
+
|
|
334
390
|
.#{$card}__actions {
|
|
335
391
|
display: flex;
|
|
336
392
|
gap: var(--#{$card}__actions--Gap);
|
|
@@ -2,20 +2,22 @@
|
|
|
2
2
|
--pf-v6-c-clipboard-copy__toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
3
3
|
--pf-v6-c-clipboard-copy__toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
4
4
|
--pf-v6-c-clipboard-copy__toggle-icon--Transition: transform var(--pf-v6-c-clipboard-copy__toggle-icon--TransitionDuration) var(--pf-v6-c-clipboard-copy__toggle-icon--TransitionTimingFunction);
|
|
5
|
-
--pf-v6-c-clipboard-copy--m-expanded__toggle-icon--Rotate:
|
|
5
|
+
--pf-v6-c-clipboard-copy--m-expanded__toggle-icon--Rotate: -180deg;
|
|
6
6
|
--pf-v6-c-clipboard-copy__expandable-content--MarginBlockStart: var(--pf-t--global--spacer--xs);
|
|
7
7
|
--pf-v6-c-clipboard-copy__expandable-content--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
8
8
|
--pf-v6-c-clipboard-copy__expandable-content--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
|
9
9
|
--pf-v6-c-clipboard-copy__expandable-content--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
|
10
10
|
--pf-v6-c-clipboard-copy__expandable-content--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
|
11
|
-
--pf-v6-c-clipboard-copy__expandable-content--BackgroundColor: var(--pf-t--global--background--color--
|
|
11
|
+
--pf-v6-c-clipboard-copy__expandable-content--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
|
12
12
|
--pf-v6-c-clipboard-copy__expandable-content--BorderBlockStartWidth: var(--pf-t--global--border--width--control--default);
|
|
13
13
|
--pf-v6-c-clipboard-copy__expandable-content--BorderInlineEndWidth: var(--pf-t--global--border--width--control--default);
|
|
14
14
|
--pf-v6-c-clipboard-copy__expandable-content--BorderBlockEndWidth: var(--pf-t--global--border--width--control--default);
|
|
15
15
|
--pf-v6-c-clipboard-copy__expandable-content--BorderInlineStartWidth: var(--pf-t--global--border--width--control--default);
|
|
16
|
-
--pf-v6-c-clipboard-copy__expandable-content--BorderColor: var(--pf-t--global--border--color--default);
|
|
17
|
-
--pf-v6-c-clipboard-copy__expandable-content--BorderRadius: var(--pf-t--global--border--radius--
|
|
16
|
+
--pf-v6-c-clipboard-copy__expandable-content--BorderColor: var(--pf-t--global--border--color--control--default);
|
|
17
|
+
--pf-v6-c-clipboard-copy__expandable-content--BorderRadius: var(--pf-t--global--border--radius--control--form-element);
|
|
18
18
|
--pf-v6-c-clipboard-copy__expandable-content--OutlineOffset: var(--pf-t--global--spacer--xs);
|
|
19
|
+
--pf-v6-c-clipboard-copy--m-readonly__expandable-content--BackgroundColor: var(--pf-t--global--background--color--control--read-only);
|
|
20
|
+
--pf-v6-c-clipboard-copy--m-readonly__expandable-content--BorderColor: var(--pf-t--global--border--color--control--read-only);
|
|
19
21
|
--pf-v6-c-clipboard-copy__group--Gap: var(--pf-t--global--spacer--gap--control-to-control--default);
|
|
20
22
|
--pf-v6-c-clipboard-copy--m-inline--PaddingInlineStart: var(--pf-t--global--spacer--xs);
|
|
21
23
|
--pf-v6-c-clipboard-copy--m-inline--PaddingInlineEnd: var(--pf-t--global--spacer--xs);
|
|
@@ -44,19 +46,24 @@
|
|
|
44
46
|
.pf-v6-c-clipboard-copy.pf-m-inline.pf-m-truncate {
|
|
45
47
|
display: inline-flex;
|
|
46
48
|
}
|
|
49
|
+
.pf-v6-c-clipboard-copy.pf-m-readonly {
|
|
50
|
+
--pf-v6-c-clipboard-copy__expandable-content--BackgroundColor: var(--pf-v6-c-clipboard-copy--m-readonly__expandable-content--BackgroundColor);
|
|
51
|
+
--pf-v6-c-clipboard-copy__expandable-content--BorderColor: var(--pf-v6-c-clipboard-copy--m-readonly__expandable-content--BorderColor);
|
|
52
|
+
}
|
|
47
53
|
|
|
48
54
|
.pf-v6-c-clipboard-copy__group {
|
|
49
55
|
display: flex;
|
|
50
56
|
gap: var(--pf-v6-c-clipboard-copy__group--Gap);
|
|
51
57
|
}
|
|
52
58
|
|
|
53
|
-
.pf-v6-c-clipboard-copy__toggle-icon {
|
|
54
|
-
transition: var(--pf-v6-c-clipboard-copy__toggle-icon--Transition);
|
|
55
|
-
}
|
|
56
59
|
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-clipboard-copy__toggle-icon {
|
|
57
60
|
scale: -1 1;
|
|
58
61
|
}
|
|
59
62
|
|
|
63
|
+
.pf-v6-c-clipboard-copy__toggle-icon {
|
|
64
|
+
transition: var(--pf-v6-c-clipboard-copy__toggle-icon--Transition);
|
|
65
|
+
}
|
|
66
|
+
|
|
60
67
|
.pf-v6-c-clipboard-copy__expandable-content {
|
|
61
68
|
padding-block-start: var(--pf-v6-c-clipboard-copy__expandable-content--PaddingBlockStart);
|
|
62
69
|
padding-block-end: var(--pf-v6-c-clipboard-copy__expandable-content--PaddingBlockEnd);
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
--#{$clipboard-copy}__toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
6
6
|
--#{$clipboard-copy}__toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
7
7
|
--#{$clipboard-copy}__toggle-icon--Transition: transform var(--#{$clipboard-copy}__toggle-icon--TransitionDuration) var(--#{$clipboard-copy}__toggle-icon--TransitionTimingFunction); // TODO Remove in breaking change along with shorthand property
|
|
8
|
-
--#{$clipboard-copy}--m-expanded__toggle-icon--Rotate:
|
|
8
|
+
--#{$clipboard-copy}--m-expanded__toggle-icon--Rotate: -180deg;
|
|
9
9
|
|
|
10
10
|
// Clipboard copy expanded content
|
|
11
11
|
--#{$clipboard-copy}__expandable-content--MarginBlockStart: var(--pf-t--global--spacer--xs);
|
|
@@ -13,15 +13,19 @@
|
|
|
13
13
|
--#{$clipboard-copy}__expandable-content--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
|
14
14
|
--#{$clipboard-copy}__expandable-content--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
|
15
15
|
--#{$clipboard-copy}__expandable-content--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
|
16
|
-
--#{$clipboard-copy}__expandable-content--BackgroundColor: var(--pf-t--global--background--color--
|
|
16
|
+
--#{$clipboard-copy}__expandable-content--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
|
17
17
|
--#{$clipboard-copy}__expandable-content--BorderBlockStartWidth: var(--pf-t--global--border--width--control--default);
|
|
18
18
|
--#{$clipboard-copy}__expandable-content--BorderInlineEndWidth: var(--pf-t--global--border--width--control--default);
|
|
19
19
|
--#{$clipboard-copy}__expandable-content--BorderBlockEndWidth: var(--pf-t--global--border--width--control--default);
|
|
20
20
|
--#{$clipboard-copy}__expandable-content--BorderInlineStartWidth: var(--pf-t--global--border--width--control--default);
|
|
21
|
-
--#{$clipboard-copy}__expandable-content--BorderColor: var(--pf-t--global--border--color--default);
|
|
22
|
-
--#{$clipboard-copy}__expandable-content--BorderRadius: var(--pf-t--global--border--radius--
|
|
21
|
+
--#{$clipboard-copy}__expandable-content--BorderColor: var(--pf-t--global--border--color--control--default);
|
|
22
|
+
--#{$clipboard-copy}__expandable-content--BorderRadius: var(--pf-t--global--border--radius--control--form-element);
|
|
23
23
|
--#{$clipboard-copy}__expandable-content--OutlineOffset: var(--pf-t--global--spacer--xs);
|
|
24
24
|
|
|
25
|
+
// Readonly
|
|
26
|
+
--#{$clipboard-copy}--m-readonly__expandable-content--BackgroundColor: var(--pf-t--global--background--color--control--read-only);
|
|
27
|
+
--#{$clipboard-copy}--m-readonly__expandable-content--BorderColor: var(--pf-t--global--border--color--control--read-only);
|
|
28
|
+
|
|
25
29
|
// Group
|
|
26
30
|
--#{$clipboard-copy}__group--Gap: var(--pf-t--global--spacer--gap--control-to-control--default);
|
|
27
31
|
|
|
@@ -62,6 +66,11 @@
|
|
|
62
66
|
display: inline-flex;
|
|
63
67
|
}
|
|
64
68
|
}
|
|
69
|
+
|
|
70
|
+
&.pf-m-readonly {
|
|
71
|
+
--#{$clipboard-copy}__expandable-content--BackgroundColor: var(--#{$clipboard-copy}--m-readonly__expandable-content--BackgroundColor);
|
|
72
|
+
--#{$clipboard-copy}__expandable-content--BorderColor: var(--#{$clipboard-copy}--m-readonly__expandable-content--BorderColor);
|
|
73
|
+
}
|
|
65
74
|
}
|
|
66
75
|
|
|
67
76
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
--pf-v6-c-code-editor__header--BorderStartStartRadius: var(--pf-t--global--border--radius--medium);
|
|
9
9
|
--pf-v6-c-code-editor__header--BorderStartEndRadius: var(--pf-t--global--border--radius--medium);
|
|
10
10
|
--pf-v6-c-code-editor__header-content--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
11
|
-
--pf-v6-c-code-editor__header-content--m-plain--BackgroundColor:
|
|
11
|
+
--pf-v6-c-code-editor__header-content--m-plain--BackgroundColor: transparent;
|
|
12
12
|
--pf-v6-c-code-editor__header-content--PaddingBlockStart: var(--pf-t--global--spacer--xs);
|
|
13
13
|
--pf-v6-c-code-editor__header-content--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
|
|
14
14
|
--pf-v6-c-code-editor__header-content--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
|
|
71
71
|
.pf-v6-c-code-editor__container {
|
|
72
72
|
display: flex;
|
|
73
|
-
flex-direction: column;
|
|
74
73
|
flex-grow: 1;
|
|
74
|
+
flex-direction: column;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
.pf-v6-c-code-editor__header {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
// header content
|
|
17
17
|
--#{$code-editor}__header-content--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
18
|
-
--#{$code-editor}__header-content--m-plain--BackgroundColor:
|
|
18
|
+
--#{$code-editor}__header-content--m-plain--BackgroundColor: transparent;
|
|
19
19
|
--#{$code-editor}__header-content--PaddingBlockStart: var(--pf-t--global--spacer--xs);
|
|
20
20
|
--#{$code-editor}__header-content--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
|
|
21
21
|
--#{$code-editor}__header-content--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
@@ -91,8 +91,8 @@
|
|
|
91
91
|
|
|
92
92
|
.#{$code-editor}__container {
|
|
93
93
|
display: flex;
|
|
94
|
-
flex-direction: column;
|
|
95
94
|
flex-grow: 1;
|
|
95
|
+
flex-direction: column;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.#{$code-editor}__header {
|