@patternfly/patternfly 6.0.0-alpha.6 → 6.0.0-alpha.61
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 +13 -3
- package/assets/icons/iconUnicodes.json +1 -0
- package/assets/images/PF-Backdrop.svg +1 -0
- package/assets/images/PF-HorizontalLogo-Color.svg +29 -0
- package/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
- package/assets/images/PF-IconLogo-Reverse.svg +14 -0
- package/assets/images/PF-IconLogo-color.svg +17 -0
- package/assets/images/PF-IconLogo.svg +17 -0
- package/assets/images/logo__pf--reverse-on-md.svg +1 -1
- package/assets/images/pf-background.svg +22 -0
- package/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
- package/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
- package/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
- package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
- package/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
- package/assets/images/pf_logo_white.hbs +35 -0
- package/assets/images/pf_logo_white.svg +38 -0
- package/assets/pficon/pf-v5-pficon.woff2 +0 -0
- package/assets/pficon/pficon.scss +6 -129
- package/base/_common.scss +29 -4
- package/base/_globals.scss +5 -7
- package/base/_variables.scss +8 -6
- package/base/patternfly-common.css +24 -6
- package/base/patternfly-globals.css +5 -4
- package/base/patternfly-icons.css +5 -1
- package/base/patternfly-pf-icons.css +5 -1
- package/base/patternfly-variables.css +889 -787
- package/base/tokens/_tokens-dark.scss +322 -265
- package/base/tokens/_tokens-default.scss +428 -306
- package/base/tokens/_tokens-font.scss +41 -46
- package/base/tokens/_tokens-palette.scss +69 -71
- package/base/tokens/_workspace-overrides.scss +7 -0
- package/components/AboutModalBox/about-modal-box.css +80 -108
- package/components/AboutModalBox/about-modal-box.scss +64 -78
- package/components/Accordion/accordion.css +96 -175
- package/components/Accordion/accordion.scss +106 -193
- package/components/ActionList/action-list.css +2 -2
- package/components/ActionList/action-list.scss +2 -2
- package/components/Alert/alert-group.css +27 -20
- package/components/Alert/alert-group.scss +27 -20
- package/components/Alert/alert.css +74 -95
- package/components/Alert/alert.scss +76 -89
- package/components/AppLauncher/app-launcher.css +32 -23
- package/components/AppLauncher/app-launcher.scss +32 -23
- package/components/Avatar/avatar.css +10 -13
- package/components/Avatar/avatar.scss +10 -17
- package/components/BackToTop/back-to-top.css +17 -15
- package/components/BackToTop/back-to-top.scss +14 -13
- package/components/Backdrop/backdrop.css +8 -4
- package/components/Backdrop/backdrop.scss +7 -4
- package/components/BackgroundImage/background-image.css +11 -4
- package/components/BackgroundImage/background-image.scss +13 -4
- package/components/Badge/badge.css +25 -17
- package/components/Badge/badge.scss +27 -19
- package/components/Banner/banner.css +95 -69
- package/components/Banner/banner.scss +100 -34
- package/components/Breadcrumb/breadcrumb.css +28 -19
- package/components/Breadcrumb/breadcrumb.scss +26 -19
- package/components/Button/button.css +422 -359
- package/components/Button/button.scss +480 -487
- package/components/CalendarMonth/calendar-month.css +25 -15
- package/components/CalendarMonth/calendar-month.scss +23 -15
- package/components/Card/card.css +28 -17
- package/components/Card/card.scss +32 -17
- package/components/Check/check.css +25 -22
- package/components/Check/check.scss +26 -24
- package/components/Chip/chip-group.css +6 -6
- package/components/Chip/chip-group.scss +6 -6
- package/components/Chip/chip.css +16 -9
- package/components/Chip/chip.scss +17 -9
- package/components/ClipboardCopy/clipboard-copy.css +47 -41
- package/components/ClipboardCopy/clipboard-copy.scss +50 -34
- package/components/CodeBlock/code-block.css +24 -12
- package/components/CodeBlock/code-block.scss +24 -13
- package/components/CodeEditor/code-editor.css +31 -22
- package/components/CodeEditor/code-editor.scss +30 -21
- package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
- package/components/Content/content.css +40 -37
- package/components/Content/content.scss +40 -37
- package/components/ContextSelector/context-selector.css +41 -26
- package/components/ContextSelector/context-selector.scss +40 -25
- package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
- package/components/DataList/data-list-grid.css +21 -21
- package/components/DataList/data-list-grid.scss +3 -3
- package/components/DataList/data-list.css +165 -209
- package/components/DataList/data-list.scss +138 -185
- package/components/DatePicker/date-picker.css +8 -8
- package/components/DatePicker/date-picker.scss +8 -8
- package/components/DescriptionList/description-list.css +47 -39
- package/components/DescriptionList/description-list.scss +33 -30
- package/components/Divider/divider.css +97 -177
- package/components/Divider/divider.scss +60 -79
- package/components/DragDrop/drag-drop.css +26 -22
- package/components/DragDrop/drag-drop.scss +26 -25
- package/components/Drawer/drawer.css +120 -62
- package/components/Drawer/drawer.scss +94 -44
- package/components/Dropdown/dropdown.css +76 -69
- package/components/Dropdown/dropdown.scss +67 -62
- package/components/DualListSelector/dual-list-selector.css +29 -15
- package/components/DualListSelector/dual-list-selector.scss +30 -15
- package/components/EmptyState/empty-state.css +64 -38
- package/components/EmptyState/empty-state.scss +70 -38
- package/components/ExpandableSection/expandable-section.css +75 -66
- package/components/ExpandableSection/expandable-section.scss +82 -80
- package/components/FileUpload/file-upload.css +31 -43
- package/components/FileUpload/file-upload.scss +31 -49
- package/components/Form/form.css +111 -154
- package/components/Form/form.scss +101 -160
- package/components/FormControl/form-control.css +95 -111
- package/components/FormControl/form-control.scss +97 -92
- package/components/HelperText/helper-text.css +29 -35
- package/components/HelperText/helper-text.scss +31 -41
- package/components/Hint/hint.css +37 -27
- package/components/Hint/hint.scss +37 -30
- package/components/Icon/icon.css +155 -19
- package/components/Icon/icon.scss +188 -21
- package/components/InlineEdit/inline-edit.css +12 -11
- package/components/InlineEdit/inline-edit.scss +12 -11
- package/components/InputGroup/input-group.css +32 -42
- package/components/InputGroup/input-group.scss +31 -33
- package/components/JumpLinks/jump-links.css +61 -58
- package/components/JumpLinks/jump-links.scss +61 -60
- package/components/Label/label-group.css +48 -50
- package/components/Label/label-group.scss +48 -51
- package/components/Label/label.css +266 -363
- package/components/Label/label.scss +306 -356
- package/components/List/list.css +25 -25
- package/components/List/list.scss +26 -26
- package/components/LogViewer/log-viewer.css +14 -14
- package/components/LogViewer/log-viewer.scss +14 -14
- package/components/Login/login.css +104 -122
- package/components/Login/login.scss +92 -91
- package/components/Masthead/masthead.css +273 -498
- package/components/Masthead/masthead.scss +137 -282
- package/components/Menu/menu.css +82 -65
- package/components/Menu/menu.scss +85 -69
- package/components/MenuToggle/menu-toggle.css +37 -31
- package/components/MenuToggle/menu-toggle.scss +37 -33
- package/components/ModalBox/modal-box.css +76 -69
- package/components/ModalBox/modal-box.scss +74 -70
- package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
- package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
- package/components/Nav/nav.css +248 -899
- package/components/Nav/nav.scss +304 -1059
- package/components/Nav/themes/dark/nav.scss +2 -2
- package/components/NotificationBadge/notification-badge.css +66 -85
- package/components/NotificationBadge/notification-badge.scss +72 -103
- package/components/NotificationDrawer/notification-drawer.css +130 -128
- package/components/NotificationDrawer/notification-drawer.scss +130 -129
- package/components/NumberInput/number-input.css +10 -10
- package/components/NumberInput/number-input.scss +9 -14
- package/components/OptionsMenu/options-menu.css +43 -31
- package/components/OptionsMenu/options-menu.scss +43 -31
- package/components/OverflowMenu/overflow-menu.css +2 -2
- package/components/OverflowMenu/overflow-menu.scss +2 -2
- package/components/Page/page.css +182 -232
- package/components/Page/page.scss +130 -195
- package/components/Pagination/pagination.css +71 -121
- package/components/Pagination/pagination.scss +56 -127
- package/components/Panel/panel.css +40 -30
- package/components/Panel/panel.scss +42 -33
- package/components/Popover/popover.css +108 -87
- package/components/Popover/popover.scss +120 -109
- package/components/Progress/progress.css +40 -52
- package/components/Progress/progress.scss +48 -62
- package/components/ProgressStepper/progress-stepper.css +26 -20
- package/components/ProgressStepper/progress-stepper.scss +25 -19
- package/components/Radio/radio.css +30 -23
- package/components/Radio/radio.scss +31 -25
- package/components/Select/select.css +56 -47
- package/components/Select/select.scss +56 -47
- package/components/Sidebar/sidebar.css +31 -14
- package/components/Sidebar/sidebar.scss +34 -16
- package/components/SimpleList/simple-list.css +45 -56
- package/components/SimpleList/simple-list.scss +51 -55
- package/components/Skeleton/skeleton.css +24 -25
- package/components/Skeleton/skeleton.scss +21 -26
- package/components/SkipToContent/skip-to-content.css +9 -6
- package/components/SkipToContent/skip-to-content.scss +8 -6
- package/components/Slider/slider.css +80 -55
- package/components/Slider/slider.scss +96 -65
- package/components/Spinner/spinner.css +17 -34
- package/components/Spinner/spinner.scss +19 -47
- package/components/Switch/switch.css +49 -41
- package/components/Switch/switch.scss +51 -42
- package/components/TabContent/tab-content.css +21 -12
- package/components/TabContent/tab-content.scss +22 -15
- package/components/Table/table-grid.css +264 -203
- package/components/Table/table-grid.scss +61 -47
- package/components/Table/table-scrollable.css +4 -4
- package/components/Table/table-scrollable.scss +6 -4
- package/components/Table/table-tree-view.css +112 -105
- package/components/Table/table-tree-view.scss +38 -33
- package/components/Table/table.css +105 -89
- package/components/Table/table.scss +105 -89
- package/components/Tabs/tabs.css +76 -48
- package/components/Tabs/tabs.scss +74 -48
- package/components/TextInputGroup/text-input-group.css +15 -15
- package/components/TextInputGroup/text-input-group.scss +15 -15
- package/components/Tile/tile.css +47 -88
- package/components/Tile/tile.scss +45 -91
- package/components/Timestamp/timestamp.css +12 -9
- package/components/Timestamp/timestamp.scss +11 -10
- package/components/Title/title.css +70 -19
- package/components/Title/title.scss +90 -20
- package/components/ToggleGroup/toggle-group.css +48 -58
- package/components/ToggleGroup/toggle-group.scss +48 -56
- package/components/Toolbar/toolbar.css +57 -43
- package/components/Toolbar/toolbar.scss +45 -25
- package/components/Tooltip/tooltip.css +74 -44
- package/components/Tooltip/tooltip.scss +93 -77
- package/components/TreeView/tree-view.css +48 -27
- package/components/TreeView/tree-view.scss +50 -28
- package/components/Truncate/truncate.css +13 -0
- package/components/Truncate/truncate.scss +19 -3
- package/components/Wizard/wizard.css +57 -36
- package/components/Wizard/wizard.scss +57 -36
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +2 -2
- package/docs/components/Accordion/examples/Accordion.md +614 -416
- package/docs/components/Alert/examples/Alert.md +3 -3
- package/docs/components/Avatar/examples/Avatar.md +5 -19
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +1 -1
- package/docs/components/Badge/examples/Badge.md +21 -0
- package/docs/components/Banner/examples/Banner.md +48 -25
- package/docs/components/Brand/examples/Brand.css +12 -0
- package/docs/components/Brand/examples/Brand.md +51 -32
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
- package/docs/components/Button/examples/Button.css +6 -2
- package/docs/components/Button/examples/Button.md +1425 -87
- package/docs/components/Card/examples/Card.md +143 -37
- package/docs/components/Check/examples/Check.md +71 -58
- package/docs/components/Chip/examples/Chip.md +1 -1
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
- package/docs/components/CodeBlock/examples/CodeBlock.md +4 -4
- package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
- package/docs/components/Content/examples/Content.md +5 -5
- package/docs/components/Divider/examples/Divider.css +3 -1
- package/docs/components/Divider/examples/Divider.md +4 -5
- package/docs/components/DragDrop/examples/DragDrop.css +3 -3
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
- package/docs/components/EmptyState/examples/EmptyState.md +45 -1
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +49 -28
- package/docs/components/FileUpload/examples/FileUpload.md +112 -53
- package/docs/components/Form/examples/Form.md +134 -89
- package/docs/components/Icon/examples/Icon.md +82 -11
- package/docs/components/InlineEdit/examples/InlineEdit.md +3 -1
- package/docs/components/JumpLinks/examples/JumpLinks.md +280 -168
- package/docs/components/Label/examples/Label.css +4 -0
- package/docs/components/Label/examples/Label.md +1001 -225
- package/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/docs/components/LogViewer/examples/LogViewer.md +250 -160
- package/docs/components/Login/examples/Login.md +10 -5
- package/docs/components/Masthead/examples/masthead.md +443 -65
- package/docs/components/Menu/examples/Menu.css +8 -0
- package/docs/components/Menu/examples/Menu.md +594 -543
- package/docs/components/MenuToggle/examples/MenuToggle.md +109 -96
- package/docs/components/ModalBox/examples/ModalBox.css +3 -8
- package/docs/components/Nav/examples/Navigation.css +3 -42
- package/docs/components/Nav/examples/Navigation.md +305 -353
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
- package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
- package/docs/components/Page/examples/Page.css +0 -8
- package/docs/components/Page/examples/Page.md +22 -21
- package/docs/components/Pagination/examples/Pagination.md +663 -637
- package/docs/components/Panel/examples/Panel.md +12 -0
- package/docs/components/Popover/examples/Popover.css +4 -9
- package/docs/components/Popover/examples/Popover.md +1 -1
- package/docs/components/Radio/examples/Radio.md +62 -54
- package/docs/components/Select/deprecated/Select.md +184 -177
- package/docs/components/Sidebar/examples/Sidebar.md +19 -0
- package/docs/components/SimpleList/examples/SimpleList.md +3 -3
- package/docs/components/TabContent/examples/TabContent.md +10 -10
- package/docs/components/Table/examples/Table.css +2 -2
- package/docs/components/Table/examples/Table.md +10 -10
- package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +9 -9
- package/docs/components/Tile/examples/Tile.css +1 -1
- package/docs/components/Tile/examples/Tile.md +264 -144
- package/docs/components/Title/examples/Title.md +18 -0
- package/docs/components/Toolbar/examples/Toolbar.md +663 -2894
- package/docs/components/Tooltip/examples/Tooltip.css +4 -0
- package/docs/components/Tooltip/examples/Tooltip.md +3 -1
- package/docs/components/Truncate/examples/Truncate.css +2 -2
- package/docs/components/Truncate/examples/Truncate.md +2 -2
- package/docs/demos/AboutModal/examples/AboutModal.md +103 -30
- package/docs/demos/Alert/examples/Alert.md +327 -84
- package/docs/demos/BackToTop/examples/BackToTop.md +101 -28
- package/docs/demos/Banner/examples/Banner.md +209 -58
- package/docs/demos/Card/examples/Card.css +3 -3
- package/docs/demos/Card/examples/Card.md +28 -12
- package/docs/demos/CardView/examples/CardView.md +263 -205
- package/docs/demos/ContextSelector/examples/ContextSelector.md +373 -90
- package/docs/demos/Dashboard/examples/Dashboard.md +104 -31
- package/docs/demos/DataList/examples/DataList.md +995 -928
- package/docs/demos/DescriptionList/examples/DescriptionList.md +303 -84
- package/docs/demos/Drawer/examples/Drawer.md +605 -220
- package/docs/demos/Form/examples/BasicForms.md +133 -82
- package/docs/demos/JumpLinks/examples/JumpLinks.md +881 -353
- package/docs/demos/Masthead/examples/Masthead.md +767 -323
- package/docs/demos/Modal/examples/Modal.md +639 -192
- package/docs/demos/Nav/examples/Nav.md +685 -896
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +510 -140
- package/docs/demos/Page/examples/Page.md +933 -264
- package/docs/demos/Page/examples/Penta.md +569 -501
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +13 -9
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +44 -32
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1296 -917
- package/docs/demos/Skeleton/examples/Skeleton.md +108 -63
- package/docs/demos/Table/examples/Table.md +3832 -3390
- package/docs/demos/Tabs/examples/Tabs.md +636 -191
- package/docs/demos/Toolbar/examples/Toolbar.css +15 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +1331 -1493
- package/docs/demos/Wizard/examples/Wizard.md +909 -252
- package/docs/layouts/Flex/examples/Flex.md +16 -16
- package/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
- package/icons/pficons.mjs +1 -0
- package/layouts/Flex/flex.css +115 -43
- package/layouts/Flex/flex.scss +20 -8
- package/package.json +36 -32
- package/patternfly-addons.css +732 -972
- package/patternfly-base-no-globals-theme-dark-unversioned.css +923 -799
- package/patternfly-base-no-globals.css +923 -799
- package/patternfly-base-theme-dark-unversioned.css +928 -803
- package/patternfly-base.css +928 -803
- package/patternfly-no-globals.css +6887 -7357
- package/patternfly-theme-dark-unversioned.css +6892 -7361
- package/patternfly.css +6892 -7361
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +6 -0
- package/sass-utilities/mixins.scss +80 -2
- package/sass-utilities/scss-variables.scss +8 -8
- package/sass-utilities/themes/dark/mixins.scss +3 -1
- package/utilities/Accessibility/accessibility.css +12 -12
- package/utilities/Spacing/spacing.css +720 -960
- package/utilities/Spacing/spacing.scss +4 -8
- package/base/themes/dark/_variables.scss +0 -102
- package/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
- package/components/Accordion/themes/dark/accordion.scss +0 -9
- package/components/Alert/themes/dark/alert.scss +0 -17
- package/components/Badge/themes/dark/badge.scss +0 -9
- package/components/Banner/themes/dark/banner.scss +0 -14
- package/components/Button/themes/dark/button.scss +0 -51
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +0 -19
- package/components/DataList/themes/dark/data-list.scss +0 -10
- package/components/DragDrop/themes/dark/drag-drop.scss +0 -7
- package/components/Form/themes/dark/form.scss +0 -7
- package/components/FormControl/themes/dark/form-control.scss +0 -24
- package/components/HelperText/themes/dark/helper-text.scss +0 -7
- package/components/Hint/themes/dark/hint.scss +0 -8
- package/components/InputGroup/themes/dark/input-group.scss +0 -22
- package/components/Label/themes/dark/label.scss +0 -53
- package/components/Login/themes/dark/login.scss +0 -12
- package/components/Masthead/themes/dark/masthead.scss +0 -14
- package/components/ModalBox/themes/dark/modal-box.scss +0 -7
- package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
- package/components/NotificationDrawer/themes/dark/notification-drawer.scss +0 -14
- package/components/Page/themes/dark/page.scss +0 -69
- package/components/Pagination/themes/dark/pagination.scss +0 -7
- package/components/Panel/themes/dark/panel.scss +0 -7
- package/components/Popover/themes/dark/popover.scss +0 -11
- package/components/Progress/themes/dark/progress.scss +0 -9
- package/components/SimpleList/themes/dark/simple-list.scss +0 -14
- package/components/Skeleton/themes/dark/skeleton.scss +0 -10
- package/components/Switch/themes/dark/switch.scss +0 -11
- package/components/Tile/themes/dark/tile.scss +0 -10
- package/components/ToggleGroup/themes/dark/toggle-group.scss +0 -12
- package/components/Tooltip/themes/dark/tooltip.scss +0 -8
- package/docs/components/Avatar/examples/Avatar.css +0 -3
- package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
|
@@ -12,11 +12,11 @@ The flex layout is based on the CSS Flex properties where the layout determines
|
|
|
12
12
|
|
|
13
13
|
The flex layout provides two ways of spacing its direct children.
|
|
14
14
|
|
|
15
|
-
*
|
|
16
|
-
|
|
17
|
-
*
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
* [Spacing system](#spacing-system)
|
|
16
|
+
* The spacing system applies a margin between the flex layout's direct children to create space between items along the main axis only. The benefit of the spacing system is that it allows for variable spacing between direct children. Use the spacing system when individual flex items along the main axis require a different spacer than sibling items.
|
|
17
|
+
* [Gap spacing](#gap-spacing)
|
|
18
|
+
* Gap spacing uses flex `gap` to space the flex layout's direct children, and can be applied to space rows (`row-gap`), columns (`column-gap`), or both (`gap`). The benefit of gap spacing is that item wrapping is improved and improved item spacing that works better with CSS flex's logical layout properties. E.g., spacing in RTL layouts that rely on logical properties is improved. Use the gap system when all direct children should use the same spacer for rows, columns, or both.
|
|
19
|
+
* **Note** using `gap` along the main axis will override any other spacing applied using the spacing system.
|
|
20
20
|
|
|
21
21
|
### Breakpoints
|
|
22
22
|
|
|
@@ -24,15 +24,15 @@ The flex layout provides two ways of spacing its direct children.
|
|
|
24
24
|
|
|
25
25
|
### Usefulness
|
|
26
26
|
|
|
27
|
-
*
|
|
28
|
-
*
|
|
27
|
+
* Use when content dictates layout and elements wrap when necessary.
|
|
28
|
+
* Use when a rigid grid is not necessary/wanted.
|
|
29
29
|
|
|
30
30
|
### Differences from utility class
|
|
31
31
|
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
32
|
+
* It contains multiple css declarations and does not use the `!important` tag.
|
|
33
|
+
* It does not require wrapping elements in columns or rows.
|
|
34
|
+
* It breaks the dependency upon adding utility classes to each child.
|
|
35
|
+
* It can be applied to container elements or components.
|
|
36
36
|
|
|
37
37
|
# Examples
|
|
38
38
|
|
|
@@ -494,7 +494,7 @@ Adjusting width with `.pf-m-flex-1`. In this example, all groups are set to `.pf
|
|
|
494
494
|
|
|
495
495
|
### Basic align right example
|
|
496
496
|
|
|
497
|
-
Aligning right with `.pf-m-align-right`. This solution will always align element right by setting margin-
|
|
497
|
+
Aligning right with `.pf-m-align-right`. This solution will always align element right by setting margin-inline-start: auto, including when wrapped.
|
|
498
498
|
|
|
499
499
|
```html
|
|
500
500
|
<div class="pf-v5-l-flex ws-example-flex-border">
|
|
@@ -627,8 +627,8 @@ Aligning right with `.pf-m-align-right`. This solution will always align element
|
|
|
627
627
|
|
|
628
628
|
| Class | Applied to | Outcome |
|
|
629
629
|
| -- | -- | -- |
|
|
630
|
-
| `.pf-m-align-right{-on-[breakpoint]}` | `.pf-v5-l-flex > .pf-v5-l-flex`, `.pf-v5-l-flex__item` | Modifies margin-
|
|
631
|
-
| `.pf-m-align-left{-on-[breakpoint]}` | `.pf-v5-l-flex > .pf-v5-l-flex`, `.pf-v5-l-flex__item` | Resets margin-
|
|
630
|
+
| `.pf-m-align-right{-on-[breakpoint]}` | `.pf-v5-l-flex > .pf-v5-l-flex`, `.pf-v5-l-flex__item` | Modifies margin-inline-start property to auto. |
|
|
631
|
+
| `.pf-m-align-left{-on-[breakpoint]}` | `.pf-v5-l-flex > .pf-v5-l-flex`, `.pf-v5-l-flex__item` | Resets margin-inline-start property 0. |
|
|
632
632
|
| `.pf-m-align-self-flex-start{-on-[breakpoint]}` | `.pf-v5-l-flex > .pf-v5-l-flex`, `.pf-v5-l-flex__item` | Modifies align-self property to flex-start. |
|
|
633
633
|
| `.pf-m-align-self-flex-end{-on-[breakpoint]}` | `.pf-v5-l-flex > .pf-v5-l-flex`, `.pf-v5-l-flex__item` | Modifies align-self property to flex-end. |
|
|
634
634
|
| `.pf-m-align-self-flex-center{-on-[breakpoint]}` | `.pf-v5-l-flex > .pf-v5-l-flex`, `.pf-v5-l-flex__item` | Modifies align-self property to center. |
|
|
@@ -863,8 +863,8 @@ Ordering - Ordering can be applied to nested `.pf-v5-l-flex` and `.pf-v5-l-flex_
|
|
|
863
863
|
| `.pf-m-align-content-stretch{-on-[breakpoint]}` | `.pf-v5-l-flex` | Modifies the flex layout align-content property to stretch. |
|
|
864
864
|
| `.pf-m-align-content-space-between{-on-[breakpoint]}` | `.pf-v5-l-flex` | Modifies the flex layout align-content property to space-between. |
|
|
865
865
|
| `.pf-m-align-content-space-around{-on-[breakpoint]}` | `.pf-v5-l-flex` | Modifies the flex layout align-content property to space-around. |
|
|
866
|
-
| `.pf-m-align-left{-on-[breakpoint]}` | `.pf-v5-l-flex > .pf-v5-l-flex`, `.pf-v5-l-flex__item` | Resets the flex layout element margin-
|
|
867
|
-
| `.pf-m-align-right{-on-[breakpoint]}` | `.pf-v5-l-flex > .pf-v5-l-flex`, `.pf-v5-l-flex__item` | Modifies the flex layout element margin-
|
|
866
|
+
| `.pf-m-align-left{-on-[breakpoint]}` | `.pf-v5-l-flex > .pf-v5-l-flex`, `.pf-v5-l-flex__item` | Resets the flex layout element margin-inline-start property to 0. |
|
|
867
|
+
| `.pf-m-align-right{-on-[breakpoint]}` | `.pf-v5-l-flex > .pf-v5-l-flex`, `.pf-v5-l-flex__item` | Modifies the flex layout element margin-inline-start property to auto. |
|
|
868
868
|
| `--pf-v5-l-flex--item--Order{-on-[breakpoint]}: {order}` | `.pf-v5-l-flex > .pf-v5-l-flex`, `.pf-v5-l-flex__item` | Modifies the flex layout element order property. |
|
|
869
869
|
|
|
870
870
|
### Spacer system usage
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
.ws-core-u-box-shadow [class*="pf-v5-u-box-shadow"] {
|
|
2
2
|
padding: var(--pf-v5-global--spacer--lg);
|
|
3
|
-
margin-
|
|
3
|
+
margin-block-end: var(--pf-v5-global--spacer--md);
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
#ws-core-u-box-shadow-small [class*="pf-v5-u-box-shadow"]:not(:last-child) {
|
|
7
|
-
margin-
|
|
7
|
+
margin-block-end: var(--pf-v5-global--spacer--lg);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
#ws-core-u-box-shadow-medium [class*="pf-v5-u-box-shadow"]:not(:last-child) {
|
|
11
|
-
margin-
|
|
11
|
+
margin-block-end: var(--pf-v5-global--spacer--xl);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
#ws-core-u-box-shadow-large [class*="pf-v5-u-box-shadow"]:not(:last-child) {
|
|
15
|
-
margin-
|
|
15
|
+
margin-block-end: var(--pf-v5-global--spacer--2xl);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
#ws-core-u-box-shadow-extra-large [class*="pf-v5-u-box-shadow"]:not(:last-child) {
|
|
19
|
-
margin-
|
|
19
|
+
margin-block-end: var(--pf-v5-global--spacer--3xl);
|
|
20
20
|
}
|
package/icons/pficons.mjs
CHANGED
|
@@ -117,6 +117,7 @@ export const pfIcons = {
|
|
|
117
117
|
"tenant": { "width": 1024, "height": 1024, "svgPathData": "M512.1,0 C229.7,0 0,229.8 0,512 C0,794.3 229.8,1024 512.1,1024 C794.4,1024 1024,794.3 1024,512 C1024,229.7 794.4,0 512.1,0 Z M512,960 C264.9,960 64,759.2 64,512 C64,265 264.9,64 512,64 C759,64 960,264.9 960,512 C960,759.1 759,960 512,960 Z M672,544 C601.3,544 544,601.3 544,672 C544,742.7 601.3,800 672,800 C742.7,800 800,742.7 800,672 C800,601.3 742.7,544 672,544 Z M672,752 C627.9,752 592,716.1 592,672 C592,627.9 627.9,592 672,592 C716.1,592 752,627.9 752,672 C752,716.1 716.1,752 672,752 Z M352,544 C281.3,544 224,601.3 224,672 C224,742.7 281.3,800 352,800 C422.7,800 480,742.7 480,672 C480,601.3 422.7,544 352,544 Z M352,752 C307.9,752 272,716.1 272,672 C272,627.9 307.9,592 352,592 C396.1,592 432,627.9 432,672 C432,716.1 396.1,752 352,752 Z M672,224 C601.3,224 544,281.3 544,352 C544,422.7 601.3,480 672,480 C742.7,480 800,422.7 800,352 C800,281.3 742.7,224 672,224 Z M672,432 C627.9,432 592,396.1 592,352 C592,307.9 627.9,272 672,272 C716.1,272 752,307.9 752,352 C752,396.1 716.1,432 672,432 Z M480,352 C480,422.7 422.7,480 352,480 C281.3,480 224,422.7 224,352 C224,281.3 281.3,224 352,224 C422.7,224 480,281.3 480,352" },
|
|
118
118
|
"thumb-tack": { "width": 640, "height": 1024, "svgPathData": "M640,670.7 C640,543 602.7,480.2 512,448 L512,192 C549.3,178.8 575.4,137.8 575.4,96 C575.4,43 532.4,0 479.4,0 L159.4,0 C106.4,0 63.4,43 63.4,96 C63.4,137.8 90.7,178.8 128,192 L128,448 C37.3,480.2 0,543 0,670.7 C0,688.9 13.8,704 32,704 L256,704 L284.7,995 C286.2,1011.5 301,1024 320,1024 C339,1024 352.6,1011.4 354.1,995 L384,704 L606.9,704 C625.1,704 640,688.9 640,670.7" },
|
|
119
119
|
"topology": { "width": 1088, "height": 1024, "svgPathData": "M877.8,0 C797.1,0 731.5,65.6 731.5,146.3 C731.5,175.1 739.7,201.8 754.1,224.5 L670,310.5 C626.5,276.4 571.7,256 512,256 C477.8,256 445.1,262.7 415.3,274.9 L388.6,239.6 C375.1,221.3 350.9,216.1 334.9,228.2 C318.7,240.1 316.4,264.8 329.6,283.1 L351.9,312.3 C293.4,359.2 256,431.2 256,512 C256,534.7 259,556.7 264.5,577.7 L239,590.9 C219.8,600.3 210.7,622.9 218.4,641.2 C226.1,659.5 248.3,666.8 267.3,657.7 L292.9,644.4 C329.1,704.2 389.1,748 459.8,762.6 L453.8,835.6 C413.5,847.1 384,884.1 384,928 C384,981 427,1024 480,1024 C533,1024 576,981 576,928 C576,888.3 551.9,854.3 517.6,839.7 L523.5,767.8 C605.3,764.2 677.2,722.1 721.4,659.2 L789.8,705.8 C808.1,718.4 832.1,714.9 842.8,698 C853.5,680.9 847.3,656.9 828.8,644.6 L754.6,594.1 C763.3,568.3 768,540.7 768,512 C768,456.6 750.4,405.3 720.5,363.5 L807.4,274.8 C828.2,286.2 852.2,292.9 877.8,292.9 C958.5,292.9 1024.1,227.3 1024.1,146.6 C1024.1,65.9 958.5,0 877.8,0 Z M528,928 C528,954.5 506.5,976 480,976 C453.5,976 432,954.5 432,928 C432,901.5 453.5,880 480,880 C506.5,880 528,901.5 528,928 Z M512,640 C441.3,640 384,582.7 384,512 C384,441.3 441.3,384 512,384 C582.7,384 640,441.3 640,512 C640,582.7 582.8,640 512,640 Z M877.8,224 C834.8,224 800.1,189.3 800.1,146.3 C800.1,103.3 834.8,68.6 877.8,68.6 C920.8,68.6 955.5,103.3 955.5,146.3 C955.5,189.3 920.8,224 877.8,224 Z M900.8,712.3 C943.6,669.5 1013.1,669.5 1055.9,712.3 C1077.3,733.7 1088,761.8 1088,789.9 C1088,818 1077.3,846 1055.9,867.5 C1013.1,910.3 943.6,910.3 900.8,867.5 C858,824.6 858,755.2 900.8,712.3 M256,2.3 C316.6,2.3 365.7,51.4 365.7,112 C365.7,172.6 316.6,221.7 256,221.7 C195.4,221.7 146.3,172.6 146.3,112 C146.3,51.4 195.4,2.3 256,2.3 M96,608 C149,608 192,651 192,704 C192,757 149,800 96,800 C43,800 0,757 0,704 C0,651 43,608 96,608" },
|
|
120
|
+
"treeview": { "width": 1024, "height": 1024, "svgPathData": "M1110.73911,0 L41.1428663,0 C18.4204327,0 0,19.1026667 0,42.6666667 L0,127.877333 C0,151.509333 18.473147,170.666667 41.2611521,170.666667 L1110.73911,170.666667 C1133.52711,170.666667 1152.00026,151.509333 1152.00026,127.877333 L1152.00026,42.7893333 C1152.00026,19.1573333 1133.52711,0 1110.73911,0 M1110.73911,426.666667 L452.57153,426.666667 C429.849096,426.666667 411.428663,445.769333 411.428663,469.333333 L411.428663,554.544 C411.428663,578.176 429.90181,597.333333 452.689815,597.333333 L1110.73911,597.333333 C1133.52711,597.333333 1152.00026,578.176 1152.00026,554.544 L1152.00026,469.456 C1152.00026,445.824 1133.52711,426.666667 1110.73911,426.666667 M308.571497,469.333333 L82.2857327,469.333333 L82.2857327,277.333333 C82.2857327,265.550667 73.0748735,256 61.7142995,256 L20.5714332,256 C9.20957348,256 0,265.550667 0,277.333333 L0,490.666667 L0,533.333333 L0,896 L0,960 C0,971.782667 9.20957348,981.333333 20.5714332,981.333333 L61.7142995,981.333333 L308.571497,981.333333 C319.932071,981.333333 329.142931,971.782667 329.142931,960 L329.142931,917.333333 C329.142931,905.550667 319.932071,896 308.571497,896 L82.2857327,896 L82.2857327,554.666667 L308.571497,554.666667 C319.932071,554.666667 329.142931,545.116 329.142931,533.333333 L329.142931,490.666667 C329.142931,478.884 319.932071,469.333333 308.571497,469.333333 M1152.00026,896.122667 L1152.00026,981.210667 C1152.00026,1004.84267 1133.52711,1024 1110.73911,1024 L452.689815,1024 C429.90181,1024 411.428663,1004.84267 411.428663,981.210667 L411.428663,896 C411.428663,872.436 429.849096,853.333333 452.57153,853.333333 L1110.73911,853.333333 C1133.52711,853.333333 1152.00026,872.490667 1152.00026,896.122667" },
|
|
120
121
|
"trend-down": { "width": 960, "height": 1024, "svgPathData": "M960,864 C960,881.7 945.7,896 928,896 L480,896 C462.3,896 448,881.7 448,864 L448,800 C448,782.3 462.3,768 480,768 L741.5,768 L450.3,473.8 L343.7,580.8 C331.2,593.3 310.9,593.4 298.4,580.8 L9.4,291.8 C3.1,285.6 0,277.4 0,269.3 C0,261.1 3.1,252.9 9.4,246.7 L54.6,201.4 C60.9,195.1 69.1,192 77.3,192 C85.5,192 93.7,195.1 99.9,201.4 L320.9,422.4 L427.5,315.4 C440,302.9 460.3,302.8 472.8,315.4 L832,677.5 L831,416 C831,398.3 844.3,384 862,384 L926,384 C943.7,384 960,398.3 960,416 L960,864 Z" },
|
|
121
122
|
"trend-up": { "width": 960, "height": 1024, "svgPathData": "M960,224 C960,206.3 945.7,192 928,192 L480,192 C462.3,192 448,206.3 448,224 L448,288 C448,305.7 462.3,320 480,320 L741.5,320 L450.3,614.2 L343.7,507.2 C331.2,494.7 310.9,494.6 298.4,507.2 L9.4,796.2 C3.1,802.4 0,810.6 0,818.7 C0,826.9 3.1,835.1 9.4,841.3 L54.7,886.6 C60.9,892.8 69.1,896 77.3,896 C85.5,896 93.7,892.9 99.9,886.6 L320.9,665.6 L427.5,772.6 C440,785.1 460.3,785.2 472.8,772.6 L832,410.5 L831,672 C831,689.7 844.3,704 862,704 L926,704 C943.7,704 960,689.7 960,672 L960,224 Z" },
|
|
122
123
|
"unknown": { "width": 1024, "height": 1024, "svgPathData": "M943.3,317.2 L706.9,80.7 C653,26.9 582.5,0 512,0 C441.5,0 371,26.9 317.1,80.7 L80.7,317.1 C-26.9,424.7 -26.9,599.2 80.7,706.8 L317.1,943.2 C371,997.1 441.5,1024 512,1024 C582.5,1024 653,997.1 706.9,943.3 L943.3,706.9 C1050.9,599.3 1050.9,424.8 943.3,317.2 Z M866.4,602.2 L602.8,866.1 C552.8,916.1 471.8,916.2 421.7,866.2 L157.7,602.2 C107.8,552.2 107.8,471.2 157.8,421.3 L421.4,158.4 C471.3,108.6 552.1,108.6 602.1,158.3 L866.3,421.3 C916.3,471.3 916.3,552.2 866.4,602.2 Z M521.3,576 C627.5,576 713.7,502 713.7,413.7 C713.7,325.4 627.6,253.6 521.3,253.6 C366,253.6 334.5,337.7 329.2,407.2 C329.2,414.3 335.2,416 343.5,416 L445,416 C450.5,416 458,415.5 460.8,406.5 C460.8,362.6 582.9,357.1 582.9,413.6 C582.9,441.9 556.2,470.9 521.3,473 C486.4,475.1 447.3,479.8 447.3,521.7 L447.3,553.8 C447.3,570.8 456.1,576 472,576 C488,576.1 521.3,576 521.3,576 L521.3,576 Z M575.3,751.3 L575.3,655.3 C575.3,650.9 573.7,647.3 570.6,644 C567.5,640.9 563.7,639.3 559.3,639.3 L463.3,639.3 C458.9,639.3 455.3,640.9 452,644 C448.9,647.1 447.3,650.9 447.3,655.3 L447.3,751.3 C447.3,755.7 448.9,759.3 452,762.6 C455.1,765.7 458.9,767.3 463.3,767.3 L559.3,767.3 C563.7,767.3 567.3,765.7 570.6,762.6 C573.8,759.4 575.3,755.6 575.3,751.3 L575.3,751.3 Z" },
|
package/layouts/Flex/flex.css
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
--pf-v5-l-flex--spacer--row: var(--pf-v5-l-flex--spacer, var(--pf-v5-l-flex--spacer--row--base));
|
|
35
35
|
order: var(--pf-v5-l-flex--item--Order);
|
|
36
36
|
max-width: 100%;
|
|
37
|
-
margin-
|
|
37
|
+
margin-inline-end: var(--pf-v5-l-flex--spacer--column);
|
|
38
38
|
}
|
|
39
39
|
@media screen and (min-width: 576px) {
|
|
40
40
|
.pf-v5-l-flex > * {
|
|
@@ -78,28 +78,40 @@
|
|
|
78
78
|
align-items: normal;
|
|
79
79
|
}
|
|
80
80
|
.pf-v5-l-flex.pf-m-column > * {
|
|
81
|
-
margin
|
|
81
|
+
margin-block-start: 0;
|
|
82
|
+
margin-block-end: var(--pf-v5-l-flex--spacer--row);
|
|
83
|
+
margin-inline-start: 0;
|
|
84
|
+
margin-inline-end: 0;
|
|
82
85
|
}
|
|
83
86
|
.pf-v5-l-flex.pf-m-column-reverse {
|
|
84
87
|
flex-direction: column-reverse;
|
|
85
88
|
align-items: normal;
|
|
86
89
|
}
|
|
87
90
|
.pf-v5-l-flex.pf-m-column-reverse > * {
|
|
88
|
-
margin: var(--pf-v5-l-flex--spacer--row)
|
|
91
|
+
margin-block-start: var(--pf-v5-l-flex--spacer--row);
|
|
92
|
+
margin-block-end: 0;
|
|
93
|
+
margin-inline-start: 0;
|
|
94
|
+
margin-inline-end: 0;
|
|
89
95
|
}
|
|
90
96
|
.pf-v5-l-flex.pf-m-row {
|
|
91
97
|
flex-direction: row;
|
|
92
98
|
align-items: var(--pf-v5-l-flex--m-row--AlignItems);
|
|
93
99
|
}
|
|
94
100
|
.pf-v5-l-flex.pf-m-row > * {
|
|
95
|
-
margin
|
|
101
|
+
margin-block-start: 0;
|
|
102
|
+
margin-block-end: 0;
|
|
103
|
+
margin-inline-start: 0;
|
|
104
|
+
margin-inline-end: var(--pf-v5-l-flex--spacer--column);
|
|
96
105
|
}
|
|
97
106
|
.pf-v5-l-flex.pf-m-row-reverse {
|
|
98
107
|
flex-direction: row-reverse;
|
|
99
108
|
align-items: var(--pf-v5-l-flex--m-row-reverse--AlignItems);
|
|
100
109
|
}
|
|
101
110
|
.pf-v5-l-flex.pf-m-row-reverse > * {
|
|
102
|
-
margin: 0
|
|
111
|
+
margin-block-start: 0;
|
|
112
|
+
margin-block-end: 0;
|
|
113
|
+
margin-inline-start: var(--pf-v5-l-flex--spacer--column);
|
|
114
|
+
margin-inline-end: 0;
|
|
103
115
|
}
|
|
104
116
|
.pf-v5-l-flex.pf-m-wrap {
|
|
105
117
|
flex-wrap: wrap;
|
|
@@ -162,10 +174,10 @@
|
|
|
162
174
|
align-content: space-around;
|
|
163
175
|
}
|
|
164
176
|
.pf-v5-l-flex > .pf-m-align-right {
|
|
165
|
-
margin-
|
|
177
|
+
margin-inline-start: auto;
|
|
166
178
|
}
|
|
167
179
|
.pf-v5-l-flex > .pf-m-align-left {
|
|
168
|
-
margin-
|
|
180
|
+
margin-inline-start: 0;
|
|
169
181
|
}
|
|
170
182
|
.pf-v5-l-flex > .pf-m-grow {
|
|
171
183
|
flex-grow: 1;
|
|
@@ -175,7 +187,7 @@
|
|
|
175
187
|
}
|
|
176
188
|
.pf-v5-l-flex > .pf-m-full-width {
|
|
177
189
|
width: 100%;
|
|
178
|
-
margin-
|
|
190
|
+
margin-inline-end: 0;
|
|
179
191
|
}
|
|
180
192
|
.pf-v5-l-flex > .pf-m-flex-1 {
|
|
181
193
|
flex: 1 0 0;
|
|
@@ -224,28 +236,40 @@
|
|
|
224
236
|
align-items: normal;
|
|
225
237
|
}
|
|
226
238
|
.pf-v5-l-flex.pf-m-column-on-sm > * {
|
|
227
|
-
margin
|
|
239
|
+
margin-block-start: 0;
|
|
240
|
+
margin-block-end: var(--pf-v5-l-flex--spacer--row);
|
|
241
|
+
margin-inline-start: 0;
|
|
242
|
+
margin-inline-end: 0;
|
|
228
243
|
}
|
|
229
244
|
.pf-v5-l-flex.pf-m-column-reverse-on-sm {
|
|
230
245
|
flex-direction: column-reverse;
|
|
231
246
|
align-items: normal;
|
|
232
247
|
}
|
|
233
248
|
.pf-v5-l-flex.pf-m-column-reverse-on-sm > * {
|
|
234
|
-
margin: var(--pf-v5-l-flex--spacer--row)
|
|
249
|
+
margin-block-start: var(--pf-v5-l-flex--spacer--row);
|
|
250
|
+
margin-block-end: 0;
|
|
251
|
+
margin-inline-start: 0;
|
|
252
|
+
margin-inline-end: 0;
|
|
235
253
|
}
|
|
236
254
|
.pf-v5-l-flex.pf-m-row-on-sm {
|
|
237
255
|
flex-direction: row;
|
|
238
256
|
align-items: var(--pf-v5-l-flex--m-row--AlignItems);
|
|
239
257
|
}
|
|
240
258
|
.pf-v5-l-flex.pf-m-row-on-sm > * {
|
|
241
|
-
margin
|
|
259
|
+
margin-block-start: 0;
|
|
260
|
+
margin-block-end: 0;
|
|
261
|
+
margin-inline-start: 0;
|
|
262
|
+
margin-inline-end: var(--pf-v5-l-flex--spacer--column);
|
|
242
263
|
}
|
|
243
264
|
.pf-v5-l-flex.pf-m-row-reverse-on-sm {
|
|
244
265
|
flex-direction: row-reverse;
|
|
245
266
|
align-items: var(--pf-v5-l-flex--m-row-reverse--AlignItems);
|
|
246
267
|
}
|
|
247
268
|
.pf-v5-l-flex.pf-m-row-reverse-on-sm > * {
|
|
248
|
-
margin: 0
|
|
269
|
+
margin-block-start: 0;
|
|
270
|
+
margin-block-end: 0;
|
|
271
|
+
margin-inline-start: var(--pf-v5-l-flex--spacer--column);
|
|
272
|
+
margin-inline-end: 0;
|
|
249
273
|
}
|
|
250
274
|
.pf-v5-l-flex.pf-m-wrap-on-sm {
|
|
251
275
|
flex-wrap: wrap;
|
|
@@ -308,10 +332,10 @@
|
|
|
308
332
|
align-content: space-around;
|
|
309
333
|
}
|
|
310
334
|
.pf-v5-l-flex > .pf-m-align-right-on-sm {
|
|
311
|
-
margin-
|
|
335
|
+
margin-inline-start: auto;
|
|
312
336
|
}
|
|
313
337
|
.pf-v5-l-flex > .pf-m-align-left-on-sm {
|
|
314
|
-
margin-
|
|
338
|
+
margin-inline-start: 0;
|
|
315
339
|
}
|
|
316
340
|
.pf-v5-l-flex > .pf-m-grow-on-sm {
|
|
317
341
|
flex-grow: 1;
|
|
@@ -321,7 +345,7 @@
|
|
|
321
345
|
}
|
|
322
346
|
.pf-v5-l-flex > .pf-m-full-width-on-sm {
|
|
323
347
|
width: 100%;
|
|
324
|
-
margin-
|
|
348
|
+
margin-inline-end: 0;
|
|
325
349
|
}
|
|
326
350
|
.pf-v5-l-flex > .pf-m-flex-1-on-sm {
|
|
327
351
|
flex: 1 0 0;
|
|
@@ -371,28 +395,40 @@
|
|
|
371
395
|
align-items: normal;
|
|
372
396
|
}
|
|
373
397
|
.pf-v5-l-flex.pf-m-column-on-md > * {
|
|
374
|
-
margin
|
|
398
|
+
margin-block-start: 0;
|
|
399
|
+
margin-block-end: var(--pf-v5-l-flex--spacer--row);
|
|
400
|
+
margin-inline-start: 0;
|
|
401
|
+
margin-inline-end: 0;
|
|
375
402
|
}
|
|
376
403
|
.pf-v5-l-flex.pf-m-column-reverse-on-md {
|
|
377
404
|
flex-direction: column-reverse;
|
|
378
405
|
align-items: normal;
|
|
379
406
|
}
|
|
380
407
|
.pf-v5-l-flex.pf-m-column-reverse-on-md > * {
|
|
381
|
-
margin: var(--pf-v5-l-flex--spacer--row)
|
|
408
|
+
margin-block-start: var(--pf-v5-l-flex--spacer--row);
|
|
409
|
+
margin-block-end: 0;
|
|
410
|
+
margin-inline-start: 0;
|
|
411
|
+
margin-inline-end: 0;
|
|
382
412
|
}
|
|
383
413
|
.pf-v5-l-flex.pf-m-row-on-md {
|
|
384
414
|
flex-direction: row;
|
|
385
415
|
align-items: var(--pf-v5-l-flex--m-row--AlignItems);
|
|
386
416
|
}
|
|
387
417
|
.pf-v5-l-flex.pf-m-row-on-md > * {
|
|
388
|
-
margin
|
|
418
|
+
margin-block-start: 0;
|
|
419
|
+
margin-block-end: 0;
|
|
420
|
+
margin-inline-start: 0;
|
|
421
|
+
margin-inline-end: var(--pf-v5-l-flex--spacer--column);
|
|
389
422
|
}
|
|
390
423
|
.pf-v5-l-flex.pf-m-row-reverse-on-md {
|
|
391
424
|
flex-direction: row-reverse;
|
|
392
425
|
align-items: var(--pf-v5-l-flex--m-row-reverse--AlignItems);
|
|
393
426
|
}
|
|
394
427
|
.pf-v5-l-flex.pf-m-row-reverse-on-md > * {
|
|
395
|
-
margin: 0
|
|
428
|
+
margin-block-start: 0;
|
|
429
|
+
margin-block-end: 0;
|
|
430
|
+
margin-inline-start: var(--pf-v5-l-flex--spacer--column);
|
|
431
|
+
margin-inline-end: 0;
|
|
396
432
|
}
|
|
397
433
|
.pf-v5-l-flex.pf-m-wrap-on-md {
|
|
398
434
|
flex-wrap: wrap;
|
|
@@ -455,10 +491,10 @@
|
|
|
455
491
|
align-content: space-around;
|
|
456
492
|
}
|
|
457
493
|
.pf-v5-l-flex > .pf-m-align-right-on-md {
|
|
458
|
-
margin-
|
|
494
|
+
margin-inline-start: auto;
|
|
459
495
|
}
|
|
460
496
|
.pf-v5-l-flex > .pf-m-align-left-on-md {
|
|
461
|
-
margin-
|
|
497
|
+
margin-inline-start: 0;
|
|
462
498
|
}
|
|
463
499
|
.pf-v5-l-flex > .pf-m-grow-on-md {
|
|
464
500
|
flex-grow: 1;
|
|
@@ -468,7 +504,7 @@
|
|
|
468
504
|
}
|
|
469
505
|
.pf-v5-l-flex > .pf-m-full-width-on-md {
|
|
470
506
|
width: 100%;
|
|
471
|
-
margin-
|
|
507
|
+
margin-inline-end: 0;
|
|
472
508
|
}
|
|
473
509
|
.pf-v5-l-flex > .pf-m-flex-1-on-md {
|
|
474
510
|
flex: 1 0 0;
|
|
@@ -518,28 +554,40 @@
|
|
|
518
554
|
align-items: normal;
|
|
519
555
|
}
|
|
520
556
|
.pf-v5-l-flex.pf-m-column-on-lg > * {
|
|
521
|
-
margin
|
|
557
|
+
margin-block-start: 0;
|
|
558
|
+
margin-block-end: var(--pf-v5-l-flex--spacer--row);
|
|
559
|
+
margin-inline-start: 0;
|
|
560
|
+
margin-inline-end: 0;
|
|
522
561
|
}
|
|
523
562
|
.pf-v5-l-flex.pf-m-column-reverse-on-lg {
|
|
524
563
|
flex-direction: column-reverse;
|
|
525
564
|
align-items: normal;
|
|
526
565
|
}
|
|
527
566
|
.pf-v5-l-flex.pf-m-column-reverse-on-lg > * {
|
|
528
|
-
margin: var(--pf-v5-l-flex--spacer--row)
|
|
567
|
+
margin-block-start: var(--pf-v5-l-flex--spacer--row);
|
|
568
|
+
margin-block-end: 0;
|
|
569
|
+
margin-inline-start: 0;
|
|
570
|
+
margin-inline-end: 0;
|
|
529
571
|
}
|
|
530
572
|
.pf-v5-l-flex.pf-m-row-on-lg {
|
|
531
573
|
flex-direction: row;
|
|
532
574
|
align-items: var(--pf-v5-l-flex--m-row--AlignItems);
|
|
533
575
|
}
|
|
534
576
|
.pf-v5-l-flex.pf-m-row-on-lg > * {
|
|
535
|
-
margin
|
|
577
|
+
margin-block-start: 0;
|
|
578
|
+
margin-block-end: 0;
|
|
579
|
+
margin-inline-start: 0;
|
|
580
|
+
margin-inline-end: var(--pf-v5-l-flex--spacer--column);
|
|
536
581
|
}
|
|
537
582
|
.pf-v5-l-flex.pf-m-row-reverse-on-lg {
|
|
538
583
|
flex-direction: row-reverse;
|
|
539
584
|
align-items: var(--pf-v5-l-flex--m-row-reverse--AlignItems);
|
|
540
585
|
}
|
|
541
586
|
.pf-v5-l-flex.pf-m-row-reverse-on-lg > * {
|
|
542
|
-
margin: 0
|
|
587
|
+
margin-block-start: 0;
|
|
588
|
+
margin-block-end: 0;
|
|
589
|
+
margin-inline-start: var(--pf-v5-l-flex--spacer--column);
|
|
590
|
+
margin-inline-end: 0;
|
|
543
591
|
}
|
|
544
592
|
.pf-v5-l-flex.pf-m-wrap-on-lg {
|
|
545
593
|
flex-wrap: wrap;
|
|
@@ -602,10 +650,10 @@
|
|
|
602
650
|
align-content: space-around;
|
|
603
651
|
}
|
|
604
652
|
.pf-v5-l-flex > .pf-m-align-right-on-lg {
|
|
605
|
-
margin-
|
|
653
|
+
margin-inline-start: auto;
|
|
606
654
|
}
|
|
607
655
|
.pf-v5-l-flex > .pf-m-align-left-on-lg {
|
|
608
|
-
margin-
|
|
656
|
+
margin-inline-start: 0;
|
|
609
657
|
}
|
|
610
658
|
.pf-v5-l-flex > .pf-m-grow-on-lg {
|
|
611
659
|
flex-grow: 1;
|
|
@@ -615,7 +663,7 @@
|
|
|
615
663
|
}
|
|
616
664
|
.pf-v5-l-flex > .pf-m-full-width-on-lg {
|
|
617
665
|
width: 100%;
|
|
618
|
-
margin-
|
|
666
|
+
margin-inline-end: 0;
|
|
619
667
|
}
|
|
620
668
|
.pf-v5-l-flex > .pf-m-flex-1-on-lg {
|
|
621
669
|
flex: 1 0 0;
|
|
@@ -665,28 +713,40 @@
|
|
|
665
713
|
align-items: normal;
|
|
666
714
|
}
|
|
667
715
|
.pf-v5-l-flex.pf-m-column-on-xl > * {
|
|
668
|
-
margin
|
|
716
|
+
margin-block-start: 0;
|
|
717
|
+
margin-block-end: var(--pf-v5-l-flex--spacer--row);
|
|
718
|
+
margin-inline-start: 0;
|
|
719
|
+
margin-inline-end: 0;
|
|
669
720
|
}
|
|
670
721
|
.pf-v5-l-flex.pf-m-column-reverse-on-xl {
|
|
671
722
|
flex-direction: column-reverse;
|
|
672
723
|
align-items: normal;
|
|
673
724
|
}
|
|
674
725
|
.pf-v5-l-flex.pf-m-column-reverse-on-xl > * {
|
|
675
|
-
margin: var(--pf-v5-l-flex--spacer--row)
|
|
726
|
+
margin-block-start: var(--pf-v5-l-flex--spacer--row);
|
|
727
|
+
margin-block-end: 0;
|
|
728
|
+
margin-inline-start: 0;
|
|
729
|
+
margin-inline-end: 0;
|
|
676
730
|
}
|
|
677
731
|
.pf-v5-l-flex.pf-m-row-on-xl {
|
|
678
732
|
flex-direction: row;
|
|
679
733
|
align-items: var(--pf-v5-l-flex--m-row--AlignItems);
|
|
680
734
|
}
|
|
681
735
|
.pf-v5-l-flex.pf-m-row-on-xl > * {
|
|
682
|
-
margin
|
|
736
|
+
margin-block-start: 0;
|
|
737
|
+
margin-block-end: 0;
|
|
738
|
+
margin-inline-start: 0;
|
|
739
|
+
margin-inline-end: var(--pf-v5-l-flex--spacer--column);
|
|
683
740
|
}
|
|
684
741
|
.pf-v5-l-flex.pf-m-row-reverse-on-xl {
|
|
685
742
|
flex-direction: row-reverse;
|
|
686
743
|
align-items: var(--pf-v5-l-flex--m-row-reverse--AlignItems);
|
|
687
744
|
}
|
|
688
745
|
.pf-v5-l-flex.pf-m-row-reverse-on-xl > * {
|
|
689
|
-
margin: 0
|
|
746
|
+
margin-block-start: 0;
|
|
747
|
+
margin-block-end: 0;
|
|
748
|
+
margin-inline-start: var(--pf-v5-l-flex--spacer--column);
|
|
749
|
+
margin-inline-end: 0;
|
|
690
750
|
}
|
|
691
751
|
.pf-v5-l-flex.pf-m-wrap-on-xl {
|
|
692
752
|
flex-wrap: wrap;
|
|
@@ -749,10 +809,10 @@
|
|
|
749
809
|
align-content: space-around;
|
|
750
810
|
}
|
|
751
811
|
.pf-v5-l-flex > .pf-m-align-right-on-xl {
|
|
752
|
-
margin-
|
|
812
|
+
margin-inline-start: auto;
|
|
753
813
|
}
|
|
754
814
|
.pf-v5-l-flex > .pf-m-align-left-on-xl {
|
|
755
|
-
margin-
|
|
815
|
+
margin-inline-start: 0;
|
|
756
816
|
}
|
|
757
817
|
.pf-v5-l-flex > .pf-m-grow-on-xl {
|
|
758
818
|
flex-grow: 1;
|
|
@@ -762,7 +822,7 @@
|
|
|
762
822
|
}
|
|
763
823
|
.pf-v5-l-flex > .pf-m-full-width-on-xl {
|
|
764
824
|
width: 100%;
|
|
765
|
-
margin-
|
|
825
|
+
margin-inline-end: 0;
|
|
766
826
|
}
|
|
767
827
|
.pf-v5-l-flex > .pf-m-flex-1-on-xl {
|
|
768
828
|
flex: 1 0 0;
|
|
@@ -812,28 +872,40 @@
|
|
|
812
872
|
align-items: normal;
|
|
813
873
|
}
|
|
814
874
|
.pf-v5-l-flex.pf-m-column-on-2xl > * {
|
|
815
|
-
margin
|
|
875
|
+
margin-block-start: 0;
|
|
876
|
+
margin-block-end: var(--pf-v5-l-flex--spacer--row);
|
|
877
|
+
margin-inline-start: 0;
|
|
878
|
+
margin-inline-end: 0;
|
|
816
879
|
}
|
|
817
880
|
.pf-v5-l-flex.pf-m-column-reverse-on-2xl {
|
|
818
881
|
flex-direction: column-reverse;
|
|
819
882
|
align-items: normal;
|
|
820
883
|
}
|
|
821
884
|
.pf-v5-l-flex.pf-m-column-reverse-on-2xl > * {
|
|
822
|
-
margin: var(--pf-v5-l-flex--spacer--row)
|
|
885
|
+
margin-block-start: var(--pf-v5-l-flex--spacer--row);
|
|
886
|
+
margin-block-end: 0;
|
|
887
|
+
margin-inline-start: 0;
|
|
888
|
+
margin-inline-end: 0;
|
|
823
889
|
}
|
|
824
890
|
.pf-v5-l-flex.pf-m-row-on-2xl {
|
|
825
891
|
flex-direction: row;
|
|
826
892
|
align-items: var(--pf-v5-l-flex--m-row--AlignItems);
|
|
827
893
|
}
|
|
828
894
|
.pf-v5-l-flex.pf-m-row-on-2xl > * {
|
|
829
|
-
margin
|
|
895
|
+
margin-block-start: 0;
|
|
896
|
+
margin-block-end: 0;
|
|
897
|
+
margin-inline-start: 0;
|
|
898
|
+
margin-inline-end: var(--pf-v5-l-flex--spacer--column);
|
|
830
899
|
}
|
|
831
900
|
.pf-v5-l-flex.pf-m-row-reverse-on-2xl {
|
|
832
901
|
flex-direction: row-reverse;
|
|
833
902
|
align-items: var(--pf-v5-l-flex--m-row-reverse--AlignItems);
|
|
834
903
|
}
|
|
835
904
|
.pf-v5-l-flex.pf-m-row-reverse-on-2xl > * {
|
|
836
|
-
margin: 0
|
|
905
|
+
margin-block-start: 0;
|
|
906
|
+
margin-block-end: 0;
|
|
907
|
+
margin-inline-start: var(--pf-v5-l-flex--spacer--column);
|
|
908
|
+
margin-inline-end: 0;
|
|
837
909
|
}
|
|
838
910
|
.pf-v5-l-flex.pf-m-wrap-on-2xl {
|
|
839
911
|
flex-wrap: wrap;
|
|
@@ -896,10 +968,10 @@
|
|
|
896
968
|
align-content: space-around;
|
|
897
969
|
}
|
|
898
970
|
.pf-v5-l-flex > .pf-m-align-right-on-2xl {
|
|
899
|
-
margin-
|
|
971
|
+
margin-inline-start: auto;
|
|
900
972
|
}
|
|
901
973
|
.pf-v5-l-flex > .pf-m-align-left-on-2xl {
|
|
902
|
-
margin-
|
|
974
|
+
margin-inline-start: 0;
|
|
903
975
|
}
|
|
904
976
|
.pf-v5-l-flex > .pf-m-grow-on-2xl {
|
|
905
977
|
flex-grow: 1;
|
|
@@ -909,7 +981,7 @@
|
|
|
909
981
|
}
|
|
910
982
|
.pf-v5-l-flex > .pf-m-full-width-on-2xl {
|
|
911
983
|
width: 100%;
|
|
912
|
-
margin-
|
|
984
|
+
margin-inline-end: 0;
|
|
913
985
|
}
|
|
914
986
|
.pf-v5-l-flex > .pf-m-flex-1-on-2xl {
|
|
915
987
|
flex: 1 0 0;
|
package/layouts/Flex/flex.scss
CHANGED
|
@@ -40,7 +40,7 @@ $pf-v5-l-flex--variable-map: build-variable-map("#{$pf-prefix}l-flex--spacer", $
|
|
|
40
40
|
|
|
41
41
|
order: var(--#{$flex}--item--Order);
|
|
42
42
|
max-width: 100%;
|
|
43
|
-
margin-
|
|
43
|
+
margin-inline-end: var(--#{$flex}--spacer--column);
|
|
44
44
|
|
|
45
45
|
// don't set base value for --#{$flex}--item--Order as it defaults to 0
|
|
46
46
|
@media screen and (min-width: $pf-v5-global--breakpoint--sm) {
|
|
@@ -92,7 +92,10 @@ $pf-v5-l-flex--variable-map: build-variable-map("#{$pf-prefix}l-flex--spacer", $
|
|
|
92
92
|
align-items: normal;
|
|
93
93
|
|
|
94
94
|
> * {
|
|
95
|
-
margin: 0
|
|
95
|
+
margin-block-start: 0;
|
|
96
|
+
margin-block-end: var(--#{$flex}--spacer--row);
|
|
97
|
+
margin-inline-start: 0;
|
|
98
|
+
margin-inline-end: 0;
|
|
96
99
|
}
|
|
97
100
|
}
|
|
98
101
|
|
|
@@ -102,7 +105,10 @@ $pf-v5-l-flex--variable-map: build-variable-map("#{$pf-prefix}l-flex--spacer", $
|
|
|
102
105
|
align-items: normal;
|
|
103
106
|
|
|
104
107
|
> * {
|
|
105
|
-
margin: var(--#{$flex}--spacer--row)
|
|
108
|
+
margin-block-start: var(--#{$flex}--spacer--row);
|
|
109
|
+
margin-block-end: 0;
|
|
110
|
+
margin-inline-start: 0;
|
|
111
|
+
margin-inline-end: 0;
|
|
106
112
|
}
|
|
107
113
|
}
|
|
108
114
|
|
|
@@ -113,7 +119,10 @@ $pf-v5-l-flex--variable-map: build-variable-map("#{$pf-prefix}l-flex--spacer", $
|
|
|
113
119
|
|
|
114
120
|
// unset styling set for .pf-m-column
|
|
115
121
|
> * {
|
|
116
|
-
margin: 0
|
|
122
|
+
margin-block-start: 0;
|
|
123
|
+
margin-block-end: 0;
|
|
124
|
+
margin-inline-start: 0;
|
|
125
|
+
margin-inline-end: var(--#{$flex}--spacer--column);
|
|
117
126
|
}
|
|
118
127
|
}
|
|
119
128
|
|
|
@@ -124,7 +133,10 @@ $pf-v5-l-flex--variable-map: build-variable-map("#{$pf-prefix}l-flex--spacer", $
|
|
|
124
133
|
|
|
125
134
|
// unset styling set for .pf-m-column
|
|
126
135
|
> * {
|
|
127
|
-
margin: 0
|
|
136
|
+
margin-block-start: 0;
|
|
137
|
+
margin-block-end: 0;
|
|
138
|
+
margin-inline-start: var(--#{$flex}--spacer--column);
|
|
139
|
+
margin-inline-end: 0;
|
|
128
140
|
}
|
|
129
141
|
}
|
|
130
142
|
|
|
@@ -215,11 +227,11 @@ $pf-v5-l-flex--variable-map: build-variable-map("#{$pf-prefix}l-flex--spacer", $
|
|
|
215
227
|
|
|
216
228
|
// alignment
|
|
217
229
|
> .pf-m-align-right#{$breakpoint-name} {
|
|
218
|
-
margin-
|
|
230
|
+
margin-inline-start: auto;
|
|
219
231
|
}
|
|
220
232
|
|
|
221
233
|
> .pf-m-align-left#{$breakpoint-name} {
|
|
222
|
-
margin-
|
|
234
|
+
margin-inline-start: 0;
|
|
223
235
|
}
|
|
224
236
|
|
|
225
237
|
// item properties
|
|
@@ -233,7 +245,7 @@ $pf-v5-l-flex--variable-map: build-variable-map("#{$pf-prefix}l-flex--spacer", $
|
|
|
233
245
|
|
|
234
246
|
> .pf-m-full-width#{$breakpoint-name} {
|
|
235
247
|
width: 100%;
|
|
236
|
-
margin-
|
|
248
|
+
margin-inline-end: 0;
|
|
237
249
|
}
|
|
238
250
|
|
|
239
251
|
> .pf-m-flex-1#{$breakpoint-name} {
|